(for PR #26907)

2024-11-18 13:43.59: New job: build apron.0.9.14, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26907/head (b6229f0d14497cac47fc1ccd0ef31dd6c590ddfe)
                              on debian-unstable-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 a6cd5e92975350b992cb58b4351df6fceefc8144
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-unstable-ocaml-4.14@sha256:8d8f628a67ca5a68e8d05745dec80401555e82a3e4232ff7771b73e30107f57a
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="1000"
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.0.9.14 0.9.14
RUN opam reinstall apron.0.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-unstable\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'apron.0.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 .

2024-11-18 13:43.59: Using cache hint "ocaml/opam:debian-unstable-ocaml-4.14@sha256:8d8f628a67ca5a68e8d05745dec80401555e82a3e4232ff7771b73e30107f57a-apron.0.9.14-b6229f0d14497cac47fc1ccd0ef31dd6c590ddfe"
2024-11-18 13:43.59: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-4.14@sha256:8d8f628a67ca5a68e8d05745dec80401555e82a3e4232ff7771b73e30107f57a)
 (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 "uname -rs && opam exec -- ocaml -version && opam --version"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 1000)
 (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.0.9.14 0.9.14"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall apron.0.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-unstable\\\"\"; 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.0.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"))
)

2024-11-18 13:43.59: Waiting for resource in pool OCluster
2024-11-18 13:47.19: Waiting for worker…
2024-11-18 13:52.20: Got resource from pool OCluster
Building on x86-bm-c14.sw.ocaml.org
All commits already cached
Updating files:  71% (23500/32679)
Updating files:  72% (23529/32679)
Updating files:  73% (23856/32679)
Updating files:  74% (24183/32679)
Updating files:  75% (24510/32679)
Updating files:  76% (24837/32679)
Updating files:  77% (25163/32679)
Updating files:  78% (25490/32679)
Updating files:  79% (25817/32679)
Updating files:  80% (26144/32679)
Updating files:  81% (26470/32679)
Updating files:  82% (26797/32679)
Updating files:  83% (27124/32679)
Updating files:  84% (27451/32679)
Updating files:  85% (27778/32679)
Updating files:  86% (28104/32679)
Updating files:  87% (28431/32679)
Updating files:  88% (28758/32679)
Updating files:  89% (29085/32679)
Updating files:  90% (29412/32679)
Updating files:  91% (29738/32679)
Updating files:  92% (30065/32679)
Updating files:  93% (30392/32679)
Updating files:  94% (30719/32679)
Updating files:  95% (31046/32679)
Updating files:  96% (31372/32679)
Updating files:  97% (31699/32679)
Updating files:  98% (32026/32679)
Updating files:  99% (32353/32679)
Updating files: 100% (32679/32679)
Updating files: 100% (32679/32679), done.
HEAD is now at a6cd5e9297 Merge pull request #26892 from recoules/release-bitwuzla-cxx-0.6.1
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-unstable-ocaml-4.14@sha256:8d8f628a67ca5a68e8d05745dec80401555e82a3e4232ff7771b73e30107f57a)
Unable to find image 'ocaml/opam:debian-unstable-ocaml-4.14@sha256:8d8f628a67ca5a68e8d05745dec80401555e82a3e4232ff7771b73e30107f57a' locally
docker.io/ocaml/opam@sha256:8d8f628a67ca5a68e8d05745dec80401555e82a3e4232ff7771b73e30107f57a: Pulling from ocaml/opam
827596c32965: Pulling fs layer
827596c32965: Verifying Checksum
827596c32965: Download complete
827596c32965: Pull complete
Digest: sha256:8d8f628a67ca5a68e8d05745dec80401555e82a3e4232ff7771b73e30107f57a
Status: Downloaded newer image for ocaml/opam@sha256:8d8f628a67ca5a68e8d05745dec80401555e82a3e4232ff7771b73e30107f57a
2024-11-18 13:54.15 ---> saved as "8a70b49a077d41e2a2b4ccba6f0731eaa805faa737cf26e216c9713e54e790c8"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-11-18 13:54.15 ---> saved as "08e6032c3603af30f90a1fa8ab19a057da1184ba7d1d5036eb59dae71706d379"

/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 development 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 31 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=31 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-11-18 13:55.41 ---> saved as "4115977dcde93735597c0df4fe0513f6a20a249f10e7a81cf0a93166f72fec50"

/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-125-generic
The OCaml toplevel, version 4.14.2
2.4.0~alpha1~dev
2024-11-18 13:55.41 ---> saved as "8f67537d41ecbc667d420cd37b1803b9d6f36ee6c04af7b14b402d45e251e9e3"

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 1000)

/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/"))
2024-11-18 13:55.47 ---> saved as "956fb9d4f3814373f62abd91666fda1964b9ad44bce56582fd1e0a166f9ab02a"

/home/opam: (copy (src .) (dst opam-repository/))
2024-11-18 13:55.58 ---> saved as "8b8a15a8174eb9f105a6bc7287b8bca8b403982c02542f04efc52ddd77e483a6"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-18 13:56.50 ---> saved as "633c3dd549d4f23592c9ad0b975e2693b1c3acf31bb9518c8cc088f823027ad1"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [202 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-11-18-0805.24-F-2024-11-11-1405.16.pdiff [493 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-11-18-0805.24-F-2024-11-11-1405.16.pdiff [493 kB]
- Fetched 758 kB in 3s (288 kB/s)
- Reading package lists...
- 
2024-11-18 13:56.54 ---> saved as "0fdd00f6c2a5dc4d48a645c8e81de6b7bb9b7552cad37e01def78be5d839c5bd"

/home/opam: (run (shell "opam pin add -k version -yn apron.0.9.14 0.9.14"))
apron is now pinned to version 0.9.14
2024-11-18 13:56.55 ---> saved as "d45f4243027e3c7cf8f91baf2391485fed39a0bae58fde0ad250509e99db1ab5"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall apron.0.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-unstable\\\"\"; 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.0.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.0.9.14 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 12 packages
  - install apron           0.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.16.1          [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.15.0          [required by apron]
  - install ocamlfind       1.9.6           [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"
- debconf: delaying package configuration, since apt-utils is not installed
- 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 ... 19568 files and directories currently installed.)
- Preparing to unpack .../libgmpxx4ldbl_2%3a6.3.0+dfsg-2+b2_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-2+b2) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../libgmp-dev_2%3a6.3.0+dfsg-2+b2_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-2+b2) ...
- Selecting previously unselected package libmpfr-dev:amd64.
- Preparing to unpack .../libmpfr-dev_4.2.1-1+b2_amd64.deb ...
- Unpacking libmpfr-dev:amd64 (4.2.1-1+b2) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-2+b2) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-2+b2) ...
- Setting up libmpfr-dev:amd64 (4.2.1-1+b2) ...
- Processing triggers for libc-bin (2.40-3) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved apron.0.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.16.1  (cached)
-> installed camlidl.1.12
-> retrieved ez-conf-lib.2  (cached)
-> retrieved mlgmpidl.1.3.0  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> installed ez-conf-lib.2
-> retrieved ocamlfind.1.9.6  (cached)
-> installed conf-gmp-paths.1
-> installed conf-mpfr-paths.1
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed dune.3.16.1
-> installed bigarray-compat.1.1.0
-> installed mlgmpidl.1.3.0
-> installed apron.0.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)
2024-11-18 13:58.26 ---> saved as "a4542e873a7ed8b2ab94a7b445bdee6295cf6753ceac68abe2a149928bdd3d2c"
Job succeeded
2024-11-18 13:58.34: Job succeeded