(for PR #28015)
2025-06-16 12:34.21: 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-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/28015/head" && git reset --hard eb1839f6 git fetch origin master git merge --no-edit c7269f729a780d8cad2232be10de94ac8da8381e cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:fedora-41-ocaml-5.3@sha256:146713442ed5c2eb4e9d95547da36a8643e814340597351b96fb871f2855c3b7 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-16 12:34.21: Using cache hint "ocaml/opam:fedora-41-ocaml-5.3@sha256:146713442ed5c2eb4e9d95547da36a8643e814340597351b96fb871f2855c3b7-z3.4.15.1-eb1839f6536e00144ff383f35c0878f9cb0c30a2" 2025-06-16 12:34.21: Using OBuilder spec: ((from ocaml/opam:fedora-41-ocaml-5.3@sha256:146713442ed5c2eb4e9d95547da36a8643e814340597351b96fb871f2855c3b7) (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-16 12:34.21: Waiting for resource in pool OCluster 2025-06-16 12:34.21: Waiting for worker… 2025-06-16 12:34.21: Got resource from pool OCluster Building on odawa.caelum.ci.dev All commits already cached HEAD is now at c7269f729a Merge pull request #28025 from xavierleroy/camlidl-1.13 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-5.3@sha256:146713442ed5c2eb4e9d95547da36a8643e814340597351b96fb871f2855c3b7) 2025-06-16 12:34.26 ---> using "6885aab87f4fe22185c8b8094f735035f681f36e522db31f68b1c3410c45c8dc" from cache /: (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-16 12:34.26 ---> using "a28a8db60400c77ae32062687c010999f9c406a6287ed7c9c2dbd253433cfc5d" 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 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-16 12:34.26 ---> using "90e05fdd753eaea84c35665496312023240a8784e6f67649f73fc5ea01febc95" from cache /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 255 # 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-06-16 12:34.26 ---> using "0a6fd1dce792146357dd70d5d8065bfe8864afa5a37332fc904d65c501785b6a" from cache /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-16 12:34.26 ---> using "2312968cc6379df5322f3d7b67e8f0c5daf58b3d6ef5abdae34059e1412e850f" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2025-06-16 12:34.32 ---> saved as "73da2669eef7d4d9d2cacc3db951d0cb815f4a6549eb3c4136815aaceceba770" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-06-16 12:34.51 ---> saved as "5832eee43adbae5503aa8359b10111657a9850b5f1602b4ddd6e8dc31d0bb366" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "yum" "makecache" - Updating and loading repositories: - Fedora 41 - x86_64 100% | 115.1 KiB/s | 27.0 KiB | 00m00s - Fedora 41 - x86_64 - Updates 100% | 204.2 KiB/s | 25.7 KiB | 00m00s - Fedora 41 - x86_64 - Updates 100% | 4.7 MiB/s | 3.6 MiB | 00m01s - Repositories loaded. - Metadata cache created. 2025-06-16 12:34.55 ---> saved as "754d7801b315fbcdbf88df7744fb43275e7e3374ae6ffe538f9a1727cf4cc521" /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-16 12:34.55 ---> saved as "1932919127ee98d9e9a6fd740a180d3d3da64e9bbbbf6eea83bf737dd712e6f3" /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% | 151.5 KiB/s | 18.6 KiB | 00m00s - [2/2] gmp-devel-1:6.3.0-2.fc41.x86_64 100% | 826.6 KiB/s | 174.4 KiB | 00m00s - -------------------------------------------------------------------------------- - [2/2] Total 100% | 561.2 KiB/s | 193.0 KiB | 00m00s - Running transaction - [1/4] Verify package files 100% | 2.0 KiB/s | 2.0 B | 00m00s - [2/4] Prepare transaction 100% | 64.0 B/s | 2.0 B | 00m00s - [3/4] Installing gmp-c++-1:6.3.0-2.fc41 100% | 31.8 MiB/s | 32.6 KiB | 00m00s - [4/4] Installing gmp-devel-1:6.3.0-2.fc 100% | 9.1 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) -> installed conf-c++.1.0 -> installed conf-pkg-config.4 -> retrieved conf-python-3.9.0.0 (https://opam.ocaml.org/cache) -> installed conf-gmp.5 -> retrieved ocamlfind.1.9.8 (cached) -> installed conf-python-3.9.0.0 -> retrieved z3.4.15.1 (https://github.com/Z3Prover/z3/archive/refs/tags/z3-4.15.1.tar.gz) -> 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-16 12:36.29 ---> saved as "26dffbd567d93089fa5767559d2edc799eb1fc82a467815462c75cf70e47a88f" Job succeeded 2025-06-16 12:36.34: Job succeeded