(for PR #29211)
2026-01-18 13:43.30: New job: build menhirGLR.20260112, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29211/head (40f2d815046034974151fd6cb87d492d7533b91e)
on debian-12-ocaml-5.4/amd64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29211/head" && git reset --hard 40f2d815
git fetch origin master
git merge --no-edit 5a5103c1c342a572f3174f77c2bf2a3883cd4a69
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.4@sha256:c3f9211cfbc8921fb20c9aafdf5e9896420de23bcb55cac79b7d8bf72a3e4712
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn menhirGLR.20260112 20260112
RUN opam reinstall menhirGLR.20260112; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'menhirGLR.20260112' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2026-01-18 13:43.30: Using cache hint "ocaml/opam:debian-12-ocaml-5.4@sha256:c3f9211cfbc8921fb20c9aafdf5e9896420de23bcb55cac79b7d8bf72a3e4712-menhirGLR.20260112-40f2d815046034974151fd6cb87d492d7533b91e"
2026-01-18 13:43.30: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.4@sha256:c3f9211cfbc8921fb20c9aafdf5e9896420de23bcb55cac79b7d8bf72a3e4712)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn menhirGLR.20260112 20260112"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall menhirGLR.20260112;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'menhirGLR.20260112' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-01-18 13:43.30: Waiting for resource in pool OCluster
2026-01-18 13:43.34: Waiting for worker…
2026-01-18 13:46.03: Got resource from pool OCluster
Building on eumache
All commits already cached
Updating files: 99% (19104/19232)
Updating files: 100% (19232/19232)
Updating files: 100% (19232/19232), done.
HEAD is now at 5a5103c1c3 Merge pull request #29240 from sanette/opam-publish-ufind.0.2.0
Updating 5a5103c1c3..40f2d81504
Fast-forward
packages/menhir/menhir.20260112/opam | 32 ++++++++++++++++++++++++++++++
packages/menhirCST/menhirCST.20260112/opam | 30 ++++++++++++++++++++++++++++
packages/menhirGLR/menhirGLR.20260112/opam | 30 ++++++++++++++++++++++++++++
packages/menhirLib/menhirLib.20260112/opam | 31 +++++++++++++++++++++++++++++
packages/menhirSdk/menhirSdk.20260112/opam | 31 +++++++++++++++++++++++++++++
5 files changed, 154 insertions(+)
create mode 100644 packages/menhir/menhir.20260112/opam
create mode 100644 packages/menhirCST/menhirCST.20260112/opam
create mode 100644 packages/menhirGLR/menhirGLR.20260112/opam
create mode 100644 packages/menhirLib/menhirLib.20260112/opam
create mode 100644 packages/menhirSdk/menhirSdk.20260112/opam
(from ocaml/opam:debian-12-ocaml-5.4@sha256:c3f9211cfbc8921fb20c9aafdf5e9896420de23bcb55cac79b7d8bf72a3e4712)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.4@sha256:c3f9211cfbc8921fb20c9aafdf5e9896420de23bcb55cac79b7d8bf72a3e4712' locally
docker.io/ocaml/opam@sha256:c3f9211cfbc8921fb20c9aafdf5e9896420de23bcb55cac79b7d8bf72a3e4712: Pulling from ocaml/opam
32a5bf163bd7: Already exists
c0944ab5c1b8: Already exists
476c5992415e: Already exists
d0fe6b118beb: Already exists
caa92716367b: Already exists
9f647a7f5929: Already exists
cfbe1d2570c3: Already exists
427740f4c814: Already exists
85d88aea685d: Already exists
eff6b54cdb18: Already exists
0fd52d68eceb: Already exists
10b9e28c194a: Already exists
83e61d759870: Already exists
6e41e8ffa82b: Already exists
6fb56bf9eb3e: Already exists
ee2c0b77c643: Already exists
c86de4c302f1: Already exists
a1ec1223857b: Already exists
ec303835bdfd: Already exists
dc44e12b8a4e: Already exists
9cc83342db2d: Already exists
a83f5b4d553c: Already exists
4f4fb700ef54: Already exists
2bad06f568b8: Already exists
e8284971354d: Already exists
ddf185679cf3: Already exists
d0fa3ed70aa3: Already exists
40c669734ac7: Already exists
2f0deaaa63a5: Already exists
32aec092ad5e: Already exists
8d1002d23fd3: Already exists
cfadb4d68845: Already exists
2a6607648bff: Already exists
a3f542c5c212: Already exists
18bc30ede372: Already exists
3e34f983e37c: Already exists
ac2d2a5c57ef: Already exists
7e0261aa55c8: Already exists
c29a253b49ae: Already exists
c8bfad6dee24: Already exists
0a4e3c1e347f: Already exists
b52dfd2cc3dc: Already exists
e5210b84f6f5: Already exists
3530470e05a5: Already exists
f014d00cf28c: Already exists
78166c77e713: Already exists
f51629f3153d: Already exists
53904d1cdd7f: Already exists
Digest: sha256:c3f9211cfbc8921fb20c9aafdf5e9896420de23bcb55cac79b7d8bf72a3e4712
Status: Downloaded newer image for ocaml/opam@sha256:c3f9211cfbc8921fb20c9aafdf5e9896420de23bcb55cac79b7d8bf72a3e4712
2026-01-18 13:46.07 ---> using "071737be05cb7b43b9505e12eccc7985a9484c9e89c454615e81f805ea7288d9" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-18 13:46.07 ---> using "001757b9424499c5fb121f3e974295dbdfd9738210c5e420af6010eeca02cf8d" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
Continue? [Y/n] y
This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-18 13:46.07 ---> using "6955f1541c3661960f515a1bae5346db58a6ad224e3a84659131d8c90f6cca10" from cache
/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.5.0
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2026-01-18 13:46.07 ---> using "c1ebffc370270f9c1631d6e7c7153e6c052e98448611fa57c9db1f8a47f388c1" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMPRECISETRACKING 1)
/home/opam: (env CI true)
/home/opam: (env OPAM_REPO_CI true)
/home/opam: (run (shell "rm -rf opam-repository/"))
2026-01-18 13:46.07 ---> using "b8063c05bfb511ca80ca6a3fef8a47dace88c58076b191b51c16dd3651b8e149" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-01-18 13:46.14 ---> saved as "78534a4155233f87833e5952eea8f75b49da213056de79223537b3ec980e0be3"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-18 13:46.35 ---> saved as "3f771844b1ff170adfb555e9f79eb675a9df51259dd1f02d45bd6ed5ccffeec7"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8792 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [291 kB]
- Fetched 9337 kB in 3s (2817 kB/s)
- Reading package lists...
-
2026-01-18 13:46.40 ---> saved as "4de132419b6d88863119ce9b2ec2712d25262dff7a0e9eca9538d535c783d3e8"
/home/opam: (run (shell "opam pin add -k version -yn menhirGLR.20260112 20260112"))
menhirGLR is now pinned to version 20260112
2026-01-18 13:46.41 ---> saved as "963bb6c94b49fb91ff5fda67eacc5b246ba142bbc21f30e0b8b5796e40d6cf14"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall menhirGLR.20260112;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'menhirGLR.20260112' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
menhirGLR.20260112 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
- install dune 3.21.0 [required by menhirGLR]
- install menhirGLR 20260112 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0 (cached)
-> retrieved menhirGLR.20260112 (cached)
-> installed dune.3.21.0
-> installed menhirGLR.20260112
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-18 13:47.19 ---> saved as "da49ab276931f5e9067ba28ba0ed1f0dab9a1117ef6618892f5a229f37e1e36c"
Job succeeded
2026-01-18 13:47.25: Job succeeded