(for PR #29085)
2025-12-17 15:33.24: New job: build ocaml.5.5.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29085/head (d0355feefc1e55d6558a9946775e6b891961f805)
on ubuntu-25.10-ocaml-4.14/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/29085/head" && git reset --hard d0355fee
git fetch origin master
git merge --no-edit c199949faadf15109c780af6e7b5b8a514096df6
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:4087553a96c02e8760fc4cfc5a30f7b1dd51349a77a7a908d4d845cd58b8e173
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 "\"ubuntu-25.10\""; 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.24: Using cache hint "ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:4087553a96c02e8760fc4cfc5a30f7b1dd51349a77a7a908d4d845cd58b8e173-ocaml.5.5.0-d0355feefc1e55d6558a9946775e6b891961f805"
2025-12-17 15:33.24: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:4087553a96c02e8760fc4cfc5a30f7b1dd51349a77a7a908d4d845cd58b8e173)
(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 \"\\\"ubuntu-25.10\\\"\"; 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.24: Waiting for resource in pool OCluster
2025-12-17 15:33.25: Waiting for worker…
2025-12-17 15:34.50: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 63% (12067/19020)
Updating files: 64% (12173/19020)
Updating files: 65% (12363/19020)
Updating files: 66% (12554/19020)
Updating files: 67% (12744/19020)
Updating files: 68% (12934/19020)
Updating files: 69% (13124/19020)
Updating files: 70% (13314/19020)
Updating files: 71% (13505/19020)
Updating files: 72% (13695/19020)
Updating files: 73% (13885/19020)
Updating files: 74% (14075/19020)
Updating files: 75% (14265/19020)
Updating files: 76% (14456/19020)
Updating files: 77% (14646/19020)
Updating files: 78% (14836/19020)
Updating files: 79% (15026/19020)
Updating files: 80% (15216/19020)
Updating files: 81% (15407/19020)
Updating files: 82% (15597/19020)
Updating files: 83% (15787/19020)
Updating files: 84% (15977/19020)
Updating files: 85% (16167/19020)
Updating files: 86% (16358/19020)
Updating files: 87% (16548/19020)
Updating files: 88% (16738/19020)
Updating files: 89% (16928/19020)
Updating files: 90% (17118/19020)
Updating files: 91% (17309/19020)
Updating files: 92% (17499/19020)
Updating files: 93% (17689/19020)
Updating files: 94% (17879/19020)
Updating files: 95% (18069/19020)
Updating files: 96% (18260/19020)
Updating files: 97% (18450/19020)
Updating files: 98% (18640/19020)
Updating files: 99% (18830/19020)
Updating files: 100% (19020/19020)
Updating files: 100% (19020/19020), done.
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:ubuntu-25.10-ocaml-4.14@sha256:4087553a96c02e8760fc4cfc5a30f7b1dd51349a77a7a908d4d845cd58b8e173)
2025-12-17 15:36.45 ---> using "12e1d80dd71b085b54062164a54764ef454482e5efb893e28a3c1ca8536b6c5f" 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:36.45 ---> using "c77db829815eea72ed00321fd214d0064f8b6ef78665e2af744218c27be55fa9" 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:36.45 ---> using "84043f4cae4b06a53eaa2d6dc6e008c482af21f8f74e266d02dfad0dc3687cbe" 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=ubuntu os-version=25.10
# 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 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2025-12-17 15:36.45 ---> using "85a23704ce13f01536581e7016078a693176411a37b75c4845bd76971b4dace0" 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:36.45 ---> using "1e1b8ee96315fff30fceb278fd04b635aa06bb5749e2bc413068f245cc6e40ff" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-17 15:36.46 ---> using "57331f1f6671c2adf817931e9d04c43942cc62e6a3c2f3c3264f5900adfdf6af" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-17 15:36.46 ---> using "cb8b0b57c1db45074483c0bc90841a49c85b8e5f5623af43aa1f7cfd0c1034cb" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Get:2 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [133 kB]
- Get:3 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [89.3 kB]
- Hit:4 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:5 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:6 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:7 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [259 kB]
- Get:8 http://archive.ubuntu.com/ubuntu questing-updates/multiverse amd64 Packages [1716 B]
- Get:9 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [147 kB]
- Get:10 http://archive.ubuntu.com/ubuntu questing-updates/restricted amd64 Packages [109 kB]
- Fetched 1144 kB in 2s (651 kB/s)
- Reading package lists...
-
2025-12-17 15:36.47 ---> saved as "364aac3ed981ca38ac2c43dccbeedc5b48b38175d840828e743b23467f1d6b9f"
/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:36.48 ---> saved as "9c955ae9dec817e900a9a339c259bd0be85ee3616552e8b19f39dcf45e436bb0"
/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 \"\\\"ubuntu-25.10\\\"\"; 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 = 4.14.2 -> ocaml = 4.14.2 -> ocaml.4.14.2: 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 "\"ubuntu-25.10\""; 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:37.41: Job failed: Failed: Build failed
2025-12-17 15:37.41: Log analysis:
2025-12-17 15:37.41: >>>
No solution found, exiting
(score = 100)
2025-12-17 15:37.41: [SKIP] Package not available