(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-22.04-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/26912/head" && git reset --hard 8f78ac65 git fetch origin master git merge --no-edit ecbfc6754f6e95544eb1eab71c162099f77308bf cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:1f9ee9bd3302b5f546c3bcbd7ae9fd4b132c1da366153d870007612a1495e27d 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-22.04\""; 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-22.04-ocaml-4.14@sha256:1f9ee9bd3302b5f546c3bcbd7ae9fd4b132c1da366153d870007612a1495e27d-mlgmpidl.1.2.15-1-8f78ac65ee262835b31990fcdf159b4ccdca7c5f" 2025-04-03 13:30.26: Using OBuilder spec: ((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:1f9ee9bd3302b5f546c3bcbd7ae9fd4b132c1da366153d870007612a1495e27d) (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-22.04\\\"\"; 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.24: Waiting for worker… 2025-04-03 16:25.30: Got resource from pool OCluster Building on x86-bm-c3.sw.ocaml.org All commits already cached Updating files: 86% (19686/22793) Updating files: 87% (19830/22793) Updating files: 88% (20058/22793) Updating files: 89% (20286/22793) Updating files: 90% (20514/22793) Updating files: 91% (20742/22793) Updating files: 92% (20970/22793) Updating files: 93% (21198/22793) Updating files: 94% (21426/22793) Updating files: 95% (21654/22793) Updating files: 96% (21882/22793) Updating files: 97% (22110/22793) Updating files: 98% (22338/22793) Updating files: 99% (22566/22793) Updating files: 100% (22793/22793) Updating files: 100% (22793/22793), done. 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-22.04-ocaml-4.14@sha256:1f9ee9bd3302b5f546c3bcbd7ae9fd4b132c1da366153d870007612a1495e27d) 2025-04-03 16:26.03 ---> saved as "07d315db604f93cee078bdb35d98b11fa16c1203785655d84dc8d25ac8225ff0" /: (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.03 ---> saved as "adb129a08e460a1ae2b81f2c39f93ca9e09044f208d93c444312b8619521dc5f" /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 255 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=255 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2025-04-03 16:27.18 ---> saved as "e260be0b345f8ab4a4adf964b5e3af3bcd763761263073b1c26b4fbc97d0c969" /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=22.04 # 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 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-04-03 16:27.19 ---> saved as "5fe4e08b8b763f89a03b73d1e75607cd7f02ab174d243c3937a71e5ebbb46bc7" /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.27 ---> saved as "57725bc6e3aca55422484059ef85c2ade66aa560ab1f1183a7918fdf22e45446" /home/opam: (copy (src .) (dst opam-repository/)) 2025-04-03 16:27.34 ---> saved as "b15720ea29efa63ea8791e1bf5d59ec719e23f23e414c36eb37029635625bcd6" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-04-03 16:28.18 ---> saved as "7ca747dc2a1959eb9dabc8b184040abbdd72e985c3e8c2ef050beb6cdf9fe077" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] - Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease - Get:3 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1241 kB] - Get:4 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2773 kB] - Get:5 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB] - Get:6 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [3972 kB] - Get:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB] - Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1540 kB] - Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3087 kB] - Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [4140 kB] - Fetched 17.1 MB in 2s (11.0 MB/s) - Reading package lists... - 2025-04-03 16:28.22 ---> saved as "4ffa3c38d877b04b37a2241b2b51520baa0d2619447a8aadaa84644dcca06047" /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.22 ---> saved as "8320b3104eeff0347f02af8b296acca2438d3936542285c3fdecd1545a913b8c" /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-22.04\\\"\"; 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 libglib2.0-0: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 ... 15645 files and directories currently installed.) - Preparing to unpack .../0-libglib2.0-0_2.72.4-0ubuntu2.4_amd64.deb ... - Unpacking libglib2.0-0:amd64 (2.72.4-0ubuntu2.4) ... - Selecting previously unselected package libglib2.0-data. - Preparing to unpack .../1-libglib2.0-data_2.72.4-0ubuntu2.4_all.deb ... - Unpacking libglib2.0-data (2.72.4-0ubuntu2.4) ... - Selecting previously unselected package libicu70:amd64. - Preparing to unpack .../2-libicu70_70.1-2_amd64.deb ... - Unpacking libicu70:amd64 (70.1-2) ... - Selecting previously unselected package libxml2:amd64. - Preparing to unpack .../3-libxml2_2.9.13+dfsg-1ubuntu0.6_amd64.deb ... - Unpacking libxml2:amd64 (2.9.13+dfsg-1ubuntu0.6) ... - Selecting previously unselected package shared-mime-info. - Preparing to unpack .../4-shared-mime-info_2.1-2_amd64.deb ... - Unpacking shared-mime-info (2.1-2) ... - Selecting previously unselected package xdg-user-dirs. - Preparing to unpack .../5-xdg-user-dirs_0.17-2ubuntu4_amd64.deb ... - Unpacking xdg-user-dirs (0.17-2ubuntu4) ... - Selecting previously unselected package libgmpxx4ldbl:amd64. - Preparing to unpack .../6-libgmpxx4ldbl_2%3a6.2.1+dfsg-3ubuntu1_amd64.deb ... - Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-3ubuntu1) ... - Selecting previously unselected package libgmp-dev:amd64. - Preparing to unpack .../7-libgmp-dev_2%3a6.2.1+dfsg-3ubuntu1_amd64.deb ... - Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg-3ubuntu1) ... - Selecting previously unselected package libmpfr-dev:amd64. - Preparing to unpack .../8-libmpfr-dev_4.1.0-3build3_amd64.deb ... - Unpacking libmpfr-dev:amd64 (4.1.0-3build3) ... - Selecting previously unselected package pkg-config. - Preparing to unpack .../9-pkg-config_0.29.2-1ubuntu3_amd64.deb ... - Unpacking pkg-config (0.29.2-1ubuntu3) ... - Setting up xdg-user-dirs (0.17-2ubuntu4) ... - Setting up libglib2.0-0:amd64 (2.72.4-0ubuntu2.4) ... - No schema files found: doing nothing. - Setting up libglib2.0-data (2.72.4-0ubuntu2.4) ... - Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-3ubuntu1) ... - Setting up pkg-config (0.29.2-1ubuntu3) ... - Setting up libicu70:amd64 (70.1-2) ... - Setting up libgmp-dev:amd64 (2:6.2.1+dfsg-3ubuntu1) ... - Setting up libmpfr-dev:amd64 (4.1.0-3build3) ... - Setting up libxml2:amd64 (2.9.13+dfsg-1ubuntu0.6) ... - Setting up shared-mime-info (2.1-2) ... - Processing triggers for libc-bin (2.35-0ubuntu3.9) ... <><> 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-pkg-config.4 -> installed conf-gmp.4 -> installed conf-perl.2 -> 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.00 ---> saved as "9a0550c225e60a5f32ab5fcd2c9a851084e634af6f328aa0d87fb2556a434fd3" Job succeeded 2025-04-03 16:29.08: Job succeeded