(for PR #29211)
2026-01-18 13:43.30: New job: build menhirSdk.20260112, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29211/head (40f2d815046034974151fd6cb87d492d7533b91e)
on opensuse-tumbleweed-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:opensuse-tumbleweed-ocaml-5.4@sha256:c1294f6c477d03e4dbfcb01b784fe70181e48c6224e461f8a98ad3fd11032db9
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 menhirSdk.20260112 20260112
RUN opam reinstall menhirSdk.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 "\"opensuse-tumbleweed\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'menhirSdk.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:opensuse-tumbleweed-ocaml-5.4@sha256:c1294f6c477d03e4dbfcb01b784fe70181e48c6224e461f8a98ad3fd11032db9-menhirSdk.20260112-40f2d815046034974151fd6cb87d492d7533b91e"
2026-01-18 13:43.30: Using OBuilder spec:
((from ocaml/opam:opensuse-tumbleweed-ocaml-5.4@sha256:c1294f6c477d03e4dbfcb01b784fe70181e48c6224e461f8a98ad3fd11032db9)
(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 menhirSdk.20260112 20260112"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall menhirSdk.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 \"\\\"opensuse-tumbleweed\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'menhirSdk.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.06: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
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:opensuse-tumbleweed-ocaml-5.4@sha256:c1294f6c477d03e4dbfcb01b784fe70181e48c6224e461f8a98ad3fd11032db9)
2026-01-18 13:46.27 ---> saved as "d154136d1c769802fa379c52043ed4ae8b2f085a7469a3169aa1c77cf6b36292"
/: (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.27 ---> saved as "61c50dd73f52dbc1559f94b4297dedf497df96616897ac2b4f7eeaf56aa7f44e"
/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.
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.
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-18 13:46.48 ---> saved as "f6957965ccf9e3fde5520821610c533c6e713f1be4bfe5efd28ab16f12496179"
/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=opensuse-tumbleweed os-version=20260108
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# 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.49 ---> saved as "6c85b24cbb9b05250aa36a335688261f07095343b76ec5e2c205c94a7083a028"
/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:47.00 ---> saved as "1f070362f2fa496d08fc5bddfe49ca15cb357316c6aee3df2372069344bd4745"
/home/opam: (copy (src .) (dst opam-repository/))
2026-01-18 13:47.11 ---> saved as "4d7008ef9e494760107832df41069c2c72d8b893ee879f711d27ea8ff0118dcc"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-18 13:47.28 ---> saved as "3d7e9e47f1ba7f470752b399d8f5e7ee098cbec591ff70f13ce63d0a91577b83"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Repository 'openSUSE-Tumbleweed-Update' is up to date.
- Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata [.
- ..
- Looking for gpg keys in repository openSUSE-Tumbleweed-Non-Oss.
- gpgkey=http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml.key
- ....
- ..done]
- Building repository 'openSUSE-Tumbleweed-Non-Oss' cache [....done]
- Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata [...
- Looking for gpg keys in repository openSUSE-Tumbleweed-Oss.
- gpgkey=http://download.opensuse.org/tumbleweed/repo/oss/repodata/repomd.xml.key
- ........
- .........
- ..........
- ...........
- ..........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- .....done]
- Building repository 'openSUSE-Tumbleweed-Oss' cache [..
- ..done]
- All repositories have been refreshed.
2026-01-18 13:47.47 ---> saved as "98156f99781b27bfff69718e8d51cc75206faf908fb75184b478451ecbb91eff"
/home/opam: (run (shell "opam pin add -k version -yn menhirSdk.20260112 20260112"))
menhirSdk is now pinned to version 20260112
2026-01-18 13:47.47 ---> saved as "fc89924caf888c2827eea2b397227da87ed3b764c25227f053c43e6f67d62e1c"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall menhirSdk.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 \"\\\"opensuse-tumbleweed\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'menhirSdk.20260112' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
menhirSdk.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 menhirSdk]
- install menhirSdk 20260112 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0 (cached)
-> retrieved menhirSdk.20260112 (cached)
-> installed dune.3.21.0
-> installed menhirSdk.20260112
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-18 13:48.11 ---> saved as "db7bdc8f2e9014147ef7c0477277883cadee756b0a226d6b683ebc45886e53bd"
Job succeeded
2026-01-18 13:48.30: Job succeeded