(for PR #29110)
2025-12-30 15:25.27: New job: build llvm.20-shared, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (a16fbbbc4ad239dba151649395b1e98d3d337d30)
on debian-testing-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/29110/head" && git reset --hard a16fbbbc
git fetch origin master
git merge --no-edit f2d102f951a5dc2af6db218c6aef53c80186295a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-testing-ocaml-5.4@sha256:45d42a5f22aa2579200db604ee22f54b89cb58fbaacc0b3e855904c58b2e5be8
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.20-shared 20-shared
RUN opam reinstall llvm.20-shared; \
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.20-shared' && 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.27: Using cache hint "ocaml/opam:debian-testing-ocaml-5.4@sha256:45d42a5f22aa2579200db604ee22f54b89cb58fbaacc0b3e855904c58b2e5be8-llvm.20-shared-a16fbbbc4ad239dba151649395b1e98d3d337d30"
2025-12-30 15:25.27: Using OBuilder spec:
((from ocaml/opam:debian-testing-ocaml-5.4@sha256:45d42a5f22aa2579200db604ee22f54b89cb58fbaacc0b3e855904c58b2e5be8)
(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.20-shared 20-shared"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall llvm.20-shared;\
\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.20-shared' && 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.27: Waiting for resource in pool OCluster
2025-12-30 15:25.27: Waiting for worker…
2025-12-30 15:29.40: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
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-testing-ocaml-5.4@sha256:45d42a5f22aa2579200db604ee22f54b89cb58fbaacc0b3e855904c58b2e5be8)
Unable to find image 'ocaml/opam:debian-testing-ocaml-5.4@sha256:45d42a5f22aa2579200db604ee22f54b89cb58fbaacc0b3e855904c58b2e5be8' locally
docker.io/ocaml/opam@sha256:45d42a5f22aa2579200db604ee22f54b89cb58fbaacc0b3e855904c58b2e5be8: Pulling from ocaml/opam
d07e7493d306: Pulling fs layer
006e41eb6ffc: Pulling fs layer
3ee3749b0f7d: Pulling fs layer
9129881bf775: Pulling fs layer
5bc12c3747f1: Pulling fs layer
766dd36a39b8: Pulling fs layer
11f0088c8216: Pulling fs layer
ecf33d81fb83: Pulling fs layer
af7b17409730: Pulling fs layer
d88e40db171c: Pulling fs layer
c70da2ee691e: Pulling fs layer
15b75ec75148: Pulling fs layer
6599f8e77ba1: Pulling fs layer
62d4a97778e4: Pulling fs layer
104ca04c8730: Pulling fs layer
4b99764c028e: Pulling fs layer
a0121ec1f3c1: Pulling fs layer
5db081229064: Pulling fs layer
4099df12b2d5: Pulling fs layer
567865698a4f: Pulling fs layer
420c4441f61c: Pulling fs layer
f43278900e6b: Pulling fs layer
4f4fb700ef54: Pulling fs layer
5a662aa88b61: Pulling fs layer
0b6b22f514e4: Pulling fs layer
bb16a8aa8d4e: Pulling fs layer
5df9cf626dcd: Pulling fs layer
1449ca64a26d: Pulling fs layer
fa2730fc36df: Pulling fs layer
e34619743411: Pulling fs layer
9a28f75fe375: Pulling fs layer
3a18e07c27f5: Pulling fs layer
1b00bffdaf73: Pulling fs layer
534ade3cbbd9: Pulling fs layer
8093f466ee4f: Pulling fs layer
030d98e4e7ad: Pulling fs layer
43f61e7fd4f8: Pulling fs layer
fb9ed5d899d3: Pulling fs layer
68c3358bbd44: Pulling fs layer
2b69da229b8e: Pulling fs layer
88441e597eee: Pulling fs layer
554296f8d81e: Pulling fs layer
e8b89d7a4083: Pulling fs layer
8a531b74f7ad: Pulling fs layer
0c222e118c42: Pulling fs layer
54a96a573952: Pulling fs layer
8a7a5848a42e: Pulling fs layer
368432197a2b: Pulling fs layer
f43278900e6b: Waiting
4f4fb700ef54: Waiting
8093f466ee4f: Waiting
030d98e4e7ad: Waiting
5a662aa88b61: Waiting
43f61e7fd4f8: Waiting
0b6b22f514e4: Waiting
fb9ed5d899d3: Waiting
bb16a8aa8d4e: Waiting
5df9cf626dcd: Waiting
68c3358bbd44: Waiting
3a18e07c27f5: Waiting
1449ca64a26d: Waiting
2b69da229b8e: Waiting
1b00bffdaf73: Waiting
88441e597eee: Waiting
534ade3cbbd9: Waiting
554296f8d81e: Waiting
fa2730fc36df: Waiting
e8b89d7a4083: Waiting
e34619743411: Waiting
8a531b74f7ad: Waiting
368432197a2b: Waiting
9a28f75fe375: Waiting
0c222e118c42: Waiting
8a7a5848a42e: Waiting
54a96a573952: Waiting
15b75ec75148: Waiting
62d4a97778e4: Waiting
104ca04c8730: Waiting
6599f8e77ba1: Waiting
4b99764c028e: Waiting
d07e7493d306: Waiting
a0121ec1f3c1: Waiting
006e41eb6ffc: Waiting
5db081229064: Waiting
3ee3749b0f7d: Waiting
9129881bf775: Waiting
766dd36a39b8: Waiting
5bc12c3747f1: Waiting
11f0088c8216: Waiting
ecf33d81fb83: Waiting
4099df12b2d5: Waiting
567865698a4f: Waiting
d88e40db171c: Waiting
c70da2ee691e: Waiting
420c4441f61c: Waiting
006e41eb6ffc: Download complete
3ee3749b0f7d: Download complete
d07e7493d306: Verifying Checksum
d07e7493d306: Download complete
5bc12c3747f1: Verifying Checksum
5bc12c3747f1: Download complete
9129881bf775: Verifying Checksum
9129881bf775: Download complete
11f0088c8216: Verifying Checksum
11f0088c8216: Download complete
ecf33d81fb83: Verifying Checksum
ecf33d81fb83: Download complete
af7b17409730: Verifying Checksum
af7b17409730: Download complete
d88e40db171c: Verifying Checksum
d88e40db171c: Download complete
c70da2ee691e: Verifying Checksum
c70da2ee691e: Download complete
15b75ec75148: Verifying Checksum
15b75ec75148: Download complete
6599f8e77ba1: Verifying Checksum
6599f8e77ba1: Download complete
62d4a97778e4: Verifying Checksum
62d4a97778e4: Download complete
104ca04c8730: Download complete
4b99764c028e: Verifying Checksum
4b99764c028e: Download complete
a0121ec1f3c1: Verifying Checksum
a0121ec1f3c1: Download complete
5db081229064: Verifying Checksum
5db081229064: Download complete
d07e7493d306: Pull complete
006e41eb6ffc: Pull complete
3ee3749b0f7d: Pull complete
4099df12b2d5: Verifying Checksum
4099df12b2d5: Download complete
567865698a4f: Verifying Checksum
567865698a4f: Download complete
420c4441f61c: Verifying Checksum
420c4441f61c: Download complete
9129881bf775: Pull complete
4f4fb700ef54: Download complete
f43278900e6b: Verifying Checksum
f43278900e6b: Download complete
0b6b22f514e4: Download complete
5a662aa88b61: Verifying Checksum
5a662aa88b61: Download complete
5bc12c3747f1: Pull complete
bb16a8aa8d4e: Download complete
5df9cf626dcd: Verifying Checksum
5df9cf626dcd: Download complete
1449ca64a26d: Download complete
fa2730fc36df: Verifying Checksum
fa2730fc36df: Download complete
e34619743411: Verifying Checksum
e34619743411: Download complete
9a28f75fe375: Verifying Checksum
9a28f75fe375: Download complete
3a18e07c27f5: Verifying Checksum
3a18e07c27f5: Download complete
1b00bffdaf73: Verifying Checksum
1b00bffdaf73: Download complete
534ade3cbbd9: Verifying Checksum
534ade3cbbd9: Download complete
8093f466ee4f: Download complete
43f61e7fd4f8: Download complete
030d98e4e7ad: Verifying Checksum
030d98e4e7ad: Download complete
68c3358bbd44: Download complete
2b69da229b8e: Verifying Checksum
2b69da229b8e: Download complete
88441e597eee: Download complete
554296f8d81e: Download complete
e8b89d7a4083: Verifying Checksum
e8b89d7a4083: Download complete
8a531b74f7ad: Verifying Checksum
8a531b74f7ad: Download complete
0c222e118c42: Verifying Checksum
0c222e118c42: Download complete
54a96a573952: Verifying Checksum
54a96a573952: Download complete
8a7a5848a42e: Verifying Checksum
8a7a5848a42e: Download complete
368432197a2b: Verifying Checksum
368432197a2b: Download complete
766dd36a39b8: Verifying Checksum
766dd36a39b8: Download complete
fb9ed5d899d3: Verifying Checksum
fb9ed5d899d3: Download complete
766dd36a39b8: Pull complete
11f0088c8216: Pull complete
ecf33d81fb83: Pull complete
af7b17409730: Pull complete
d88e40db171c: Pull complete
c70da2ee691e: Pull complete
15b75ec75148: Pull complete
6599f8e77ba1: Pull complete
62d4a97778e4: Pull complete
104ca04c8730: Pull complete
4b99764c028e: Pull complete
a0121ec1f3c1: Pull complete
5db081229064: Pull complete
4099df12b2d5: Pull complete
567865698a4f: Pull complete
420c4441f61c: Pull complete
f43278900e6b: Pull complete
4f4fb700ef54: Pull complete
5a662aa88b61: Pull complete
0b6b22f514e4: Pull complete
bb16a8aa8d4e: Pull complete
5df9cf626dcd: Pull complete
1449ca64a26d: Pull complete
fa2730fc36df: Pull complete
e34619743411: Pull complete
9a28f75fe375: Pull complete
3a18e07c27f5: Pull complete
1b00bffdaf73: Pull complete
534ade3cbbd9: Pull complete
8093f466ee4f: Pull complete
030d98e4e7ad: Pull complete
43f61e7fd4f8: Pull complete
fb9ed5d899d3: Pull complete
68c3358bbd44: Pull complete
2b69da229b8e: Pull complete
88441e597eee: Pull complete
554296f8d81e: Pull complete
e8b89d7a4083: Pull complete
8a531b74f7ad: Pull complete
0c222e118c42: Pull complete
54a96a573952: Pull complete
8a7a5848a42e: Pull complete
368432197a2b: Pull complete
Digest: sha256:45d42a5f22aa2579200db604ee22f54b89cb58fbaacc0b3e855904c58b2e5be8
Status: Downloaded newer image for ocaml/opam@sha256:45d42a5f22aa2579200db604ee22f54b89cb58fbaacc0b3e855904c58b2e5be8
2025-12-30 15:34.49 ---> saved as "27051ea945956985f788cb957875c49a2b285b3d94242c5bb446cae3b61af6fc"
/: (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:34.50 ---> saved as "66fd2e4e62e461604cb4f552f4d12914e764a99dfdbc5069cf74a0920c572783"
/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-12-30 15:35.20 ---> saved as "cc3d9bf86b6ef133abd1666964049b91cb0e5a1d42fdd0caf36548d27a1b8904"
/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_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 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-12-30 15:35.21 ---> saved as "f1d8be81d630a833180ac936dcb8d4ea83b756c141ee65b2131016dd62dde92b"
/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:35.37 ---> saved as "62a7c460949b5a8c0df203145686835dc2047762b447b6e4bb992e984e2457f8"
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-30 15:35.52 ---> saved as "05ae5680d26ae8b904c0000bd3451cc0854de6cb62ea1aed7b3d1285ff04595e"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-30 15:36.14 ---> saved as "99c68b21270d19470f3d32309e282c5edc257bfe52c806553cb38797414532bf"
/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 [137 kB]
- Get:2 http://deb.debian.org/debian testing-updates InRelease [40.6 kB]
- Get:3 http://deb.debian.org/debian-security testing-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian testing/main amd64 Packages.diff/Index [63.6 kB]
- Get:5 http://deb.debian.org/debian testing/main amd64 Packages T-2025-12-30-0815.30-F-2025-12-26-2020.11.pdiff [140 kB]
- Get:5 http://deb.debian.org/debian testing/main amd64 Packages T-2025-12-30-0815.30-F-2025-12-26-2020.11.pdiff [140 kB]
- Fetched 424 kB in 3s (166 kB/s)
- Reading package lists...
-
2025-12-30 15:36.18 ---> saved as "942fa6bf318f212f179fc688fb3af6fb091a70027d65fb626db49f13a5af25fd"
/home/opam: (run (shell "opam pin add -k version -yn llvm.20-shared 20-shared"))
llvm is now pinned to version 20-shared
2025-12-30 15:36.18 ---> saved as "0dc21c6f8b27e8b132a0e84b972e32f3ab1a62c7d887d7d146536c4fa7b38184"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall llvm.20-shared;\
\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.20-shared' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
llvm.20-shared is not installed. Install it? [Y/n] y
* Missing dependency:
- llvm = 20-shared -> conf-llvm-shared = 20
depends on the unavailable system package 'llvm-20-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.20-shared;
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.20-shared' && 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-12-30 15:36.49: Job failed: Failed: Build failed
2025-12-30 15:36.49: Log analysis:
2025-12-30 15:36.49: >>>
No solution found, exiting
(score = 100)
2025-12-30 15:36.49: [SKIP] Package not available