(for PR #28495)

2025-10-17 13:54.23: New job: build efl.1.17.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28495/head (39ef1a8a5ad92f9e2f0d6857dbb4a91a15a9b4a6)
                              on debian-testing-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:debian-testing-ocaml-5.4@sha256:4e657be0131438aaad03fbcc19ff8b51db062c1e209ef4f2ee4eb93648b16359
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.17.0 1.17.0
RUN opam reinstall efl.1.17.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-testing\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'efl.1.17.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-testing-ocaml-5.4@sha256:4e657be0131438aaad03fbcc19ff8b51db062c1e209ef4f2ee4eb93648b16359-efl.1.17.0-39ef1a8a5ad92f9e2f0d6857dbb4a91a15a9b4a6"
2025-10-17 13:54.23: Using OBuilder spec:
((from ocaml/opam:debian-testing-ocaml-5.4@sha256:4e657be0131438aaad03fbcc19ff8b51db062c1e209ef4f2ee4eb93648b16359)
 (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.17.0 1.17.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall efl.1.17.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-testing\\\"\"; 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.17.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.35: Waiting for worker…
2025-10-17 14:08.41: 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:debian-testing-ocaml-5.4@sha256:4e657be0131438aaad03fbcc19ff8b51db062c1e209ef4f2ee4eb93648b16359)
Unable to find image 'ocaml/opam:debian-testing-ocaml-5.4@sha256:4e657be0131438aaad03fbcc19ff8b51db062c1e209ef4f2ee4eb93648b16359' locally
docker.io/ocaml/opam@sha256:4e657be0131438aaad03fbcc19ff8b51db062c1e209ef4f2ee4eb93648b16359: Pulling from ocaml/opam
e53bf7ab07ea: Already exists
40e83fd03a64: Already exists
3acc4d2a68a3: Already exists
5b42b9559bc8: Already exists
638cc70cd4c9: Already exists
0f2ece377762: Already exists
d5a0c2fc7bee: Already exists
3972d94ac4a1: Already exists
7f2380dd5d83: Already exists
ccb2e4972165: Already exists
06b72e45c926: Already exists
6e326f3ebcbf: Already exists
1ed93e22d455: Already exists
632d8c92cdde: Already exists
6a8565a9e443: Already exists
c059a4cbd7b9: Already exists
3a00fdc9e291: Already exists
a0b62589bd38: Already exists
65d69ef7ccbb: Already exists
bca1fd5341ba: Already exists
34b9849c2772: Already exists
4f4fb700ef54: Already exists
d8d3d0744e38: Already exists
788c7ce0e0e5: Already exists
f5491c406cef: Already exists
704bb14c9120: Already exists
ab6a8381ad56: Already exists
ab17158c7049: Already exists
181308c36661: Already exists
dc1e99141a78: Already exists
4c38358a39a0: Already exists
ecd00ba12154: Already exists
130264e00ffb: Already exists
f5d3e0233be6: Already exists
a650dfb6a4bc: Already exists
6172af6d7fc2: Already exists
aa2fc4d6f7cc: Already exists
428e07980479: Already exists
2d89bd9e273e: Already exists
054b98ff0ed8: Already exists
d2463d805491: Pulling fs layer
d235edda5ef8: Pulling fs layer
11e7dc7d979b: Pulling fs layer
d235edda5ef8: Waiting
030694252337: Pulling fs layer
11e7dc7d979b: Waiting
6144aba2efc2: Pulling fs layer
030694252337: Waiting
163e9cbfe9bf: Pulling fs layer
6144aba2efc2: Waiting
37b76bb0c815: Pulling fs layer
163e9cbfe9bf: Waiting
37b76bb0c815: Waiting
d2463d805491: Verifying Checksum
d2463d805491: Download complete
d2463d805491: Pull complete
d235edda5ef8: Verifying Checksum
d235edda5ef8: Download complete
d235edda5ef8: Pull complete
11e7dc7d979b: Verifying Checksum
11e7dc7d979b: Download complete
11e7dc7d979b: Pull complete
030694252337: Download complete
6144aba2efc2: Verifying Checksum
6144aba2efc2: Download complete
163e9cbfe9bf: Verifying Checksum
163e9cbfe9bf: Download complete
37b76bb0c815: Verifying Checksum
37b76bb0c815: Download complete
030694252337: Pull complete
6144aba2efc2: Pull complete
163e9cbfe9bf: Pull complete
37b76bb0c815: Pull complete
Digest: sha256:4e657be0131438aaad03fbcc19ff8b51db062c1e209ef4f2ee4eb93648b16359
Status: Downloaded newer image for ocaml/opam@sha256:4e657be0131438aaad03fbcc19ff8b51db062c1e209ef4f2ee4eb93648b16359
2025-10-17 14:09.20 ---> saved as "294c85adc29eec8143dde5bdc8bb2409c991a7ebb0dfcd1cc060488ee11fc210"

/: (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:09.21 ---> saved as "248a98cfed5b205bfc9311d9dd81eceb20bb320557feb4197ed6d3aa68ff0586"

/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:09.44 ---> saved as "864f9a2f6b738e199c498c76194ba4947b78cc60975c5d73b6731038ac41b6e7"

/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=debian os-version=unknown
# 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:09.45 ---> saved as "8460c8edaf1bd14b62aa7ddbbd56c55241895a8020daf918ecd6500f4c08e567"

/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:09.50 ---> saved as "d96654ed53bd08f03aaefdc5041df1b8982374c606aac7c11fcb83310651f3c3"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian testing InRelease [147 kB]
- Get:2 http://deb.debian.org/debian testing-updates InRelease [45.1 kB]
- Get:3 http://deb.debian.org/debian-security testing-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian testing/main amd64 Packages.diff/Index [63.6 kB]
- Get:5 http://deb.debian.org/debian testing/main amd64 Packages T-2025-10-17-0808.00-F-2025-10-11-1407.05.pdiff [310 kB]
- Get:5 http://deb.debian.org/debian testing/main amd64 Packages T-2025-10-17-0808.00-F-2025-10-11-1407.05.pdiff [310 kB]
- Fetched 609 kB in 3s (225 kB/s)
- Reading package lists...
- 
2025-10-17 14:10.17 ---> saved as "f0a52b58339d20c184f6677a6fbc6a360be96a8c79ef72a3adfcae984ac837d4"

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

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