(for PR #25002)
2024-09-03 20:16.44: New job: build llvm.16.0.6+nnp+fix-homebrew, using opam dev from https://github.com/ocaml/opam-repository.git#refs/pull/25002/head (4d9fad21a5bc93fd3b1cd19733ce12ee7f259505) on ubuntu-20.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/25002/head" && git reset --hard 4d9fad21 git fetch origin master git merge --no-edit 5ced20d683d7ac5cb4ba6b9468b14458fb69a213 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:486f0c36bd2019879f074f8bf3b9f2fc0b9f5de1a1f6e9dc7a8858895d55e5c5 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 RUN opam pin add -k version -yn llvm.16.0.6+nnp+fix-homebrew 16.0.6+nnp+fix-homebrew RUN opam reinstall llvm.16.0.6+nnp+fix-homebrew; \ 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-20.04\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'llvm.16.0.6+nnp+fix-homebrew' && 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-09-03 20:16.44: Using cache hint "ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:486f0c36bd2019879f074f8bf3b9f2fc0b9f5de1a1f6e9dc7a8858895d55e5c5-llvm.16.0.6+nnp+fix-homebrew-4d9fad21a5bc93fd3b1cd19733ce12ee7f259505" 2024-09-03 20:16.44: Using OBuilder spec: ((from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:486f0c36bd2019879f074f8bf3b9f2fc0b9f5de1a1f6e9dc7a8858895d55e5c5) (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")) (run (shell "opam pin add -k version -yn llvm.16.0.6+nnp+fix-homebrew 16.0.6+nnp+fix-homebrew")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall llvm.16.0.6+nnp+fix-homebrew;\ \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-20.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\" != 'llvm.16.0.6+nnp+fix-homebrew' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) ) 2024-09-03 20:16.44: Waiting for resource in pool OCluster 2024-09-03 20:25.27: Waiting for worker… 2024-09-03 20:25.47: Got resource from pool OCluster Building on x86-bm-c3.sw.ocaml.org All commits already cached Updating files: 61% (19696/32061) Updating files: 62% (19878/32061) Updating files: 63% (20199/32061) Updating files: 64% (20520/32061) Updating files: 65% (20840/32061) Updating files: 66% (21161/32061) Updating files: 67% (21481/32061) Updating files: 68% (21802/32061) Updating files: 69% (22123/32061) Updating files: 70% (22443/32061) Updating files: 71% (22764/32061) Updating files: 72% (23084/32061) Updating files: 73% (23405/32061) Updating files: 74% (23726/32061) Updating files: 75% (24046/32061) Updating files: 76% (24367/32061) Updating files: 77% (24687/32061) Updating files: 78% (25008/32061) Updating files: 79% (25329/32061) Updating files: 80% (25649/32061) Updating files: 81% (25970/32061) Updating files: 82% (26291/32061) Updating files: 83% (26611/32061) Updating files: 84% (26932/32061) Updating files: 85% (27252/32061) Updating files: 86% (27573/32061) Updating files: 87% (27894/32061) Updating files: 88% (28214/32061) Updating files: 89% (28535/32061) Updating files: 90% (28855/32061) Updating files: 91% (29176/32061) Updating files: 92% (29497/32061) Updating files: 93% (29817/32061) Updating files: 94% (30138/32061) Updating files: 95% (30458/32061) Updating files: 96% (30779/32061) Updating files: 97% (31100/32061) Updating files: 98% (31420/32061) Updating files: 99% (31741/32061) Updating files: 100% (32061/32061) Updating files: 100% (32061/32061), done. HEAD is now at 5ced20d683 Merge pull request #26442 from jchavarri/release-melange-json-1.3.0 Merge made by the 'ort' strategy. packages/llvm/llvm.16.0.6+nnp+fix-homebrew/opam | 37 +++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 packages/llvm/llvm.16.0.6+nnp+fix-homebrew/opam (from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:486f0c36bd2019879f074f8bf3b9f2fc0b9f5de1a1f6e9dc7a8858895d55e5c5) Unable to find image 'ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:486f0c36bd2019879f074f8bf3b9f2fc0b9f5de1a1f6e9dc7a8858895d55e5c5' locally docker.io/ocaml/opam@sha256:486f0c36bd2019879f074f8bf3b9f2fc0b9f5de1a1f6e9dc7a8858895d55e5c5: Pulling from ocaml/opam aba7b73f38e0: Pulling fs layer aba7b73f38e0: Waiting aba7b73f38e0: Verifying Checksum aba7b73f38e0: Download complete aba7b73f38e0: Pull complete Digest: sha256:486f0c36bd2019879f074f8bf3b9f2fc0b9f5de1a1f6e9dc7a8858895d55e5c5 Status: Downloaded newer image for ocaml/opam@sha256:486f0c36bd2019879f074f8bf3b9f2fc0b9f5de1a1f6e9dc7a8858895d55e5c5 2024-09-03 20:25.59 ---> using "25496fbf6ce192ce5dd26299fc1accbd3acd3fd0aef161f60c28f64fc5bbc74d" 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-09-03 20:25.59 ---> saved as "0a23b55a0893419110c16041cc3f1a6efea94a2f311eebaa2037314c7a20248f" /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 2024-09-03 20:27.14 ---> saved as "51fcc2ded568ed63990d3579c3be13698d2b4ab4db5bd8b661e0c5ec64a33737" /home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-119-generic The OCaml toplevel, version 4.14.2 2.3.0~alpha~dev 2024-09-03 20:27.15 ---> saved as "dbf269f632eb5f8920defb25638e1351ada79ce46fad9041c33d052b5c03ce7a" /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-09-03 20:27.25 ---> saved as "ae6c1ff587310c650bbf75596141537d4d2c087b9c19666df94ac78b409b42a7" /home/opam: (copy (src .) (dst opam-repository/)) 2024-09-03 20:27.37 ---> saved as "260f2f2f6e1fa40ff6f7b49d90a3025d2fb2ac42a20bcd11e43992a707d5dc10" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2024-09-03 20:28.29 ---> saved as "802ecc4550ecd68006e0a912baef9d122f269197344bbce77474b0f8d04dc3ba" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "apt-get" "update" - Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease - Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB] - Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] - Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease - Get:5 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3934 kB] - Get:6 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1269 kB] - Get:7 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1555 kB] - Get:8 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4079 kB] - Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4399 kB] - Get:10 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [33.5 kB] - Fetched 15.5 MB in 1s (12.3 MB/s) - Reading package lists... - 2024-09-03 20:28.32 ---> saved as "2b6f8de223049afa76588b397609efabe64f1d3d39619acf5693bc58fe62ac77" /home/opam: (run (shell "opam pin add -k version -yn llvm.16.0.6+nnp+fix-homebrew 16.0.6+nnp+fix-homebrew")) llvm is now pinned to version 16.0.6+nnp+fix-homebrew 2024-09-03 20:28.33 ---> saved as "9ccd1d64243705744f67707f5d411738eb369df7314e690c1492decb13e25e0e" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall llvm.16.0.6+nnp+fix-homebrew;\ \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-20.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\" != 'llvm.16.0.6+nnp+fix-homebrew' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) llvm.16.0.6+nnp+fix-homebrew is not installed. Install it? [y/n] y * Missing dependency: - conf-llvm = 16 depends on the unavailable system package 'llvm-16-dev'. Use `--no-depexts' to attempt installation anyway, or it is possible that a depext package name in the opam file is incorrect. No solution found, exiting "/usr/bin/env" "bash" "-c" "opam reinstall llvm.16.0.6+nnp+fix-homebrew; 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-20.04\""; then echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; fi; test "$pkg" != 'llvm.16.0.6+nnp+fix-homebrew' && partial_fails="$partial_fails $pkg"; done; test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; exit 1" failed with exit status 20 2024-09-03 20:28.53: Job failed: Failed: Build failed 2024-09-03 20:28.53: Log analysis: 2024-09-03 20:28.53: >>> No solution found, exiting (score = 100) 2024-09-03 20:28.53: [SKIP] Package not available