(for PR #28495)

2026-05-04 08:20.04: New job: build efl.1.24.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28495/head (f8e3c652f6bedf44059eb5199142f50d0ff975ef)
                              on debian-13-ocaml-5.3/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:debian-13-ocaml-5.3@sha256:e147a98638b5319e6d1a8da07282f2da1590fc8cfba7a8e99fe2653aad59eed7
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 .

2026-05-04 08:20.04: Using cache hint "ocaml/opam:debian-13-ocaml-5.3@sha256:e147a98638b5319e6d1a8da07282f2da1590fc8cfba7a8e99fe2653aad59eed7-efl.1.24.0-f8e3c652f6bedf44059eb5199142f50d0ff975ef"
2026-05-04 08:20.04: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.3@sha256:e147a98638b5319e6d1a8da07282f2da1590fc8cfba7a8e99fe2653aad59eed7)
 (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"))
)

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.40: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files:  71% (13598/18902)
Updating files:  72% (13610/18902)
Updating files:  73% (13799/18902)
Updating files:  74% (13988/18902)
Updating files:  75% (14177/18902)
Updating files:  76% (14366/18902)
Updating files:  77% (14555/18902)
Updating files:  78% (14744/18902)
Updating files:  79% (14933/18902)
Updating files:  80% (15122/18902)
Updating files:  81% (15311/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:debian-13-ocaml-5.3@sha256:e147a98638b5319e6d1a8da07282f2da1590fc8cfba7a8e99fe2653aad59eed7)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.3@sha256:e147a98638b5319e6d1a8da07282f2da1590fc8cfba7a8e99fe2653aad59eed7' locally
docker.io/ocaml/opam@sha256:e147a98638b5319e6d1a8da07282f2da1590fc8cfba7a8e99fe2653aad59eed7: Pulling from ocaml/opam
3b32e3bb7338: Already exists
745aa02d649b: Already exists
bc737f5d3c43: Already exists
435aae15a5aa: Already exists
0c18c39f6bae: Already exists
eef74b82df23: Already exists
f7d9cf0406d8: Already exists
01a1dc37e798: Already exists
4960811e07ec: Already exists
be2894c36d5e: Already exists
b5a017ae191d: Already exists
3ba39ce4e9c9: Already exists
1db570dbe1c8: Already exists
753bb4b44994: Already exists
b5a1e811909d: Already exists
6f3d83ba47b6: Already exists
002305272cbf: Already exists
002305272cbf: Already exists
249535cd82cd: Already exists
87fe8c2a0989: Already exists
b6932f04a343: Already exists
17b274223ca8: Already exists
4f4fb700ef54: Already exists
924952a8fbf8: Already exists
17671b650f63: Already exists
9fe75d873195: Already exists
24216535046d: Already exists
ac2e1c9e90df: Already exists
c2126be13b26: Already exists
01ff22a5eb70: Already exists
50415235a68f: Already exists
deb6182b549b: Already exists
ad728fb9a18c: Already exists
a36bcae85a3d: Already exists
1c746fdc6a3a: Already exists
4351b787b295: Already exists
380abb093977: Already exists
0fc1b10f3fd9: Already exists
966bc35978c3: Already exists
ae53b61ccb9e: Already exists
d8ada9072f1a: Already exists
fa07d3cef11a: Already exists
e31b701cdb72: Already exists
ed1e845fbf09: Already exists
ac8dc145c875: Pulling fs layer
dc80cf482c96: Pulling fs layer
ac8dc145c875: Waiting
8ad365a4db7b: Pulling fs layer
8ef43f0be999: Pulling fs layer
8ad365a4db7b: Waiting
dc80cf482c96: Waiting
8ef43f0be999: Waiting
ac8dc145c875: Verifying Checksum
ac8dc145c875: Download complete
dc80cf482c96: Verifying Checksum
dc80cf482c96: Download complete
8ad365a4db7b: Download complete
8ef43f0be999: Verifying Checksum
8ef43f0be999: Download complete
ac8dc145c875: Pull complete
dc80cf482c96: Pull complete
8ad365a4db7b: Pull complete
8ef43f0be999: Pull complete
Digest: sha256:e147a98638b5319e6d1a8da07282f2da1590fc8cfba7a8e99fe2653aad59eed7
Status: Downloaded newer image for ocaml/opam@sha256:e147a98638b5319e6d1a8da07282f2da1590fc8cfba7a8e99fe2653aad59eed7
2026-05-04 08:22.27 ---> using "0b7df75f5b128195e34788936c6a219cd799e0fea6f4ca085a1664a0535bffb4" from cache

/: (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:22.27 ---> using "d336a4763a84c9ecde7189b63c784a1f8d85d4e4cacc08efd5a161bd616b0d8d" 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
2026-05-04 08:22.27 ---> using "a0b505a1f98097fe98caf8f42b68ec91e85da608efc30a8e4c64114cf5782cb2" 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.5.1
# self-upgrade         no
# system               arch=x86_64 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                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.3
# invariant            ["ocaml-base-compiler" {= "5.3.0"}]
# compiler-packages    ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.3.0
2026-05-04 08:22.27 ---> using "7a9caeb36403712a6bcb1700fb0a7ab1966d73d08337c653dbc75e9a9d59615b" 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/"))
2026-05-04 08:22.27 ---> using "6d700285edf17fd75d2250e2667c76d40a4bc217efa5380a6e1309d4b73d8bbe" from cache

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

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

/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 amd64 Packages [130 kB]
- Fetched 221 kB in 2s (102 kB/s)
- Reading package lists...
- 
2026-05-04 08:23.13 ---> saved as "7c87b8867e70383eed7d956a5758cef6af41c13c467e7cace7603abea2ce6cfc"

/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
2026-05-04 08:23.14 ---> saved as "5436a7775094ad11de10daf554bc58942983dd0a035dae073927333f4bf79c7c"

/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"))
efl.1.24.0 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.3.0
    - efl >= 1.24.0 -> ocaml < 5.3 -> dkml-base-compiler
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.3.0
    - efl >= 1.24.0 -> ocaml < 5.3 -> ocaml-variants (< 4.00.1~ | >= 4.00.1)
  * Missing dependency:
    - efl >= 1.24.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.3.0
    unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.1" & (os != "win32" | sys-ocaml-libc = "msvc")'
    no matching version
  * Missing dependency:
    - efl >= 1.24.0 -> ocaml < 5.3 -> ocaml-variants >= 4.00.1 -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - efl >= 1.24.0 -> ocaml < 5.3 -> ocaml-variants >= 4.00.1 -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-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 20
2026-05-04 08:23.47: Job failed: Failed: Build failed
2026-05-04 08:23.47: Log analysis:
2026-05-04 08:23.47: >>> 
No solution found, exiting
 (score = 100)
2026-05-04 08:23.47: [SKIP] Package not available