(for PR #26907)

2024-11-18 13:44.00: New job: build apron.v0.9.14, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26907/head (b6229f0d14497cac47fc1ccd0ef31dd6c590ddfe)
                              on debian-12-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-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /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 depext -u || true
RUN opam pin add -k version -yn apron.v0.9.14 v0.9.14
RUN opam depext apron.v0.9.14 && 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-12\""; 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 .

2024-11-18 13:44.00: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3-apron.v0.9.14-b6229f0d14497cac47fc1ccd0ef31dd6c590ddfe"
2024-11-18 13:44.00: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.0 /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 depext -u || 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 depext apron.v0.9.14 && 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-12\\\"\"; 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"))
)

2024-11-18 13:44.00: Waiting for resource in pool OCluster
2024-11-18 13:49.25: Waiting for worker…
2024-11-18 13:55.23: Got resource from pool OCluster
Building on x86-bm-c12.sw.ocaml.org
All commits already cached
Updating files:  64% (21134/32679)
Updating files:  65% (21242/32679)
Updating files:  66% (21569/32679)
Updating files:  67% (21895/32679)
Updating files:  68% (22222/32679)
Updating files:  69% (22549/32679)
Updating files:  70% (22876/32679)
Updating files:  71% (23203/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-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3)
2024-11-18 13:55.26 ---> using "7865c6821c42776ca70a19318cc19a6071e65fe0e7c3e659c00e7a03ce2b6d64" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2024-11-18 13:55.27 ---> saved as "7a98c8c4a0c09de332ef162d7acdeff993231fdfc2985825ed6efebc0ec432da"

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.

[WARNING] Recommended dependencies -- most packages rely on these:
  - m4

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2024-11-18 13:56.28 ---> saved as "06ea0f748a869d4932b33219546d0dc3242929333f3f0de7d8d0303a8a38f0a9"

/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.0.10
2024-11-18 13:56.29 ---> saved as "015c230c25fe387889780962e89cffe0240610b1355c286c436c96904eca49a7"

/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:56.38 ---> saved as "332e3173a35e65d6988c50b530d2c40c1f95b2642eb07d81a456fc3327528594"

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

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2024-11-18 13:57.21 ---> saved as "e4c74a3ed25a53871b944ed7d5559fb9aff6234583ba1b262677d2ceaab52970"

/home/opam: (run (network host)
                 (shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "sudo":
    apt-get update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [204 kB]
Fetched 307 kB in 0s (1140 kB/s)
Reading package lists...
# OS package update successful
2024-11-18 13:57.23 ---> saved as "39146c502122232b77ab19bb5481b6e52d50f25647753e3fd494f74bcf5e0d1f"

/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
2024-11-18 13:57.24 ---> saved as "3cb001bed45423ac0ebb574024b0854352cf02b78e865859dea0853f599ea43c"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext apron.v0.9.14 && 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-12\\\"\"; 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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
findutils
libgmp-dev
libmpfr-dev
perl
# The following system packages are needed:
The following command needs to be run through "sudo":
    apt-get install -qq -yy findutils libgmp-dev libmpfr-dev perl
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 ... 18745 files and directories currently installed.)
Preparing to unpack .../libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
Selecting previously unselected package libgmp-dev:amd64.
Preparing to unpack .../libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
Selecting previously unselected package libmpfr-dev:amd64.
Preparing to unpack .../libmpfr-dev_4.2.0-1_amd64.deb ...
Unpacking libmpfr-dev:amd64 (4.2.0-1) ...
Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
Setting up libmpfr-dev:amd64 (4.2.0-1) ...
Processing triggers for libc-bin (2.36-9+deb12u9) ...
# OS packages installation successful
apron.v0.9.14 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install conf-perl  2        [required by apron]
  - install conf-gmp   4        [required by mlgmpidl]
  - install ocamlbuild 0.15.0   [required by apron]
  - install camlidl    1.12     [required by apron]
  - install ocamlfind  1.9.6    [required by apron]
  - install conf-mpfr  2        [required by mlgmpidl]
  - install mlgmpidl   1.2.14   [required by apron]
  - install apron      v0.9.14*
===== 8 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[apron.v0.9.14] found in cache
[camlidl.1.12] found in cache
[mlgmpidl.1.2.14] downloaded from https://github.com/nberth/mlgmpidl/archive/1.2.14.tar.gz
[ocamlbuild.0.15.0] found in cache
[ocamlfind.1.9.6] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-perl.2
-> installed conf-gmp.4
-> installed conf-mpfr.2
-> installed camlidl.1.12
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed mlgmpidl.1.2.14
-> installed apron.v0.9.14
Done.
# Run eval $(opam env) to update the current shell environment
2024-11-18 13:58.31 ---> saved as "efc209480792e8579803d36a33759e255be6e4a4907969bbd88854556ea41bc3"
Job succeeded
2024-11-18 13:58.39: Job succeeded