(for PR #26907)

2024-11-18 13:44.00: New job: build apron.v0.9.12, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26907/head (b6229f0d14497cac47fc1ccd0ef31dd6c590ddfe)
                              on ubuntu-24.04-ocaml-4.14/riscv64

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:ubuntu-24.04-ocaml-4.14@sha256:fd46caac5a96ee7c56f104f3bd8a737bd2f89a1f34b8469bb02ff254d566c139
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.v0.9.12 v0.9.12
RUN opam reinstall apron.v0.9.12; \
    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 "\"ubuntu-24.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'apron.v0.9.12' && 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:ubuntu-24.04-ocaml-4.14@sha256:fd46caac5a96ee7c56f104f3bd8a737bd2f89a1f34b8469bb02ff254d566c139-apron.v0.9.12-b6229f0d14497cac47fc1ccd0ef31dd6c590ddfe"
2024-11-18 13:44.00: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:fd46caac5a96ee7c56f104f3bd8a737bd2f89a1f34b8469bb02ff254d566c139)
 (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.v0.9.12 v0.9.12"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall apron.v0.9.12;\
             \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 \"\\\"ubuntu-24.04\\\"\"; 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.12' && 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:44.01: Waiting for worker…
2024-11-18 14:00.43: Got resource from pool OCluster
Building on riscv-bm-a4.sw.ocaml.org
Updating files:   7% (2360/32680)
Updating files:   8% (2615/32680)
Updating files:   9% (2942/32680)
Updating files:  10% (3268/32680)
Updating files:  11% (3595/32680)
Updating files:  12% (3922/32680)
Updating files:  13% (4249/32680)
Updating files:  14% (4576/32680)
Updating files:  14% (4710/32680)
Updating files:  15% (4902/32680)
Updating files:  16% (5229/32680)
Updating files:  17% (5556/32680)
Updating files:  18% (5883/32680)
Updating files:  19% (6210/32680)
Updating files:  20% (6536/32680)
Updating files:  21% (6863/32680)
Updating files:  21% (7153/32680)
Updating files:  22% (7190/32680)
Updating files:  23% (7517/32680)
Updating files:  24% (7844/32680)
Updating files:  25% (8170/32680)
Updating files:  26% (8497/32680)
Updating files:  27% (8824/32680)
Updating files:  28% (9151/32680)
Updating files:  29% (9478/32680)
Updating files:  30% (9804/32680)
Updating files:  30% (9992/32680)
Updating files:  31% (10131/32680)
Updating files:  32% (10458/32680)
Updating files:  33% (10785/32680)
Updating files:  34% (11112/32680)
Updating files:  35% (11438/32680)
Updating files:  36% (11765/32680)
Updating files:  37% (12092/32680)
Updating files:  38% (12419/32680)
Updating files:  38% (12675/32680)
Updating files:  39% (12746/32680)
Updating files:  40% (13072/32680)
Updating files:  41% (13399/32680)
Updating files:  42% (13726/32680)
Updating files:  43% (14053/32680)
Updating files:  44% (14380/32680)
Updating files:  45% (14706/32680)
Updating files:  46% (15033/32680)
Updating files:  46% (15108/32680)
Updating files:  47% (15360/32680)
Updating files:  48% (15687/32680)
Updating files:  49% (16014/32680)
Updating files:  50% (16340/32680)
Updating files:  51% (16667/32680)
Updating files:  52% (16994/32680)
Updating files:  53% (17321/32680)
Updating files:  53% (17473/32680)
Updating files:  54% (17648/32680)
Updating files:  55% (17974/32680)
Updating files:  56% (18301/32680)
Updating files:  57% (18628/32680)
Updating files:  58% (18955/32680)
Updating files:  59% (19282/32680)
Updating files:  60% (19608/32680)
Updating files:  60% (19780/32680)
Updating files:  61% (19935/32680)
Updating files:  62% (20262/32680)
Updating files:  63% (20589/32680)
Updating files:  64% (20916/32680)
Updating files:  65% (21242/32680)
Updating files:  66% (21569/32680)
Updating files:  67% (21896/32680)
Updating files:  67% (22193/32680)
Updating files:  68% (22223/32680)
Updating files:  69% (22550/32680)
Updating files:  70% (22876/32680)
Updating files:  71% (23203/32680)
Updating files:  72% (23530/32680)
Updating files:  73% (23857/32680)
Updating files:  74% (24184/32680)
Updating files:  75% (24510/32680)
Updating files:  75% (24555/32680)
Updating files:  76% (24837/32680)
Updating files:  77% (25164/32680)
Updating files:  78% (25491/32680)
Updating files:  79% (25818/32680)
Updating files:  80% (26144/32680)
Updating files:  81% (26471/32680)
Updating files:  82% (26798/32680)
Updating files:  83% (27125/32680)
Updating files:  83% (27178/32680)
Updating files:  84% (27452/32680)
Updating files:  85% (27778/32680)
Updating files:  86% (28105/32680)
Updating files:  87% (28432/32680)
Updating files:  88% (28759/32680)
Updating files:  89% (29086/32680)
Updating files:  90% (29412/32680)
Updating files:  91% (29739/32680)
Updating files:  91% (29912/32680)
Updating files:  92% (30066/32680)
Updating files:  93% (30393/32680)
Updating files:  94% (30720/32680)
Updating files:  95% (31046/32680)
Updating files:  96% (31373/32680)
Updating files:  97% (31700/32680)
Updating files:  98% (32027/32680)
Updating files:  99% (32354/32680)
Updating files:  99% (32370/32680)
Updating files: 100% (32680/32680)
Updating files: 100% (32680/32680), done.
HEAD is now at 5b3badafaa Merge commit '1014577ea2de3aedb52d6f6b5fa15c54e8f960c7'
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:ubuntu-24.04-ocaml-4.14@sha256:fd46caac5a96ee7c56f104f3bd8a737bd2f89a1f34b8469bb02ff254d566c139)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:fd46caac5a96ee7c56f104f3bd8a737bd2f89a1f34b8469bb02ff254d566c139' locally
docker.io/ocaml/opam@sha256:fd46caac5a96ee7c56f104f3bd8a737bd2f89a1f34b8469bb02ff254d566c139: Pulling from ocaml/opam
53300d777b1a: Already exists
e78c4c3c2d36: Already exists
acc1bd37f9e6: Already exists
18b706334901: Already exists
b71e522ed613: Already exists
74d07af99ed5: Already exists
503fc5fc52b5: Already exists
f475bc76eb0c: Already exists
c983461f158e: Already exists
56bf0ca31a3b: Already exists
2c33f7bf8de1: Already exists
0f0083dd507e: Already exists
dec0ac071011: Already exists
99e4e48a00d2: Already exists
7aaf57130e6b: Already exists
7aaf57130e6b: Already exists
afbb8c88765c: Already exists
47effdbe682c: Already exists
6ed3e4008122: Already exists
d8cd5fff52eb: Already exists
4f4fb700ef54: Already exists
bfd52dc1d159: Already exists
a30d2af840ba: Already exists
8a596af3e3b0: Already exists
9196a4ced0dd: Already exists
cc021e9ac324: Already exists
f82d6002c937: Already exists
460c1193352d: Already exists
112d22ef1352: Already exists
3ff8da12327d: Already exists
fd67e75b18ab: Already exists
d4a2a7b466b2: Already exists
ea27461f7560: Already exists
22e3a9456bd1: Already exists
899844a916c0: Already exists
5d02e3d1c4ba: Already exists
7930e552beef: Already exists
41d63f580370: Already exists
fc5bb2a0ee0d: Pulling fs layer
c2c2d386d97d: Pulling fs layer
648a9e0a1253: Pulling fs layer
0a2d4ad75153: Pulling fs layer
0a2d4ad75153: Waiting
c2c2d386d97d: Verifying Checksum
c2c2d386d97d: Download complete
648a9e0a1253: Verifying Checksum
648a9e0a1253: Download complete
0a2d4ad75153: Download complete
fc5bb2a0ee0d: Verifying Checksum
fc5bb2a0ee0d: Download complete
fc5bb2a0ee0d: Pull complete
c2c2d386d97d: Pull complete
648a9e0a1253: Pull complete
0a2d4ad75153: Pull complete
Digest: sha256:fd46caac5a96ee7c56f104f3bd8a737bd2f89a1f34b8469bb02ff254d566c139
Status: Downloaded newer image for ocaml/opam@sha256:fd46caac5a96ee7c56f104f3bd8a737bd2f89a1f34b8469bb02ff254d566c139
2024-11-18 14:01.24 ---> using "cf076715ad8ce67709dd166cb634cd2fa68c29e0bf2aab0da68c0c7f0e61544f" from cache

/: (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 14:01.24 ---> using "12767ff7bbb0518dd8f5e60375e8550a00169b96d50fe39334ef3e368ef7baa5" 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 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 7 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=7 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-11-18 14:01.24 ---> using "ed36ea2cc626d9d2c5cf0186c2878762e347434c0b0d051af6aa688d49f91f60" from cache

/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.10.113+
The OCaml toplevel, version 4.14.2
2.4.0~alpha1~dev
2024-11-18 14:01.24 ---> using "166e943c212ee2e2ec71c12f78d9e5074b76afc5217c18d18a89256a50c7aafb" from cache

/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 14:01.24 ---> using "f5b524bce673bd94d25d51593ab5c0f6a6d67bf5ebcc7ac9a9fb30c5cb0febf3" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2024-11-18 14:02.09 ---> saved as "44cb89d3cb9723977af7faa5cf716bf9df7eb6034cef4cde5f6befbbe03def5e"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-18 14:06.34 ---> saved as "a42bb5ab9b872417b9991ee877d0613d7bb42a4ffe3ca8692f8c65193002cfa3"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease [126 kB]
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [522 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [780 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [590 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [300 kB]
- Fetched 2570 kB in 2s (1527 kB/s)
- Reading package lists...
- 
2024-11-18 14:06.42 ---> saved as "8f1f016ac6e9c0482b260c85119c197d5ad4b6b9ad6ebe769cb494759e35b715"

/home/opam: (run (shell "opam pin add -k version -yn apron.v0.9.12 v0.9.12"))
apron is now pinned to version v0.9.12
2024-11-18 14:06.45 ---> saved as "3b9700d05757ecac072d3eb4d6e1f8e8be6f6b5fc4af69b71f08bd5d7980e200"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall apron.v0.9.12;\
                        \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 \"\\\"ubuntu-24.04\\\"\"; 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.12' && 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.12 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 12 packages
  - install apron           v0.9.12 (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:riscv64.
- (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 ... 16242 files and directories currently installed.)
- Preparing to unpack .../libgmpxx4ldbl_2%3a6.3.0+dfsg-2ubuntu6_riscv64.deb ...
- Unpacking libgmpxx4ldbl:riscv64 (2:6.3.0+dfsg-2ubuntu6) ...
- Selecting previously unselected package libgmp-dev:riscv64.
- Preparing to unpack .../libgmp-dev_2%3a6.3.0+dfsg-2ubuntu6_riscv64.deb ...
- Unpacking libgmp-dev:riscv64 (2:6.3.0+dfsg-2ubuntu6) ...
- Selecting previously unselected package libmpfr-dev:riscv64.
- Preparing to unpack .../libmpfr-dev_4.2.1-1build1_riscv64.deb ...
- Unpacking libmpfr-dev:riscv64 (4.2.1-1build1) ...
- Setting up libgmpxx4ldbl:riscv64 (2:6.3.0+dfsg-2ubuntu6) ...
- Setting up libgmp-dev:riscv64 (2:6.3.0+dfsg-2ubuntu6) ...
- Setting up libmpfr-dev:riscv64 (4.2.1-1build1) ...
- Processing triggers for libc-bin (2.39-0ubuntu8.3) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved apron.v0.9.12  (https://github.com/antoinemine/apron/archive/v0.9.12.tar.gz)
-> 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-findutils.1
-> installed conf-perl.2
-> retrieved dune.3.16.1  (cached)
-> installed camlidl.1.12
-> retrieved ez-conf-lib.2  (cached)
-> retrieved mlgmpidl.1.3.0  (cached)
-> installed ez-conf-lib.2
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> installed conf-gmp-paths.1
-> installed ocamlfind.1.9.6
-> installed conf-mpfr-paths.1
-> installed ocamlbuild.0.15.0
-> installed dune.3.16.1
-> installed bigarray-compat.1.1.0
-> installed mlgmpidl.1.3.0
-> installed apron.v0.9.12
Done.

<><> conf-mpfr-paths.1 installed successfully <><><><><><><><><><><><><><><><><>
=> header file found in /usr/include
=> library file found in /lib/riscv64-linux-gnu

<><> conf-gmp-paths.1 installed successfully ><><><><><><><><><><><><><><><><><>
=> header file found in /usr/include/riscv64-linux-gnu
=> library file found in /lib/riscv64-linux-gnu
# To update the current shell environment, run: eval $(opam env)
2024-11-18 14:16.37 ---> saved as "dcd15388e904ab0a6c598a93660a2433981e4103fbc4a12c83dcd456a201b707"
Job succeeded
2024-11-18 14:17.35: Job succeeded