(for PR #28495)

2025-10-17 13:54.23: New job: build efl.1.24.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28495/head (39ef1a8a5ad92f9e2f0d6857dbb4a91a15a9b4a6)
                              on debian-13-ocaml-5.4/i386

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:debian-13-ocaml-5.4@sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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.24.0 1.24.0
RUN opam reinstall efl.1.24.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 "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'efl.1.24.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:debian-13-ocaml-5.4@sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4-efl.1.24.0-39ef1a8a5ad92f9e2f0d6857dbb4a91a15a9b4a6"
2025-10-17 13:54.23: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4)
 (shell /usr/bin/linux32 /bin/sh -c)
 (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.24.0 1.24.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall efl.1.24.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 \"\\\"debian-13\\\"\"; 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.24.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 13:59.50: Waiting for worker…
2025-10-17 14:04.57: Got resource from pool OCluster
Building on asteria.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:debian-13-ocaml-5.4@sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4' locally
docker.io/ocaml/opam@sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4: Pulling from ocaml/opam
f1c1f592b556: Already exists
1b804c748ae2: Already exists
46890ce1a2c6: Already exists
59d360237abf: Already exists
3f9e79276ad2: Already exists
0f3879946ce8: Already exists
b5386ba4450a: Already exists
d72a73e60ada: Already exists
5657d34ee214: Already exists
b3739d7df5a6: Already exists
20686602fa54: Already exists
ac71dabb3064: Already exists
aebd608b6359: Already exists
b25ca2e1fe6a: Already exists
7b3c426e231e: Already exists
7c29943894c1: Already exists
6f96d58bfde1: Already exists
57fd7e6f0fcc: Already exists
c62cedd71197: Already exists
8299ba532ede: Already exists
acd9fe4f75a0: Already exists
4f4fb700ef54: Already exists
9f75e0cf0db8: Already exists
1ac30b6ffbfe: Already exists
8c966152e5b9: Already exists
1b89a7d78106: Already exists
7ec941522540: Already exists
4ea54a4b23e3: Already exists
f896ea897152: Already exists
81d297dab66c: Already exists
a761e314d9bb: Already exists
7e72fd67616e: Already exists
12aaf83bc4b9: Already exists
052055b1bebb: Already exists
ef3b8f2cb729: Already exists
57924c7f024b: Already exists
e08a5917fa7f: Already exists
823bcf26ad4e: Already exists
fc03626aec80: Already exists
1091dd9160fe: Already exists
03c6f5a99d99: Pulling fs layer
b19db3d35f12: Pulling fs layer
5b38b98cd65e: Pulling fs layer
f46c04c63321: Pulling fs layer
e0f10b0a8aa7: Pulling fs layer
b7a38312159e: Pulling fs layer
723c559a7608: Pulling fs layer
f46c04c63321: Waiting
b7a38312159e: Waiting
e0f10b0a8aa7: Waiting
03c6f5a99d99: Verifying Checksum
03c6f5a99d99: Download complete
5b38b98cd65e: Verifying Checksum
5b38b98cd65e: Download complete
03c6f5a99d99: Pull complete
b19db3d35f12: Verifying Checksum
b19db3d35f12: Download complete
b19db3d35f12: Pull complete
5b38b98cd65e: Pull complete
e0f10b0a8aa7: Verifying Checksum
e0f10b0a8aa7: Download complete
b7a38312159e: Verifying Checksum
b7a38312159e: Download complete
723c559a7608: Verifying Checksum
723c559a7608: Download complete
f46c04c63321: Verifying Checksum
f46c04c63321: Download complete
f46c04c63321: Pull complete
e0f10b0a8aa7: Pull complete
b7a38312159e: Pull complete
723c559a7608: Pull complete
Digest: sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4
Status: Downloaded newer image for ocaml/opam@sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4
WARNING: The requested image's platform (linux/386) does not match the detected host platform (linux/amd64) and no specific platform was requested
2025-10-17 14:04.59 ---> using "504e22203aa0ba7196e4fa1511b3a4b3d160c3bec35a877d4e164e6b5c8dc765" from cache

/: (shell /usr/bin/linux32 /bin/sh -c)

/: (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:04.59 ---> using "1c0528c18646c3a0105ecc3865265abcd0f92a05f2951c687462212d971198a7" 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
2025-10-17 14:04.59 ---> using "5122ce367ab4b15bff283ee1898e2697a9156903aa0503c56f06ea3daaaff33a" 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_32 os=linux os-distribution=debian os-version=13
# 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       5.4
# invariant            ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-option-bytecode-only.1, ocaml-options-vanilla.1
# ocaml:native         false
# ocaml:native-tools   false
# ocaml:native-dynlink false
# 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+bytecode-only
2025-10-17 14:04.59 ---> using "5f138e05f67df29e3de6ab14502dea6b3391cbec8da3df4e2912c7c124b7d015" 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:04.59 ---> using "ba476aad4ee87c93d8cd6186fc0088f2d1ea967717823755290144a538abff29" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-10-17 14:05.02 ---> saved as "8e429a1c302a310a023a5868ee5d9c8ad49ffe957191b4de73f7de0c3c95c728"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main i386 Packages [51.9 kB]
- Fetched 143 kB in 0s (958 kB/s)
- Reading package lists...
2025-10-17 14:05.32 ---> saved as "be12071f71864585af6a119f9d54a641f2ca4832b68a7c49124cb0e7955c7820"

/home/opam: (run (shell "opam pin add -k version -yn efl.1.24.0 1.24.0"))
efl is now pinned to version 1.24.0
2025-10-17 14:05.33 ---> saved as "99383d8e9663abe1af35e3a7d49c91996969ae28f1d18ad3c1002d0f8ff51a5b"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall efl.1.24.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 \"\\\"debian-13\\\"\"; 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.24.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.24.0: unmet availability conditions: 'opam-version < "2.2"'
"/usr/bin/linux32" "/bin/sh" "-c" "opam reinstall efl.1.24.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 "\"debian-13\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'efl.1.24.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:05.40: Job failed: Failed: Build failed
2025-10-17 14:05.40: Log analysis:
2025-10-17 14:05.40: >>> 
[ERROR] efl = 1.24.0: unmet availability conditions: 'opam-version < "2.2"'
 (score = 100)
2025-10-17 14:05.40: [SKIP] Package not available