(for PR #28495)

2025-11-10 11:02.27: New job: build efl.1.18.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28495/head (39ef1a8a5ad92f9e2f0d6857dbb4a91a15a9b4a6)
                              on fedora-43-ocaml-4.14/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 39ef1a8a
git fetch origin master
git merge --no-edit 21f97b2e6d7c617fc0a79cc8e59b2e10690960e1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-43-ocaml-4.14@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d
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.18.0 1.18.0
RUN opam reinstall efl.1.18.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 "\"fedora-43\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'efl.1.18.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 .

2025-11-10 11:02.27: Using cache hint "ocaml/opam:fedora-43-ocaml-4.14@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d-efl.1.18.0-39ef1a8a5ad92f9e2f0d6857dbb4a91a15a9b4a6"
2025-11-10 11:02.27: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-4.14@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d)
 (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.18.0 1.18.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall efl.1.18.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 \"\\\"fedora-43\\\"\"; 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.18.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-11-10 11:02.27: Waiting for resource in pool OCluster
2025-11-10 13:07.54: Waiting for worker…
2025-11-10 13:10.31: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  66% (12463/18702)
Updating files:  67% (12531/18702)
Updating files:  68% (12718/18702)
Updating files:  69% (12905/18702)
Updating files:  70% (13092/18702)
Updating files:  71% (13279/18702)
Updating files:  72% (13466/18702)
Updating files:  73% (13653/18702)
Updating files:  74% (13840/18702)
Updating files:  75% (14027/18702)
Updating files:  76% (14214/18702)
Updating files:  77% (14401/18702)
Updating files:  78% (14588/18702)
Updating files:  79% (14775/18702)
Updating files:  80% (14962/18702)
Updating files:  81% (15149/18702)
Updating files:  82% (15336/18702)
Updating files:  83% (15523/18702)
Updating files:  84% (15710/18702)
Updating files:  85% (15897/18702)
Updating files:  86% (16084/18702)
Updating files:  87% (16271/18702)
Updating files:  88% (16458/18702)
Updating files:  89% (16645/18702)
Updating files:  90% (16832/18702)
Updating files:  91% (17019/18702)
Updating files:  92% (17206/18702)
Updating files:  93% (17393/18702)
Updating files:  94% (17580/18702)
Updating files:  95% (17767/18702)
Updating files:  96% (17954/18702)
Updating files:  97% (18141/18702)
Updating files:  98% (18328/18702)
Updating files:  99% (18515/18702)
Updating files: 100% (18702/18702)
Updating files: 100% (18702/18702), done.
HEAD is now at 21f97b2e6d Merge pull request #28836 from dbuenzli/b0-publish-bytesrw.0.3.0
Merge made by the 'ort' strategy.
 packages/efl/efl.1.12.0/opam | 3 ++-
 packages/efl/efl.1.13.0/opam | 3 ++-
 packages/efl/efl.1.17.0/opam | 3 ++-
 packages/efl/efl.1.18.0/opam | 3 ++-
 packages/efl/efl.1.19.0/opam | 3 ++-
 packages/efl/efl.1.20.0/opam | 3 ++-
 packages/efl/efl.1.22.0/opam | 3 ++-
 packages/efl/efl.1.24.0/opam | 3 ++-
 8 files changed, 16 insertions(+), 8 deletions(-)

(from ocaml/opam:fedora-43-ocaml-4.14@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d)
Unable to find image 'ocaml/opam:fedora-43-ocaml-4.14@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d' locally
docker.io/ocaml/opam@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d: Pulling from ocaml/opam
3a6ccf50917d: Already exists
698b8d1610af: Already exists
7e5b745a56a4: Already exists
e8859609bfb8: Already exists
51242d36b3fd: Already exists
61958fadfb74: Already exists
04578677ff3f: Already exists
01b19b859bd1: Already exists
47b008c442e7: Already exists
434ff16e8a1b: Already exists
e2e8d2ec1110: Already exists
bb8f1dbb2acd: Already exists
c914fb01d9b0: Already exists
acbc7d112060: Already exists
7b0ca93f3f54: Already exists
5a223856338a: Already exists
ace6a731f305: Already exists
a6230b7fafa0: Already exists
917f9b8155b5: Already exists
8f7a3b7d908f: Already exists
4f4fb700ef54: Already exists
7af8a72dec52: Already exists
9565a36b4e3a: Already exists
a1ba7d9452a1: Already exists
24a9095bda75: Already exists
16c026bd2ca7: Already exists
6b821f07d597: Already exists
afd0175f27f4: Already exists
88ab18f654c7: Already exists
be69a91a3ef7: Already exists
ce8a4e53f5e3: Already exists
3e2bdc6df5e4: Already exists
ff986d64677f: Already exists
ce1f69fb599b: Pulling fs layer
59a77ea6a510: Pulling fs layer
ce1f69fb599b: Waiting
4147e4bd49ec: Pulling fs layer
59a77ea6a510: Waiting
9f926286552b: Pulling fs layer
4147e4bd49ec: Waiting
780a6a37e1ca: Pulling fs layer
9f926286552b: Waiting
59749b976bf7: Pulling fs layer
780a6a37e1ca: Waiting
f41d7b64ff67: Pulling fs layer
59749b976bf7: Waiting
52a602df2df7: Pulling fs layer
ab9bbd19d5b0: Pulling fs layer
52a602df2df7: Waiting
4c336379fd6a: Pulling fs layer
ab9bbd19d5b0: Waiting
ce1f69fb599b: Verifying Checksum
ce1f69fb599b: Download complete
59a77ea6a510: Verifying Checksum
59a77ea6a510: Download complete
4147e4bd49ec: Verifying Checksum
4147e4bd49ec: Download complete
9f926286552b: Verifying Checksum
9f926286552b: Download complete
780a6a37e1ca: Verifying Checksum
780a6a37e1ca: Download complete
59749b976bf7: Verifying Checksum
59749b976bf7: Download complete
ce1f69fb599b: Pull complete
59a77ea6a510: Pull complete
4147e4bd49ec: Pull complete
9f926286552b: Pull complete
780a6a37e1ca: Pull complete
59749b976bf7: Pull complete
f41d7b64ff67: Verifying Checksum
f41d7b64ff67: Download complete
52a602df2df7: Verifying Checksum
52a602df2df7: Download complete
ab9bbd19d5b0: Verifying Checksum
ab9bbd19d5b0: Download complete
4c336379fd6a: Verifying Checksum
4c336379fd6a: Download complete
f41d7b64ff67: Pull complete
52a602df2df7: Pull complete
ab9bbd19d5b0: Pull complete
4c336379fd6a: Pull complete
Digest: sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d
Status: Downloaded newer image for ocaml/opam@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d
2025-11-10 13:11.18 ---> using "9e77896d9fe078c34d344bdea926ec4977d8cc82cf3431e1db6d6f872f24af74" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-10 13:11.18 ---> using "aaa991ad89b398eefaf43e6ce581f35930c9f32c57e9bde9fc032d1fd587f3e4" 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
2025-11-10 13:11.18 ---> using "3c596d85372d3d922e389134a1acb6eee4d41bb98299038914e94c84db852fe4" 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.0~alpha1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=fedora os-version=43
# 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       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2025-11-10 13:11.18 ---> using "d0819976c6e7b9f5b58c02cb370d433c7853fb648bb57d8a795d208769222044" 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/"))
2025-11-10 13:11.18 ---> using "19d0ea1cb48e322fac5261e96eb10f819a44981c815f6056d28065e30337c361" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-11-10 13:11.20 ---> using "d9a3261a51ed85b629639b2065bc159b0a75c5061d28b802df253ead4547446c" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-10 13:11.44 ---> saved as "452ddfe4d2d51ff7d76ab4231fe36b3954cd99c5ffede6de14c76bed16d1d0b1"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 43 - x86_64                     100% |  60.1 KiB/s |  18.4 KiB |  00m00s
-  Fedora 43 openh264 (From Cisco) - x86_ 100% |   5.0 KiB/s | 986.0   B |  00m00s
-  Fedora 43 - x86_64 - Updates           100% |  84.0 KiB/s |   7.9 KiB |  00m00s
- Repositories loaded.
- Metadata cache created.
2025-11-10 13:11.59 ---> saved as "0ece33c19d05cd4668cc98bad52f500efa28245f7f93b4f9e4947283eb4ca25a"

/home/opam: (run (shell "opam pin add -k version -yn efl.1.18.0 1.18.0"))
efl is now pinned to version 1.18.0
2025-11-10 13:12.00 ---> saved as "eb28ee5f7f08e85393d2dc327a90fbcd0a69deaf6fe141477f305e7681da5e66"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall efl.1.18.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 \"\\\"fedora-43\\\"\"; 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.18.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
[ERROR] efl = 1.18.0: unmet availability conditions: 'opam-version < "2.2"'
"/usr/bin/env" "bash" "-c" "opam reinstall efl.1.18.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 "\"fedora-43\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'efl.1.18.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 5
2025-11-10 13:13.12: Job failed: Failed: Build failed
2025-11-10 13:13.12: Log analysis:
2025-11-10 13:13.12: >>> 
[ERROR] efl = 1.18.0: unmet availability conditions: 'opam-version < "2.2"'
 (score = 100)
2025-11-10 13:13.12: [SKIP] Package not available