(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 fedora-41-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/28015/head" && git reset --hard eb1839f6 git fetch origin master git merge --no-edit 5d06e882dd4254efed3ed68bbc9e77273e592c83 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:fedora-41-ocaml-4.14@sha256:2f6d0e2f962b1a7a99eb3e07897657db6cef8038b95b0c3f7303de66464690d8 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 "\"fedora-41\""; 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:fedora-41-ocaml-4.14@sha256:2f6d0e2f962b1a7a99eb3e07897657db6cef8038b95b0c3f7303de66464690d8-z3.4.15.1-eb1839f6536e00144ff383f35c0878f9cb0c30a2" 2025-06-11 19:35.00: Using OBuilder spec: ((from ocaml/opam:fedora-41-ocaml-4.14@sha256:2f6d0e2f962b1a7a99eb3e07897657db6cef8038b95b0c3f7303de66464690d8) (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 \"\\\"fedora-41\\\"\"; 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:30.55: Waiting for worker… 2025-06-12 09:35.19: Got resource from pool OCluster Building on laodoke.caelum.ci.dev All commits already cached Updating files: 89% (20744/23240) Updating files: 90% (20916/23240) Updating files: 91% (21149/23240) Updating files: 92% (21381/23240) Updating files: 93% (21614/23240) Updating files: 94% (21846/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. 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:fedora-41-ocaml-4.14@sha256:2f6d0e2f962b1a7a99eb3e07897657db6cef8038b95b0c3f7303de66464690d8) 2025-06-12 09:35.52 ---> saved as "39e6e309f75a18b444042d89513d1bb856f355631f65a20ce6e95d095a3ef7fa" /: (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.53 ---> saved as "3eeb898811dbf8611b5df41e003b5863bfefad4c20327c5527d3a6a1cd7c4c40" /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. Continue? [y/n] y 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. Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised 2025-06-12 09:36.35 ---> saved as "822d99c3299fe8766d5bb2601a798b5559c00fc367bf62fe8d24f9afaffbdecb" /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=fedora os-version=41 # solver builtin-0install # install-criteria -changed,-count[avoid-version,solution] # upgrade-criteria -count[avoid-version,solution] # jobs 71 # repositories 1 (version-controlled) # pinned 1 (version) # current-switch 4.14 # invariant ["ocaml-base-compiler" {= "4.14.2"}] # compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1 # ocaml:native true # ocaml:native-tools true # ocaml:native-dynlink true # ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml # ocaml:preinstalled false # ocaml:compiler 4.14.2 2025-06-12 09:36.36 ---> saved as "cf7f6911e438e6efa15742c10990c943483a292185f26d3d3f291bf6bf6984e7" /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:36.48 ---> saved as "26b548ee2596e97c73319622e3822193bdf4ad01e77486c82ac6198640fc0b54" /home/opam: (copy (src .) (dst opam-repository/)) 2025-06-12 09:37.27 ---> saved as "936923a94abf415584143990ad68f120db790f0f9c351db855d0a8ce4625b107" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-06-12 09:38.08 ---> saved as "0d2385c3928ec8c2ba4c79ee64afb88f9718f0de1bec649f854ce184ce10524f" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "yum" "makecache" - Updating and loading repositories: - Fedora 41 - x86_64 - Updates 100% | 58.5 KiB/s | 24.6 KiB | 00m00s - Fedora 41 - x86_64 - Updates 100% | 2.1 MiB/s | 3.7 MiB | 00m02s - Repositories loaded. - Metadata cache created. 2025-06-12 09:38.17 ---> saved as "a1b18fbdc74b8b50a7ad86fc5f9c4b3a2779ab99d0f980ca904d9ac3fbf7f452" /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:38.19 ---> saved as "c1dd7ac4be88a634d559afe2c4d88e327c5eb0d8f4918ffa7ccfd4a686450037" /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 \"\\\"fedora-41\\\"\"; 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: gmp-devel <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run yum to install them (may need root/sudo access) 2. Display the recommended yum 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 "yum" "install" "-y" "gmp-devel" - Updating and loading repositories: - Repositories loaded. - Package Arch Version Repository Size - Installing: - gmp-devel x86_64 1:6.3.0-2.fc41 fedora 352.3 KiB - Installing dependencies: - gmp-c++ x86_64 1:6.3.0-2.fc41 fedora 31.8 KiB - - Transaction Summary: - Installing: 2 packages - - Total size of inbound packages is 193 KiB. Need to download 193 KiB. - After this operation, 384 KiB extra will be used (install 384 KiB, remove 0 B). - [1/2] gmp-c++-1:6.3.0-2.fc41.x86_64 100% | 63.8 KiB/s | 18.6 KiB | 00m00s - [2/2] gmp-devel-1:6.3.0-2.fc41.x86_64 100% | 498.3 KiB/s | 174.4 KiB | 00m00s - -------------------------------------------------------------------------------- - [2/2] Total 100% | 394.0 KiB/s | 193.0 KiB | 00m00s - Running transaction - [1/4] Verify package files 100% | 666.0 B/s | 2.0 B | 00m00s - [2/4] Prepare transaction 100% | 21.0 B/s | 2.0 B | 00m00s - [3/4] Installing gmp-c++-1:6.3.0-2.fc41 100% | 8.0 MiB/s | 32.6 KiB | 00m00s - [4/4] Installing gmp-devel-1:6.3.0-2.fc 100% | 3.4 MiB/s | 354.1 KiB | 00m00s - Complete! + /usr/bin/rpm "-q" "--whatprovides" "gmp-devel" - gmp-devel-6.3.0-2.fc41.x86_64 <><> 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:52.07 ---> saved as "7f05a9c7fdbc38783f0fee8e0a46617daeb7071613bd6206e9576536224c417e" Job succeeded 2025-06-12 09:52.23: Job succeeded