(for PR #28495)

2025-09-11 13:43.16: New job: build efl.1.18.0, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28495/head (39ef1a8a5ad92f9e2f0d6857dbb4a91a15a9b4a6)
                              on fedora-42-ocaml-5.3/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/28495/head" && git reset --hard 39ef1a8a
git fetch origin master
git merge --no-edit 866bcd03cd164b928ac73b30e64dce324b9973f9
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-5.3@sha256:232df8cf504bbc1d4febe108fb5818923f2e1bf17a16f239b8c807d1151d4533
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 efl.1.18.0 1.18.0
RUN opam reinstall efl.1.18.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-42\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'efl.1.18.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-09-11 13:43.16: Using cache hint "ocaml/opam:fedora-42-ocaml-5.3@sha256:232df8cf504bbc1d4febe108fb5818923f2e1bf17a16f239b8c807d1151d4533-efl.1.18.0-39ef1a8a5ad92f9e2f0d6857dbb4a91a15a9b4a6"
2025-09-11 13:43.16: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.3@sha256:232df8cf504bbc1d4febe108fb5818923f2e1bf17a16f239b8c807d1151d4533)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 efl.1.18.0 1.18.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall efl.1.18.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-42\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'efl.1.18.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-09-11 13:43.16: Connecting to build cluster…
2025-09-11 13:43.16: Waiting for resource in pool OCluster
2025-09-11 13:46.10: Waiting for worker…
2025-09-11 13:48.30: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at 866bcd03cd Merge pull request #28488 from mdales/mwd-fix-claudius
Merge made by the 'ort' strategy.
Auto packing the repository in the background for optimum performance.
See "git help gc" for manual housekeeping.
warning: The last gc run reported the following. Please correct the root cause
and remove .git/gc.log
Automatic cleanup will not be performed until the file is removed.

warning: There are too many unreachable loose objects; run 'git prune' to remove them.

 packages/efl/efl.1.12.0/opam | 3 ++-
 packages/efl/efl.1.13.0/opam | 3 ++-
 packages/efl/efl.1.17.0/opam | 3 ++-
 packages/efl/efl.1.18.0/opam | 3 ++-
 packages/efl/efl.1.19.0/opam | 3 ++-
 packages/efl/efl.1.20.0/opam | 3 ++-
 packages/efl/efl.1.22.0/opam | 3 ++-
 packages/efl/efl.1.24.0/opam | 3 ++-
 8 files changed, 16 insertions(+), 8 deletions(-)

(from ocaml/opam:fedora-42-ocaml-5.3@sha256:232df8cf504bbc1d4febe108fb5818923f2e1bf17a16f239b8c807d1151d4533)
2025-09-11 13:48.39 ---> using "bf1418f21df1dddabe0ee9988a892f910c1ec0a8ca384b7ced32dccaed699941" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-09-11 13:48.39 ---> using "9eacde5f888e80cc0d5fc3ff44f6ac5b226a21013c3eeb00273fa9808850c1c4" 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 development 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-09-11 13:48.39 ---> using "927b931a24cb317c62d0d7d8dae9bf62e57566b49c28da7f2c00670906e3832f" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=fedora os-version=42
# 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.3
# invariant            ["ocaml-base-compiler" {= "5.3.0"}]
# compiler-packages    ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.3.0
2025-09-11 13:48.39 ---> using "e7351b4ab91e133c6b8d1de03bdf78c014b4cf598f7e3bad927452927963fd8c" 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/"))
2025-09-11 13:48.39 ---> using "6a1a1b51f793132f9cdebb3998b9b64e975af195600083cd38f4841dd8640307" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-09-11 13:48.45 ---> saved as "37f77227bd59587abb263360d3d171fc25e81a73d9c01687ae122bd33ca83dd4"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-09-11 13:49.04 ---> saved as "2545aaf125f52b03ccf0995edf40cee50f867aed503ce5a27f9885102f3df0bd"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 42 - x86_64 - Updates           100% |  67.8 KiB/s |   6.2 KiB |  00m00s
- Repositories loaded.
- Metadata cache created.
2025-09-11 13:49.08 ---> saved as "2fc572b6cb3a656bcd71777f736b3de9eb1055b0f81bd6c0e9dd0e9d6e69d37f"

/home/opam: (run (shell "opam pin add -k version -yn efl.1.18.0 1.18.0"))
efl is now pinned to version 1.18.0
2025-09-11 13:49.09 ---> saved as "5380bbd56302a2509bb6014430e2c2faca5b73553051d1966328b79d48c2f498"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall efl.1.18.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-42\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'efl.1.18.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
[ERROR] efl = 1.18.0: unmet availability conditions: 'opam-version < "2.2"'
"/usr/bin/env" "bash" "-c" "opam reinstall efl.1.18.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-42\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'efl.1.18.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 5
2025-09-11 13:49.22: Job failed: Failed: Build failed
2025-09-11 13:49.22: Log analysis:
2025-09-11 13:49.22: >>> 
[ERROR] efl = 1.18.0: unmet availability conditions: 'opam-version < "2.2"'
 (score = 100)
2025-09-11 13:49.22: [SKIP] Package not available