(for PR #27768)

2025-04-16 21:23.01: New job: build bitwuzla-cxx.0.7.0, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27768/head (55a47416d532dc829d9111297970934a21a1b1c4)
                              on debian-11-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/27768/head" && git reset --hard 55a47416
git fetch origin master
git merge --no-edit d1cbf81c2da41aacd8925bea031fdc109945f711
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-11-ocaml-5.3@sha256:594ced9193090f799317c3149f807293c94b8f35c948563825b0023eeae14a33
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 bitwuzla-cxx.0.7.0 0.7.0
RUN opam reinstall bitwuzla-cxx.0.7.0; \
    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-11\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'bitwuzla-cxx.0.7.0' && 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-04-16 21:23.01: Using cache hint "ocaml/opam:debian-11-ocaml-5.3@sha256:594ced9193090f799317c3149f807293c94b8f35c948563825b0023eeae14a33-bitwuzla-cxx.0.7.0-55a47416d532dc829d9111297970934a21a1b1c4"
2025-04-16 21:23.01: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-5.3@sha256:594ced9193090f799317c3149f807293c94b8f35c948563825b0023eeae14a33)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 bitwuzla-cxx.0.7.0 0.7.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall bitwuzla-cxx.0.7.0;\
             \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-11\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'bitwuzla-cxx.0.7.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-04-16 21:23.01: Waiting for resource in pool OCluster
2025-04-16 21:23.01: Waiting for worker…
2025-04-16 21:23.01: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
All commits already cached
Updating files:  72% (16664/22882)
Updating files:  73% (16704/22882)
Updating files:  74% (16933/22882)
Updating files:  75% (17162/22882)
Updating files:  76% (17391/22882)
Updating files:  77% (17620/22882)
Updating files:  78% (17848/22882)
Updating files:  79% (18077/22882)
Updating files:  80% (18306/22882)
Updating files:  81% (18535/22882)
Updating files:  82% (18764/22882)
Updating files:  83% (18993/22882)
Updating files:  84% (19221/22882)
Updating files:  85% (19450/22882)
Updating files:  86% (19679/22882)
Updating files:  87% (19908/22882)
Updating files:  88% (20137/22882)
Updating files:  89% (20365/22882)
Updating files:  90% (20594/22882)
Updating files:  91% (20823/22882)
Updating files:  92% (21052/22882)
Updating files:  93% (21281/22882)
Updating files:  94% (21510/22882)
Updating files:  95% (21738/22882)
Updating files:  96% (21967/22882)
Updating files:  97% (22196/22882)
Updating files:  98% (22425/22882)
Updating files:  99% (22654/22882)
Updating files: 100% (22882/22882)
Updating files: 100% (22882/22882), done.
HEAD is now at d1cbf81c2d Merge pull request #27767 from toots/opam-publish-ffmpeg.1.2.4
Updating d1cbf81c2d..55a47416d5
Fast-forward
 packages/bitwuzla-cxx/bitwuzla-cxx.0.7.0/opam | 50 +++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 packages/bitwuzla-cxx/bitwuzla-cxx.0.7.0/opam

(from ocaml/opam:debian-11-ocaml-5.3@sha256:594ced9193090f799317c3149f807293c94b8f35c948563825b0023eeae14a33)
Unable to find image 'ocaml/opam:debian-11-ocaml-5.3@sha256:594ced9193090f799317c3149f807293c94b8f35c948563825b0023eeae14a33' locally
docker.io/ocaml/opam@sha256:594ced9193090f799317c3149f807293c94b8f35c948563825b0023eeae14a33: Pulling from ocaml/opam
31ecbd220fe9: Pulling fs layer
31ecbd220fe9: Verifying Checksum
31ecbd220fe9: Download complete
31ecbd220fe9: Pull complete
Digest: sha256:594ced9193090f799317c3149f807293c94b8f35c948563825b0023eeae14a33
Status: Downloaded newer image for ocaml/opam@sha256:594ced9193090f799317c3149f807293c94b8f35c948563825b0023eeae14a33
2025-04-16 21:25.19 ---> saved as "0512cdbe408fa327480ba87273447d674188a66796bbf1bbf468bdbb9ceeade3"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-16 21:25.19 ---> saved as "acccdc812c95ed7a58c7e74d031975d76e972090b283632aa18f603d5aa43f41"

/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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-04-16 21:25.55 ---> saved as "357953d6a5c72473a55cd68021b9f43c516cdcf033536a19ca16d138315cd200"

/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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=11
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 31
# 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-04-16 21:25.56 ---> saved as "1add31fafb48d92ba9bf94c4a53110b0581c9f3e24eb35d8ce340fec91ae3c77"

/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-04-16 21:26.03 ---> saved as "6e382587fe8b0becb790bb6169738c250adbef5bdb8a1c7526348e868ebe7ed3"

/home/opam: (copy (src .) (dst opam-repository/))
2025-04-16 21:26.17 ---> saved as "da2feb4c8a4a538992ee28e1007342c303f70b84e00924eddb33156a5982e78a"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-16 21:26.44 ---> saved as "0a4bf3c5fc14cf90684376b3dd0f94cdee99d55fb347d8c63d21c9b3417cff4e"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
- Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [356 kB]
- Fetched 428 kB in 1s (535 kB/s)
- Reading package lists...
- 
2025-04-16 21:26.46 ---> saved as "134ba55bb421e45cc5d499ba6919e61e13cddae7620607695d9d1d9920eb3f42"

/home/opam: (run (shell "opam pin add -k version -yn bitwuzla-cxx.0.7.0 0.7.0"))
bitwuzla-cxx is now pinned to version 0.7.0
2025-04-16 21:26.47 ---> saved as "84191799cea6120f99411d35773f7d5b620ae13e879ecc22b34fc92ca604e8b9"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall bitwuzla-cxx.0.7.0;\
                        \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-11\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'bitwuzla-cxx.0.7.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
bitwuzla-cxx.0.7.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 9 packages
  - install bitwuzla-cxx    0.7.0 (pinned)
  - install conf-g++        1.0            [required by bitwuzla-cxx]
  - install conf-gcc        1.0            [required by bitwuzla-cxx]
  - install conf-git        1.1            [required by bitwuzla-cxx]
  - install conf-gmp        5              [required by zarith]
  - install conf-pkg-config 4              [required by zarith]
  - install dune            3.18.0         [required by bitwuzla-cxx]
  - install ocamlfind       1.9.8          [required by zarith]
  - install zarith          1.14           [required by bitwuzla-cxx]

The following system packages will first need to be installed:
    libgmp-dev pkg-config

<><> 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" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0: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 ... 18367 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.66.8-1+deb11u6_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.66.8-1+deb11u6) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.66.8-1+deb11u6_all.deb ...
- Unpacking libglib2.0-data (2.66.8-1+deb11u6) ...
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- Preparing to unpack .../2-libgmpxx4ldbl_2%3a6.2.1+dfsg-1+deb11u1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-1+deb11u1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../3-libgmp-dev_2%3a6.2.1+dfsg-1+deb11u1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg-1+deb11u1) ...
- Selecting previously unselected package libicu67:amd64.
- Preparing to unpack .../4-libicu67_67.1-7_amd64.deb ...
- Unpacking libicu67:amd64 (67.1-7) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../5-libxml2_2.9.10+dfsg-6.7+deb11u6_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u6) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../6-pkg-config_0.29.2-1_amd64.deb ...
- Unpacking pkg-config (0.29.2-1) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../7-shared-mime-info_2.0-1_amd64.deb ...
- Unpacking shared-mime-info (2.0-1) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../8-xdg-user-dirs_0.17-2_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2) ...
- Setting up libicu67:amd64 (67.1-7) ...
- Setting up xdg-user-dirs (0.17-2) ...
- Setting up libglib2.0-0:amd64 (2.66.8-1+deb11u6) ...
- No schema files found: doing nothing.
- Setting up libglib2.0-data (2.66.8-1+deb11u6) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-1+deb11u1) ...
- Setting up pkg-config (0.29.2-1) ...
- Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u6) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg-1+deb11u1) ...
- Setting up shared-mime-info (2.0-1) ...
- Processing triggers for libc-bin (2.31-13+deb11u11) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bitwuzla-cxx.0.7.0  (cached)
-> retrieved conf-gmp.5  (cached)
-> installed conf-gcc.1.0
-> installed conf-g++.1.0
-> installed conf-git.1.1
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> retrieved dune.3.18.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved zarith.1.14  (cached)
-> installed ocamlfind.1.9.8
-> installed zarith.1.14
-> installed dune.3.18.0
-> installed bitwuzla-cxx.0.7.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-16 21:29.18 ---> saved as "642e58e553d120a55396e7f47c6b739a0638f5f7caca2b2199aa270c0bcd3c4a"
Job succeeded
2025-04-16 21:29.37: Job succeeded