(for PR #26912)
2025-04-03 13:30.26: New job: build mlgmpidl.1.2.15-1, using opam 2.3 from https://github.com/ocaml/opam-repository.git#refs/pull/26912/head (8f78ac65ee262835b31990fcdf159b4ccdca7c5f) on ubuntu-24.10-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/26912/head" && git reset --hard 8f78ac65 git fetch origin master git merge --no-edit ecbfc6754f6e95544eb1eab71c162099f77308bf cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:983d46da1901cd9b5970c29f40effbb3f98f17bdea62b404938e1effad110aa8 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 mlgmpidl.1.2.15-1 1.2.15-1 RUN opam reinstall mlgmpidl.1.2.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 "\"ubuntu-24.10\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'mlgmpidl.1.2.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-04-03 13:30.26: Using cache hint "ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:983d46da1901cd9b5970c29f40effbb3f98f17bdea62b404938e1effad110aa8-mlgmpidl.1.2.15-1-8f78ac65ee262835b31990fcdf159b4ccdca7c5f" 2025-04-03 13:30.26: Using OBuilder spec: ((from ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:983d46da1901cd9b5970c29f40effbb3f98f17bdea62b404938e1effad110aa8) (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 mlgmpidl.1.2.15-1 1.2.15-1")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall mlgmpidl.1.2.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 \"\\\"ubuntu-24.10\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'mlgmpidl.1.2.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-04-03 13:30.26: Connecting to build cluster… 2025-04-03 13:30.26: Waiting for resource in pool OCluster 2025-04-03 16:22.45: Waiting for worker… 2025-04-03 16:25.52: Got resource from pool OCluster Building on x86-bm-c2.sw.ocaml.org All commits already cached HEAD is now at ecbfc6754f Merge pull request #27708 from ocaml/dependabot/github_actions/dot-github/workflows/tj-actions/changed-files-46 Merge made by the 'ort' strategy. packages/mlgmpidl/mlgmpidl.1.2.15-1/opam | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 packages/mlgmpidl/mlgmpidl.1.2.15-1/opam (from ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:983d46da1901cd9b5970c29f40effbb3f98f17bdea62b404938e1effad110aa8) 2025-04-03 16:26.32 ---> saved as "cb2515d71b764bd62dfa4cc8564ceca9d0cfad60b070c1f40853da6ef77bfe4b" /: (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-03 16:26.32 ---> saved as "fb22b19c9412ac9c812432e399fbf131c84c0e9b83387b26e2f16b7e85fded29" /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 31 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=31 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2025-04-03 16:27.44 ---> saved as "cb9460aa6256e84fa6dc93c450b6301244a8585aaf4688adb5532bb6bd073502" /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=ubuntu os-version=24.10 # solver builtin-0install # install-criteria -changed,-count[avoid-version,solution] # upgrade-criteria -count[avoid-version,solution] # jobs 39 # repositories 1 (local) # 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-03 16:27.45 ---> saved as "2c505288c913d2207fe9cebc4dac188f4a261452ab3f7aed1c52696a0680712f" /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-03 16:27.52 ---> saved as "2a728021eb42d864ee1ab3fac14a484c25d8f643bbc7d24fc56d44fb8d783421" /home/opam: (copy (src .) (dst opam-repository/)) 2025-04-03 16:28.00 ---> saved as "12b7f7d192c4de8ffb9f0a695031ec0b3bc86d46370c45868b889b1e4ba8164e" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-04-03 16:28.43 ---> saved as "bc3592f139737f44a40132c036a1ecd6919fa8edc21640a6ef5aa414d6470b1f" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "apt-get" "update" - Hit:1 http://archive.ubuntu.com/ubuntu oracular InRelease - Get:2 http://security.ubuntu.com/ubuntu oracular-security InRelease [126 kB] - Get:3 http://archive.ubuntu.com/ubuntu oracular-updates InRelease [126 kB] - Get:4 http://archive.ubuntu.com/ubuntu oracular-backports InRelease [126 kB] - Get:5 http://security.ubuntu.com/ubuntu oracular-security/main amd64 Packages [329 kB] - Get:6 http://archive.ubuntu.com/ubuntu oracular-updates/universe amd64 Packages [283 kB] - Get:7 http://archive.ubuntu.com/ubuntu oracular-updates/main amd64 Packages [450 kB] - Get:8 http://security.ubuntu.com/ubuntu oracular-security/universe amd64 Packages [211 kB] - Fetched 1652 kB in 1s (1776 kB/s) - Reading package lists... - 2025-04-03 16:28.45 ---> saved as "ff089425277833be9e3bae183c930e745e2cc8ee788109c522bdfd35e8d4cac8" /home/opam: (run (shell "opam pin add -k version -yn mlgmpidl.1.2.15-1 1.2.15-1")) mlgmpidl is now pinned to version 1.2.15-1 2025-04-03 16:28.45 ---> saved as "c5867e03139ce13c3c5833985182430b1f8ee084d597fb9881e511b1c7380afc" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall mlgmpidl.1.2.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 \"\\\"ubuntu-24.10\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'mlgmpidl.1.2.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")) mlgmpidl.1.2.15-1 is not installed. Install it? [y/n] y The following actions will be performed: === install 9 packages - install bigarray-compat 1.1.0 [required by mlgmpidl] - install camlidl 1.12 [required by mlgmpidl] - install conf-gmp 4 [required by mlgmpidl] - install conf-mpfr 3 [required by mlgmpidl] - install conf-perl 2 [required by mlgmpidl] - install conf-pkg-config 4 [required by conf-mpfr] - install dune 3.17.2 [required by bigarray-compat] - install mlgmpidl 1.2.15-1 (pinned) - install ocamlfind 1.9.8 [required by mlgmpidl] The following system packages will first need to be installed: libgmp-dev libmpfr-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" "libmpfr-dev" "pkg-config" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libgmpxx4ldbl: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 ... 16145 files and directories currently installed.) - Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.3.0+dfsg-2ubuntu7_amd64.deb ... - Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-2ubuntu7) ... - Selecting previously unselected package libgmp-dev:amd64. - Preparing to unpack .../1-libgmp-dev_2%3a6.3.0+dfsg-2ubuntu7_amd64.deb ... - Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-2ubuntu7) ... - Selecting previously unselected package libmpfr-dev:amd64. - Preparing to unpack .../2-libmpfr-dev_4.2.1-1build2_amd64.deb ... - Unpacking libmpfr-dev:amd64 (4.2.1-1build2) ... - Selecting previously unselected package libpkgconf3:amd64. - Preparing to unpack .../3-libpkgconf3_1.8.1-3ubuntu1_amd64.deb ... - Unpacking libpkgconf3:amd64 (1.8.1-3ubuntu1) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../4-pkgconf-bin_1.8.1-3ubuntu1_amd64.deb ... - Unpacking pkgconf-bin (1.8.1-3ubuntu1) ... - Selecting previously unselected package pkgconf:amd64. - Preparing to unpack .../5-pkgconf_1.8.1-3ubuntu1_amd64.deb ... - Unpacking pkgconf:amd64 (1.8.1-3ubuntu1) ... - Selecting previously unselected package pkg-config:amd64. - Preparing to unpack .../6-pkg-config_1.8.1-3ubuntu1_amd64.deb ... - Unpacking pkg-config:amd64 (1.8.1-3ubuntu1) ... - Setting up libpkgconf3:amd64 (1.8.1-3ubuntu1) ... - Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-2ubuntu7) ... - Setting up pkgconf-bin (1.8.1-3ubuntu1) ... - Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-2ubuntu7) ... - Setting up libmpfr-dev:amd64 (4.2.1-1build2) ... - Setting up pkgconf:amd64 (1.8.1-3ubuntu1) ... - Setting up pkg-config:amd64 (1.8.1-3ubuntu1) ... - Processing triggers for libc-bin (2.40-1ubuntu3.1) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved bigarray-compat.1.1.0 (cached) -> retrieved camlidl.1.12 (cached) -> retrieved conf-gmp.4 (cached) -> retrieved conf-mpfr.3 (cached) -> installed conf-perl.2 -> installed conf-pkg-config.4 -> installed conf-gmp.4 -> installed conf-mpfr.3 -> retrieved dune.3.17.2 (cached) -> installed camlidl.1.12 -> retrieved mlgmpidl.1.2.15-1 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> installed ocamlfind.1.9.8 -> installed dune.3.17.2 -> installed bigarray-compat.1.1.0 -> installed mlgmpidl.1.2.15-1 Done. # To update the current shell environment, run: eval $(opam env) 2025-04-03 16:29.27 ---> saved as "8f1431dc4205db88d50ebbdad2d4e946cf5331f6fc7cebdc27b503bb13101046" Job succeeded 2025-04-03 16:29.32: Job succeeded