(for PR #29582)

2026-03-25 08:39.59: New job: build ocaml-compiler.5.3, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29582/head (fa5fb3a6a806e832e4c7791145889a6bbe8b64ef)
                              on fedora-43-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 7216d2e0eb5d8d116434228a0b19a267b98e8510
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-43-ocaml-4.14@sha256:1968b29bb511fdcef0e647f31e8aadbd146adf7feb0b3c22cd89464bfac3f1b2
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 "\"fedora-43\""; 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-03-25 08:39.59: Using cache hint "ocaml/opam:fedora-43-ocaml-4.14@sha256:1968b29bb511fdcef0e647f31e8aadbd146adf7feb0b3c22cd89464bfac3f1b2-ocaml-compiler.5.3-fa5fb3a6a806e832e4c7791145889a6bbe8b64ef"
2026-03-25 08:39.59: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-4.14@sha256:1968b29bb511fdcef0e647f31e8aadbd146adf7feb0b3c22cd89464bfac3f1b2)
 (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 \"\\\"fedora-43\\\"\"; 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-03-25 08:39.59: Waiting for resource in pool OCluster
2026-03-25 09:01.17: Waiting for worker…
2026-03-25 09:04.43: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 7216d2e0eb Merge pull request #29593 from arvidj/aj/avoid-passage-0-3-2-3
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:fedora-43-ocaml-4.14@sha256:1968b29bb511fdcef0e647f31e8aadbd146adf7feb0b3c22cd89464bfac3f1b2)
Unable to find image 'ocaml/opam:fedora-43-ocaml-4.14@sha256:1968b29bb511fdcef0e647f31e8aadbd146adf7feb0b3c22cd89464bfac3f1b2' locally
docker.io/ocaml/opam@sha256:1968b29bb511fdcef0e647f31e8aadbd146adf7feb0b3c22cd89464bfac3f1b2: Pulling from ocaml/opam
5bc90b3315da: Already exists
33cde4bdcf90: Already exists
b5955b8be52e: Already exists
fbf1b27930a6: Already exists
b347f3d8654c: Already exists
612ce5ee7018: Already exists
39a0083c72b4: Already exists
2a32d726bc66: Already exists
e11ae392722c: Already exists
8d611bf8a252: Already exists
0e1351173a64: Already exists
f8d564b68b69: Already exists
0e1646b50296: Already exists
2801b00e97cb: Already exists
4043da018e76: Already exists
78d7c0bec0d9: Already exists
3b3b2404c3c9: Already exists
8467b570f768: Already exists
af1b4ee1a3ae: Already exists
d8dfc440aace: Already exists
49b2a8e5a461: Already exists
4f4fb700ef54: Already exists
8be6bee5bc68: Already exists
3c9a56c64991: Already exists
e80b01b68140: Already exists
fef37f6a2418: Already exists
2585abb9d55d: Already exists
120374638853: Already exists
63dfb60472ab: Already exists
abc6281a8a2d: Already exists
eed1b7440d1e: Already exists
0a3bf2765d2e: Already exists
886ab5bf800e: Already exists
a46169c2e251: Already exists
0d2ca1aff31a: Already exists
47dcdbbe11d4: Already exists
e33a11b88787: Already exists
4a1c6940d8f0: Already exists
f3d3d7098b4b: Already exists
ea5cec66d407: Already exists
35201d92607d: Pulling fs layer
fd9e50798b2f: Pulling fs layer
d22892fcc764: Pulling fs layer
f0909f3f8db6: Pulling fs layer
f0909f3f8db6: Waiting
fd9e50798b2f: Verifying Checksum
fd9e50798b2f: Download complete
d22892fcc764: Verifying Checksum
d22892fcc764: Download complete
f0909f3f8db6: Download complete
35201d92607d: Download complete
35201d92607d: Pull complete
fd9e50798b2f: Pull complete
d22892fcc764: Pull complete
f0909f3f8db6: Pull complete
Digest: sha256:1968b29bb511fdcef0e647f31e8aadbd146adf7feb0b3c22cd89464bfac3f1b2
Status: Downloaded newer image for ocaml/opam@sha256:1968b29bb511fdcef0e647f31e8aadbd146adf7feb0b3c22cd89464bfac3f1b2
2026-03-25 09:04.45 ---> using "e2b3cb32ffc2255ed00890cb6c0f67df8790496a291ce9c9ce5850c6222aedce" 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-03-25 09:04.45 ---> using "d73e889cbeaeb51fabc34ee06c76130190c0fc451dfcb9bde46455650df5687c" 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
[NOTE] The 'jobs' option was reset, its value was 71 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=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-25 09:04.45 ---> using "fc2487d4819202ccb7577978539269c7221ed646ceb3e1dd8c8577367bf8ac9e" 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=fedora os-version=43
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# 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
2026-03-25 09:04.45 ---> using "cbfccd16baeb7b328b61286024fbc27e55b6591ce7d3e724b3d5d241173c0e5c" 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-03-25 09:04.45 ---> using "f5bcd4ea7d16c0fc9f20cbdf195a73ae071d30f3ef55b8b749d6ea46a8c0a9b7" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-25 09:04.51 ---> saved as "e8ce990da98edfcd7152c44af2418b307dbcaba0af83c616ee1d4cf67a0348a7"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-25 09:05.11 ---> saved as "7fa57c42d9bb452146a61048c08a3c9993cfe05d321af08e29b2ec6ec466baa2"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 43 - x86_64 - Updates           100% |  22.4 KiB/s |  16.2 KiB |  00m01s
-  Fedora 43 - x86_64                     100% | 111.8 KiB/s |  22.3 KiB |  00m00s
- Repositories loaded.
- Metadata cache created.
2026-03-25 09:05.16 ---> saved as "d6017b686237477f2bb468cbaa02845d9a6d767abde4a51d678d3237037bfb14"

/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-03-25 09:05.17 ---> saved as "6d3dd058116781901c9b4e1974ead578a26027d2003729542c4cf14b2fb78f6c"

/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 \"\\\"fedora-43\\\"\"; 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.2 (pinned) [conflicts with ocaml-variants]
=== recompile 1 package
  - recompile opam-depext         1.2.3           [uses ocaml]
=== upgrade 2 packages
  - upgrade   ocaml               4.14.2 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.2
-> removed   ocaml-config.2
-> removed   ocaml-base-compiler.4.14.2
-> 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-03-25 09:07.19 ---> saved as "8b970eae8dd48f0643859b53b31a1f14bee9e5908a2fda85161523ef2f34f61a"
Job succeeded
2026-03-25 09:07.27: Job succeeded