(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-24.04-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-24.04-ocaml-4.14@sha256:93a052c433aca540bfa8b1fb2272131c9734bb51dc6ec982c42abbb65d4221b2
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-24.04\""; 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-24.04-ocaml-4.14@sha256:93a052c433aca540bfa8b1fb2272131c9734bb51dc6ec982c42abbb65d4221b2-ocaml.5.5.0-d0355feefc1e55d6558a9946775e6b891961f805"
2025-12-17 15:33.24: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:93a052c433aca540bfa8b1fb2272131c9734bb51dc6ec982c42abbb65d4221b2)
(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-24.04\\\"\"; 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:35.00: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 69% (13241/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-24.04-ocaml-4.14@sha256:93a052c433aca540bfa8b1fb2272131c9734bb51dc6ec982c42abbb65d4221b2)
2025-12-17 15:36.01 ---> saved as "a49f9836ea933b0d95630021951bd5f545d0c11eaab1bb54a550c3da43f1ce6c"
/: (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.02 ---> saved as "d1dae72556a9d49fc9e7dcc3867476e9b35b6aeb095d34b37104988623b3d8be"
/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.30 ---> saved as "2445f8e475a6a9fa8d2ea52ee8f130eba58afc49423f234550b0bada5bef6a90"
/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=24.04
# 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.31 ---> saved as "ab2b18819f092a311b1e326990dc74c669472d1217fd56131b6dd0f3efb51456"
/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.42 ---> saved as "41cfc46d1de5bac31160a29a43b6ca63de1cb890de59c2c4c8cf10f5c840300c"
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-17 15:37.24 ---> saved as "cb354d80ed709b46762babc0a8d448caf960078c75d8ed4eae146e340949efa5"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-17 15:37.44 ---> saved as "9c4f52da93535d415a34ce48c42b4b1c0c65c737d8f9ad6de84a837221bf7e52"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:2 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [2898 kB]
- Get:3 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1183 kB]
- Get:4 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1752 kB]
- Hit:5 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2130 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1949 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [36.0 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [3059 kB]
- Get:12 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [40.3 kB]
- Get:13 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [79.0 kB]
- Fetched 13.5 MB in 1s (11.8 MB/s)
- Reading package lists...
-
2025-12-17 15:37.47 ---> saved as "60269f5c4c33971ca7b37f8c2da288b71b38893c6c60b9f62f8660028d87dd9f"
/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:37.49 ---> saved as "3dce8ebc44ab215b51f5f472b6f5815bc259bbd657054c67c9da217b5d6961bd"
/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-24.04\\\"\"; 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-24.04\""; 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:38.20: Job failed: Failed: Build failed
2025-12-17 15:38.20: Log analysis:
2025-12-17 15:38.20: >>>
No solution found, exiting
(score = 100)
2025-12-17 15:38.20: [SKIP] Package not available