(for PR #29110)
2025-12-30 15:25.38: New job: build conf-llvm-shared.20, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (a16fbbbc4ad239dba151649395b1e98d3d337d30)
on debian-13-ocaml-4.14/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-4.14@sha256:609675dea74377540eb89af745b9b0bc1139f448d7db92f92f080a5c4d20aee9
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-shared.20 20
RUN opam reinstall conf-llvm-shared.20; \
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-shared.20' && 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.38: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:609675dea74377540eb89af745b9b0bc1139f448d7db92f92f080a5c4d20aee9-conf-llvm-shared.20-a16fbbbc4ad239dba151649395b1e98d3d337d30"
2025-12-30 15:25.38: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:609675dea74377540eb89af745b9b0bc1139f448d7db92f92f080a5c4d20aee9)
(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-shared.20 20"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-llvm-shared.20;\
\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-shared.20' && 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.38: Waiting for resource in pool OCluster
2025-12-30 15:32.27: Waiting for worker…
2025-12-30 15:34.40: Got resource from pool OCluster
Building on asteria.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-13-ocaml-4.14@sha256:609675dea74377540eb89af745b9b0bc1139f448d7db92f92f080a5c4d20aee9)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:609675dea74377540eb89af745b9b0bc1139f448d7db92f92f080a5c4d20aee9' locally
docker.io/ocaml/opam@sha256:609675dea74377540eb89af745b9b0bc1139f448d7db92f92f080a5c4d20aee9: 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
b15edb32f303: Pulling fs layer
f6ddd2dfbc94: Pulling fs layer
62a536d289df: Pulling fs layer
c782b04436f3: Pulling fs layer
c782b04436f3: Waiting
f6ddd2dfbc94: Verifying Checksum
f6ddd2dfbc94: Download complete
62a536d289df: Verifying Checksum
62a536d289df: Download complete
c782b04436f3: Download complete
b15edb32f303: Verifying Checksum
b15edb32f303: Download complete
b15edb32f303: Pull complete
f6ddd2dfbc94: Pull complete
62a536d289df: Pull complete
c782b04436f3: Pull complete
Digest: sha256:609675dea74377540eb89af745b9b0bc1139f448d7db92f92f080a5c4d20aee9
Status: Downloaded newer image for ocaml/opam@sha256:609675dea74377540eb89af745b9b0bc1139f448d7db92f92f080a5c4d20aee9
2025-12-30 15:36.37 ---> using "cad998ba715777e02ab0fe908aa21a5a699f1df4a412436508187b4274c00c6b" from cache
/: (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.37 ---> using "4f6ecd87db771c86504308524e2b73192ddf8677e0019d44841cc590661ad9ab" 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 71 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=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-30 15:36.37 ---> using "6261ec9cd6af01ee5b63e9c71e586f2b70051f99838db64b6bd2c0a5536b11af" 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
# 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 255
# 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-12-30 15:36.37 ---> using "2544c6bd171028ea0d37a3b54f7151e1e7836fd671c44621d806ea1a7773947e" 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-12-30 15:36.37 ---> using "78fe0446eda6e28012f396149028e444633d876793cf63c97d987fb6ff81d6ca" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-30 15:36.45 ---> saved as "54c5f6154f4b4722467b522c4b2bd44495831895de1c6781d827093d78c1c94b"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-30 15:37.13 ---> saved as "0033de8c8ff700bef330e7b300fdd2adf61fe75b1f4c9ddb2553f444da0a301b"
/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 (863 kB/s)
- Reading package lists...
2025-12-30 15:37.14 ---> saved as "ce26898e364f686c6842c52a574c151c103957ca58f43078bfeac96f1759221a"
/home/opam: (run (shell "opam pin add -k version -yn conf-llvm-shared.20 20"))
conf-llvm-shared is now pinned to version 20
2025-12-30 15:37.15 ---> saved as "e5c263891df803c2c08e6a7104f5c7ff5cb002879fb2a5ed244314c75291c8b7"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-llvm-shared.20;\
\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-shared.20' && 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-shared.20 depends on the unavailable system package 'llvm-20-dev'. You can use `--no-depexts' to attempt installation anyway.
"/usr/bin/linux32" "/bin/sh" "-c" "opam reinstall conf-llvm-shared.20;
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-shared.20' && 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.23: Job failed: Failed: Build failed
2025-12-30 15:37.23: Log analysis:
2025-12-30 15:37.23: >>>
[ERROR] Package conf-llvm-shared.20 depends on the unavailable system package 'llvm-20-dev'. You can use `--no-depexts' to attempt installation anyway.
(score = 100)
2025-12-30 15:37.23: [SKIP] Package not available