(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 fedora-41-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:fedora-41-ocaml-4.14@sha256:5f7b943b03c8962e425dbfaba3fa75709133c3648d7d3654f5ed91b0ce57d45e
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 "\"fedora-41\""; 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:fedora-41-ocaml-4.14@sha256:5f7b943b03c8962e425dbfaba3fa75709133c3648d7d3654f5ed91b0ce57d45e-ocaml.5.5.0-d0355feefc1e55d6558a9946775e6b891961f805"
2025-12-17 15:33.24: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-4.14@sha256:5f7b943b03c8962e425dbfaba3fa75709133c3648d7d3654f5ed91b0ce57d45e)
 (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 \"\\\"fedora-41\\\"\"; 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.34: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
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:fedora-41-ocaml-4.14@sha256:5f7b943b03c8962e425dbfaba3fa75709133c3648d7d3654f5ed91b0ce57d45e)
Unable to find image 'ocaml/opam:fedora-41-ocaml-4.14@sha256:5f7b943b03c8962e425dbfaba3fa75709133c3648d7d3654f5ed91b0ce57d45e' locally
docker.io/ocaml/opam@sha256:5f7b943b03c8962e425dbfaba3fa75709133c3648d7d3654f5ed91b0ce57d45e: Pulling from ocaml/opam
2a6ce1026c21: Pulling fs layer
81e955ab474f: Pulling fs layer
bdc9f00cdd7d: Pulling fs layer
b8ceb070e220: Pulling fs layer
b03ef4d609a0: Pulling fs layer
81e955ab474f: Waiting
2a6ce1026c21: Waiting
bdc9f00cdd7d: Waiting
0879ccc7c76e: Pulling fs layer
b8ceb070e220: Waiting
372bf19219c3: Pulling fs layer
30427552bda5: Pulling fs layer
0879ccc7c76e: Waiting
b03ef4d609a0: Waiting
372bf19219c3: Waiting
70edfffdad43: Pulling fs layer
30427552bda5: Waiting
70edfffdad43: Waiting
953cac792735: Pulling fs layer
2eed8c4fcfb4: Pulling fs layer
272cede7bf6d: Pulling fs layer
953cac792735: Waiting
e26a6fa1b705: Pulling fs layer
2eed8c4fcfb4: Waiting
272cede7bf6d: Waiting
69a4314ae3e4: Pulling fs layer
e26a6fa1b705: Waiting
db76edee2c90: Pulling fs layer
69a4314ae3e4: Waiting
ad6135b2c3b7: Pulling fs layer
db76edee2c90: Waiting
a654b827062f: Pulling fs layer
d4bc38153162: Pulling fs layer
e5d8ce3655aa: Pulling fs layer
a654b827062f: Waiting
d4bc38153162: Waiting
4f4fb700ef54: Pulling fs layer
e5d8ce3655aa: Waiting
3acb04d7d4e9: Pulling fs layer
4f4fb700ef54: Waiting
b17e82172a56: Pulling fs layer
27f70b208ee6: Pulling fs layer
2301af5f8e9d: Pulling fs layer
3acb04d7d4e9: Waiting
1a9d6e926b36: Pulling fs layer
b17e82172a56: Waiting
040a8d698d0e: Pulling fs layer
8aa87505f692: Pulling fs layer
27f70b208ee6: Waiting
8d3c0bae4c59: Pulling fs layer
040a8d698d0e: Waiting
8aa87505f692: Waiting
c4b9c82c8489: Pulling fs layer
8d3c0bae4c59: Waiting
2e39e6141464: Pulling fs layer
c4b9c82c8489: Waiting
4b927b79097e: Pulling fs layer
2e39e6141464: Waiting
28944b21beef: Pulling fs layer
4b927b79097e: Waiting
3bb3a342f965: Pulling fs layer
010ed22bef99: Pulling fs layer
cec0db82794f: Pulling fs layer
28944b21beef: Waiting
cca73af42153: Pulling fs layer
010ed22bef99: Waiting
b1d91f6b0d95: Pulling fs layer
3bb3a342f965: Waiting
499a1d5b6f3f: Pulling fs layer
cec0db82794f: Waiting
cca73af42153: Waiting
b1d91f6b0d95: Waiting
42cb9f09ce9d: Pulling fs layer
499a1d5b6f3f: Waiting
f9460ae981c2: Pulling fs layer
42cb9f09ce9d: Waiting
20f3d98a5f13: Pulling fs layer
f9460ae981c2: Waiting
badf53d8dafe: Pulling fs layer
badf53d8dafe: Waiting
81e955ab474f: Download complete
2a6ce1026c21: Verifying Checksum
2a6ce1026c21: Download complete
bdc9f00cdd7d: Verifying Checksum
bdc9f00cdd7d: Download complete
b03ef4d609a0: Verifying Checksum
b03ef4d609a0: Download complete
0879ccc7c76e: Verifying Checksum
0879ccc7c76e: Download complete
372bf19219c3: Verifying Checksum
372bf19219c3: Download complete
30427552bda5: Verifying Checksum
30427552bda5: Download complete
70edfffdad43: Verifying Checksum
70edfffdad43: Download complete
953cac792735: Verifying Checksum
953cac792735: Download complete
2a6ce1026c21: Pull complete
2eed8c4fcfb4: Download complete
81e955ab474f: Pull complete
e26a6fa1b705: Download complete
b8ceb070e220: Verifying Checksum
b8ceb070e220: Download complete
69a4314ae3e4: Verifying Checksum
69a4314ae3e4: Download complete
272cede7bf6d: Verifying Checksum
272cede7bf6d: Download complete
db76edee2c90: Verifying Checksum
db76edee2c90: Download complete
ad6135b2c3b7: Download complete
a654b827062f: Download complete
d4bc38153162: Download complete
4f4fb700ef54: Download complete
e5d8ce3655aa: Verifying Checksum
e5d8ce3655aa: Download complete
3acb04d7d4e9: Verifying Checksum
3acb04d7d4e9: Download complete
b17e82172a56: Verifying Checksum
b17e82172a56: Download complete
27f70b208ee6: Download complete
1a9d6e926b36: Verifying Checksum
1a9d6e926b36: Download complete
040a8d698d0e: Download complete
8aa87505f692: Verifying Checksum
8aa87505f692: Download complete
2301af5f8e9d: Verifying Checksum
2301af5f8e9d: Download complete
bdc9f00cdd7d: Pull complete
8d3c0bae4c59: Verifying Checksum
8d3c0bae4c59: Download complete
c4b9c82c8489: Verifying Checksum
c4b9c82c8489: Download complete
2e39e6141464: Verifying Checksum
2e39e6141464: Download complete
4b927b79097e: Verifying Checksum
4b927b79097e: Download complete
28944b21beef: Verifying Checksum
28944b21beef: Download complete
010ed22bef99: Download complete
cca73af42153: Verifying Checksum
cca73af42153: Download complete
b1d91f6b0d95: Verifying Checksum
b1d91f6b0d95: Download complete
499a1d5b6f3f: Download complete
3bb3a342f965: Verifying Checksum
3bb3a342f965: Download complete
f9460ae981c2: Verifying Checksum
f9460ae981c2: Download complete
20f3d98a5f13: Download complete
badf53d8dafe: Download complete
42cb9f09ce9d: Verifying Checksum
42cb9f09ce9d: Download complete
cec0db82794f: Verifying Checksum
cec0db82794f: Download complete
b8ceb070e220: Pull complete
b03ef4d609a0: Pull complete
0879ccc7c76e: Pull complete
372bf19219c3: Pull complete
30427552bda5: Pull complete
70edfffdad43: Pull complete
953cac792735: Pull complete
2eed8c4fcfb4: Pull complete
272cede7bf6d: Pull complete
e26a6fa1b705: Pull complete
69a4314ae3e4: Pull complete
db76edee2c90: Pull complete
ad6135b2c3b7: Pull complete
a654b827062f: Pull complete
d4bc38153162: Pull complete
e5d8ce3655aa: Pull complete
4f4fb700ef54: Pull complete
3acb04d7d4e9: Pull complete
b17e82172a56: Pull complete
27f70b208ee6: Pull complete
2301af5f8e9d: Pull complete
1a9d6e926b36: Pull complete
040a8d698d0e: Pull complete
8aa87505f692: Pull complete
8d3c0bae4c59: Pull complete
c4b9c82c8489: Pull complete
2e39e6141464: Pull complete
4b927b79097e: Pull complete
28944b21beef: Pull complete
3bb3a342f965: Pull complete
010ed22bef99: Pull complete
cec0db82794f: Pull complete
cca73af42153: Pull complete
b1d91f6b0d95: Pull complete
499a1d5b6f3f: Pull complete
42cb9f09ce9d: Pull complete
f9460ae981c2: Pull complete
20f3d98a5f13: Pull complete
badf53d8dafe: Pull complete
Digest: sha256:5f7b943b03c8962e425dbfaba3fa75709133c3648d7d3654f5ed91b0ce57d45e
Status: Downloaded newer image for ocaml/opam@sha256:5f7b943b03c8962e425dbfaba3fa75709133c3648d7d3654f5ed91b0ce57d45e
2025-12-17 15:39.27 ---> saved as "414be81a566d8701f912af060720eceb3bef35ebb4d23525ec9fe41e9ddaae36"

/: (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:39.28 ---> saved as "302a7448ab27c0edc4427a3b0881ad07e8bd3b548666c1e88f5b1cbf0f8fb96f"

/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:39.51 ---> saved as "492e3aceadfa72bb10e6c039df68bb2a60845d610c61df93f5167e84e1ce93f4"

/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.4.1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=fedora os-version=41
# 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
2025-12-17 15:39.51 ---> saved as "c26b324c1293276f438033bb4541d0e586ab530f8e9bd282551c5e317e4cc7da"

/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:40.06 ---> saved as "a08361f9972b0ce2092ce7221dc6bb0957d78a72c50dc3a57bf5c715684a9603"

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-17 15:40.21 ---> saved as "e46777a06450ae9b6c0a7e158088e6e9c028ebdaf0bb3702d8b5d1e4d609f16a"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-17 15:40.40 ---> saved as "fb5eadbd4c01352bba8d2940812abfb1298054f6c1c494f1ae00061ebbb2fabe"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 41 - x86_64 - Updates           100% |  51.7 KiB/s |  20.8 KiB |  00m00s
-  Fedora 41 - x86_64                     100% |  70.6 KiB/s |  22.4 KiB |  00m00s
-  Fedora 41 openh264 (From Cisco) - x86_ 100% |   5.7 KiB/s | 986.0   B |  00m00s
- Repositories loaded.
- Metadata cache created.
2025-12-17 15:40.45 ---> saved as "0204c91fa3e272d97217d9099c6683bece82e633f89ae8355cec33ca801b0372"

/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:40.45 ---> saved as "4195f9d5f96c3a31f40e2240697dd9986d9d017540836d341577e250c266b251"

/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 \"\\\"fedora-41\\\"\"; 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 "\"fedora-41\""; 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:40.58: Job failed: Failed: Build failed
2025-12-17 15:40.58: Log analysis:
2025-12-17 15:40.58: >>> 
No solution found, exiting
 (score = 100)
2025-12-17 15:40.58: [SKIP] Package not available