(for PR #29211)
2026-01-18 13:43.30: New job: build menhir.20260112, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29211/head (40f2d815046034974151fd6cb87d492d7533b91e)
on fedora-43-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:fedora-43-ocaml-5.4@sha256:e63cb54f263f69a5487a22bff4673effded4c57d56bd27fd67e3cc2615aab9b7
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 menhir.20260112 20260112
RUN opam reinstall menhir.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 "\"fedora-43\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'menhir.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:fedora-43-ocaml-5.4@sha256:e63cb54f263f69a5487a22bff4673effded4c57d56bd27fd67e3cc2615aab9b7-menhir.20260112-40f2d815046034974151fd6cb87d492d7533b91e"
2026-01-18 13:43.30: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-5.4@sha256:e63cb54f263f69a5487a22bff4673effded4c57d56bd27fd67e3cc2615aab9b7)
(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 menhir.20260112 20260112"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall menhir.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 \"\\\"fedora-43\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'menhir.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:45.39: Got resource from pool OCluster
Building on eumache
All commits already cached
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:fedora-43-ocaml-5.4@sha256:e63cb54f263f69a5487a22bff4673effded4c57d56bd27fd67e3cc2615aab9b7)
Unable to find image 'ocaml/opam:fedora-43-ocaml-5.4@sha256:e63cb54f263f69a5487a22bff4673effded4c57d56bd27fd67e3cc2615aab9b7' locally
docker.io/ocaml/opam@sha256:e63cb54f263f69a5487a22bff4673effded4c57d56bd27fd67e3cc2615aab9b7: Pulling from ocaml/opam
1216d224fefc: Already exists
d2b80d0f9692: Already exists
b44754d8bf82: Already exists
36abc5888bbf: Already exists
13ceeda275e3: Already exists
9d0a0e279caf: Already exists
40e2d63e6bc8: Already exists
75b3ac574ea6: Already exists
1049f777ea82: Already exists
03fc9df51c6a: Already exists
b047e90b13a5: Already exists
9e9b975180f0: Already exists
67d0d0d5c8c1: Already exists
89a5d6bde7a7: Already exists
1d93c1211989: Already exists
29eae7cc87b0: Already exists
29eae7cc87b0: Already exists
cbc0891b6ad5: Already exists
1dcdb5dba4d6: Already exists
cbbbe6830481: Already exists
21e1ea572da2: Already exists
4f4fb700ef54: Already exists
98b69470db28: Already exists
2dcdfd57803f: Already exists
379ef38822e9: Already exists
3bc4f9dcff1f: Already exists
d9698ccc8ea7: Already exists
5ed663178eca: Already exists
c8305c642087: Already exists
8f6d93fd556f: Already exists
921519ed1807: Already exists
c60d13ca69bb: Already exists
2aac9c9633a8: Already exists
c0e95d961175: Already exists
27ce8579a8e4: Already exists
fe5862feaa51: Already exists
e29132ca7758: Already exists
7f1e364d449b: Already exists
a8bd8d8144bc: Already exists
571a3efac70d: Already exists
a83a90a79bde: Already exists
965ec293f8c1: Already exists
98102c35b6c5: Already exists
be27aa16171d: Already exists
c900362c76d3: Already exists
Digest: sha256:e63cb54f263f69a5487a22bff4673effded4c57d56bd27fd67e3cc2615aab9b7
Status: Downloaded newer image for ocaml/opam@sha256:e63cb54f263f69a5487a22bff4673effded4c57d56bd27fd67e3cc2615aab9b7
2026-01-18 13:45.41 ---> using "4e2b8591845136281b2629afb7934c15f1ae534ce6c700ee8841e11b607a33a7" 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:45.41 ---> using "464cde200320a90351214fe0c897b6a4133ee985b857e4b4a17c0a61e0801abe" 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:45.41 ---> using "922ff11beef22f6a8be0abb067ae27d07b43a3d9f917b380ae20b5d136a35885" 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=fedora os-version=43
# 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:45.41 ---> using "fadec6ee10ab82045fd97ad044f5c0ba3f6646c4d33435b504fc2fece4bcbc4f" 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:45.41 ---> using "c34bac594f295e63b7d11d3b5025849c3a55f18134e62516b104bf94a3f50b35" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-01-18 13:45.48 ---> saved as "e48191de0a78409ce1ddc92823f4fed35cc62b372e4312d27321cfdec3b134bc"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-18 13:46.09 ---> saved as "8d8a0215a738be52bebd960531e82c764f91cb702d85ca218f7762e600336c94"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 43 - x86_64 100% | 29.7 KiB/s | 21.5 KiB | 00m01s
- Fedora 43 - x86_64 - Updates 100% | 49.2 KiB/s | 18.2 KiB | 00m00s
- Repositories loaded.
- Metadata cache created.
2026-01-18 13:46.15 ---> saved as "3da7fbcf97f2313aa661cec5aa6e1f4fb3d3ab2c8a84342421678c6cc4636410"
/home/opam: (run (shell "opam pin add -k version -yn menhir.20260112 20260112"))
menhir is now pinned to version 20260112
2026-01-18 13:46.15 ---> saved as "05bef152f1064b8855ed1aa8d546f2b0206052a2a695aff3d0509c4a37a68526"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall menhir.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 \"\\\"fedora-43\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'menhir.20260112' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
menhir.20260112 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 6 packages
- install dune 3.21.0 [required by menhir]
- install menhir 20260112 (pinned)
- install menhirCST 20260112 [required by menhir]
- install menhirGLR 20260112 [required by menhir]
- install menhirLib 20260112 [required by menhir]
- install menhirSdk 20260112 [required by menhir]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0 (cached)
-> retrieved menhir.20260112, menhirCST.20260112, menhirGLR.20260112, menhirLib.20260112, menhirSdk.20260112 (cached)
-> installed dune.3.21.0
-> installed menhirCST.20260112
-> installed menhirGLR.20260112
-> installed menhirLib.20260112
-> installed menhirSdk.20260112
-> installed menhir.20260112
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-18 13:47.00 ---> saved as "cdfc37a918c5471333712b2e1f9181572f707491982e376246899fae54686278"
Job succeeded
2026-01-18 13:47.07: Job succeeded