(for PR #29620)
2026-03-30 21:23.36: New job: build wadi.0.1.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29620/head (e48542c6b0c57c44b0ef42e7f8c1de6d6e833aa7)
on fedora-42-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/29620/head" && git reset --hard e48542c6
git fetch origin master
git merge --no-edit 747f3dca281b5ae6275dfa41069f059ae517126f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-5.4@sha256:b1c0b0a0e0baf83ab2f0ba663b8f6a0143efbd15f502bbfd96710c4bcf641d8d
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 wadi.0.1.0 0.1.0
RUN opam reinstall wadi.0.1.0; \
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-42\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'wadi.0.1.0' && 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-03-30 21:23.36: Using cache hint "ocaml/opam:fedora-42-ocaml-5.4@sha256:b1c0b0a0e0baf83ab2f0ba663b8f6a0143efbd15f502bbfd96710c4bcf641d8d-wadi.0.1.0-e48542c6b0c57c44b0ef42e7f8c1de6d6e833aa7"
2026-03-30 21:23.36: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.4@sha256:b1c0b0a0e0baf83ab2f0ba663b8f6a0143efbd15f502bbfd96710c4bcf641d8d)
(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 wadi.0.1.0 0.1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall wadi.0.1.0;\
\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-42\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'wadi.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-03-30 21:23.36: Waiting for resource in pool OCluster
2026-03-30 21:23.36: Waiting for worker…
2026-03-30 21:23.38: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at 747f3dca28 Merge pull request #29614 from ocaml/use-setup-ocaml-for-windows-ci
Updating 747f3dca28..e48542c6b0
Fast-forward
packages/wadi/wadi.0.1.0/opam | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
create mode 100644 packages/wadi/wadi.0.1.0/opam
(from ocaml/opam:fedora-42-ocaml-5.4@sha256:b1c0b0a0e0baf83ab2f0ba663b8f6a0143efbd15f502bbfd96710c4bcf641d8d)
Unable to find image 'ocaml/opam:fedora-42-ocaml-5.4@sha256:b1c0b0a0e0baf83ab2f0ba663b8f6a0143efbd15f502bbfd96710c4bcf641d8d' locally
docker.io/ocaml/opam@sha256:b1c0b0a0e0baf83ab2f0ba663b8f6a0143efbd15f502bbfd96710c4bcf641d8d: Pulling from ocaml/opam
bcbfb8588268: Already exists
177e1f254839: Already exists
655adffc1f8a: Already exists
d6ed8efb8316: Already exists
1a6c35db77da: Already exists
79d5bc1da842: Already exists
2190dc5cbef5: Already exists
ce330abd384f: Already exists
67bc7d8e66df: Already exists
24527802ed75: Already exists
520c28f8516b: Already exists
6a6b2b2d7ec6: Already exists
72f13160e8f8: Already exists
9670083e7cc5: Already exists
c29dc6590a62: Already exists
15ab2cb50fb4: Already exists
15ab2cb50fb4: Already exists
f118a3f7dabd: Already exists
a7328888141e: Already exists
d75e61fee8b9: Already exists
e7949c901465: Already exists
4f4fb700ef54: Already exists
b21d69666f8c: Already exists
70dc372f8604: Already exists
7146a2be46d6: Already exists
09661dac5cd7: Already exists
99f18d0cfa67: Already exists
e354f9d35980: Already exists
7a8154ed763e: Already exists
bda029a65dcb: Already exists
d433bc6e6776: Already exists
1f2da96e7761: Already exists
74994bea8077: Already exists
bcca2b9caea1: Already exists
d38dc009427f: Already exists
8b994e343c24: Already exists
3ae1b5004e99: Already exists
1ea09864b795: Already exists
e798746be216: Already exists
e31216579b0a: Already exists
e66059accbb6: Pulling fs layer
2ba3383a9f0c: Pulling fs layer
3aaa747b633d: Pulling fs layer
10421e2900c2: Pulling fs layer
e104817f59f4: Pulling fs layer
10421e2900c2: Waiting
e104817f59f4: Waiting
3aaa747b633d: Verifying Checksum
3aaa747b633d: Download complete
e66059accbb6: Verifying Checksum
e66059accbb6: Download complete
e66059accbb6: Pull complete
e104817f59f4: Download complete
10421e2900c2: Verifying Checksum
10421e2900c2: Download complete
2ba3383a9f0c: Verifying Checksum
2ba3383a9f0c: Download complete
2ba3383a9f0c: Pull complete
3aaa747b633d: Pull complete
10421e2900c2: Pull complete
e104817f59f4: Pull complete
Digest: sha256:b1c0b0a0e0baf83ab2f0ba663b8f6a0143efbd15f502bbfd96710c4bcf641d8d
Status: Downloaded newer image for ocaml/opam@sha256:b1c0b0a0e0baf83ab2f0ba663b8f6a0143efbd15f502bbfd96710c4bcf641d8d
2026-03-30 21:24.59 ---> saved as "6c76e851cb4d3b921542b288c0c2780f2fb35a979c1c6e3dd448bc18b6363090"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-30 21:24.59 ---> saved as "50b1c1a98be5e0a9317c5ecc5427c90641b1ae884e2f379bbca6af3d50f0536e"
/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
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-30 21:25.21 ---> saved as "b7a7870773ec910d66ce3cf9a8851b634b889fc21ffcb3e30f481f21a267c40a"
/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=42
# 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.1"}]
# compiler-packages ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, 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.1
2026-03-30 21:25.22 ---> saved as "22ac25f0d8fca7d0d51813048ce4e3a3ebba4f835617f31c59dd945fa8857548"
/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-03-30 21:25.28 ---> saved as "153e26b7fac4b2576d36b6128f107ae3e331c8e299ccbad8ff8712191647a9e8"
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-30 21:25.36 ---> saved as "ff82547a15f9b48a1b8d12c20290acd24546ba02e215680c0d23d817377649c8"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-30 21:25.52 ---> saved as "adbcc36441d6b201e644c67fe1aa8a2c19e7384d2b6fca8c546ad65bdaf31ccc"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 42 - x86_64 - Updates 100% | 137.9 KiB/s | 19.9 KiB | 00m00s
- Repositories loaded.
- Metadata cache created.
2026-03-30 21:25.58 ---> saved as "5c148254f8a9451a74653c8f3d193b25ca1b8cddc168467e1384b8dd85611708"
/home/opam: (run (shell "opam pin add -k version -yn wadi.0.1.0 0.1.0"))
wadi is now pinned to version 0.1.0
2026-03-30 21:25.58 ---> saved as "13078bca076b5634fb9cfe458728958e0a3201c3ac0588fa23ce1830cd861f88"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall wadi.0.1.0;\
\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-42\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'wadi.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
wadi.0.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
- install ocamlfind 1.9.8 [required by wadi]
- install wadi 0.1.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved wadi.0.1.0 (cached)
-> installed ocamlfind.1.9.8
[ERROR] The installation of wadi failed at "./scripts/install_release_tree.sh --package-root package --binary _bootstrap/bin/wadi --prefix /home/opam/.opam/5.4".
#=== ERROR while installing wadi.0.1.0 ========================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.1 | pinned(https://github.com/improvingjef/wadi/releases/download/v0.1.0/wadi-0.1.0-source.tar.gz)
# path ~/.opam/5.4/.opam-switch/build/wadi.0.1.0
# command ~/.opam/opam-init/hooks/sandbox.sh install ./scripts/install_release_tree.sh --package-root package --binary _bootstrap/bin/wadi --prefix /home/opam/.opam/5.4
# exit-code 1
# env-file ~/.opam/log/wadi-7-dfff7b.env
# output-file ~/.opam/log/wadi-7-dfff7b.out
### output ###
# install_release_tree.sh: binary not found: _bootstrap/bin/wadi
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - install wadi 0.1.0
+-
+- The following changes have been performed
| - install ocamlfind 1.9.8
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/5.4/.opam-switch/backup/state-20260330212559.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall wadi.0.1.0;
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-42\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'wadi.0.1.0' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 1
2026-03-30 21:26.18: Job failed: Failed: Build failed
2026-03-30 21:26.18: Log analysis:
2026-03-30 21:26.18: >>>
[ERROR] The installation of wadi failed at "./scripts/install_release_tree.sh --package-root package --binary _bootstrap/bin/wadi --prefix /home/opam/.opam/5.4".
(score = 20)
2026-03-30 21:26.18: The installation of wadi failed at "./scripts/install_release_tree.sh --package-root package --binary _bootstrap/bin/wadi --prefix /home/opam/.opam/5.4".