(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-24.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-24.04-ocaml-5.4@sha256:240a222a7c5584df8f888e3df99be31ea76a8a0dd08228f6a5d51cddbffb1c64
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-24.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-24.04-ocaml-5.4@sha256:240a222a7c5584df8f888e3df99be31ea76a8a0dd08228f6a5d51cddbffb1c64-efl.1.22.0-f8e3c652f6bedf44059eb5199142f50d0ff975ef"
2026-05-04 08:20.04: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:240a222a7c5584df8f888e3df99be31ea76a8a0dd08228f6a5d51cddbffb1c64)
 (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-24.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.08: Waiting for worker…
2026-05-04 08:24.52: Got resource from pool OCluster
Building on eumache.caelum.ci.dev
All commits already cached
Updating files:  81% (15400/18902)
Updating files:  82% (15500/18902)
Updating files:  83% (15689/18902)
Updating files:  84% (15878/18902)
Updating files:  85% (16067/18902)
Updating files:  86% (16256/18902)
Updating files:  87% (16445/18902)
Updating files:  88% (16634/18902)
Updating files:  89% (16823/18902)
Updating files:  90% (17012/18902)
Updating files:  91% (17201/18902)
Updating files:  92% (17390/18902)
Updating files:  93% (17579/18902)
Updating files:  94% (17768/18902)
Updating files:  95% (17957/18902)
Updating files:  96% (18146/18902)
Updating files:  97% (18335/18902)
Updating files:  98% (18524/18902)
Updating files:  99% (18713/18902)
Updating files: 100% (18902/18902)
Updating files: 100% (18902/18902), done.
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-24.04-ocaml-5.4@sha256:240a222a7c5584df8f888e3df99be31ea76a8a0dd08228f6a5d51cddbffb1c64)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:240a222a7c5584df8f888e3df99be31ea76a8a0dd08228f6a5d51cddbffb1c64' locally
docker.io/ocaml/opam@sha256:240a222a7c5584df8f888e3df99be31ea76a8a0dd08228f6a5d51cddbffb1c64: Pulling from ocaml/opam
b40150c1c271: Already exists
5635dddaaf61: Already exists
0a6d5f853ae3: Already exists
799f202be4df: Already exists
b903f564077a: Already exists
6c1d10b3d08f: Already exists
5f5807185d05: Already exists
070c54c49939: Already exists
c74f78aa4319: Already exists
08f490e2d1d6: Already exists
90f22d77deb3: Already exists
7934f3d64cde: Already exists
c9675ca4ea04: Already exists
2d56e81bc648: Already exists
747607799543: Already exists
620bc2c277c5: Already exists
bd268c40989e: Already exists
bd268c40989e: Already exists
52dd6f008393: Already exists
1ac04842be81: Already exists
e50d59eb16a8: Already exists
5dcb466db21c: Already exists
4f4fb700ef54: Already exists
155ed5167872: Already exists
0d0ddeec4e9f: Already exists
11a59e72671d: Already exists
f5e116e6aaf6: Already exists
95c72a92d56a: Already exists
711d037d18c7: Already exists
100470c8287d: Already exists
76c9f10ccc79: Already exists
18a3f6bf5510: Already exists
964c51b347ff: Already exists
4020793ba1b6: Already exists
ff88a2087566: Already exists
1599e1710bd3: Already exists
e9e27cfec680: Already exists
ed5bd70fe984: Already exists
ff9f18578fd4: Already exists
290bf7c7792f: Already exists
1be1bd893fc7: Already exists
4cf4012f712b: Pulling fs layer
509ed7c5263a: Pulling fs layer
c00b999fe57c: Pulling fs layer
d417044efb58: Pulling fs layer
17ed1402802d: Pulling fs layer
0ec5f9bbc15e: Pulling fs layer
d417044efb58: Waiting
6ca7a00b2cd2: Pulling fs layer
17ed1402802d: Waiting
0ec5f9bbc15e: Waiting
6ca7a00b2cd2: Waiting
509ed7c5263a: Verifying Checksum
509ed7c5263a: Download complete
4cf4012f712b: Verifying Checksum
4cf4012f712b: Download complete
4cf4012f712b: Pull complete
509ed7c5263a: Pull complete
c00b999fe57c: Verifying Checksum
c00b999fe57c: Download complete
c00b999fe57c: Pull complete
0ec5f9bbc15e: Download complete
17ed1402802d: Download complete
6ca7a00b2cd2: Verifying Checksum
6ca7a00b2cd2: Download complete
d417044efb58: Verifying Checksum
d417044efb58: Download complete
d417044efb58: Pull complete
17ed1402802d: Pull complete
0ec5f9bbc15e: Pull complete
6ca7a00b2cd2: Pull complete
Digest: sha256:240a222a7c5584df8f888e3df99be31ea76a8a0dd08228f6a5d51cddbffb1c64
Status: Downloaded newer image for ocaml/opam@sha256:240a222a7c5584df8f888e3df99be31ea76a8a0dd08228f6a5d51cddbffb1c64
2026-05-04 08:26.31 ---> saved as "f3f712b811f983906ff13128b09dc7d9aacafad24696bc58a0708b5a56258631"

/: (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:26.31 ---> saved as "dbbf9dbe5c97e44fd908327764ed4686a028c9a67e97f7c632e95762e2c3ffb3"

/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:26.56 ---> saved as "88e316424d843bce1b9e7419f3f06771ea6115aae7e4dceaf12aaa440a48258d"

/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=24.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:26.57 ---> saved as "cbbe1ef988ed712fec3895919248657d18a1de1c9d9a32d5e7c702fd114d4d67"

/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:27.05 ---> saved as "1d36fdc069dd71dcc105c057216703559a602e5b97488e0e6967d4cc354e7bda"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1986 kB]
- Get:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2386 kB]
- Get:7 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [3491 kB]
- Get:8 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1498 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [2142 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [54.1 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [3788 kB]
- Get:12 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [39.9 kB]
- Get:13 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [77.8 kB]
- Fetched 15.8 MB in 29s (542 kB/s)
- Reading package lists...
- 
2026-05-04 08:28.06 ---> saved as "c4e22c9724b29b097f2a62fbda338c7a89d0c4835feee5ea7169d70eaec1826c"

/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:28.07 ---> saved as "123086d6ea80bedb1c9be11f70e64e6d58fb49c419c89467e559ed889b3068a3"

/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-24.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
  * 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 -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - efl = 1.22.0 -> ocaml < 5.3 -> ocaml-variants -> 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-24.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:28.28: Job failed: Failed: Build failed
2026-05-04 08:28.28: Log analysis:
2026-05-04 08:28.28: >>> 
No solution found, exiting
 (score = 100)
2026-05-04 08:28.28: [SKIP] Package not available