(for PR #28495)

2025-10-17 13:54.23: New job: build efl.1.18.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28495/head (39ef1a8a5ad92f9e2f0d6857dbb4a91a15a9b4a6)
                              on centos-10-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/28495/head" && git reset --hard 39ef1a8a
git fetch origin master
git merge --no-edit 5bf570252bd9fee71938b828ca0b86573c1e3355
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-10-ocaml-5.4@sha256:7ef0a1d298ce77a2d95d8844154b42bfb37463958adc486d16ef6fb4acaeb1ba
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 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 "\"centos-10\""; 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-10-17 13:54.23: Using cache hint "ocaml/opam:centos-10-ocaml-5.4@sha256:7ef0a1d298ce77a2d95d8844154b42bfb37463958adc486d16ef6fb4acaeb1ba-efl.1.18.0-39ef1a8a5ad92f9e2f0d6857dbb4a91a15a9b4a6"
2025-10-17 13:54.23: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-5.4@sha256:7ef0a1d298ce77a2d95d8844154b42bfb37463958adc486d16ef6fb4acaeb1ba)
 (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 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 \"\\\"centos-10\\\"\"; 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-10-17 13:54.23: Connecting to build cluster…
2025-10-17 13:54.23: Waiting for resource in pool OCluster
2025-10-17 14:05.21: Waiting for worker…
2025-10-17 14:07.45: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 5bf570252b Merge pull request #28700 from drjdn/opam-publish-p5scm.0.5.0
Merge made by the 'ort' strategy.
 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:centos-10-ocaml-5.4@sha256:7ef0a1d298ce77a2d95d8844154b42bfb37463958adc486d16ef6fb4acaeb1ba)
Unable to find image 'ocaml/opam:centos-10-ocaml-5.4@sha256:7ef0a1d298ce77a2d95d8844154b42bfb37463958adc486d16ef6fb4acaeb1ba' locally
docker.io/ocaml/opam@sha256:7ef0a1d298ce77a2d95d8844154b42bfb37463958adc486d16ef6fb4acaeb1ba: Pulling from ocaml/opam
85f3a87fa233: Already exists
b61f57534da6: Already exists
43ce5c39bfcf: Already exists
2f58d0a08a8a: Already exists
cfaf95ee1a1d: Already exists
5beced422a47: Already exists
5574a155bb0a: Already exists
6034d6d17b4f: Already exists
b3e7fea154ea: Already exists
f7d7acf23d2c: Already exists
b26050606a08: Already exists
1f4f242d53ee: Already exists
6896856f5174: Already exists
87cf83d0e5d1: Already exists
87e0f1c019ce: Already exists
b949f80c15af: Already exists
5a2eec5f2590: Already exists
5a2eec5f2590: Already exists
b390dbb566a8: Already exists
65317da64f23: Already exists
d99c11df0ab0: Already exists
acb6bba1af9c: Already exists
4f4fb700ef54: Already exists
263d77d2ded7: Already exists
f244dde9df06: Already exists
e9de9534edb0: Already exists
4d0efc4619d4: Already exists
cdcf0a601cb6: Already exists
cc7ba9aa5bfe: Already exists
412c626e4c38: Already exists
afe90964a3a1: Already exists
5f780e76cd58: Already exists
f40c46e7bf5f: Already exists
116520cb9312: Already exists
7902cec4e062: Already exists
cc2f0f4c8608: Already exists
384fd0ba2919: Already exists
af5f2b58d23e: Already exists
ee7ebbb64200: Already exists
ca1f9a029f57: Already exists
e68c08a01ec5: Already exists
bba30497c14d: Pulling fs layer
2d1715fecc3b: Pulling fs layer
7d5d2f975e1f: Pulling fs layer
2d1715fecc3b: Waiting
b526224365db: Pulling fs layer
b10cce61e8a1: Pulling fs layer
b526224365db: Waiting
7d5d2f975e1f: Waiting
b10cce61e8a1: Waiting
bba30497c14d: Verifying Checksum
bba30497c14d: Download complete
bba30497c14d: Pull complete
7d5d2f975e1f: Download complete
b10cce61e8a1: Verifying Checksum
b10cce61e8a1: Download complete
2d1715fecc3b: Verifying Checksum
2d1715fecc3b: Download complete
2d1715fecc3b: Pull complete
7d5d2f975e1f: Pull complete
b526224365db: Pull complete
b10cce61e8a1: Pull complete
Digest: sha256:7ef0a1d298ce77a2d95d8844154b42bfb37463958adc486d16ef6fb4acaeb1ba
Status: Downloaded newer image for ocaml/opam@sha256:7ef0a1d298ce77a2d95d8844154b42bfb37463958adc486d16ef6fb4acaeb1ba
2025-10-17 14:07.47 ---> using "357e770fb63181f18e51e8cd827ee09ced1c74c7f7b6728690f91a362ed358e6" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-10-17 14:07.47 ---> using "612d918297a54115668c17144c61b423769977e3e0b7d98362f3e8854127765d" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-10-17 14:07.47 ---> using "66856b48e6f07fee074b1d72a6c5c8496f8a61f2f5963b96f25451698a040808" 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.4.1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=centos os-version=10
# 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-10-17 14:07.47 ---> using "c04ca15b1d81c3385ea3e8be6a8a06cf750e6e24968924e2e5f77acbda9ea253" 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-10-17 14:07.47 ---> using "e2637ac153b39ff91c6e74b72e6bbd302ff79132bbc38c412726c72babab0a04" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-10-17 14:07.52 ---> saved as "9ee8b36511821a06e35c9c2285d80385293737f7f32e051654f663afac76227d"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-10-17 14:08.11 ---> saved as "50182b37d1cc268030e8f5b6cccffbb35b73fc57e69df0b66f9fbf88857ee39a"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS                       147 kB/s |  15 kB     00:00    
- CentOS Stream 10 - AppStream                    153 kB/s |  15 kB     00:00    
- CentOS Stream 10 - CRB                          139 kB/s |  15 kB     00:00    
- CentOS Stream 10 - Extras packages              159 kB/s |  17 kB     00:00    
- Metadata cache created.
2025-10-17 14:08.12 ---> saved as "7dd63aa6f5c6cc4f679c7a06d893169edcb605d63ca68d9b7be227fb986506b8"

/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-10-17 14:08.13 ---> saved as "86326fc5324a604220f27c9c22398d75c6400753041d0ef0a37cb4243d6e299f"

/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 \"\\\"centos-10\\\"\"; 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 "\"centos-10\""; 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-10-17 14:08.18: Job failed: Failed: Build failed
2025-10-17 14:08.18: Log analysis:
2025-10-17 14:08.18: >>> 
[ERROR] efl = 1.18.0: unmet availability conditions: 'opam-version < "2.2"'
 (score = 100)
2025-10-17 14:08.18: [SKIP] Package not available