(for PR #28495)

2025-11-10 11:02.26: New job: build efl.1.19.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28495/head (39ef1a8a5ad92f9e2f0d6857dbb4a91a15a9b4a6)
                              on fedora-43-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 39ef1a8a
git fetch origin master
git merge --no-edit 21f97b2e6d7c617fc0a79cc8e59b2e10690960e1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-43-ocaml-5.4@sha256:9d00dba6985e92fa03859266d8c1b74423a69c5663a4475c32a5fba99c476fa6
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.19.0 1.19.0
RUN opam reinstall efl.1.19.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.19.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.26: Using cache hint "ocaml/opam:fedora-43-ocaml-5.4@sha256:9d00dba6985e92fa03859266d8c1b74423a69c5663a4475c32a5fba99c476fa6-efl.1.19.0-39ef1a8a5ad92f9e2f0d6857dbb4a91a15a9b4a6"
2025-11-10 11:02.26: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-5.4@sha256:9d00dba6985e92fa03859266d8c1b74423a69c5663a4475c32a5fba99c476fa6)
 (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.19.0 1.19.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall efl.1.19.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.19.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.26: Waiting for resource in pool OCluster
2025-11-10 13:04.27: Waiting for worker…
2025-11-10 13:06.51: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
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-5.4@sha256:9d00dba6985e92fa03859266d8c1b74423a69c5663a4475c32a5fba99c476fa6)
Unable to find image 'ocaml/opam:fedora-43-ocaml-5.4@sha256:9d00dba6985e92fa03859266d8c1b74423a69c5663a4475c32a5fba99c476fa6' locally
docker.io/ocaml/opam@sha256:9d00dba6985e92fa03859266d8c1b74423a69c5663a4475c32a5fba99c476fa6: Pulling from ocaml/opam
c5e34e7d59db: Pulling fs layer
c5e34e7d59db: Verifying Checksum
c5e34e7d59db: Download complete
c5e34e7d59db: Pull complete
Digest: sha256:9d00dba6985e92fa03859266d8c1b74423a69c5663a4475c32a5fba99c476fa6
Status: Downloaded newer image for ocaml/opam@sha256:9d00dba6985e92fa03859266d8c1b74423a69c5663a4475c32a5fba99c476fa6
2025-11-10 13:07.35 ---> using "685e4705bd4d4c9279dce0ea52c3cbf5d486a58137067398f5445eae41bef726" 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:07.35 ---> using "9b01743b21da41952b615c29c942fe8353402991fd5b715cb93f25a651c5278c" 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
2025-11-10 13:07.35 ---> using "beaf676e33d7afa418ac860065b04d831de01a5141a181242129c9c1c27a603d" 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       5.4
# invariant            ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, 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.0
2025-11-10 13:07.35 ---> using "a93a87621df3eac88a6cb8599334f832fcb7ba7424546b51f0c2c9d8b7576edd" 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:07.35 ---> using "41768d8760351ac145795e7ada773c7ac1c2c5b63156d4caca4fd3c486f6895f" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-11-10 13:07.53 ---> saved as "71e49a0ae1c69734bf446829075fcff58c3ac958a603c89d9f3cd145a3ec2d2a"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 43 - x86_64 - Updates           100% |  82.3 KiB/s |   7.9 KiB |  00m00s
- Repositories loaded.
- Metadata cache created.
2025-11-10 13:08.14 ---> saved as "f6fa3bbe46d4a5fb7056233e47f0f60dcca66b8336182599aebbaa3b016d07f9"

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall efl.1.19.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.19.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.19.0: unmet availability conditions: 'opam-version < "2.2"'
"/usr/bin/env" "bash" "-c" "opam reinstall efl.1.19.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.19.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:08.29: Job failed: Failed: Build failed
2025-11-10 13:08.29: Log analysis:
2025-11-10 13:08.29: >>> 
[ERROR] efl = 1.19.0: unmet availability conditions: 'opam-version < "2.2"'
 (score = 100)
2025-11-10 13:08.29: [SKIP] Package not available