(for PR #28495)

2026-05-04 08:20.06: New job: build efl.1.12.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28495/head (f8e3c652f6bedf44059eb5199142f50d0ff975ef)
                              on debian-13-ocaml-5.4/arm64

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.4@sha256:a815309f48aae53c97f60d833deda711ee43b53392603f4ea0f4b00c4a0276e3
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 "\"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.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 .

2026-05-04 08:20.06: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:a815309f48aae53c97f60d833deda711ee43b53392603f4ea0f4b00c4a0276e3-efl.1.12.0-f8e3c652f6bedf44059eb5199142f50d0ff975ef"
2026-05-04 08:20.06: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:a815309f48aae53c97f60d833deda711ee43b53392603f4ea0f4b00c4a0276e3)
 (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 \"\\\"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.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"))
)

2026-05-04 08:20.06: 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 ainia.caelum.ci.dev
All commits already cached
Updating files:  60% (11343/18902)
Updating files:  61% (11531/18902)
Updating files:  62% (11720/18902)
Updating files:  63% (11909/18902)
Updating files:  64% (12098/18902)
Updating files:  65% (12287/18902)
Updating files:  66% (12476/18902)
Updating files:  67% (12665/18902)
Updating files:  68% (12854/18902)
Updating files:  69% (13043/18902)
Updating files:  70% (13232/18902)
Updating files:  71% (13421/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.4@sha256:a815309f48aae53c97f60d833deda711ee43b53392603f4ea0f4b00c4a0276e3)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:a815309f48aae53c97f60d833deda711ee43b53392603f4ea0f4b00c4a0276e3' locally
docker.io/ocaml/opam@sha256:a815309f48aae53c97f60d833deda711ee43b53392603f4ea0f4b00c4a0276e3: Pulling from ocaml/opam
Digest: sha256:a815309f48aae53c97f60d833deda711ee43b53392603f4ea0f4b00c4a0276e3
Status: Downloaded newer image for ocaml/opam@sha256:a815309f48aae53c97f60d833deda711ee43b53392603f4ea0f4b00c4a0276e3
2026-05-04 08:21.57 ---> using "d31625415d2208241efa2a9386a31e9dfaf843a338fadaf4f1486025148c5b12" 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:21.57 ---> using "0366558caafab48f8d3794ca0167d331dda048200d82edbc1d21923f71f05bc1" 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.

Continue? [Y/n] y
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.

Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-05-04 08:21.57 ---> using "9f2c3a881821ee17ef19eb46bf54c55899840d8ff4a008749f0cf698c827731a" 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=arm64 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                 79
# 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:21.57 ---> using "d99a78ce4b075725ee08eeb01c01833eb906d31779afc78f004d9d9481393ba6" 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:21.57 ---> using "d2a0030e74d6f940ed90f703d7cc78e048d72c0c584ddd5657ceac1719c0d42c" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-04 08:21.58 ---> using "d91868cb082e881bc994148e50ebbd58f66c1b953d5fec746e5ce5256c105c36" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-04 08:21.58 ---> using "12a6ca1a3c6957e38b67ede3b19a1d57f04c07e10c4e0a2a62e644e5c36521de" from cache

/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 arm64 Packages [130 kB]
- Fetched 221 kB in 2s (91.5 kB/s)
- Reading package lists...
- 
2026-05-04 08:21.58 ---> using "bffbe63390d00885976596e125560af5588493c21f9f0dc60748b76cac56c851" from cache

/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
2026-05-04 08:21.59 ---> saved as "9e464735501f8c4451b1cac6bc5aae84dd814d78091ede885f74103715b70a84"

/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 \"\\\"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.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"))
efl.1.12.0 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.4.1
    - efl < 1.13.0 -> ocaml < 5.3 -> ocaml-variants
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - efl < 1.13.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.13.0 -> ocaml < 5.3 -> ocaml-variants -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - efl < 1.13.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.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 "\"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.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 20
2026-05-04 08:23.41: Job failed: Failed: Build failed
2026-05-04 08:23.41: Log analysis:
2026-05-04 08:23.41: >>> 
No solution found, exiting
 (score = 100)
2026-05-04 08:23.41: [SKIP] Package not available