(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-43-ocaml-5.4/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-43-ocaml-5.4@sha256:51857b77e14453184f8e7d44a9a7171bcfa8c2affcfc6df48a5bb08522abc6a2
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-43\""; 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-43-ocaml-5.4@sha256:51857b77e14453184f8e7d44a9a7171bcfa8c2affcfc6df48a5bb08522abc6a2-ocaml.5.5.0-d0355feefc1e55d6558a9946775e6b891961f805"
2025-12-17 15:33.24: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-5.4@sha256:51857b77e14453184f8e7d44a9a7171bcfa8c2affcfc6df48a5bb08522abc6a2)
 (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-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.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.26: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  69% (13194/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:fedora-43-ocaml-5.4@sha256:51857b77e14453184f8e7d44a9a7171bcfa8c2affcfc6df48a5bb08522abc6a2)
2025-12-17 15:35.49 ---> saved as "71487916328e2521e9b3eace51b2d612b3cb065793b43d1600de6f3b03cd399e"

/: (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:35.49 ---> saved as "39839d414c06defb16562e5fee028ca24b8e18de19fa05a06199f57a6510d456"

/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.20 ---> saved as "b2fbcf5677256d163d4628f0c058ada24092b9d51d9c383ec0ba979377726c2d"

/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                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# invariant            ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2025-12-17 15:36.21 ---> saved as "962a3539bf0cb474c981fd945e407b8d31d6742064b68b5930650a046062f05b"

/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.34 ---> saved as "71a875cdb8bad4e89df06bdb05d997febe64a3a60634b3c042cd5e152dd79916"

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

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

/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% | 137.2 KiB/s |  20.3 KiB |  00m00s
- Repositories loaded.
- Metadata cache created.
2025-12-17 15:37.43 ---> saved as "316d9de694a1bb9c2d5962d865e52cebc284ed9e9a9935bc828078bb5f845545"

/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.44 ---> saved as "6276e5f9e687c3f1e47cc6f5b9367a67fd18fa61025218884a0604cdcc455263"

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