(for PR #29110)
2025-12-30 15:25.30: New job: build conf-llvm-static.20, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (a16fbbbc4ad239dba151649395b1e98d3d337d30)
on ubuntu-22.04-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:ubuntu-22.04-ocaml-5.4@sha256:9a46a6b8fe7ea10461081678b7e339dddc2175707dc51aba9f752798feb6e0f9
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.20 20
RUN opam reinstall conf-llvm-static.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 "\"ubuntu-22.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'conf-llvm-static.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.30: Using cache hint "ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:9a46a6b8fe7ea10461081678b7e339dddc2175707dc51aba9f752798feb6e0f9-conf-llvm-static.20-a16fbbbc4ad239dba151649395b1e98d3d337d30"
2025-12-30 15:25.30: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:9a46a6b8fe7ea10461081678b7e339dddc2175707dc51aba9f752798feb6e0f9)
(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.20 20"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-llvm-static.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 \"\\\"ubuntu-22.04\\\"\"; 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.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.30: Waiting for resource in pool OCluster
2025-12-30 15:27.47: Waiting for worker…
2025-12-30 15:32.24: 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:ubuntu-22.04-ocaml-5.4@sha256:9a46a6b8fe7ea10461081678b7e339dddc2175707dc51aba9f752798feb6e0f9)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:9a46a6b8fe7ea10461081678b7e339dddc2175707dc51aba9f752798feb6e0f9' locally
docker.io/ocaml/opam@sha256:9a46a6b8fe7ea10461081678b7e339dddc2175707dc51aba9f752798feb6e0f9: Pulling from ocaml/opam
7e49dc6156b0: Already exists
d4e25bc4e54e: Already exists
a2f0d7f6c7a2: Already exists
e9295d1ac3bc: Already exists
48c87b1c7333: Already exists
da6709a7d994: Already exists
f4bdd0682581: Already exists
fdd283dd5a04: Already exists
58e1793fb243: Already exists
77ec02af2c49: Already exists
d98cd9755506: Already exists
dc8614d28602: Already exists
0772aa035f0f: Already exists
89fd84f5b086: Already exists
a82872a7c2c5: Already exists
be0daa8cb4c5: Already exists
0564ca0741f1: Already exists
0564ca0741f1: Already exists
4f4fb700ef54: Already exists
89ad18ffaf37: Already exists
47d9a6f0fd74: Already exists
702f403fd691: Already exists
4f4fb700ef54: Already exists
2ebe2d64d0a6: Already exists
4cab782a5dac: Already exists
5281573baee7: Already exists
fe8da0bd13e1: Already exists
17da0d9119d3: Already exists
f209b87d9a21: Already exists
8af345427948: Already exists
e70f51ae47c8: Already exists
3dcb78ac65ef: Already exists
ce307cfab940: Already exists
ffb7aa02dfd1: Already exists
79f572c137cf: Already exists
6a9f73cee81e: Already exists
d357c931e45e: Already exists
a17937b255c7: Already exists
903ee3defa85: Already exists
33d1aed44e28: Already exists
424cf3ca0d8a: Already exists
2798f452f2e7: Pulling fs layer
8ba460808429: Pulling fs layer
cc31feb14c05: Pulling fs layer
9fe6ae4a637c: Pulling fs layer
26a0e0b8fb76: Pulling fs layer
ad55ea89b1ca: Pulling fs layer
87560222d415: Pulling fs layer
26a0e0b8fb76: Waiting
9fe6ae4a637c: Waiting
ad55ea89b1ca: Waiting
87560222d415: Waiting
2798f452f2e7: Verifying Checksum
2798f452f2e7: Download complete
2798f452f2e7: Pull complete
8ba460808429: Verifying Checksum
8ba460808429: Download complete
8ba460808429: Pull complete
cc31feb14c05: Download complete
cc31feb14c05: Pull complete
26a0e0b8fb76: Verifying Checksum
26a0e0b8fb76: Download complete
ad55ea89b1ca: Verifying Checksum
ad55ea89b1ca: Download complete
87560222d415: Verifying Checksum
87560222d415: Download complete
9fe6ae4a637c: Verifying Checksum
9fe6ae4a637c: Download complete
9fe6ae4a637c: Pull complete
26a0e0b8fb76: Pull complete
ad55ea89b1ca: Pull complete
87560222d415: Pull complete
Digest: sha256:9a46a6b8fe7ea10461081678b7e339dddc2175707dc51aba9f752798feb6e0f9
Status: Downloaded newer image for ocaml/opam@sha256:9a46a6b8fe7ea10461081678b7e339dddc2175707dc51aba9f752798feb6e0f9
2025-12-30 15:32.48 ---> using "2a699d5615b9d0470b59352500ecf0c73983e746acc32e98d3b186d2ce4fc98d" 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-12-30 15:32.48 ---> using "90dddfd4799f694bd5fc0dd164a054ac135557aea12ba7a220d87254bef9acae" 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:32.48 ---> using "f69d271a88707a24bbbcbd081cf154b96f8db6a919be839caf47e36641c14c9c" 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_64 os=linux os-distribution=ubuntu os-version=22.04
# 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 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:32.48 ---> using "d12c0c802a53d1f0dc6edcf4d45d631bd6d75f6ec97dcbb251d52d8b44b57129" 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:32.48 ---> using "05dfb69648813be6f41faf4e25a5383578f1b45b09ff24b6daae16faa47203c8" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-30 15:32.53 ---> saved as "79f210714d37445dbf4e1cb25523d30ce76bcd3a4ddeded55e8bdc88fc18e6fc"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-30 15:33.11 ---> saved as "3007d3bf0f2b830a9a7e0099493e8754c8614a731876d9d9979070d03cfb7f48"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Fetched 384 kB in 1s (343 kB/s)
- Reading package lists...
-
2025-12-30 15:33.14 ---> saved as "01001db109c9141cbfb9a3c39f7ba55b0d00c3f7c18062e74ceacb01402da65c"
/home/opam: (run (shell "opam pin add -k version -yn conf-llvm-static.20 20"))
conf-llvm-static is now pinned to version 20
2025-12-30 15:33.15 ---> saved as "0b7a7253045b046129843f57cd745253875610a90552a170c6c322701228786e"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-llvm-static.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 \"\\\"ubuntu-22.04\\\"\"; 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.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-static.20 depends on the unavailable system package 'llvm-20-dev'. You can use `--no-depexts' to attempt installation anyway.
"/usr/bin/env" "bash" "-c" "opam reinstall conf-llvm-static.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 "\"ubuntu-22.04\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'conf-llvm-static.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:33.29: Job failed: Failed: Build failed
2025-12-30 15:33.29: Log analysis:
2025-12-30 15:33.29: >>>
[ERROR] Package conf-llvm-static.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:33.29: [SKIP] Package not available