(for PR #29085)
2025-12-17 15:33.25: New job: build ocaml.5.5.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29085/head (d0355feefc1e55d6558a9946775e6b891961f805)
on debian-13-ocaml-5.4/arm64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29085/head" && git reset --hard d0355fee
git fetch origin master
git merge --no-edit c199949faadf15109c780af6e7b5b8a514096df6
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:016c985ec64f467541f91e17804d030aae62b64bfc30e1740046adfa946ddefe
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 ocaml.5.5.0 5.5.0
RUN opam reinstall ocaml.5.5.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 "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocaml.5.5.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 .
2025-12-17 15:33.25: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:016c985ec64f467541f91e17804d030aae62b64bfc30e1740046adfa946ddefe-ocaml.5.5.0-d0355feefc1e55d6558a9946775e6b891961f805"
2025-12-17 15:33.25: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:016c985ec64f467541f91e17804d030aae62b64bfc30e1740046adfa946ddefe)
(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 ocaml.5.5.0 5.5.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml.5.5.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 \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocaml.5.5.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-12-17 15:33.25: Waiting for resource in pool OCluster
2025-12-17 15:33.25: Waiting for worker…
2025-12-17 15:33.25: Got resource from pool OCluster
Building on okypous.caelum.ci.dev
Updating files: 90% (17200/19034)
Updating files: 91% (17321/19034)
Updating files: 92% (17512/19034)
Updating files: 93% (17702/19034)
Updating files: 94% (17892/19034)
Updating files: 95% (18083/19034)
Updating files: 96% (18273/19034)
Updating files: 97% (18463/19034)
Updating files: 98% (18654/19034)
Updating files: 99% (18844/19034)
Updating files: 100% (19034/19034)
Updating files: 100% (19034/19034), done.
HEAD is now at ee6e9a14e2 [new release] yocaml (14 packages) (2.8.0)
HEAD is now at c199949faa Merge pull request #29097 from reynir/release-albatross-v2.6.2
Updating c199949faa..d0355feefc
Fast-forward
packages/ocaml/ocaml.5.5.0/opam | 26 +++++++++++++++++++++++---
1 file changed, 23 insertions(+), 3 deletions(-)
(from ocaml/opam:debian-13-ocaml-5.4@sha256:016c985ec64f467541f91e17804d030aae62b64bfc30e1740046adfa946ddefe)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:016c985ec64f467541f91e17804d030aae62b64bfc30e1740046adfa946ddefe' locally
docker.io/ocaml/opam@sha256:016c985ec64f467541f91e17804d030aae62b64bfc30e1740046adfa946ddefe: Pulling from ocaml/opam
Digest: sha256:016c985ec64f467541f91e17804d030aae62b64bfc30e1740046adfa946ddefe
Status: Downloaded newer image for ocaml/opam@sha256:016c985ec64f467541f91e17804d030aae62b64bfc30e1740046adfa946ddefe
2025-12-17 15:33.29 ---> using "200fb191d26e6668d23b8f54d38fe3001d83912d16c79a5d8a550a64887861ac" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-17 15:33.29 ---> using "a0bc7dd5cc9641bc8f0034854d9f9001c667fc62f7f826275a8bcc99cdcefb96" 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.
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
2025-12-17 15:33.29 ---> using "a84b47a584d1b4ab7cf54c77052ae91ed1267c2b0bd711562c2370b2bd2d78a9" 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=arm64 os=linux os-distribution=debian os-version=13
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 79
# 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
2025-12-17 15:33.29 ---> using "d7afa3f6d1d3781ced857ff86f5d6a96465ba652dc0ccaf67f175b8c84ff6667" 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/"))
2025-12-17 15:33.29 ---> using "a37c173bd53e86b605d461408bb03a9dcc6d9ddab325eb0e92f3c1087a813dcb" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-17 15:33.36 ---> saved as "150e1a9b3811d9824904438321fcc7bfb49906f6b89970cf3111638cbdbd1e72"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-17 15:33.55 ---> saved as "402dc4c931cc7ec7450345ee08af00d6986f4afd6a4c33665bff95cb69ddaa6a"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main arm64 Packages [85.0 kB]
- Fetched 176 kB in 0s (1010 kB/s)
- Reading package lists...
2025-12-17 15:33.56 ---> saved as "e6239cebbd4038f4196b8acd1fb912835653d5779db600ec9b52b42cb779dfa8"
/home/opam: (run (shell "opam pin add -k version -yn ocaml.5.5.0 5.5.0"))
ocaml is now pinned to version 5.5.0
2025-12-17 15:33.57 ---> saved as "e6aaacc8c2724f85227189e93b309bca7548e58549a87a42aac6a54fa9ecfa8e"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml.5.5.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 \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocaml.5.5.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocaml.5.5.0 is not installed. Install it? [Y/n] y
* Missing dependency:
- (invariant) -> ocaml-base-compiler >= 5.4.0 -> ocaml-compiler = 5.4.0 -> ocaml = 5.4.0 -> ocaml.5.4.0: no longer available
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall ocaml.5.5.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 "\"debian-13\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'ocaml.5.5.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 20
2025-12-17 15:34.09: Job failed: Failed: Build failed
2025-12-17 15:34.09: Log analysis:
2025-12-17 15:34.09: >>>
No solution found, exiting
(score = 100)
2025-12-17 15:34.09: [SKIP] Package not available