(for PR #19229)
2024-04-17 19:21.19: New job: build conf-llvm.9.0.0, using opam 2.0 from https://github.com/ocaml/opam-repository.git#refs/pull/19229/head (e200798bccb6e55ca7626dbc7b08164746413023) on debian-12-ocaml-5.1/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/19229/head" && git reset --hard e200798b git fetch origin master git merge --no-edit f089d8564db935c703bea70a4b3d8335ffa1bef3 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-5.1@sha256:669c64f0c8e5a1e3d8f00427a9aa7acde43599283cef09c3670c0d9ae5996c2a USER 1000:1000 WORKDIR /home/opam RUN sudo ln -f /usr/bin/opam-2.0 /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 depext -u || 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 conf-llvm.9.0.0 9.0.0 RUN opam depext conf-llvm.9.0.0 && opam reinstall conf-llvm.9.0.0; \ 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 "\"debian-12\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'conf-llvm.9.0.0' && 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-17 19:21.19: Using cache hint "ocaml/opam:debian-12-ocaml-5.1@sha256:669c64f0c8e5a1e3d8f00427a9aa7acde43599283cef09c3670c0d9ae5996c2a-conf-llvm.9.0.0-e200798bccb6e55ca7626dbc7b08164746413023" 2024-04-17 19:21.19: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-5.1@sha256:669c64f0c8e5a1e3d8f00427a9aa7acde43599283cef09c3670c0d9ae5996c2a) (user (uid 1000) (gid 1000)) (workdir /home/opam) (run (shell "sudo ln -f /usr/bin/opam-2.0 /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 depext -u || 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 conf-llvm.9.0.0 9.0.0")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam depext conf-llvm.9.0.0 && opam reinstall conf-llvm.9.0.0;\ \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 \"\\\"debian-12\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'conf-llvm.9.0.0' && 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-17 19:21.19: Waiting for resource in pool OCluster 2024-04-17 19:35.21: Waiting for worker… 2024-04-17 19:37.36: Got resource from pool OCluster Building on asteria.caelum.ci.dev All commits already cached Updating files: 89% (30011/33522) Updating files: 90% (30170/33522) Updating files: 91% (30506/33522) Updating files: 92% (30841/33522) Updating files: 93% (31176/33522) Updating files: 94% (31511/33522) Updating files: 95% (31846/33522) Updating files: 96% (32182/33522) Updating files: 97% (32517/33522) Updating files: 98% (32852/33522) Updating files: 99% (33187/33522) Updating files: 100% (33522/33522) Updating files: 100% (33522/33522), done. HEAD is now at f089d8564d Merge pull request #25672 from gborough/opam-publish-fred.0.1.0 Auto-merging packages/conf-llvm/conf-llvm.10.0.0/opam Auto-merging packages/conf-llvm/conf-llvm.11.0.0/opam Auto-merging packages/conf-llvm/conf-llvm.3.8/opam Auto-merging packages/conf-llvm/conf-llvm.3.9/opam Auto-merging packages/conf-llvm/conf-llvm.4.0.0/opam Auto-merging packages/conf-llvm/conf-llvm.5.0.0/opam Auto-merging packages/conf-llvm/conf-llvm.6.0.0/opam Auto-merging packages/conf-llvm/conf-llvm.7.0.0/opam Auto-merging packages/conf-llvm/conf-llvm.8.0.0/opam Auto-merging packages/conf-llvm/conf-llvm.9.0.0/opam Merge made by the 'ort' strategy. packages/conf-llvm/conf-llvm.10.0.0/files/configure.sh | 2 +- packages/conf-llvm/conf-llvm.10.0.0/opam | 2 +- packages/conf-llvm/conf-llvm.11.0.0/files/configure.sh | 2 +- packages/conf-llvm/conf-llvm.11.0.0/opam | 2 +- packages/conf-llvm/conf-llvm.3.4/files/configure | 2 +- packages/conf-llvm/conf-llvm.3.4/opam | 2 +- packages/conf-llvm/conf-llvm.3.8/files/configure.sh | 2 +- packages/conf-llvm/conf-llvm.3.8/opam | 2 +- packages/conf-llvm/conf-llvm.3.9/files/configure.sh | 2 +- packages/conf-llvm/conf-llvm.3.9/opam | 2 +- packages/conf-llvm/conf-llvm.4.0.0/files/configure.sh | 2 +- packages/conf-llvm/conf-llvm.4.0.0/opam | 2 +- packages/conf-llvm/conf-llvm.5.0.0/files/configure.sh | 2 +- packages/conf-llvm/conf-llvm.5.0.0/opam | 2 +- packages/conf-llvm/conf-llvm.6.0.0/files/configure.sh | 2 +- packages/conf-llvm/conf-llvm.6.0.0/opam | 2 +- packages/conf-llvm/conf-llvm.7.0.0/files/configure.sh | 2 +- packages/conf-llvm/conf-llvm.7.0.0/opam | 2 +- packages/conf-llvm/conf-llvm.8.0.0/files/configure.sh | 2 +- packages/conf-llvm/conf-llvm.8.0.0/opam | 2 +- packages/conf-llvm/conf-llvm.9.0.0/files/configure.sh | 2 +- packages/conf-llvm/conf-llvm.9.0.0/opam | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) (from ocaml/opam:debian-12-ocaml-5.1@sha256:669c64f0c8e5a1e3d8f00427a9aa7acde43599283cef09c3670c0d9ae5996c2a) 2024-04-17 19:38.59 ---> using "ed5fb8a9e5e2e27b45463d40b3dac1cb7c42cfe327eaaa696e4cb23566bf4b9c" from cache /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam")) 2024-04-17 19:38.59 ---> using "badb9f30f9ad2396cef3a0f1308fd29473dea3894b9c2bd61a6aa5f3c5e5efc8" from cache /home/opam: (run (network host) (shell "opam init --reinit --config .opamrc-sandbox -ni")) [NOTE] Will configure 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. [WARNING] Recommended dependencies -- most packages rely on these: - m4 <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository default (at file:///home/opam/opam-repository): [INFO] opam 2.1 includes many performance improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html) 2024-04-17 19:38.59 ---> using "4e31e6e3fbd381f196dbe15bf267c4343f86983d9ddf935bff41869ed3b6b91d" from cache /home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-101-generic The OCaml toplevel, version 5.1.1 2.0.10 2024-04-17 19:38.59 ---> using "7f1dff056f69e93a7d96f318dfbe21d6d5a34f0a826630d6c417c848f36a7760" 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-17 19:38.59 ---> using "a2f7b0d6fde9ba3d8625e76a3c94702f32ae051abc413dff3726f43dc1a37faf" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2024-04-17 19:39.33 ---> saved as "b05581f5635388735603b15d842a4f362bb5b0cfcf6ff28eb52c0a86a058ed8b" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised default (at file:///home/opam/opam-repository): [INFO] opam 2.1 includes many performance improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html) 2024-04-17 19:39.53 ---> saved as "51920ecea7ba662d76af2ebcffb135610591cf7a55f357ea4a0b7b3b2f8e7f5f" /home/opam: (run (network host) (shell "opam depext -u || true")) # Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian # No extra OS packages requirements found. # All required OS packages found. The following command needs to be run through "sudo": apt-get update Hit:1 http://deb.debian.org/debian bookworm InRelease Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [154 kB] Fetched 257 kB in 0s (827 kB/s) Reading package lists... # OS package update successful 2024-04-17 19:39.55 ---> saved as "72673e81e77fdab957de2619fe6661c22e708c865efbadcc381defb81c6e4ff6" /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 conf-llvm.9.0.0 9.0.0")) conf-llvm is now pinned to version 9.0.0 2024-04-17 19:39.56 ---> saved as "4f8ce2b9ec6462aea5149a5cfe0b935ecd5a351bd9e420d77a2475e7b225b3d3" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam depext conf-llvm.9.0.0 && opam reinstall conf-llvm.9.0.0;\ \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 \"\\\"debian-12\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'conf-llvm.9.0.0' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) # Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian # The following system packages are needed: llvm-9-dev The following command needs to be run through "sudo": apt-get install -qq -yy llvm-9-dev E: Unable to locate package llvm-9-dev OS package installation failed "/usr/bin/env" "bash" "-c" "opam depext conf-llvm.9.0.0 && opam reinstall conf-llvm.9.0.0; 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 "\"debian-12\""; then echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; fi; test "$pkg" != 'conf-llvm.9.0.0' && partial_fails="$partial_fails $pkg"; done; test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; exit 1" failed with exit status 1 2024-04-17 19:41.09: Job failed: Failed: Build failed