(for PR #26907)

2025-06-02 07:56.19: New job: build apron.v0.9.14, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26907/head (b6229f0d14497cac47fc1ccd0ef31dd6c590ddfe)
                              on fedora-42-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/26907/head" && git reset --hard b6229f0d
git fetch origin master
git merge --no-edit 164308699cf74247b8ad3b002e88bd80a586c79e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-4.14@sha256:ad92f161cbbad9e3b98b876244adb3bed99b77a5ec57b1d69a2d6752bb6186ef
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 apron.v0.9.14 v0.9.14
RUN opam reinstall apron.v0.9.14; \
    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-42\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'apron.v0.9.14' && 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-06-02 07:56.19: Using cache hint "ocaml/opam:fedora-42-ocaml-4.14@sha256:ad92f161cbbad9e3b98b876244adb3bed99b77a5ec57b1d69a2d6752bb6186ef-apron.v0.9.14-b6229f0d14497cac47fc1ccd0ef31dd6c590ddfe"
2025-06-02 07:56.19: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-4.14@sha256:ad92f161cbbad9e3b98b876244adb3bed99b77a5ec57b1d69a2d6752bb6186ef)
 (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 apron.v0.9.14 v0.9.14"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall apron.v0.9.14;\
             \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-42\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'apron.v0.9.14' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-06-02 07:56.19: Connecting to build cluster…
2025-06-02 07:56.19: Waiting for resource in pool OCluster
2025-06-02 08:01.38: Waiting for worker…
2025-06-02 08:03.24: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files:  99% (23091/23175)
Updating files: 100% (23175/23175)
Updating files: 100% (23175/23175), done.
HEAD is now at 164308699c Merge pull request #27973 from mtelvers/opam-publish-dockerfile-cmd.8.2.8
Auto-merging packages/apron/apron.0.9.14/opam
Merge made by the 'ort' strategy.
 packages/apron/apron.0.9.14/opam  | 5 ++++-
 packages/apron/apron.v0.9.12/opam | 5 ++++-
 packages/apron/apron.v0.9.14/opam | 8 +++++++-
 3 files changed, 15 insertions(+), 3 deletions(-)

(from ocaml/opam:fedora-42-ocaml-4.14@sha256:ad92f161cbbad9e3b98b876244adb3bed99b77a5ec57b1d69a2d6752bb6186ef)
Unable to find image 'ocaml/opam:fedora-42-ocaml-4.14@sha256:ad92f161cbbad9e3b98b876244adb3bed99b77a5ec57b1d69a2d6752bb6186ef' locally
docker.io/ocaml/opam@sha256:ad92f161cbbad9e3b98b876244adb3bed99b77a5ec57b1d69a2d6752bb6186ef: Pulling from ocaml/opam
534064f45c4b: Pulling fs layer
534064f45c4b: Verifying Checksum
534064f45c4b: Download complete
534064f45c4b: Pull complete
Digest: sha256:ad92f161cbbad9e3b98b876244adb3bed99b77a5ec57b1d69a2d6752bb6186ef
Status: Downloaded newer image for ocaml/opam@sha256:ad92f161cbbad9e3b98b876244adb3bed99b77a5ec57b1d69a2d6752bb6186ef
2025-06-02 08:03.35 ---> using "bb439da85de9a945ea71dda36acced28d8fcac920b11f47761947b18b4dcbeda" 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-06-02 08:03.35 ---> using "ff19e3d83fb60a4560cc862b569621ed87ed543b978e810ce39e7d6a90d66ec4" 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-06-02 08:03.35 ---> using "8861b470a916cef0a4b88b72293e143d0049faaae938f400c1c344a9a97467ed" 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.4.0~alpha2
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=fedora os-version=42
# 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-06-02 08:03.35 ---> using "fb7a4e8fcd72c04b9695e9f7f225e07cf4b9eae0ae82147bdac4591d5b3330b5" 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-06-02 08:03.35 ---> using "039e459f8b4b9c95a16978063cf8c2952222cb6c326a319b73dd5666a7fed958" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-06-02 08:03.55 ---> saved as "dc04376b8e98626905edbae8b14a4b630f4368584af406b651d28321fe4c81da"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-02 08:04.21 ---> saved as "9a1830492d99ce66f3554dcf026a866c8233d90734b665d55897ba9a6f8ab11c"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 42 - x86_64 - Updates           100% |  95.0 KiB/s |  11.9 KiB |  00m00s
-  Fedora 42 - x86_64 - Updates           100% |   2.9 MiB/s |   2.5 MiB |  00m01s
- Repositories loaded.
- Metadata cache created.
2025-06-02 08:04.25 ---> saved as "c432ec5a69a2f1631cba81922ca2ecd76ef607ed0bfde54fe1cb52e70020a2db"

/home/opam: (run (shell "opam pin add -k version -yn apron.v0.9.14 v0.9.14"))
apron is now pinned to version v0.9.14
2025-06-02 08:04.28 ---> saved as "f73d2665f52ff9e3f0f0666cfc7192aaccededb4d83c23c05d57bc5b78afc5a1"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall apron.v0.9.14;\
                        \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-42\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'apron.v0.9.14' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
apron.v0.9.14 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 12 packages
  - install apron           v0.9.14 (pinned)
  - install bigarray-compat 1.1.0            [required by mlgmpidl]
  - install camlidl         1.12             [required by apron]
  - install conf-findutils  1                [required by ez-conf-lib]
  - install conf-gmp-paths  1                [required by mlgmpidl]
  - install conf-mpfr-paths 1                [required by mlgmpidl]
  - install conf-perl       2                [required by apron]
  - install dune            3.19.0           [required by bigarray-compat]
  - install ez-conf-lib     2                [required by conf-gmp-paths, conf-mpfr-paths]
  - install mlgmpidl        1.3.0            [required by apron]
  - install ocamlbuild      0.16.1           [required by apron]
  - install ocamlfind       1.9.8            [required by apron]

The following system packages will first need to be installed:
    gmp-devel mpfr-devel perl-Pod-Html

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run yum to install them (may need root/sudo access)
  2. Display the recommended yum command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/sbin/sudo "yum" "install" "-y" "gmp-devel" "mpfr-devel" "perl-Pod-Html"
- Updating and loading repositories:
- Repositories loaded.
- Package        Arch   Version        Repository      Size
- Installing:
-  gmp-devel     x86_64 1:6.3.0-4.fc42 fedora     352.3 KiB
-  mpfr-devel    x86_64 4.2.2-1.fc42   fedora      62.9 KiB
-  perl-Pod-Html noarch 1.35-517.fc42  updates     42.2 KiB
- Installing dependencies:
-  gmp-c++       x86_64 1:6.3.0-4.fc42 fedora      27.6 KiB
- 
- Transaction Summary:
-  Installing:         4 packages
- 
- Total size of inbound packages is 244 KiB. Need to download 244 KiB.
- After this operation, 485 KiB extra will be used (install 485 KiB, remove 0 B).
- [1/4] mpfr-devel-0:4.2.2-1.fc42.x86_64  100% | 218.9 KiB/s |  21.7 KiB |  00m00s
- [2/4] perl-Pod-Html-0:1.35-517.fc42.noa 100% | 197.8 KiB/s |  29.7 KiB |  00m00s
- [3/4] gmp-c++-1:6.3.0-4.fc42.x86_64     100% |  43.1 KiB/s |  18.5 KiB |  00m00s
- [4/4] gmp-devel-1:6.3.0-4.fc42.x86_64   100% | 250.2 KiB/s | 174.4 KiB |  00m01s
- --------------------------------------------------------------------------------
- [4/4] Total                             100% |  68.6 KiB/s | 244.2 KiB |  00m04s
- Running transaction
- [1/6] Verify package files              100% |   1.0 KiB/s |   4.0   B |  00m00s
- [2/6] Prepare transaction               100% |  56.0   B/s |   4.0   B |  00m00s
- [3/6] Installing gmp-c++-1:6.3.0-4.fc42 100% |  13.9 MiB/s |  28.5 KiB |  00m00s
- [4/6] Installing gmp-devel-1:6.3.0-4.fc 100% | 115.3 MiB/s | 354.1 KiB |  00m00s
- [5/6] Installing mpfr-devel-0:4.2.2-1.f 100% |  62.1 MiB/s |  63.6 KiB |  00m00s
- [6/6] Installing perl-Pod-Html-0:1.35-5 100% | 480.9 KiB/s |  43.8 KiB |  00m00s
- Complete!
+ /usr/sbin/rpm "-q" "--whatprovides" "gmp-devel" "mpfr-devel" "perl-Pod-Html"
- gmp-devel-6.3.0-4.fc42.x86_64
- mpfr-devel-4.2.2-1.fc42.x86_64
- perl-Pod-Html-1.35-517.fc42.noarch

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved apron.v0.9.14  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved camlidl.1.12  (cached)
-> retrieved conf-gmp-paths.1  (cached)
-> retrieved conf-mpfr-paths.1  (cached)
-> installed conf-perl.2
-> installed conf-findutils.1
-> retrieved dune.3.19.0  (cached)
-> installed camlidl.1.12
-> retrieved ez-conf-lib.2  (cached)
-> retrieved mlgmpidl.1.3.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> installed ez-conf-lib.2
-> retrieved ocamlfind.1.9.8  (cached)
-> installed conf-gmp-paths.1
-> installed conf-mpfr-paths.1
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed dune.3.19.0
-> installed bigarray-compat.1.1.0
-> installed mlgmpidl.1.3.0
-> installed apron.v0.9.14
Done.

<><> conf-mpfr-paths.1 installed successfully <><><><><><><><><><><><><><><><><>
=> header file found in /usr/include
=> library file found in /usr/lib64

<><> conf-gmp-paths.1 installed successfully ><><><><><><><><><><><><><><><><><>
=> header file found in /usr/include
=> library file found in /usr/lib64
# To update the current shell environment, run: eval $(opam env)
2025-06-02 08:05.50 ---> saved as "485229a34a9703a1c7e338115c62b2632a439ccf2a035c74f64c7d1b0764e745"
Job succeeded
2025-06-02 08:05.55: Job succeeded