(for PR #28495)

2026-05-04 08:20.05: New job: build efl.1.17.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28495/head (f8e3c652f6bedf44059eb5199142f50d0ff975ef)
                              on centos-10-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:centos-10-ocaml-5.4@sha256:586cd50d883c944e1e780704d1fecb731197bf2b95afae623b1b1b6b1b4f45d4
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.17.0 1.17.0
RUN opam reinstall efl.1.17.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 "\"centos-10\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'efl.1.17.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.05: Using cache hint "ocaml/opam:centos-10-ocaml-5.4@sha256:586cd50d883c944e1e780704d1fecb731197bf2b95afae623b1b1b6b1b4f45d4-efl.1.17.0-f8e3c652f6bedf44059eb5199142f50d0ff975ef"
2026-05-04 08:20.05: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-5.4@sha256:586cd50d883c944e1e780704d1fecb731197bf2b95afae623b1b1b6b1b4f45d4)
 (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.17.0 1.17.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall efl.1.17.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 \"\\\"centos-10\\\"\"; 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.17.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.05: Waiting for resource in pool OCluster
2026-05-04 08:24.14: Waiting for worker…
2026-05-04 08:28.43: Got resource from pool OCluster
Building on laodoke.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:centos-10-ocaml-5.4@sha256:586cd50d883c944e1e780704d1fecb731197bf2b95afae623b1b1b6b1b4f45d4)
Unable to find image 'ocaml/opam:centos-10-ocaml-5.4@sha256:586cd50d883c944e1e780704d1fecb731197bf2b95afae623b1b1b6b1b4f45d4' locally
docker.io/ocaml/opam@sha256:586cd50d883c944e1e780704d1fecb731197bf2b95afae623b1b1b6b1b4f45d4: Pulling from ocaml/opam
20c359921f3d: Already exists
ab98749200b5: Already exists
86d0a59a7bad: Already exists
ee1bd4c5529e: Already exists
cdbc1275efaf: Already exists
11039c48988c: Already exists
f3974dcba022: Already exists
34ebd308b09b: Already exists
b9a8ed068985: Already exists
72a754a0426d: Already exists
7ffd23e2ec1a: Already exists
8a5eef773fd8: Already exists
8401be713be0: Already exists
f2a0f9776e89: Already exists
9c35dc73e401: Already exists
29dc3b2b61b1: Already exists
c95258dd20c6: Already exists
6a514a96ec50: Already exists
6a514a96ec50: Already exists
033eb83499bb: Already exists
37f2194b2948: Already exists
e38947ed64db: Already exists
f9b06fcd13c3: Already exists
4f4fb700ef54: Already exists
cc3a3bc607d9: Already exists
e422ba4b8448: Already exists
7b53e7a2c11d: Already exists
78e76f1143bf: Already exists
5cb5636a7eae: Already exists
3504fcd3fb23: Already exists
85edd144797c: Already exists
2aa9ce19a964: Already exists
4cb0c4d70061: Already exists
e36609e67b8f: Already exists
8be068dd32b1: Already exists
5ca16d82e0c9: Already exists
665cd71f8b51: Already exists
eb8c9527ded6: Already exists
864b8d2f3461: Already exists
253efe04f737: Already exists
3b4b22302f61: Already exists
f287941bb6a5: Already exists
fbdd7c708809: Pulling fs layer
1ca0e3e04324: Pulling fs layer
cf0b28d16f69: Pulling fs layer
67c5af7b1580: Pulling fs layer
fbdd7c708809: Waiting
1ca0e3e04324: Waiting
cf0b28d16f69: Waiting
b4e951504e8d: Pulling fs layer
67c5af7b1580: Waiting
b4e951504e8d: Waiting
cf0b28d16f69: Verifying Checksum
cf0b28d16f69: Download complete
fbdd7c708809: Verifying Checksum
fbdd7c708809: Download complete
67c5af7b1580: Verifying Checksum
67c5af7b1580: Download complete
fbdd7c708809: Pull complete
b4e951504e8d: Verifying Checksum
b4e951504e8d: Download complete
1ca0e3e04324: Download complete
1ca0e3e04324: Pull complete
cf0b28d16f69: Pull complete
67c5af7b1580: Pull complete
b4e951504e8d: Pull complete
Digest: sha256:586cd50d883c944e1e780704d1fecb731197bf2b95afae623b1b1b6b1b4f45d4
Status: Downloaded newer image for ocaml/opam@sha256:586cd50d883c944e1e780704d1fecb731197bf2b95afae623b1b1b6b1b4f45d4
2026-05-04 08:37.03 ---> saved as "a0e468d6a24a41d6f5316c3c277b0cde2356ffad25b5345e471dec6f821f46ec"

/: (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:37.03 ---> saved as "cfd931cbddbd7690e96e03074b74255f310dbf051f62df3dd0101d34d1a09fed"

/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.

[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=255 --global
Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-05-04 08:37.28 ---> saved as "63632094d29e48878db8dda8a0f28e4ac8264b0655c02fe4c9ac57477abdd2ea"

/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=centos os-version=10
# 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:37.29 ---> saved as "d12b353c2a172c2fb49708088cc9aa409d21e35a2f96463909bbbf80dc2fbf7a"

/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:37.37 ---> saved as "63f7fb7427c2eecc9a8b9208e05537e067d60a1d134a3e1ee5a04dc3ea4c5f8d"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS                       1.1 kB/s |  15 kB     00:13    
- CentOS Stream 10 - BaseOS                        58 kB/s | 6.9 MB     02:01    
- CentOS Stream 10 - AppStream                     47 kB/s |  15 kB     00:00    
- CentOS Stream 10 - AppStream                     83 kB/s | 3.6 MB     00:44    
- CentOS Stream 10 - CRB                           17 kB/s |  14 kB     00:00    
- CentOS Stream 10 - CRB                           79 kB/s | 834 kB     00:10    
- CentOS Stream 10 - Extras packages               27 kB/s |  16 kB     00:00    
- Metadata cache created.
2026-05-04 08:41.18 ---> saved as "d05fdd52088d7dfd1aa78e53d348031d14f1a2c84640ca989045a857d17b5287"

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall efl.1.17.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 \"\\\"centos-10\\\"\"; 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.17.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.17.0 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.4.1
    - efl = 1.17.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.17.0 -> ocaml < 5.3 -> ocaml-variants
  * Missing dependency:
    - efl = 1.17.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.17.0 -> ocaml < 5.3 -> ocaml-variants -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - efl = 1.17.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.17.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 "\"centos-10\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'efl.1.17.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:41.35: Job failed: Failed: Build failed
2026-05-04 08:41.35: Log analysis:
2026-05-04 08:41.35: >>> 
No solution found, exiting
 (score = 100)
2026-05-04 08:41.35: [SKIP] Package not available