(for PR #29110)
2025-12-30 15:25.30: New job: build conf-llvm-shared.21, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (a16fbbbc4ad239dba151649395b1e98d3d337d30)
on ubuntu-22.04-ocaml-4.14/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-4.14@sha256:f7fb670e55d80edca85afd0f09537114196f2e1cf0d80646624bfa78f34e501b
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.21 21
RUN opam reinstall conf-llvm-shared.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 "\"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-shared.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.30: Using cache hint "ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:f7fb670e55d80edca85afd0f09537114196f2e1cf0d80646624bfa78f34e501b-conf-llvm-shared.21-a16fbbbc4ad239dba151649395b1e98d3d337d30"
2025-12-30 15:25.30: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:f7fb670e55d80edca85afd0f09537114196f2e1cf0d80646624bfa78f34e501b)
(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.21 21"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-llvm-shared.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 \"\\\"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-shared.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.30: Waiting for resource in pool OCluster
2025-12-30 15:27.38: Waiting for worker…
2025-12-30 15:32.19: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 99% (18966/19122)
Updating files: 100% (19122/19122)
Updating files: 100% (19122/19122), done.
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-4.14@sha256:f7fb670e55d80edca85afd0f09537114196f2e1cf0d80646624bfa78f34e501b)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:f7fb670e55d80edca85afd0f09537114196f2e1cf0d80646624bfa78f34e501b' locally
docker.io/ocaml/opam@sha256:f7fb670e55d80edca85afd0f09537114196f2e1cf0d80646624bfa78f34e501b: Pulling from ocaml/opam
7e49dc6156b0: Already exists
d4e25bc4e54e: Already exists
a2f0d7f6c7a2: Already exists
e9295d1ac3bc: Already exists
48c87b1c7333: Already exists
da6709a7d994: Pulling fs layer
f4bdd0682581: Pulling fs layer
fdd283dd5a04: Pulling fs layer
58e1793fb243: Pulling fs layer
77ec02af2c49: Pulling fs layer
f4bdd0682581: Download complete
d98cd9755506: Pulling fs layer
fdd283dd5a04: Download complete
58e1793fb243: Download complete
77ec02af2c49: Download complete
dc8614d28602: Pulling fs layer
0772aa035f0f: Pulling fs layer
89fd84f5b086: Pulling fs layer
d98cd9755506: Download complete
dc8614d28602: Download complete
0772aa035f0f: Download complete
a82872a7c2c5: Pulling fs layer
be0daa8cb4c5: Pulling fs layer
89fd84f5b086: Download complete
a82872a7c2c5: Download complete
0564ca0741f1: Pulling fs layer
be0daa8cb4c5: Download complete
0564ca0741f1: Download complete
4f4fb700ef54: Pulling fs layer
89ad18ffaf37: Pulling fs layer
47d9a6f0fd74: Pulling fs layer
702f403fd691: Pulling fs layer
4f4fb700ef54: Download complete
89ad18ffaf37: Download complete
47d9a6f0fd74: Download complete
702f403fd691: Download complete
2ebe2d64d0a6: Pulling fs layer
4cab782a5dac: Pulling fs layer
2ebe2d64d0a6: Download complete
5281573baee7: Pulling fs layer
fe8da0bd13e1: Pulling fs layer
4cab782a5dac: Download complete
17da0d9119d3: Pulling fs layer
f209b87d9a21: Pulling fs layer
8af345427948: Pulling fs layer
fe8da0bd13e1: Download complete
17da0d9119d3: Download complete
5281573baee7: Download complete
f209b87d9a21: Download complete
e70f51ae47c8: Pulling fs layer
8af345427948: Download complete
3dcb78ac65ef: Pulling fs layer
e70f51ae47c8: Download complete
ce307cfab940: Pulling fs layer
ffb7aa02dfd1: Pulling fs layer
3dcb78ac65ef: Download complete
ce307cfab940: Download complete
79f572c137cf: Pulling fs layer
6a9f73cee81e: Pulling fs layer
d357c931e45e: Pulling fs layer
a17937b255c7: Pulling fs layer
79f572c137cf: Download complete
903ee3defa85: Pulling fs layer
ffb7aa02dfd1: Download complete
d357c931e45e: Download complete
33d1aed44e28: Pulling fs layer
903ee3defa85: Download complete
424cf3ca0d8a: Pulling fs layer
33d1aed44e28: Download complete
327a58b1b5a8: Pulling fs layer
424cf3ca0d8a: Download complete
edcecd8da58f: Pulling fs layer
327a58b1b5a8: Waiting
e7abd33fd6aa: Pulling fs layer
edcecd8da58f: Waiting
4c86d7be6862: Pulling fs layer
4c86d7be6862: Waiting
a17937b255c7: Verifying Checksum
a17937b255c7: Download complete
da6709a7d994: Pull complete
f4bdd0682581: Pull complete
fdd283dd5a04: Pull complete
58e1793fb243: Pull complete
77ec02af2c49: Pull complete
327a58b1b5a8: Verifying Checksum
327a58b1b5a8: Download complete
edcecd8da58f: Verifying Checksum
edcecd8da58f: Download complete
d98cd9755506: Pull complete
e7abd33fd6aa: Download complete
dc8614d28602: Pull complete
4c86d7be6862: Verifying Checksum
4c86d7be6862: Download complete
0772aa035f0f: Pull complete
89fd84f5b086: Pull complete
a82872a7c2c5: Pull complete
be0daa8cb4c5: Pull complete
0564ca0741f1: Pull complete
6a9f73cee81e: Verifying Checksum
6a9f73cee81e: Download complete
4f4fb700ef54: Pull complete
89ad18ffaf37: Pull complete
47d9a6f0fd74: Pull complete
702f403fd691: Pull complete
2ebe2d64d0a6: Pull complete
4cab782a5dac: Pull complete
5281573baee7: Pull complete
fe8da0bd13e1: Pull complete
17da0d9119d3: Pull complete
f209b87d9a21: Pull complete
8af345427948: Pull complete
e70f51ae47c8: Pull complete
3dcb78ac65ef: Pull complete
ce307cfab940: Pull complete
ffb7aa02dfd1: Pull complete
79f572c137cf: Pull complete
6a9f73cee81e: Pull complete
d357c931e45e: Pull complete
a17937b255c7: Pull complete
903ee3defa85: Pull complete
33d1aed44e28: Pull complete
424cf3ca0d8a: Pull complete
327a58b1b5a8: Pull complete
edcecd8da58f: Pull complete
e7abd33fd6aa: Pull complete
4c86d7be6862: Pull complete
Digest: sha256:f7fb670e55d80edca85afd0f09537114196f2e1cf0d80646624bfa78f34e501b
Status: Downloaded newer image for ocaml/opam@sha256:f7fb670e55d80edca85afd0f09537114196f2e1cf0d80646624bfa78f34e501b
2025-12-30 15:32.25 ---> using "e3241aa53d8aad4718fa2f2ab81b104356db8836803d01e9d8dc6f8cfc7a6d78" 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.25 ---> using "ab8040d83ea2d8bfa11cf188c72761239882ed37385dd9a31e9b5a1aa76c3f9c" 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-12-30 15:32.25 ---> using "62f79aa5b3e1511a43aa4f0407d178b80f3ac2faf061095bd1fd76062db52503" 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 71
# 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:32.25 ---> using "f9c0bff4b462d3688cc1a2b1e002331665b90693c671247a87a69c9d521e5743" 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.25 ---> using "b916956aa156c1d3781fc20187877f1fa5c2201c699f33d397d5631d47a877aa" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-30 15:32.33 ---> saved as "00b07f43377825b3c13f3d289ecfa73b14d97e74b495373b6007c19fe1898be3"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-30 15:32.52 ---> saved as "0ff4d325ee4a774249341f7a89cb6b30a39ffa5b009fe47e581cba9d497970ff"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Fetched 384 kB in 1s (638 kB/s)
- Reading package lists...
-
2025-12-30 15:32.55 ---> saved as "94de243b295d947eaf8a70e811d0a0c45989cd0b1848f35f7e9d8faca8beb452"
/home/opam: (run (shell "opam pin add -k version -yn conf-llvm-shared.21 21"))
conf-llvm-shared is now pinned to version 21
2025-12-30 15:32.56 ---> saved as "82621c3a6869a52aab1bcc4324d7ba86ec0a747c91c265c6cbcc4d06ab8fd981"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-llvm-shared.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 \"\\\"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-shared.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-shared.21 depends on the unavailable system package 'llvm-21-dev'. You can use `--no-depexts' to attempt installation anyway.
"/usr/bin/env" "bash" "-c" "opam reinstall conf-llvm-shared.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 "\"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-shared.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:33.04: Job failed: Failed: Build failed
2025-12-30 15:33.04: Log analysis:
2025-12-30 15:33.04: >>>
[ERROR] Package conf-llvm-shared.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:33.04: [SKIP] Package not available