(for PR #26907)

2025-09-17 10:23.46: New job: build apron.v0.9.14, using opam 2.4
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26907/head (b6229f0d14497cac47fc1ccd0ef31dd6c590ddfe)
                              on debian-13-ocaml-5.3/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 7949ff40d8af6dff67bf2361db44574e21c6d076
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.3@sha256:d96959611c273d7e1726ccd221b4f5e95a02676bef62ee9cd5d6f638aaaa573f
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.4 /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 "\"debian-13\""; 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-09-17 10:23.46: Using cache hint "ocaml/opam:debian-13-ocaml-5.3@sha256:d96959611c273d7e1726ccd221b4f5e95a02676bef62ee9cd5d6f638aaaa573f-apron.v0.9.14-b6229f0d14497cac47fc1ccd0ef31dd6c590ddfe"
2025-09-17 10:23.46: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.3@sha256:d96959611c273d7e1726ccd221b4f5e95a02676bef62ee9cd5d6f638aaaa573f)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.4 /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 \"\\\"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\" != '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-09-17 10:23.46: Waiting for resource in pool OCluster
2025-09-17 10:30.01: Waiting for worker…
2025-09-17 10:32.50: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 7949ff40d8 Merge pull request #28501 from vscoqbot/opam-publish-vsrocq-language-server.2.3.0
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:debian-13-ocaml-5.3@sha256:d96959611c273d7e1726ccd221b4f5e95a02676bef62ee9cd5d6f638aaaa573f)
2025-09-17 10:33.25 ---> using "e5ce46144b4e25b3e363c3d09bd5c434fad1097e903303a843a6f78001c9b5bd" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-17 10:33.25 ---> using "364b03dd5aeb0d15bf1e66451781b77b48966f045fbce5433ec61e5d817bff2b" 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
[NOTE] The 'jobs' option was reset, its value was 71 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=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-09-17 10:33.25 ---> using "9fb646c8378ff9cc809ee20bab3e5327c70546504d799f0d253e7da943c2efd6" 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.1
# self-upgrade         no
# system               arch=x86_64 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                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.3
# invariant            ["ocaml-base-compiler" {= "5.3.0"}]
# compiler-packages    ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.3.0
2025-09-17 10:33.25 ---> using "76071e20e4d7dfa3b40204004089d788f980b4a0b785c5871d0e8ee26a59e3ad" 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-09-17 10:33.25 ---> using "d079bc63716efcd6494f61c6f942468406be4205452776603a026abc1a128945" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-09-17 10:33.32 ---> saved as "dabf447c74f91186a18078d8ba59dd5b6034467d122de9c1b0dfe67fc1c699ea"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-09-17 10:33.49 ---> saved as "7676509e3002c672ce45f092a02f5e07ea743b3df886404c255f50e4a9a8463c"

/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 amd64 Packages [40.4 kB]
- Fetched 131 kB in 0s (1608 kB/s)
- Reading package lists...
2025-09-17 10:33.49 ---> saved as "b376ff2d28168610bf7169894528a495fdf088e438aa9ec3167e23f662c9161d"

/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-09-17 10:33.50 ---> saved as "dd58ee8580bef138a19bdf3e6ce87f708eb5056b6d5699791388d6a43b79106a"

/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 \"\\\"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\" != '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.13             [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.20.2           [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:
    libgmp-dev libmpfr-dev

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

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get 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/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "libmpfr-dev"
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20653 files and directories currently installed.)
- Preparing to unpack .../libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libmpfr-dev:amd64.
- Preparing to unpack .../libmpfr-dev_4.2.2-1_amd64.deb ...
- Unpacking libmpfr-dev:amd64 (4.2.2-1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Setting up libmpfr-dev:amd64 (4.2.2-1) ...
- Processing triggers for libc-bin (2.41-12) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved apron.v0.9.14  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved camlidl.1.13  (cached)
-> retrieved conf-gmp-paths.1  (cached)
-> retrieved conf-mpfr-paths.1  (cached)
-> installed conf-perl.2
-> installed conf-findutils.1
-> retrieved dune.3.20.2  (cached)
-> installed camlidl.1.13
-> 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.20.2
-> 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/lib/x86_64-linux-gnu

<><> conf-gmp-paths.1 installed successfully ><><><><><><><><><><><><><><><><><>
=> header file found in /usr/include/x86_64-linux-gnu
=> library file found in /usr/lib/x86_64-linux-gnu
# To update the current shell environment, run: eval $(opam env)
2025-09-17 10:34.34 ---> saved as "a1b8a0e915d262da71e2299504df449711fcb2df3b0e2e0d7e7409f2515ce263"
Job succeeded
2025-09-17 10:34.52: Job succeeded