(for PR #28495)

2026-05-04 08:20.04: New job: build efl.1.22.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28495/head (f8e3c652f6bedf44059eb5199142f50d0ff975ef)
                              on ubuntu-26.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 f8e3c652
git fetch origin master
git merge --no-edit 7d5cbdbc1151b699e44529b13fd680723b359453
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-26.04-ocaml-5.4@sha256:d53e234a61d86d0e07201a16aa307284add6d1308db570092899c8585c83ea14
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.22.0 1.22.0
RUN opam reinstall efl.1.22.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-26.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'efl.1.22.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 .

2026-05-04 08:20.04: Using cache hint "ocaml/opam:ubuntu-26.04-ocaml-5.4@sha256:d53e234a61d86d0e07201a16aa307284add6d1308db570092899c8585c83ea14-efl.1.22.0-f8e3c652f6bedf44059eb5199142f50d0ff975ef"
2026-05-04 08:20.04: Using OBuilder spec:
((from ocaml/opam:ubuntu-26.04-ocaml-5.4@sha256:d53e234a61d86d0e07201a16aa307284add6d1308db570092899c8585c83ea14)
 (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.22.0 1.22.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall efl.1.22.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-26.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.22.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-05-04 08:20.04: Waiting for resource in pool OCluster
2026-05-04 08:20.07: Waiting for worker…
2026-05-04 08:23.57: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at 7d5cbdbc11 Merge pull request #29840 from mtelvers/opam-publish-dockerfile-cmd.8.3.7
Merge made by the 'ort' strategy.
 packages/efl/efl.1.12.0/opam | 2 +-
 packages/efl/efl.1.13.0/opam | 2 +-
 packages/efl/efl.1.17.0/opam | 2 +-
 packages/efl/efl.1.18.0/opam | 2 +-
 packages/efl/efl.1.19.0/opam | 2 +-
 packages/efl/efl.1.20.0/opam | 2 +-
 packages/efl/efl.1.22.0/opam | 2 +-
 packages/efl/efl.1.24.0/opam | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

(from ocaml/opam:ubuntu-26.04-ocaml-5.4@sha256:d53e234a61d86d0e07201a16aa307284add6d1308db570092899c8585c83ea14)
Unable to find image 'ocaml/opam:ubuntu-26.04-ocaml-5.4@sha256:d53e234a61d86d0e07201a16aa307284add6d1308db570092899c8585c83ea14' locally
docker.io/ocaml/opam@sha256:d53e234a61d86d0e07201a16aa307284add6d1308db570092899c8585c83ea14: Pulling from ocaml/opam
5f528443f346: Already exists
9d7db96ef8a1: Already exists
69cd0ed39c32: Already exists
8ddd605780bc: Already exists
b3563cf9c718: Already exists
0ff6404f2cf9: Already exists
0fd106322b2a: Already exists
6cfb66f33040: Already exists
b054a68819af: Already exists
935df48738cf: Already exists
6d7855f07084: Already exists
baf8b6b1404d: Already exists
d11a2bc559d8: Already exists
47b449369e16: Already exists
8821a6dafec4: Already exists
de6cbfe58b17: Already exists
4789d14f0dba: Already exists
dc40a97042b2: Already exists
5ba7a82e9924: Already exists
5ba7a82e9924: Already exists
1bd9b354e379: Already exists
d95538300577: Already exists
ccb31d3e72ef: Already exists
d5ec08a27795: Already exists
4f4fb700ef54: Already exists
cace1535e380: Already exists
6abc7b96ebc8: Already exists
31baaf291736: Already exists
d7ee8870a44e: Already exists
bec0e40ffcad: Already exists
8e3943b026f0: Already exists
2a4924aaac32: Already exists
4761365b4e53: Already exists
1a958ae6c150: Already exists
65cf788ac9e8: Already exists
549c069a431e: Already exists
d41918af1eb8: Already exists
03b68832c4e3: Pulling fs layer
07b6992d886c: Pulling fs layer
f09387f0ec30: Pulling fs layer
3a21a1eec9a7: Pulling fs layer
b81a3fcd3549: Pulling fs layer
3a21a1eec9a7: Waiting
6a0788bf5790: Pulling fs layer
87a0f03bb541: Pulling fs layer
6a0788bf5790: Waiting
090547e889be: Pulling fs layer
87a0f03bb541: Waiting
684e578de7d4: Pulling fs layer
090547e889be: Waiting
d693c503680c: Pulling fs layer
684e578de7d4: Waiting
d693c503680c: Waiting
407f7c9882b1: Pulling fs layer
b81a3fcd3549: Waiting
3e33a0ac3af1: Pulling fs layer
407f7c9882b1: Waiting
9dcdda099b88: Pulling fs layer
9dcdda099b88: Waiting
3e33a0ac3af1: Waiting
07b6992d886c: Verifying Checksum
07b6992d886c: Download complete
3a21a1eec9a7: Verifying Checksum
3a21a1eec9a7: Download complete
b81a3fcd3549: Verifying Checksum
b81a3fcd3549: Download complete
6a0788bf5790: Verifying Checksum
6a0788bf5790: Download complete
87a0f03bb541: Verifying Checksum
87a0f03bb541: Download complete
090547e889be: Verifying Checksum
090547e889be: Download complete
684e578de7d4: Verifying Checksum
684e578de7d4: Download complete
f09387f0ec30: Verifying Checksum
f09387f0ec30: Download complete
407f7c9882b1: Download complete
03b68832c4e3: Verifying Checksum
03b68832c4e3: Download complete
3e33a0ac3af1: Download complete
9dcdda099b88: Verifying Checksum
9dcdda099b88: Download complete
03b68832c4e3: Pull complete
07b6992d886c: Pull complete
d693c503680c: Verifying Checksum
d693c503680c: Download complete
f09387f0ec30: Pull complete
3a21a1eec9a7: Pull complete
b81a3fcd3549: Pull complete
6a0788bf5790: Pull complete
87a0f03bb541: Pull complete
090547e889be: Pull complete
684e578de7d4: Pull complete
d693c503680c: Pull complete
407f7c9882b1: Pull complete
3e33a0ac3af1: Pull complete
9dcdda099b88: Pull complete
Digest: sha256:d53e234a61d86d0e07201a16aa307284add6d1308db570092899c8585c83ea14
Status: Downloaded newer image for ocaml/opam@sha256:d53e234a61d86d0e07201a16aa307284add6d1308db570092899c8585c83ea14
2026-05-04 08:29.18 ---> saved as "a096b39eba13a545787c6a99faeb1854aa1fd2d6771239e0429f83b9bfc72a60"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-05-04 08:29.20 ---> saved as "cb93c0ddfe9c7c37d67d067c086e73aed9f74eac63245142067c83a4f227a262"

/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
2026-05-04 08:30.06 ---> saved as "b794b7a1c65adb7b9b9c624a270cd420679e40387ba25c3454456e4a27dc98db"

/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.5.1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=ubuntu os-version=26.04
# 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.1"}]
# compiler-packages    ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, 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.1
2026-05-04 08:30.09 ---> saved as "020b907b83b994d9e829c4da845fbba0cd33435b35f0b6ee6691ae1f73adf603"

/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/"))
2026-05-04 08:30.25 ---> saved as "1ca7fa736d4d91360f15182eb957bdea770d54521d8e41abd52bbccae4ec4339"

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-04 08:30.55 ---> saved as "07ead18422bc3656199a34e9139afa6d15557d4678fa5a072ab9c8924cc8fe2e"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-04 08:31.42 ---> saved as "38f3dccfd30bb86169899c4860123ac8f74a3df9e1a8acd71e2e44502629f50c"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu resolute InRelease
- Get:2 http://security.ubuntu.com/ubuntu resolute-security InRelease [136 kB]
- Get:3 http://archive.ubuntu.com/ubuntu resolute-updates InRelease [136 kB]
- Hit:4 http://archive.ubuntu.com/ubuntu resolute-backports InRelease
- Fetched 271 kB in 4s (68.4 kB/s)
- Reading package lists...
- 
2026-05-04 08:31.49 ---> saved as "1d375165b65cc64e03339e15fa54c8c81b2d0d9130e5326c5a0096e6b3920066"

/home/opam: (run (shell "opam pin add -k version -yn efl.1.22.0 1.22.0"))
efl is now pinned to version 1.22.0
2026-05-04 08:31.53 ---> saved as "7e3bf1b54a1e69479535be920fdd228f5515b19db3a5009aa3ac45abd85ba9d7"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall efl.1.22.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-26.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.22.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
efl.1.22.0 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.4.1
    - efl = 1.22.0 -> ocaml < 5.3 -> dkml-base-compiler
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.4.1
    - efl = 1.22.0 -> ocaml < 5.3 -> ocaml-variants (< 4.05.2~ | >= 4.06.0)
  * Missing dependency:
    - efl = 1.22.0 -> ocaml < 5.3 -> ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.08.4 | = 3.09.0) | ocaml-system (<= 3.07+1 | = 3.07+2 | >= 3.08.0) | ocaml-variants < 3.09.1~
    not available because the package is pinned to version 5.4.1
    unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.1" & (os != "win32" | sys-ocaml-libc = "msvc")'
    no matching version
  * Missing dependency:
    - efl = 1.22.0 -> ocaml < 5.3 -> ocaml-variants >= 4.06.0 -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - efl = 1.22.0 -> ocaml < 5.3 -> ocaml-variants >= 4.06.0 -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall efl.1.22.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-26.04\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'efl.1.22.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 20
2026-05-04 08:32.49: Job failed: Failed: Build failed
2026-05-04 08:32.49: Log analysis:
2026-05-04 08:32.49: >>> 
No solution found, exiting
 (score = 100)
2026-05-04 08:32.49: [SKIP] Package not available