(for PR #28015)
2025-06-11 19:35.00: New job: build z3.4.15.1, using opam 2.3 from https://github.com/ocaml/opam-repository.git#refs/pull/28015/head (eb1839f6536e00144ff383f35c0878f9cb0c30a2) on debian-12-ocaml-5.1/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/28015/head" && git reset --hard eb1839f6 git fetch origin master git merge --no-edit 5d06e882dd4254efed3ed68bbc9e77273e592c83 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-5.1@sha256:b175e333a5efc05edfda5c42f5f3d0718839a8d790cb401eff2d610b79dcf27d 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 z3.4.15.1 4.15.1 RUN opam reinstall z3.4.15.1; \ 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" != 'z3.4.15.1' && 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-06-11 19:35.00: Using cache hint "ocaml/opam:debian-12-ocaml-5.1@sha256:b175e333a5efc05edfda5c42f5f3d0718839a8d790cb401eff2d610b79dcf27d-z3.4.15.1-eb1839f6536e00144ff383f35c0878f9cb0c30a2" 2025-06-11 19:35.00: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-5.1@sha256:b175e333a5efc05edfda5c42f5f3d0718839a8d790cb401eff2d610b79dcf27d) (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 z3.4.15.1 4.15.1")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall z3.4.15.1;\ \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\" != 'z3.4.15.1' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) ) 2025-06-11 19:35.00: Waiting for resource in pool OCluster 2025-06-12 09:28.51: Waiting for worker… 2025-06-12 09:34.03: Got resource from pool OCluster Building on asteria.caelum.ci.dev All commits already cached Updating files: 94% (21943/23240) Updating files: 95% (22078/23240) Updating files: 96% (22311/23240) Updating files: 97% (22543/23240) Updating files: 98% (22776/23240) Updating files: 99% (23008/23240) Updating files: 100% (23240/23240) Updating files: 100% (23240/23240), done. HEAD is now at 5d06e882dd Merge pull request #27999 from mbarbin/conf-hg Merge made by the 'ort' strategy. Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. warning: The last gc run reported the following. Please correct the root cause and remove .git/gc.log Automatic cleanup will not be performed until the file is removed. warning: There are too many unreachable loose objects; run 'git prune' to remove them. packages/z3/z3.4.15.1/opam | 68 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 packages/z3/z3.4.15.1/opam (from ocaml/opam:debian-12-ocaml-5.1@sha256:b175e333a5efc05edfda5c42f5f3d0718839a8d790cb401eff2d610b79dcf27d) 2025-06-12 09:35.06 ---> saved as "a842e93b09816be3311d690f513bfcd510416b7c08a4c55a760c59e201535283" /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam")) 2025-06-12 09:35.07 ---> saved as "dea4b7b8064503c067d9076ac2c2415a1ed39937f0a3674385c8bcc12c486218" /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 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-06-12 09:35.37 ---> saved as "8f5aa2e9985e6f9c441f1a8966279ad1ea8f513a104bbcd1871096f576ec3707" /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=12 # 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.1 # invariant ["ocaml-base-compiler" {= "5.1.1"}] # compiler-packages ocaml-base-compiler.5.1.1, ocaml-options-vanilla.1 # ocaml:native true # ocaml:native-tools true # ocaml:native-dynlink true # ocaml:stubsdir /home/opam/.opam/5.1/lib/ocaml/stublibs:/home/opam/.opam/5.1/lib/ocaml # ocaml:preinstalled false # ocaml:compiler 5.1.1 2025-06-12 09:35.38 ---> saved as "6849f0994b82870946b6789b279f5f52efe9c05b867d45403d41777ca3829be9" /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-06-12 09:35.48 ---> saved as "502172a84501cc98c97b1493c179ae5b9428f03239e05ad88966cc203a6860cd" /home/opam: (copy (src .) (dst opam-repository/)) 2025-06-12 09:36.31 ---> saved as "f9c6693562a7481366721766825d86d97833d56163cbae0a1bfa1615d89a0343" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-06-12 09:36.58 ---> saved as "49a802cae29c1d755958ca04376ed05812c61f3bbf75ca7e495e3ad4f8d2bde4" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/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 [266 kB] - Fetched 369 kB in 0s (1132 kB/s) - Reading package lists... 2025-06-12 09:36.59 ---> saved as "8ea5855f519e063664d37aed06550373c1ce62ec1cd409a5071458033d2aec78" /home/opam: (run (shell "opam pin add -k version -yn z3.4.15.1 4.15.1")) z3 is now pinned to version 4.15.1 2025-06-12 09:37.01 ---> saved as "96deba3a169ff693e33318371852da137e5d5c796bbdd767243e53b8c2b86550" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall z3.4.15.1;\ \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\" != 'z3.4.15.1' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) z3.4.15.1 is not installed. Install it? [y/n] y The following actions will be performed: === install 7 packages - install conf-c++ 1.0 [required by z3] - install conf-gmp 5 [required by zarith] - install conf-pkg-config 4 [required by zarith] - install conf-python-3 9.0.0 [required by z3] - install ocamlfind 1.9.8 [required by z3] - install z3 4.15.1 (pinned) - install zarith 1.14 [required by z3] The following system packages will first need to be installed: libgmp-dev pkg-config python3 python3-distutils <><> 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" "python3" "python3-distutils" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libpython3.11-minimal: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 ... 18776 files and directories currently installed.) - Preparing to unpack .../libpython3.11-minimal_3.11.2-6+deb12u6_amd64.deb ... - Unpacking libpython3.11-minimal:amd64 (3.11.2-6+deb12u6) ... - Selecting previously unselected package python3.11-minimal. - Preparing to unpack .../python3.11-minimal_3.11.2-6+deb12u6_amd64.deb ... - Unpacking python3.11-minimal (3.11.2-6+deb12u6) ... - Setting up libpython3.11-minimal:amd64 (3.11.2-6+deb12u6) ... - Setting up python3.11-minimal (3.11.2-6+deb12u6) ... - Selecting previously unselected package python3-minimal. - (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 ... 19083 files and directories currently installed.) - Preparing to unpack .../python3-minimal_3.11.2-1+b1_amd64.deb ... - Unpacking python3-minimal (3.11.2-1+b1) ... - Selecting previously unselected package media-types. - Preparing to unpack .../media-types_10.0.0_all.deb ... - Unpacking media-types (10.0.0) ... - Selecting previously unselected package libpython3.11-stdlib:amd64. - Preparing to unpack .../libpython3.11-stdlib_3.11.2-6+deb12u6_amd64.deb ... - Unpacking libpython3.11-stdlib:amd64 (3.11.2-6+deb12u6) ... - Selecting previously unselected package python3.11. - Preparing to unpack .../python3.11_3.11.2-6+deb12u6_amd64.deb ... - Unpacking python3.11 (3.11.2-6+deb12u6) ... - Selecting previously unselected package libpython3-stdlib:amd64. - Preparing to unpack .../libpython3-stdlib_3.11.2-1+b1_amd64.deb ... - Unpacking libpython3-stdlib:amd64 (3.11.2-1+b1) ... - Setting up python3-minimal (3.11.2-1+b1) ... - Selecting previously unselected package python3. - (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 ... 19493 files and directories currently installed.) - Preparing to unpack .../0-python3_3.11.2-1+b1_amd64.deb ... - Unpacking python3 (3.11.2-1+b1) ... - Selecting previously unselected package libgmpxx4ldbl:amd64. - Preparing to unpack .../1-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 .../2-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 libpkgconf3:amd64. - Preparing to unpack .../3-libpkgconf3_1.8.1-1_amd64.deb ... - Unpacking libpkgconf3:amd64 (1.8.1-1) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../4-pkgconf-bin_1.8.1-1_amd64.deb ... - Unpacking pkgconf-bin (1.8.1-1) ... - Selecting previously unselected package pkgconf:amd64. - Preparing to unpack .../5-pkgconf_1.8.1-1_amd64.deb ... - Unpacking pkgconf:amd64 (1.8.1-1) ... - Selecting previously unselected package pkg-config:amd64. - Preparing to unpack .../6-pkg-config_1.8.1-1_amd64.deb ... - Unpacking pkg-config:amd64 (1.8.1-1) ... - Selecting previously unselected package python3-lib2to3. - Preparing to unpack .../7-python3-lib2to3_3.11.2-3_all.deb ... - Unpacking python3-lib2to3 (3.11.2-3) ... - Selecting previously unselected package python3-distutils. - Preparing to unpack .../8-python3-distutils_3.11.2-3_all.deb ... - Unpacking python3-distutils (3.11.2-3) ... - Setting up media-types (10.0.0) ... - Setting up libpython3.11-stdlib:amd64 (3.11.2-6+deb12u6) ... - Setting up libpkgconf3:amd64 (1.8.1-1) ... - Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ... - Setting up pkgconf-bin (1.8.1-1) ... - Setting up libpython3-stdlib:amd64 (3.11.2-1+b1) ... - Setting up python3.11 (3.11.2-6+deb12u6) ... - Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ... - Setting up python3 (3.11.2-1+b1) ... - running python rtupdate hooks for python3.11... - running python post-rtupdate hooks for python3.11... - Setting up pkgconf:amd64 (1.8.1-1) ... - Setting up pkg-config:amd64 (1.8.1-1) ... - Setting up python3-lib2to3 (3.11.2-3) ... - Setting up python3-distutils (3.11.2-3) ... - Processing triggers for libc-bin (2.36-9+deb12u10) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved conf-gmp.5 (cached) -> retrieved conf-python-3.9.0.0 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> installed conf-c++.1.0 -> installed conf-gmp.5 -> installed conf-pkg-config.4 -> installed conf-python-3.9.0.0 -> retrieved z3.4.15.1 (cached) -> retrieved zarith.1.14 (cached) -> installed ocamlfind.1.9.8 -> installed zarith.1.14 -> installed z3.4.15.1 Done. # To update the current shell environment, run: eval $(opam env) 2025-06-12 09:40.40 ---> saved as "95f31e02e6f692a7ab920be700e395b897d579447c9a3c997458d1eb67acc43a" Job succeeded 2025-06-12 09:46.19: Job succeeded