(for PR #25002)
2025-09-17 10:25.35: 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 alpine-3.22-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 7949ff40d8af6dff67bf2361db44574e21c6d076 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:alpine-3.22-ocaml-4.14@sha256:e1cb67ff0571dfb179fc3cd9b7f5639658f87d2d7fc9f8a0ba7da3644a9fec12 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 "\"alpine-3.22\""; 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-09-17 10:25.35: Using cache hint "ocaml/opam:alpine-3.22-ocaml-4.14@sha256:e1cb67ff0571dfb179fc3cd9b7f5639658f87d2d7fc9f8a0ba7da3644a9fec12-llvm.16.0.6+nnp+fix-homebrew-4d9fad21a5bc93fd3b1cd19733ce12ee7f259505" 2025-09-17 10:25.35: Using OBuilder spec: ((from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:e1cb67ff0571dfb179fc3cd9b7f5639658f87d2d7fc9f8a0ba7da3644a9fec12) (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 \"\\\"alpine-3.22\\\"\"; 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-09-17 10:25.35: Waiting for resource in pool OCluster 2025-09-17 11:24.51: Waiting for worker… 2025-09-17 11:27.46: Got resource from pool OCluster Building on clete.caelum.ci.dev All commits already cached HEAD is now at 7949ff40d8 Merge pull request #28501 from vscoqbot/opam-publish-vsrocq-language-server.2.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:alpine-3.22-ocaml-4.14@sha256:e1cb67ff0571dfb179fc3cd9b7f5639658f87d2d7fc9f8a0ba7da3644a9fec12) Unable to find image 'ocaml/opam:alpine-3.22-ocaml-4.14@sha256:e1cb67ff0571dfb179fc3cd9b7f5639658f87d2d7fc9f8a0ba7da3644a9fec12' locally docker.io/ocaml/opam@sha256:e1cb67ff0571dfb179fc3cd9b7f5639658f87d2d7fc9f8a0ba7da3644a9fec12: Pulling from ocaml/opam 8c592723c59a: Already exists a783cd037be3: Pulling fs layer 454bb22af03c: Pulling fs layer b46fcd8729b0: Pulling fs layer d538880e5354: Pulling fs layer d538880e5354: Waiting 454bb22af03c: Verifying Checksum 454bb22af03c: Download complete b46fcd8729b0: Verifying Checksum b46fcd8729b0: Download complete d538880e5354: Download complete a783cd037be3: Verifying Checksum a783cd037be3: Download complete a783cd037be3: Pull complete 454bb22af03c: Pull complete b46fcd8729b0: Pull complete d538880e5354: Pull complete Digest: sha256:e1cb67ff0571dfb179fc3cd9b7f5639658f87d2d7fc9f8a0ba7da3644a9fec12 Status: Downloaded newer image for ocaml/opam@sha256:e1cb67ff0571dfb179fc3cd9b7f5639658f87d2d7fc9f8a0ba7da3644a9fec12 2025-09-17 11:28.16 ---> using "b004d39c9addeb865f11c6029618ea8df221f8b3190584e8b865e82aabd3dd51" 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-09-17 11:28.16 ---> using "fd50e2c39e027c456985b4dcd13dab254afaada09aab245046f91d940b64a5b0" 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 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] Initialised 2025-09-17 11:28.16 ---> using "e704c2d7562dae2e76f441e9ab168adab1b8de2564715e8089f85836baa5f880" 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.1 # self-upgrade no # system arch=x86_64 os=linux os-distribution=alpine os-version=3.22.1 # solver builtin-0install # install-criteria -changed,-count[avoid-version,solution] # upgrade-criteria -count[avoid-version,solution] # jobs 71 # repositories 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-09-17 11:28.16 ---> using "3fe8cb128b560ff66ffda359065778ce002f2474816f56b512b1869dfdcad32c" 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-09-17 11:28.16 ---> using "bc77f03ca196f7eeb0248957591a52b3c8269d03ae03896f5d82b0c6a26193d4" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2025-09-17 11:28.25 ---> saved as "9dc8ebbf5de6eb556feab426ca37aefd410f1bbee45d5f622dd0e8cda2efc4d9" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-09-17 11:28.48 ---> saved as "8c4fc5f28b0b1b74eeb144153cdaa23e0942dccaa2882f81a61c348846d7c7fd" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "apk" "update" - fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz - v3.22.1-419-g1db804adcdb [https://dl-cdn.alpinelinux.org/alpine/v3.22/main] - v3.22.1-424-g381c9d8a32a [https://dl-cdn.alpinelinux.org/alpine/v3.22/community] - v3.23.0_alpha20250612-6487-g697acb3ddb6 [https://dl-cdn.alpinelinux.org/alpine/edge/main] - v3.23.0_alpha20250612-6494-g6d367c72fe1 [https://dl-cdn.alpinelinux.org/alpine/edge/community] - v3.23.0_alpha20250612-6489-g85f96a11f65 [https://dl-cdn.alpinelinux.org/alpine/edge/testing] - OK: 59143 distinct packages available 2025-09-17 11:28.52 ---> saved as "5c5d4834f07b8e4547989aa786653afb7ab0ba36dbd40c1303003c165dbe3e20" /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-09-17 11:28.53 ---> saved as "12f8c1a0bb566d5da09c8e25be1eb877fc9d843aac2389c7b28d0faa8e751d7e" /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 \"\\\"alpine-3.22\\\"\"; 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 The following actions will be performed: === install 11 packages - install bigarray-compat 1.1.0 [required by ctypes] - install conf-bash 1 [required by conf-llvm] - install conf-llvm 16 [required by llvm] - install conf-pkg-config 4 [required by llvm] - install csexp 1.5.2 [required by dune-configurator] - install ctypes 0.23.0 [required by llvm] - install dune 3.20.2 [required by llvm] - install dune-configurator 3.20.2 [required by ctypes] - install integers 0.7.0 [required by ctypes] - install llvm 16.0.6+nnp+fix-homebrew (pinned) - install stdlib-shims 0.3.0 [required by integers] The following system packages will first need to be installed: llvm16-dev <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run apk to install them (may need root/sudo access) 2. Display the recommended apk 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 "apk" "add" "llvm16-dev" - (1/12) Installing libxml2 (2.13.8-r0) - (2/12) Installing llvm16-libs (16.0.6-r12) - (3/12) Installing llvm16-linker-tools (16.0.6-r12) - (4/12) Installing llvm16 (16.0.6-r12) - (5/12) Installing linux-headers (6.14.2-r0) - (6/12) Installing libffi-dev (3.4.8-r0) - (7/12) Installing zlib-dev (1.3.1-r2) - (8/12) Installing zstd (1.5.7-r0) - (9/12) Installing zstd-dev (1.5.7-r0) - (10/12) Installing llvm16-test-utils (16.0.6-r12) - (11/12) Installing llvm16-test-utils-pyc (16.0.6-r12) - (12/12) Installing llvm16-dev (16.0.6-r12) - Executing busybox-1.37.0-r19.trigger - OK: 611 MiB in 114 packages <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved bigarray-compat.1.1.0 (cached) -> retrieved conf-llvm.16 (cached) -> retrieved csexp.1.5.2 (cached) -> retrieved ctypes.0.23.0 (cached) -> installed conf-bash.1 -> installed conf-pkg-config.4 -> installed conf-llvm.16 -> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached) -> retrieved integers.0.7.0 (cached) -> retrieved llvm.16.0.6+nnp+fix-homebrew (https://github.com/alan-j-hu/llvm-dune/releases/download/v16.0.6%2Bnnp%2Bfix-homebrew/llvm-dune-full-minified-16.0.6-fix-homebrew.tar.gz) -> retrieved stdlib-shims.0.3.0 (cached) -> installed dune.3.20.2 -> installed csexp.1.5.2 -> installed bigarray-compat.1.1.0 -> installed stdlib-shims.0.3.0 -> installed integers.0.7.0 -> installed dune-configurator.3.20.2 -> installed ctypes.0.23.0 -> installed llvm.16.0.6+nnp+fix-homebrew Done. # To update the current shell environment, run: eval $(opam env) 2025-09-17 11:30.09 ---> saved as "291322ba803cff5ca9fced1cf9287a1937d9b379f32c3e3ab06e5fe4273b9ce2" Job succeeded 2025-09-17 11:30.16: Job succeeded