(for PR #28495)

2025-10-17 13:54.28: New job: build efl.1.12.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28495/head (39ef1a8a5ad92f9e2f0d6857dbb4a91a15a9b4a6)
                              on ubuntu-25.04-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:ubuntu-25.04-ocaml-5.4@sha256:aa8e01a39c106c4e36649164d30801dd46a751574d1f693167475e4dfe972f01
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.12.0 1.12.0
RUN opam reinstall efl.1.12.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 "\"ubuntu-25.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'efl.1.12.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.28: Using cache hint "ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:aa8e01a39c106c4e36649164d30801dd46a751574d1f693167475e4dfe972f01-efl.1.12.0-39ef1a8a5ad92f9e2f0d6857dbb4a91a15a9b4a6"
2025-10-17 13:54.28: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:aa8e01a39c106c4e36649164d30801dd46a751574d1f693167475e4dfe972f01)
 (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.12.0 1.12.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall efl.1.12.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 \"\\\"ubuntu-25.04\\\"\"; 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.12.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.28: Waiting for resource in pool OCluster
2025-10-17 14:50.35: Waiting for worker…
2025-10-17 14:52.31: 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:ubuntu-25.04-ocaml-5.4@sha256:aa8e01a39c106c4e36649164d30801dd46a751574d1f693167475e4dfe972f01)
Unable to find image 'ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:aa8e01a39c106c4e36649164d30801dd46a751574d1f693167475e4dfe972f01' locally
docker.io/ocaml/opam@sha256:aa8e01a39c106c4e36649164d30801dd46a751574d1f693167475e4dfe972f01: Pulling from ocaml/opam
c62190a9ab61: Already exists
c985a9864739: Already exists
9ce098ab566c: Already exists
1476b197f492: Already exists
3c6ed04c0489: Already exists
6c35591422f1: Already exists
fd754953a4a4: Already exists
582f1b7eb9db: Already exists
ee0bf2b6f429: Already exists
44cfa07f70cf: Already exists
0500902e0a7f: Already exists
139102ffb691: Already exists
430dee7dbc42: Already exists
25541c62e72c: Already exists
4b45b5097190: Already exists
af6cd989f92e: Already exists
af6cd989f92e: Already exists
5715088923f1: Already exists
c5c22c361315: Already exists
a8dca298272f: Already exists
83da8bb20921: Already exists
4f4fb700ef54: Already exists
35b94e9da18a: Already exists
9cce0457fb55: Already exists
84b391c5931c: Already exists
3571da19f996: Already exists
a8d59b1dd164: Already exists
ac6586f8f005: Already exists
e3e0b0ad2e15: Already exists
ed1dc3ac7383: Already exists
fe4b5ed60893: Already exists
ac27f0f19708: Already exists
5b6754c1d1ac: Already exists
a816aa9aa995: Already exists
f732e53bb150: Already exists
a37ed6ebfa21: Already exists
5bbf7566f945: Already exists
aee8720d12b0: Already exists
74c35d6687bb: Already exists
6135e67bfcee: Already exists
50977875eeb9: Pulling fs layer
03a84bf05170: Pulling fs layer
a7e2efc01400: Pulling fs layer
91da380bcbc7: Pulling fs layer
da468c07c222: Pulling fs layer
03a84bf05170: Waiting
a7e2efc01400: Waiting
e54feb2ef553: Pulling fs layer
da468c07c222: Waiting
cfbe3a87bf59: Pulling fs layer
e54feb2ef553: Waiting
cfbe3a87bf59: Waiting
50977875eeb9: Verifying Checksum
50977875eeb9: Download complete
50977875eeb9: Pull complete
03a84bf05170: Verifying Checksum
03a84bf05170: Download complete
a7e2efc01400: Verifying Checksum
a7e2efc01400: Download complete
03a84bf05170: Pull complete
a7e2efc01400: Pull complete
da468c07c222: Verifying Checksum
da468c07c222: Download complete
e54feb2ef553: Verifying Checksum
e54feb2ef553: Download complete
cfbe3a87bf59: Verifying Checksum
cfbe3a87bf59: Download complete
91da380bcbc7: Verifying Checksum
91da380bcbc7: Download complete
91da380bcbc7: Pull complete
da468c07c222: Pull complete
e54feb2ef553: Pull complete
cfbe3a87bf59: Pull complete
Digest: sha256:aa8e01a39c106c4e36649164d30801dd46a751574d1f693167475e4dfe972f01
Status: Downloaded newer image for ocaml/opam@sha256:aa8e01a39c106c4e36649164d30801dd46a751574d1f693167475e4dfe972f01
2025-10-17 14:52.35 ---> using "4634bb79db369ca459eb077bd605b0a453385ad697bc229a054890d0024b1f5d" 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:52.35 ---> using "1f9417818f458f64b0e501c5804cf7e4fe4eaa8d9ef8b43ae33e6ba98a8dbdb6" 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:52.35 ---> using "ad2929b4d95f1ad1f7df349b390a2b431af527416bf301146258fdcd7dfa2647" 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=ubuntu os-version=25.04
# 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-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:52.35 ---> using "0fb085920073739f54d58fc99f5cd47dc3e43d07564a9e894bbd5f1ec94ac0ae" 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:52.35 ---> using "2a66c90ef56a1678d472c30cf11eb52c18dbe060fb96ca0b2c469c75fd02ce38" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-10-17 14:52.37 ---> using "270cae3fa93d824a027a64ac8d7e6a13add86f656e6e1f80cf57473a682eae06" from cache

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu plucky InRelease
- Get:2 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
- Get:3 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu plucky-updates/multiverse amd64 Packages [31.6 kB]
- Get:6 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [464 kB]
- Get:7 http://security.ubuntu.com/ubuntu plucky-security/restricted amd64 Packages [301 kB]
- Get:8 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Packages [336 kB]
- Get:9 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [291 kB]
- Get:10 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [315 kB]
- Get:11 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [218 kB]
- Fetched 2335 kB in 0s (5836 kB/s)
- Reading package lists...
- 
2025-10-17 14:52.50 ---> saved as "084094b2679058925e943fd3b4ae06b6af0915442b23fd2c7eb4b7344139edf7"

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

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