(for PR #29110)
2025-12-30 15:25.40: New job: build conf-llvm-static.21, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (a16fbbbc4ad239dba151649395b1e98d3d337d30)
on debian-13-ocaml-5.4/i386
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29110/head" && git reset --hard a16fbbbc
git fetch origin master
git merge --no-edit f2d102f951a5dc2af6db218c6aef53c80186295a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:0a28f8602b9e30ae63eb758968a0deef61abeb3418c0390364d053aa04bcd730
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 conf-llvm-static.21 21
RUN opam reinstall conf-llvm-static.21; \
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-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'conf-llvm-static.21' && 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-12-30 15:25.40: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:0a28f8602b9e30ae63eb758968a0deef61abeb3418c0390364d053aa04bcd730-conf-llvm-static.21-a16fbbbc4ad239dba151649395b1e98d3d337d30"
2025-12-30 15:25.40: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:0a28f8602b9e30ae63eb758968a0deef61abeb3418c0390364d053aa04bcd730)
(shell /usr/bin/linux32 /bin/sh -c)
(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 conf-llvm-static.21 21"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-llvm-static.21;\
\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-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'conf-llvm-static.21' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-12-30 15:25.40: Waiting for resource in pool OCluster
2025-12-30 15:32.30: Waiting for worker…
2025-12-30 15:35.17: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at f2d102f951 Merge pull request #29150 from raphael-proust/llvm-20-21-only-cosmetics
Merge made by the 'ort' strategy.
packages/conf-llvm-shared/conf-llvm-shared.20/opam | 34 +++++++++++
packages/conf-llvm-shared/conf-llvm-shared.21/opam | 34 +++++++++++
packages/conf-llvm-static/conf-llvm-static.20/opam | 34 +++++++++++
packages/conf-llvm-static/conf-llvm-static.21/opam | 34 +++++++++++
packages/llvm/llvm.20-shared/opam | 67 ++++++++++++++++++++++
packages/llvm/llvm.20-static/opam | 67 ++++++++++++++++++++++
packages/llvm/llvm.21-shared/opam | 67 ++++++++++++++++++++++
packages/llvm/llvm.21-static/opam | 67 ++++++++++++++++++++++
8 files changed, 404 insertions(+)
create mode 100644 packages/conf-llvm-shared/conf-llvm-shared.20/opam
create mode 100644 packages/conf-llvm-shared/conf-llvm-shared.21/opam
create mode 100644 packages/conf-llvm-static/conf-llvm-static.20/opam
create mode 100644 packages/conf-llvm-static/conf-llvm-static.21/opam
create mode 100644 packages/llvm/llvm.20-shared/opam
create mode 100644 packages/llvm/llvm.20-static/opam
create mode 100644 packages/llvm/llvm.21-shared/opam
create mode 100644 packages/llvm/llvm.21-static/opam
(from ocaml/opam:debian-13-ocaml-5.4@sha256:0a28f8602b9e30ae63eb758968a0deef61abeb3418c0390364d053aa04bcd730)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:0a28f8602b9e30ae63eb758968a0deef61abeb3418c0390364d053aa04bcd730' locally
docker.io/ocaml/opam@sha256:0a28f8602b9e30ae63eb758968a0deef61abeb3418c0390364d053aa04bcd730: Pulling from ocaml/opam
a63ab7a4f8b1: Already exists
2eb058fb3aa4: Already exists
824f5d4bec83: Already exists
d07360004d03: Already exists
d8d86a3fa912: Already exists
fd71269101a4: Already exists
20e59686d3a9: Already exists
ba6da0ca3d0e: Already exists
37d14ef052e7: Already exists
b38a7f7242d9: Already exists
d83256c342b7: Already exists
08d2f151bc78: Already exists
a65d04a48d18: Already exists
50c7c8be194d: Already exists
bd89291a99c0: Already exists
3e812baa2c89: Already exists
be9bd1ff3c41: Already exists
20540e9be97f: Already exists
00036f610596: Already exists
9c5204176cde: Already exists
5247040e2943: Already exists
2a464504c39c: Already exists
4f4fb700ef54: Already exists
fa2082950312: Already exists
8ea48a031c43: Already exists
954668ede187: Already exists
86b2a8f11470: Already exists
e7289d7f79c7: Already exists
2b7826a57d9b: Already exists
a468dd97da59: Already exists
5bad5895fce7: Already exists
400d18a75a95: Already exists
636f97e33105: Already exists
6da3a2fa0b2e: Already exists
2070b2d4ab37: Already exists
56486952d5d8: Already exists
9e8c259137d7: Already exists
02a4930c531f: Already exists
84ddfe2a44d0: Already exists
9ee0738e1ed7: Already exists
f50598c7a2a8: Already exists
1f6307a97ad2: Pulling fs layer
e3ca1dca4440: Pulling fs layer
df4d868c5836: Pulling fs layer
f97696e65b6f: Pulling fs layer
21df3ad1cc66: Pulling fs layer
a638225422b8: Pulling fs layer
2a8cb151ec05: Pulling fs layer
a638225422b8: Waiting
2a8cb151ec05: Waiting
f97696e65b6f: Waiting
21df3ad1cc66: Waiting
e3ca1dca4440: Verifying Checksum
e3ca1dca4440: Download complete
1f6307a97ad2: Verifying Checksum
1f6307a97ad2: Download complete
1f6307a97ad2: Pull complete
e3ca1dca4440: Pull complete
21df3ad1cc66: Verifying Checksum
21df3ad1cc66: Download complete
df4d868c5836: Verifying Checksum
df4d868c5836: Download complete
df4d868c5836: Pull complete
a638225422b8: Verifying Checksum
a638225422b8: Download complete
2a8cb151ec05: Verifying Checksum
2a8cb151ec05: Download complete
f97696e65b6f: Verifying Checksum
f97696e65b6f: Download complete
f97696e65b6f: Pull complete
21df3ad1cc66: Pull complete
a638225422b8: Pull complete
2a8cb151ec05: Pull complete
Digest: sha256:0a28f8602b9e30ae63eb758968a0deef61abeb3418c0390364d053aa04bcd730
Status: Downloaded newer image for ocaml/opam@sha256:0a28f8602b9e30ae63eb758968a0deef61abeb3418c0390364d053aa04bcd730
2025-12-30 15:36.04 ---> saved as "2b9e0d1b3d6bb3fe87b1927e5ba92f516531dde0f47c0a49969bbb5680e5bb41"
/: (shell /usr/bin/linux32 /bin/sh -c)
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-30 15:36.04 ---> saved as "9033ce3da8efa4f11ec48de5daa62c87ce1036993b48373db88ee9f63acf167b"
/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-12-30 15:36.44 ---> saved as "eb18c4890353e3ea2a18a1a0331259d9fe04668d0d22df270f577c8cb98b36af"
/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
# self-upgrade no
# system arch=x86_32 os=linux os-distribution=debian os-version=13
# 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-option-bytecode-only.1, ocaml-options-vanilla.1
# ocaml:native false
# ocaml:native-tools false
# ocaml:native-dynlink false
# 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+bytecode-only
2025-12-30 15:36.44 ---> saved as "28964eea94bc8561b877075a3a3e131e5af1543c4661d4b23de18555e6180424"
/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-12-30 15:36.50 ---> saved as "0aeb395eb5609f34bad2459fd91a832dad7594ba8850e1c3b4a7adf50a3236b0"
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-30 15:36.56 ---> saved as "d7a06162a1df85f65651ad6b9d96c87b318339449efa0ac4b23de05b376f0e56"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-30 15:37.26 ---> saved as "961777b7ef459c858c5149197e33224e59f271860d9490be6a4c19ad80a4ad82"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Fetched 90.7 kB in 0s (1084 kB/s)
- Reading package lists...
-
2025-12-30 15:37.28 ---> saved as "0fa6fcaaeffd6e193a478b963146503e8c757e83c0947e976b8647d9d6002252"
/home/opam: (run (shell "opam pin add -k version -yn conf-llvm-static.21 21"))
conf-llvm-static is now pinned to version 21
2025-12-30 15:37.28 ---> saved as "813f2650d55f08f28f473ff6d4d6e8ff71df5556453b058ee2194b61bc7468b4"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-llvm-static.21;\
\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-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'conf-llvm-static.21' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
[ERROR] Package conf-llvm-static.21 depends on the unavailable system package 'llvm-21-dev'. You can use `--no-depexts' to attempt installation anyway.
"/usr/bin/linux32" "/bin/sh" "-c" "opam reinstall conf-llvm-static.21;
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-13\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'conf-llvm-static.21' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 5
2025-12-30 15:37.36: Job failed: Failed: Build failed
2025-12-30 15:37.36: Log analysis:
2025-12-30 15:37.36: >>>
[ERROR] Package conf-llvm-static.21 depends on the unavailable system package 'llvm-21-dev'. You can use `--no-depexts' to attempt installation anyway.
(score = 100)
2025-12-30 15:37.36: [SKIP] Package not available