(for PR #25002)
2025-02-10 15:07.54: 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-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/25002/head" && git reset --hard 4d9fad21 git fetch origin master git merge --no-edit 36f4d2d5ceb882a79fd7d7f956b490201da67226 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:17db586a23292bd62912c2f70285a4cf7a061056ea44cd540551aec5961043a9 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 "\"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 . 2025-02-10 15:07.54: Using cache hint "ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:17db586a23292bd62912c2f70285a4cf7a061056ea44cd540551aec5961043a9-llvm.16.0.6+nnp+fix-homebrew-4d9fad21a5bc93fd3b1cd19733ce12ee7f259505" 2025-02-10 15:07.54: Using OBuilder spec: ((from ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:17db586a23292bd62912c2f70285a4cf7a061056ea44cd540551aec5961043a9) (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 \"\\\"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")) ) 2025-02-10 15:07.54: Waiting for resource in pool OCluster 2025-02-10 17:17.36: Waiting for worker… 2025-02-10 17:20.19: Got resource from pool OCluster Building on clete.caelum.ci.dev All commits already cached Updating files: 93% (21817/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:ubuntu-20.04-ocaml-5.3@sha256:17db586a23292bd62912c2f70285a4cf7a061056ea44cd540551aec5961043a9) 2025-02-10 17:20.24 ---> using "869cf87c6973da95eaeb414c5317c5e562451a292a1ed76da23aa59f3a643beb" 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:20.24 ---> using "52d155231faf5196bddfc8a170c5f0b06be603912a2618a2fa7c12d0a6afdb88" 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 [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 ><><><><><><><><><><><><><><><><><><><><><><><><><><> [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:20.24 ---> using "d96b45ae55405302b71015ab3e6d3d0b539faec4f42bf90436b81724edfdef7c" 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=ubuntu os-version=20.04 # solver builtin-0install # install-criteria -changed,-count[avoid-version,solution] # upgrade-criteria -count[avoid-version,solution] # jobs 71 # repositories 1 (local), 1 (version-controlled) # 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-02-10 17:20.24 ---> using "7119cd6c6de9eaf53b7fbbacfc5413ae6500f85826be24924efac3dfab3f2700" 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:20.24 ---> using "9be0d3bda4b1c8777485b9252e262582e674e1d1cc639f1f256cc9501e92060f" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2025-02-10 17:20.33 ---> saved as "d08bc5821dcd39e5b98b32aeb621260ae38785aed45b19f0afbc4d7e69e447fc" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-02-10 17:21.17 ---> saved as "233f4f687e5afea890a1dbe2e32b569406cee2a49539edfa487b92dc10bab7aa" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB] - Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease - Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] - Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB] - Get:5 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1590 kB] - Fetched 1973 kB in 1s (1514 kB/s) - Reading package lists... - 2025-02-10 17:21.21 ---> saved as "fc8702c01fd44eb057bc851bfa450eb84a1b0492e7128c535c24c731cf52c784" /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:21.22 ---> saved as "7ab55cdb0a2d0f0e18f355b13f15c15e387374c52da1b6abf0459770537caaf8" /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: - 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 "\"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 2025-02-10 17:21.46: Job failed: Failed: Build failed 2025-02-10 17:21.46: Log analysis: 2025-02-10 17:21.46: >>> No solution found, exiting (score = 100) 2025-02-10 17:21.46: [SKIP] Package not available