(for PR #23330)
2024-04-24 12:15.00: New job: build zarith.1.12-1, using opam dev from https://github.com/ocaml/opam-repository.git#refs/pull/23330/head (e065de656cee71750ee448a95ca37886f41c1cd4) on fedora-40-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/23330/head" && git reset --hard e065de65 git fetch origin master git merge --no-edit 543cd221e481d9942aeb9832179a38bdd41639d4 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:fedora-40-ocaml-4.14@sha256:dc7c852280406c6d78f5e38481dc278a038d72e8923025849196b63d16cde238 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="500" 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 ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed" ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed" ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed" RUN opam pin add -k version -yn zarith.1.12-1 1.12-1 RUN opam reinstall zarith.1.12-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-40\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'zarith.1.12-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 . 2024-04-24 12:15.00: Using cache hint "ocaml/opam:fedora-40-ocaml-4.14@sha256:dc7c852280406c6d78f5e38481dc278a038d72e8923025849196b63d16cde238-zarith.1.12-1-e065de656cee71750ee448a95ca37886f41c1cd4" 2024-04-24 12:15.00: Using OBuilder spec: ((from ocaml/opam:fedora-40-ocaml-4.14@sha256:dc7c852280406c6d78f5e38481dc278a038d72e8923025849196b63d16cde238) (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 500) (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")) (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed) (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed) (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed) (run (shell "opam pin add -k version -yn zarith.1.12-1 1.12-1")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall zarith.1.12-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-40\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'zarith.1.12-1' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) ) 2024-04-24 12:15.00: Connecting to build cluster… 2024-04-24 12:15.00: Waiting for resource in pool OCluster 2024-04-24 12:23.31: Waiting for worker… 2024-04-24 12:27.31: Got resource from pool OCluster Building on x86-bm-c19.sw.ocaml.org All commits already cached Updating files: 61% (20490/33547) Updating files: 62% (20800/33547) Updating files: 63% (21135/33547) Updating files: 64% (21471/33547) Updating files: 65% (21806/33547) Updating files: 66% (22142/33547) Updating files: 67% (22477/33547) Updating files: 68% (22812/33547) Updating files: 69% (23148/33547) Updating files: 70% (23483/33547) Updating files: 71% (23819/33547) Updating files: 72% (24154/33547) Updating files: 73% (24490/33547) Updating files: 74% (24825/33547) Updating files: 75% (25161/33547) Updating files: 76% (25496/33547) Updating files: 77% (25832/33547) Updating files: 78% (26167/33547) Updating files: 79% (26503/33547) Updating files: 80% (26838/33547) Updating files: 81% (27174/33547) Updating files: 82% (27509/33547) Updating files: 83% (27845/33547) Updating files: 84% (28180/33547) Updating files: 85% (28515/33547) Updating files: 86% (28851/33547) Updating files: 87% (29186/33547) Updating files: 88% (29522/33547) Updating files: 89% (29857/33547) Updating files: 90% (30193/33547) Updating files: 91% (30528/33547) Updating files: 92% (30864/33547) Updating files: 93% (31199/33547) Updating files: 94% (31535/33547) Updating files: 95% (31870/33547) Updating files: 96% (32206/33547) Updating files: 97% (32541/33547) Updating files: 98% (32877/33547) Updating files: 99% (33212/33547) Updating files: 100% (33547/33547) Updating files: 100% (33547/33547), done. HEAD is now at 543cd221e4 Merge pull request #25715 from hannesm/ocaml-solo5-synopsis Merge made by the 'ort' strategy. .../conf-gmp-powm-sec.4/files/test.c | 26 ++++++++++++ .../conf-gmp-powm-sec/conf-gmp-powm-sec.4/opam | 17 ++++++++ packages/conf-gmp/conf-gmp.5/files/test.c | 10 +++++ packages/conf-gmp/conf-gmp.5/opam | 32 +++++++++++++++ packages/zarith/zarith.1.12-1/opam | 47 ++++++++++++++++++++++ 5 files changed, 132 insertions(+) create mode 100644 packages/conf-gmp-powm-sec/conf-gmp-powm-sec.4/files/test.c create mode 100644 packages/conf-gmp-powm-sec/conf-gmp-powm-sec.4/opam create mode 100644 packages/conf-gmp/conf-gmp.5/files/test.c create mode 100644 packages/conf-gmp/conf-gmp.5/opam create mode 100644 packages/zarith/zarith.1.12-1/opam (from ocaml/opam:fedora-40-ocaml-4.14@sha256:dc7c852280406c6d78f5e38481dc278a038d72e8923025849196b63d16cde238) Unable to find image 'ocaml/opam:fedora-40-ocaml-4.14@sha256:dc7c852280406c6d78f5e38481dc278a038d72e8923025849196b63d16cde238' locally docker.io/ocaml/opam@sha256:dc7c852280406c6d78f5e38481dc278a038d72e8923025849196b63d16cde238: Pulling from ocaml/opam Digest: sha256:dc7c852280406c6d78f5e38481dc278a038d72e8923025849196b63d16cde238 Status: Downloaded newer image for ocaml/opam@sha256:dc7c852280406c6d78f5e38481dc278a038d72e8923025849196b63d16cde238 2024-04-24 12:27.35 ---> using "3e14f4115c83e0879ff3062ed477dd5c3b3644407d5316c78560d0cc18f3038a" 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-04-24 12:27.35 ---> using "c0ac121200abe8c309d0bc1d3da0942e49e751849bc8ceb2ae021e1ac1f9bfaa" 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~alpha, 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 39 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=39 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2024-04-24 12:27.35 ---> using "4380cb4f7f87df8bcc89436284f228b7ac57c5cafc224e823bc5c1486bf41443" from cache /home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-101-generic The OCaml toplevel, version 4.14.2 2.2.0~beta3~dev 2024-04-24 12:27.35 ---> using "69bc85c698b7a2a37d79abba109ca86c5ef5f5bea70623275fbc08ec1026b4e0" from cache /home/opam: (env OPAMDOWNLOADJOBS 1) /home/opam: (env OPAMERRLOGLEN 0) /home/opam: (env OPAMSOLVERTIMEOUT 500) /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-04-24 12:27.35 ---> using "962f3ee90e176d59cad5a3ae077ebd99a83d60ab1c96874b23b4f540d7f3a5d4" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2024-04-24 12:27.37 ---> using "ef99af374ae47f7705fbc5a37960dccaed4f76b80ad300f37aba0aaf225c3e5a" from cache /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2024-04-24 12:28.06 ---> saved as "6fee9cf165f7a2665e35cc8b135d30d17d5a1251aeb8c374b3045fc44c472b65" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "yum" "makecache" - Fedora 40 - x86_64 48 kB/s | 21 kB 00:00 - Fedora 40 openh264 (From Cisco) - x86_64 25 kB/s | 989 B 00:00 - Fedora 40 - x86_64 - Updates 318 kB/s | 15 kB 00:00 - Fedora 40 - x86_64 - Updates 1.4 MB/s | 898 kB 00:00 - Metadata cache created. 2024-04-24 12:28.10 ---> saved as "62fc84679dc7f68ba48a7c6b25b34a755fc496b76b01f45330c76cd41787c622" /home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed) /home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed) /home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed) /home/opam: (run (shell "opam pin add -k version -yn zarith.1.12-1 1.12-1")) zarith is now pinned to version 1.12-1 2024-04-24 12:28.11 ---> saved as "fe63bc172b1a1eade72119b8b2a14c9ac3f7967ab15ef9af1f598315ad010b67" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall zarith.1.12-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-40\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'zarith.1.12-1' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) zarith.1.12-1 is not installed. Install it? [y/n] y The following actions will be performed: === install 4 packages - install conf-gmp 5 [required by zarith] - install conf-pkg-config 3 [required by conf-gmp] - install ocamlfind 1.9.6 [required by zarith] - install zarith 1.12-1 (pinned) 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" - Last metadata expiration check: 0:00:17 ago on Wed Apr 24 12:28:08 2024. - Dependencies resolved. - ================================================================================ - Package Architecture Version Repository Size - ================================================================================ - Installing: - gmp-devel x86_64 1:6.2.1-8.fc40 fedora 173 k - Installing dependencies: - gmp-c++ x86_64 1:6.2.1-8.fc40 fedora 18 k - - Transaction Summary - ================================================================================ - Install 2 Packages - - Total download size: 191 k - Installed size: 382 k - Downloading Packages: - (1/2): gmp-c++-6.2.1-8.fc40.x86_64.rpm 462 kB/s | 18 kB 00:00 - (2/2): gmp-devel-6.2.1-8.fc40.x86_64.rpm 1.2 MB/s | 173 kB 00:00 - -------------------------------------------------------------------------------- - Total 345 kB/s | 191 kB 00:00 - Running transaction check - Transaction check succeeded. - Running transaction test - Transaction test succeeded. - Running transaction - Preparing : 1/1 - Installing : gmp-c++-1:6.2.1-8.fc40.x86_64 1/2 - Installing : gmp-devel-1:6.2.1-8.fc40.x86_64 2/2 - Running scriptlet: gmp-devel-1:6.2.1-8.fc40.x86_64 2/2 - - Installed: - gmp-c++-1:6.2.1-8.fc40.x86_64 gmp-devel-1:6.2.1-8.fc40.x86_64 - - Complete! + /usr/bin/rpm "-q" "--whatprovides" "gmp-devel" - gmp-devel-6.2.1-8.fc40.x86_64 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocamlfind.1.9.6 (cached) -> installed conf-pkg-config.3 -> retrieved zarith.1.12-1 (cached) -> installed conf-gmp.5 -> installed ocamlfind.1.9.6 -> installed zarith.1.12-1 Done. # Run eval $(opam env) to update the current shell environment 2024-04-24 12:28.35 ---> saved as "06a8950480dfead77f123c1c5954639f5399a53b4142e9bfb33f3b456e4950be" Job succeeded 2024-04-24 12:28.46: Job succeeded