(for PR #25002)
2025-02-10 15:07.56: 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 debian-testing-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 36f4d2d5ceb882a79fd7d7f956b490201da67226 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-testing-ocaml-4.14@sha256:10e504242f2981ae536780ab374ba85389d5af3c22e6d06b3e3792506c928b0c USER 1000:1000 WORKDIR /home/opam RUN sudo ln -f /usr/bin/opam-dev /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 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 "\"debian-testing\""; 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 . 2025-02-10 15:07.56: Using cache hint "ocaml/opam:debian-testing-ocaml-4.14@sha256:10e504242f2981ae536780ab374ba85389d5af3c22e6d06b3e3792506c928b0c-llvm.16.0.6+nnp+fix-homebrew-4d9fad21a5bc93fd3b1cd19733ce12ee7f259505" 2025-02-10 15:07.56: Using OBuilder spec: ((from ocaml/opam:debian-testing-ocaml-4.14@sha256:10e504242f2981ae536780ab374ba85389d5af3c22e6d06b3e3792506c928b0c) (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 "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 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 \"\\\"debian-testing\\\"\"; 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")) ) 2025-02-10 15:07.56: Waiting for resource in pool OCluster 2025-02-10 17:18.13: Waiting for worker… 2025-02-10 17:21.22: Got resource from pool OCluster Building on doris.caelum.ci.dev All commits already cached Updating files: 90% (20987/23304) Updating files: 91% (21207/23304) Updating files: 92% (21440/23304) Updating files: 93% (21673/23304) Updating files: 94% (21906/23304) Updating files: 95% (22139/23304) Updating files: 96% (22372/23304) Updating files: 97% (22605/23304) Updating files: 98% (22838/23304) Updating files: 99% (23071/23304) Updating files: 100% (23304/23304) Updating files: 100% (23304/23304), done. HEAD is now at 36f4d2d5ce Merge pull request #27169 from Frigory33/release-allegro5-0.1 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:debian-testing-ocaml-4.14@sha256:10e504242f2981ae536780ab374ba85389d5af3c22e6d06b3e3792506c928b0c) Unable to find image 'ocaml/opam:debian-testing-ocaml-4.14@sha256:10e504242f2981ae536780ab374ba85389d5af3c22e6d06b3e3792506c928b0c' locally docker.io/ocaml/opam@sha256:10e504242f2981ae536780ab374ba85389d5af3c22e6d06b3e3792506c928b0c: Pulling from ocaml/opam 997beacae7a8: Pulling fs layer 997beacae7a8: Waiting 997beacae7a8: Verifying Checksum 997beacae7a8: Download complete 997beacae7a8: Pull complete Digest: sha256:10e504242f2981ae536780ab374ba85389d5af3c22e6d06b3e3792506c928b0c Status: Downloaded newer image for ocaml/opam@sha256:10e504242f2981ae536780ab374ba85389d5af3c22e6d06b3e3792506c928b0c 2025-02-10 17:21.25 ---> using "d2ade6df380c963245c0513dea1e04aef1ca0f1cb22c1ef6d1268e715ab95f55" from cache /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2025-02-10 17:21.25 ---> using "ebbad518985c3299456d74fb6ae38c690c4188ed0669395a507fdafb6afedf3e" 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, which can't be reverted. You may want to back it up before going further. Continue? [Y/n] y Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [opam-repository-archive] no changes from git+https://github.com/ocaml/opam-repository-archive [default] synchronised from file:///home/opam/opam-repository 2025-02-10 17:21.25 ---> using "6dadf66e586fd04d7aa3fd961d8c51305862e07d8c707b25ee0a27d0414f98ae" from cache /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.4.0~alpha1~dev (747e73667ad9d054b0f736be205c0013e1bec087) # self-upgrade no # system arch=x86_64 os=linux os-distribution=debian os-version=unknown # solver builtin-0install # install-criteria -changed,-count[avoid-version,solution] # upgrade-criteria -count[avoid-version,solution] # jobs 255 # repositories 1 (local), 1 (version-controlled) # 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-02-10 17:21.25 ---> using "113c60b03bda4c674c4d25191429a3998e37e5eacbc4ad564cf8f263f90da52b" from cache /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-02-10 17:21.25 ---> using "8ef5e0cc289a78c9aaa049f920a876a4c934806637c0065219b552510a3fc004" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2025-02-10 17:21.37 ---> saved as "8d7c7ec0a6e1bfeb2c30e7a43951907cba778277f16c8ca44f7dd3610e14ac1a" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-02-10 17:22.23 ---> saved as "29ef9b5640af23dba47ae4a48f9779e1d8aed1f64fb587744c8c58b95af428aa" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian testing InRelease [175 kB] - Get:2 http://deb.debian.org/debian testing-updates InRelease [49.6 kB] - Get:3 http://deb.debian.org/debian-security testing-security InRelease [48.0 kB] - Get:4 http://deb.debian.org/debian testing/main amd64 Packages.diff/Index [27.9 kB] - Get:5 http://deb.debian.org/debian testing/main amd64 Packages 2025-02-09-1438.19.pdiff [2418 B] - Get:6 http://deb.debian.org/debian testing/main amd64 Packages 2025-02-09-2016.33.pdiff [3510 B] - Get:7 http://deb.debian.org/debian testing/main amd64 Packages 2025-02-10-0213.27.pdiff [65.0 kB] - Get:8 http://deb.debian.org/debian testing/main amd64 Packages 2025-02-10-0811.26.pdiff [323 B] - Get:9 http://deb.debian.org/debian testing/main amd64 Packages 2025-02-10-1412.30.pdiff [13.2 kB] - Get:9 http://deb.debian.org/debian testing/main amd64 Packages 2025-02-10-1412.30.pdiff [13.2 kB] - Fetched 385 kB in 1s (554 kB/s) - Reading package lists... - 2025-02-10 17:22.25 ---> saved as "b9f2a38ce897fc455221f681a1e1b3148de89e4be55c9119a977d0a1b1cdf32c" /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 2025-02-10 17:22.26 ---> saved as "929157118b92c137af96f3e44942d25edc07c9f3b6d1c33ac704c8e0ba52ce46" /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 \"\\\"debian-testing\\\"\"; 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: - llvm = 16.0.6+nnp+fix-homebrew -> 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 "\"debian-testing\""; 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 2025-02-10 17:22.42: Job failed: Failed: Build failed 2025-02-10 17:22.42: Log analysis: 2025-02-10 17:22.42: >>> No solution found, exiting (score = 100) 2025-02-10 17:22.42: [SKIP] Package not available