(for PR #29582)
2026-04-27 07:45.26: New job: build ocaml-compiler.5.3, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29582/head (fa5fb3a6a806e832e4c7791145889a6bbe8b64ef)
on ubuntu-26.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/29582/head" && git reset --hard fa5fb3a6
git fetch origin master
git merge --no-edit d5058a91d400180e2118d7eeefa040cfcee45d2c
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-26.04-ocaml-4.14@sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d
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-compiler.5.3 5.3
RUN opam reinstall --update-invariant ocaml-compiler.5.3; \
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-26.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocaml-compiler.5.3' && 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-04-27 07:45.26: Using cache hint "ocaml/opam:ubuntu-26.04-ocaml-4.14@sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d-ocaml-compiler.5.3-fa5fb3a6a806e832e4c7791145889a6bbe8b64ef"
2026-04-27 07:45.26: Using OBuilder spec:
((from ocaml/opam:ubuntu-26.04-ocaml-4.14@sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d)
(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-compiler.5.3 5.3"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall --update-invariant ocaml-compiler.5.3;\
\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-26.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-compiler.5.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-04-27 07:45.26: Connecting to build cluster…
2026-04-27 07:45.26: Waiting for resource in pool OCluster
2026-04-27 08:01.57: Waiting for worker…
2026-04-27 08:03.50: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at d5058a91d4 Merge pull request #29801 from YuriyKrasilnikov/opam-publish-idna.0.4.0
Merge made by the 'ort' strategy.
packages/ocaml-compiler/ocaml-compiler.5.3.0/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.3/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.4.0/opam | 5 ++++-
.../ocaml-compiler/ocaml-compiler.5.4.0~alpha1/opam | 5 ++++-
.../ocaml-compiler/ocaml-compiler.5.4.0~beta1/opam | 5 ++++-
.../ocaml-compiler/ocaml-compiler.5.4.0~beta2/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.4.0~rc1/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.4.1/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.4/opam | 5 ++++-
.../ocaml-compiler/ocaml-compiler.5.5.0~alpha1/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.5/opam | 5 ++++-
packages/ocaml-compiler/ocaml-compiler.5.6/opam | 5 ++++-
packages/ocaml-option-llvm/ocaml-option-llvm.1/opam | 18 ++++++++++++++++++
.../ocaml-options-vanilla/ocaml-options-vanilla.1/opam | 1 +
packages/ocaml-variants/ocaml-variants.5.2.0+msvc/opam | 2 ++
15 files changed, 69 insertions(+), 12 deletions(-)
create mode 100644 packages/ocaml-option-llvm/ocaml-option-llvm.1/opam
(from ocaml/opam:ubuntu-26.04-ocaml-4.14@sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d)
Unable to find image 'ocaml/opam:ubuntu-26.04-ocaml-4.14@sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d' locally
docker.io/ocaml/opam@sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d: Pulling from ocaml/opam
5f528443f346: Already exists
9d7db96ef8a1: Already exists
69cd0ed39c32: Already exists
8ddd605780bc: Already exists
b3563cf9c718: Already exists
0ff6404f2cf9: Already exists
0fd106322b2a: Pulling fs layer
6cfb66f33040: Pulling fs layer
b054a68819af: Pulling fs layer
935df48738cf: Pulling fs layer
6d7855f07084: Pulling fs layer
baf8b6b1404d: Pulling fs layer
d11a2bc559d8: Pulling fs layer
47b449369e16: Pulling fs layer
8821a6dafec4: Pulling fs layer
b054a68819af: Download complete
de6cbfe58b17: Pulling fs layer
4789d14f0dba: Pulling fs layer
6cfb66f33040: Download complete
baf8b6b1404d: Download complete
dc40a97042b2: Pulling fs layer
47b449369e16: Download complete
935df48738cf: Download complete
5ba7a82e9924: Pulling fs layer
d11a2bc559d8: Download complete
6d7855f07084: Download complete
de6cbfe58b17: Download complete
8821a6dafec4: Download complete
4789d14f0dba: Download complete
dc40a97042b2: Download complete
1bd9b354e379: Pulling fs layer
d95538300577: Pulling fs layer
ccb31d3e72ef: Pulling fs layer
d5ec08a27795: Pulling fs layer
5ba7a82e9924: Download complete
4f4fb700ef54: Pulling fs layer
d95538300577: Download complete
1bd9b354e379: Download complete
cace1535e380: Pulling fs layer
ccb31d3e72ef: Download complete
6abc7b96ebc8: Pulling fs layer
d5ec08a27795: Download complete
4f4fb700ef54: Download complete
cace1535e380: Download complete
31baaf291736: Pulling fs layer
d7ee8870a44e: Pulling fs layer
6abc7b96ebc8: Download complete
bec0e40ffcad: Pulling fs layer
31baaf291736: Download complete
8e3943b026f0: Pulling fs layer
d7ee8870a44e: Download complete
bec0e40ffcad: Download complete
2a4924aaac32: Pulling fs layer
4761365b4e53: Pulling fs layer
1a958ae6c150: Pulling fs layer
65cf788ac9e8: Pulling fs layer
2a4924aaac32: Download complete
8e3943b026f0: Download complete
549c069a431e: Pulling fs layer
4761365b4e53: Download complete
1a958ae6c150: Download complete
d41918af1eb8: Pulling fs layer
65cf788ac9e8: Download complete
549c069a431e: Waiting
b07a459306ae: Pulling fs layer
7a4d6fbc7167: Pulling fs layer
d41918af1eb8: Waiting
b07a459306ae: Waiting
d0314755e705: Pulling fs layer
9fe4679cfa16: Pulling fs layer
3da651ad3c12: Pulling fs layer
7a4d6fbc7167: Waiting
d0314755e705: Waiting
d706efa35e7e: Pulling fs layer
9fe4679cfa16: Waiting
3da651ad3c12: Waiting
bb595e942949: Pulling fs layer
755a09591609: Pulling fs layer
61e99e660ae4: Pulling fs layer
5db38511abe8: Pulling fs layer
d706efa35e7e: Waiting
877491a221b2: Pulling fs layer
755a09591609: Waiting
bb595e942949: Waiting
61e99e660ae4: Waiting
5db38511abe8: Waiting
877491a221b2: Waiting
549c069a431e: Verifying Checksum
549c069a431e: Download complete
d41918af1eb8: Download complete
7a4d6fbc7167: Download complete
9fe4679cfa16: Download complete
3da651ad3c12: Download complete
d706efa35e7e: Download complete
d0314755e705: Verifying Checksum
d0314755e705: Download complete
0fd106322b2a: Pull complete
6cfb66f33040: Pull complete
b054a68819af: Pull complete
935df48738cf: Pull complete
6d7855f07084: Pull complete
bb595e942949: Verifying Checksum
bb595e942949: Download complete
baf8b6b1404d: Pull complete
d11a2bc559d8: Pull complete
47b449369e16: Pull complete
8821a6dafec4: Pull complete
de6cbfe58b17: Pull complete
4789d14f0dba: Pull complete
dc40a97042b2: Pull complete
5ba7a82e9924: Pull complete
1bd9b354e379: Pull complete
d95538300577: Pull complete
ccb31d3e72ef: Pull complete
d5ec08a27795: Pull complete
4f4fb700ef54: Pull complete
cace1535e380: Pull complete
6abc7b96ebc8: Pull complete
31baaf291736: Pull complete
d7ee8870a44e: Pull complete
bec0e40ffcad: Pull complete
8e3943b026f0: Pull complete
2a4924aaac32: Pull complete
4761365b4e53: Pull complete
1a958ae6c150: Pull complete
65cf788ac9e8: Pull complete
549c069a431e: Pull complete
d41918af1eb8: Pull complete
755a09591609: Verifying Checksum
755a09591609: Download complete
61e99e660ae4: Verifying Checksum
61e99e660ae4: Download complete
5db38511abe8: Download complete
877491a221b2: Download complete
b07a459306ae: Verifying Checksum
b07a459306ae: Download complete
b07a459306ae: Pull complete
7a4d6fbc7167: Pull complete
d0314755e705: Pull complete
9fe4679cfa16: Pull complete
3da651ad3c12: Pull complete
d706efa35e7e: Pull complete
bb595e942949: Pull complete
755a09591609: Pull complete
61e99e660ae4: Pull complete
5db38511abe8: Pull complete
877491a221b2: Pull complete
Digest: sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d
Status: Downloaded newer image for ocaml/opam@sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d
2026-04-27 08:06.25 ---> using "45d158ca078290bcc17e9facee88fdfae9286d7b57e1f5b30c01b2448818c3bd" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-27 08:06.25 ---> using "4626a65a70a8a30c0df254197eb43075fe9e0614d2aabffd36f3db39c571f9a1" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] Initialised
2026-04-27 08:06.26 ---> using "3d20f2baa33d39b9fdffb67b026058811c77466cb083bb7d6eb96ed8808cb1fa" 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.1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=ubuntu os-version=26.04
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 2 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.3"}]
# compiler-packages ocaml-base-compiler.4.14.3, 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.3
2026-04-27 08:06.26 ---> using "4c66cd558815b597c3edddada2ab96038591c56537ca8359d5934896dd63e0d1" 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/"))
2026-04-27 08:06.26 ---> using "e63c5243cc44f25cf012660a8f8f2b6bc4718dd7c1c95fa5da46c5ffcf78f4a2" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-27 08:07.24 ---> saved as "360359001bd1631c3f259ac380346e7eaceeceeb176c98017329c5c3b502bf28"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-27 08:07.48 ---> saved as "4c1caadb62e76ce909959afd4a951b11b44245d4a7599aa9d783ba2a288d62a5"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://security.ubuntu.com/ubuntu resolute-security InRelease
- Hit:2 http://archive.ubuntu.com/ubuntu resolute InRelease
- Hit:3 http://archive.ubuntu.com/ubuntu resolute-updates InRelease
- Hit:4 http://archive.ubuntu.com/ubuntu resolute-backports InRelease
- Reading package lists...
-
2026-04-27 08:07.54 ---> saved as "9bbeddf14078e7580481313e49d92d9f1c76e9fc4e5b3e9d4b8ca44b691bdcab"
/home/opam: (run (shell "opam pin add -k version -yn ocaml-compiler.5.3 5.3"))
ocaml-compiler is now pinned to version 5.3
2026-04-27 08:08.00 ---> saved as "0c68810ceace9e23b36939ebadee54676460040d5171ec72eac82c1cd8f3fb46"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall --update-invariant ocaml-compiler.5.3;\
\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-26.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-compiler.5.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
ocaml-compiler.5.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== remove 1 package
- remove ocaml-base-compiler 4.14.3 (pinned) [conflicts with ocaml-variants]
=== recompile 1 package
- recompile opam-depext 1.2.3 [uses ocaml]
=== upgrade 2 packages
- upgrade ocaml 4.14.3 to 5.3.1 [uses ocaml-config]
- upgrade ocaml-config 2 to 3
=== install 7 packages
- install base-domains base
- install base-effects base
- install base-nnp base
- install host-arch-x86_64 1
- install host-system-other 1
- install ocaml-compiler 5.3 (pinned)
- install ocaml-variants 5.3.1+trunk [required by ocaml-config]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> retrieved ocaml-compiler.5.3 (https://github.com/ocaml/ocaml/archive/5.3.tar.gz)
-> retrieved ocaml-config.3 (cached)
-> retrieved opam-depext.1.2.3 (cached)
-> removed opam-depext.1.2.3
-> removed ocaml.4.14.3
-> removed ocaml-config.2
-> removed ocaml-base-compiler.4.14.3
-> installed ocaml-compiler.5.3
-> installed ocaml-variants.5.3.1+trunk
-> installed ocaml-config.3
-> installed ocaml.5.3.1
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
-> installed opam-depext.1.2.3
[NOTE] Switch invariant was updated to ["ocaml-variants" {= "5.3.1+trunk"}]
Use `opam switch set-invariant' to change it.
Done.
<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# To update the current shell environment, run: eval $(opam env)
2026-04-27 08:11.33 ---> saved as "249b065d48b5a951ce7102dc6630b2bbc2597ebf7fc94cbf768871525fb7d55d"
Job succeeded
2026-04-27 08:12.59: Job succeeded