(for PR #25002)
2025-11-10 16:56.52: 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 archlinux-ocaml-5.4/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 b6a264c784afa1e19f7a926fc10d49010ad12be4
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-5.4@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5
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 "\"archlinux\""; 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-11-10 16:56.52: Using cache hint "ocaml/opam:archlinux-ocaml-5.4@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5-llvm.16.0.6+nnp+fix-homebrew-4d9fad21a5bc93fd3b1cd19733ce12ee7f259505"
2025-11-10 16:56.52: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.4@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5)
(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 \"\\\"archlinux\\\"\"; 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-11-10 16:56.52: Waiting for resource in pool OCluster
2025-11-10 21:53.39: Waiting for worker…
2025-11-10 21:57.20: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files: 67% (12685/18706)
Updating files: 68% (12721/18706)
Updating files: 69% (12908/18706)
Updating files: 70% (13095/18706)
Updating files: 71% (13282/18706)
Updating files: 72% (13469/18706)
Updating files: 73% (13656/18706)
Updating files: 74% (13843/18706)
Updating files: 75% (14030/18706)
Updating files: 76% (14217/18706)
Updating files: 77% (14404/18706)
Updating files: 78% (14591/18706)
Updating files: 79% (14778/18706)
Updating files: 80% (14965/18706)
Updating files: 81% (15152/18706)
Updating files: 82% (15339/18706)
Updating files: 83% (15526/18706)
Updating files: 84% (15714/18706)
Updating files: 85% (15901/18706)
Updating files: 86% (16088/18706)
Updating files: 87% (16275/18706)
Updating files: 88% (16462/18706)
Updating files: 89% (16649/18706)
Updating files: 90% (16836/18706)
Updating files: 91% (17023/18706)
Updating files: 92% (17210/18706)
Updating files: 93% (17397/18706)
Updating files: 94% (17584/18706)
Updating files: 95% (17771/18706)
Updating files: 96% (17958/18706)
Updating files: 97% (18145/18706)
Updating files: 98% (18332/18706)
Updating files: 99% (18519/18706)
Updating files: 100% (18706/18706)
Updating files: 100% (18706/18706), done.
HEAD is now at b6a264c784 Merge pull request #28853 from AltGr/catala100
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:archlinux-ocaml-5.4@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5)
Unable to find image 'ocaml/opam:archlinux-ocaml-5.4@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5' locally
docker.io/ocaml/opam@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5: Pulling from ocaml/opam
a59b1e251b85: Pulling fs layer
849b0775ea0f: Pulling fs layer
9d20c098ec76: Pulling fs layer
06eb9f7865f2: Pulling fs layer
c240908bead2: Pulling fs layer
1ecf1bb05538: Pulling fs layer
ed893cc754b7: Pulling fs layer
edacf2579914: Pulling fs layer
05c577939763: Pulling fs layer
ef8936ed2115: Pulling fs layer
03d88b820e0f: Pulling fs layer
7ad98e89cb6f: Pulling fs layer
d5de02ff18c6: Pulling fs layer
a039df7c27db: Pulling fs layer
c240908bead2: Waiting
4f4fb700ef54: Pulling fs layer
1ecf1bb05538: Waiting
ef8936ed2115: Waiting
6a3e38ba2bef: Pulling fs layer
edacf2579914: Waiting
ed893cc754b7: Waiting
03d88b820e0f: Waiting
05c577939763: Waiting
fbffc84d36db: Pulling fs layer
06eb9f7865f2: Waiting
576b77c89595: Pulling fs layer
7ad98e89cb6f: Waiting
6a3e38ba2bef: Waiting
a039df7c27db: Waiting
3481805c55c1: Pulling fs layer
42630e11cdf2: Pulling fs layer
3481805c55c1: Waiting
b5fc415bc313: Pulling fs layer
42630e11cdf2: Waiting
737547a67ea4: Pulling fs layer
9cc4ccf31d95: Pulling fs layer
b438a2bfeb52: Pulling fs layer
b5fc415bc313: Waiting
9cc4ccf31d95: Waiting
acb0748395fb: Pulling fs layer
b438a2bfeb52: Waiting
0ab398869fe3: Pulling fs layer
6c1375743e2c: Pulling fs layer
c88d9a06b9a9: Pulling fs layer
6c1375743e2c: Waiting
83e3b1e13251: Pulling fs layer
99dce37e928a: Pulling fs layer
c88d9a06b9a9: Waiting
152d026b0425: Pulling fs layer
83e3b1e13251: Waiting
01cfea535c66: Pulling fs layer
99dce37e928a: Waiting
152d026b0425: Waiting
01cfea535c66: Waiting
134d5afae458: Pulling fs layer
7586886147fa: Pulling fs layer
134d5afae458: Waiting
993e4a7f2b9f: Pulling fs layer
903a29eb42a8: Pulling fs layer
993e4a7f2b9f: Waiting
7586886147fa: Waiting
a5286c1e9d59: Pulling fs layer
2876c66b29b6: Pulling fs layer
a5286c1e9d59: Waiting
2876c66b29b6: Waiting
903a29eb42a8: Waiting
849b0775ea0f: Verifying Checksum
849b0775ea0f: Download complete
06eb9f7865f2: Verifying Checksum
06eb9f7865f2: Download complete
c240908bead2: Verifying Checksum
c240908bead2: Download complete
1ecf1bb05538: Verifying Checksum
1ecf1bb05538: Download complete
ed893cc754b7: Verifying Checksum
ed893cc754b7: Download complete
edacf2579914: Verifying Checksum
edacf2579914: Download complete
05c577939763: Verifying Checksum
05c577939763: Download complete
ef8936ed2115: Verifying Checksum
ef8936ed2115: Download complete
03d88b820e0f: Verifying Checksum
03d88b820e0f: Download complete
7ad98e89cb6f: Verifying Checksum
7ad98e89cb6f: Download complete
a59b1e251b85: Verifying Checksum
a59b1e251b85: Download complete
d5de02ff18c6: Verifying Checksum
d5de02ff18c6: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
a039df7c27db: Download complete
6a3e38ba2bef: Verifying Checksum
6a3e38ba2bef: Download complete
576b77c89595: Download complete
fbffc84d36db: Verifying Checksum
fbffc84d36db: Download complete
3481805c55c1: Verifying Checksum
3481805c55c1: Download complete
42630e11cdf2: Download complete
b5fc415bc313: Verifying Checksum
b5fc415bc313: Download complete
737547a67ea4: Verifying Checksum
737547a67ea4: Download complete
9cc4ccf31d95: Verifying Checksum
9cc4ccf31d95: Download complete
b438a2bfeb52: Verifying Checksum
b438a2bfeb52: Download complete
acb0748395fb: Verifying Checksum
0ab398869fe3: Download complete
6c1375743e2c: Verifying Checksum
6c1375743e2c: Download complete
83e3b1e13251: Verifying Checksum
83e3b1e13251: Download complete
9d20c098ec76: Verifying Checksum
9d20c098ec76: Download complete
152d026b0425: Download complete
01cfea535c66: Download complete
134d5afae458: Verifying Checksum
134d5afae458: Download complete
7586886147fa: Download complete
99dce37e928a: Verifying Checksum
99dce37e928a: Download complete
903a29eb42a8: Verifying Checksum
903a29eb42a8: Download complete
a59b1e251b85: Pull complete
849b0775ea0f: Pull complete
a5286c1e9d59: Verifying Checksum
a5286c1e9d59: Download complete
2876c66b29b6: Verifying Checksum
2876c66b29b6: Download complete
9d20c098ec76: Pull complete
06eb9f7865f2: Pull complete
c240908bead2: Pull complete
1ecf1bb05538: Pull complete
ed893cc754b7: Pull complete
edacf2579914: Pull complete
05c577939763: Pull complete
ef8936ed2115: Pull complete
03d88b820e0f: Pull complete
c88d9a06b9a9: Verifying Checksum
c88d9a06b9a9: Download complete
7ad98e89cb6f: Pull complete
d5de02ff18c6: Pull complete
a039df7c27db: Pull complete
4f4fb700ef54: Pull complete
6a3e38ba2bef: Pull complete
fbffc84d36db: Pull complete
576b77c89595: Pull complete
3481805c55c1: Pull complete
42630e11cdf2: Pull complete
b5fc415bc313: Pull complete
737547a67ea4: Pull complete
9cc4ccf31d95: Pull complete
b438a2bfeb52: Pull complete
acb0748395fb: Pull complete
0ab398869fe3: Pull complete
6c1375743e2c: Pull complete
993e4a7f2b9f: Verifying Checksum
993e4a7f2b9f: Download complete
c88d9a06b9a9: Pull complete
83e3b1e13251: Pull complete
99dce37e928a: Pull complete
152d026b0425: Pull complete
01cfea535c66: Pull complete
134d5afae458: Pull complete
7586886147fa: Pull complete
993e4a7f2b9f: Pull complete
903a29eb42a8: Pull complete
a5286c1e9d59: Pull complete
2876c66b29b6: Pull complete
Digest: sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5
Status: Downloaded newer image for ocaml/opam@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5
2025-11-10 21:57.46 ---> using "c5ec08e9b846f91b986ff2383fc30f6338b1567641a5ad9a2c1c32527aa4f09c" 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-11-10 21:57.46 ---> using "8a9067b27012d2ba6b4516e93d0c793ee0e0592a932401de368b7e2f165df9dd" 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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-11-10 21:57.46 ---> using "10b8b707aef33fdbd36331cf185a6fa41045dcc827c8af884a875491d600a5a5" 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.5.0~alpha1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=arch os-version=20251019.0.436919
# 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 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2025-11-10 21:57.46 ---> using "4ac6b250fe85f17d5f68eada31b34e0dc15e2e80550508216edaadde034fc5db" 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-11-10 21:57.46 ---> using "8862006d5282ef4e8d32a6939b65b6e6b807dbcea8fb01bc93817277c0ba4bb6" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-10 21:58.25 ---> saved as "32b994dcfb3056cb44fd0429a2622cb13de27884b807a85e5fb5f4ca87c44220"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-10 21:58.54 ---> saved as "063b2146b90d9f1e4920b1a5b4d773b17a45e921430dc9c747ab7e127b02d3f2"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
- core downloading...
- extra downloading...
2025-11-10 21:58.55 ---> saved as "85d5b091dfaa081c93875af80e0e289a6a72adf53906940c963d1736968cb1b9"
/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-11-10 21:58.57 ---> saved as "68a24f83debc3e70aea8c46c0da5bca68a04b7e2f5fe3a65402ba09f80287473"
/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 \"\\\"archlinux\\\"\"; 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 'llvm16'. 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 "\"archlinux\""; 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-11-10 22:00.14: Job failed: Failed: Build failed
2025-11-10 22:00.14: Log analysis:
2025-11-10 22:00.14: >>>
No solution found, exiting
(score = 100)
2025-11-10 22:00.14: [SKIP] Package not available