(for PR #29110)
2026-01-31 15:31.28: New job: build llvm.21-shared, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (e3b282a9c0eb1ef824245e3ffb935dc8fcc9b1ea)
on ubuntu-24.04-ocaml-4.14/riscv64
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 e3b282a9
git fetch origin master
git merge --no-edit 277244107784e7f5e6b57eaae2e769caae2a4906
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f9fec8059f3b510b703a628032af0efc3934a77f7db71032798c756fa5a7da0d
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.21-shared 21-shared
RUN opam reinstall llvm.21-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 "\"ubuntu-24.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'llvm.21-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 .
2026-01-31 15:31.28: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f9fec8059f3b510b703a628032af0efc3934a77f7db71032798c756fa5a7da0d-llvm.21-shared-e3b282a9c0eb1ef824245e3ffb935dc8fcc9b1ea"
2026-01-31 15:31.28: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f9fec8059f3b510b703a628032af0efc3934a77f7db71032798c756fa5a7da0d)
(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.21-shared 21-shared"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall llvm.21-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 \"\\\"ubuntu-24.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\" != 'llvm.21-shared' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-01-31 15:31.28: Waiting for resource in pool OCluster
2026-01-31 15:31.29: Waiting for worker…
2026-01-31 16:11.53: Got resource from pool OCluster
Building on riscv-bm-02.sw.ci.dev
All commits already cached
Updating files: 13% (2688/19326)
Updating files: 14% (2706/19326)
Updating files: 15% (2899/19326)
Updating files: 16% (3093/19326)
Updating files: 17% (3286/19326)
Updating files: 18% (3479/19326)
Updating files: 19% (3672/19326)
Updating files: 20% (3866/19326)
Updating files: 21% (4059/19326)
Updating files: 22% (4252/19326)
Updating files: 23% (4445/19326)
Updating files: 24% (4639/19326)
Updating files: 25% (4832/19326)
Updating files: 26% (5025/19326)
Updating files: 27% (5219/19326)
Updating files: 27% (5272/19326)
Updating files: 28% (5412/19326)
Updating files: 29% (5605/19326)
Updating files: 30% (5798/19326)
Updating files: 31% (5992/19326)
Updating files: 32% (6185/19326)
Updating files: 33% (6378/19326)
Updating files: 34% (6571/19326)
Updating files: 35% (6765/19326)
Updating files: 36% (6958/19326)
Updating files: 37% (7151/19326)
Updating files: 38% (7344/19326)
Updating files: 39% (7538/19326)
Updating files: 40% (7731/19326)
Updating files: 40% (7892/19326)
Updating files: 41% (7924/19326)
Updating files: 42% (8117/19326)
Updating files: 43% (8311/19326)
Updating files: 44% (8504/19326)
Updating files: 45% (8697/19326)
Updating files: 46% (8890/19326)
Updating files: 47% (9084/19326)
Updating files: 48% (9277/19326)
Updating files: 49% (9470/19326)
Updating files: 50% (9663/19326)
Updating files: 51% (9857/19326)
Updating files: 52% (10050/19326)
Updating files: 52% (10196/19326)
Updating files: 53% (10243/19326)
Updating files: 54% (10437/19326)
Updating files: 55% (10630/19326)
Updating files: 56% (10823/19326)
Updating files: 57% (11016/19326)
Updating files: 58% (11210/19326)
Updating files: 59% (11403/19326)
Updating files: 60% (11596/19326)
Updating files: 61% (11789/19326)
Updating files: 62% (11983/19326)
Updating files: 63% (12176/19326)
Updating files: 64% (12369/19326)
Updating files: 65% (12562/19326)
Updating files: 65% (12570/19326)
Updating files: 66% (12756/19326)
Updating files: 67% (12949/19326)
Updating files: 68% (13142/19326)
Updating files: 69% (13335/19326)
Updating files: 70% (13529/19326)
Updating files: 71% (13722/19326)
Updating files: 72% (13915/19326)
Updating files: 73% (14108/19326)
Updating files: 74% (14302/19326)
Updating files: 75% (14495/19326)
Updating files: 76% (14688/19326)
Updating files: 76% (14837/19326)
Updating files: 77% (14882/19326)
Updating files: 78% (15075/19326)
Updating files: 79% (15268/19326)
Updating files: 80% (15461/19326)
Updating files: 81% (15655/19326)
Updating files: 82% (15848/19326)
Updating files: 83% (16041/19326)
Updating files: 84% (16234/19326)
Updating files: 85% (16428/19326)
Updating files: 86% (16621/19326)
Updating files: 87% (16814/19326)
Updating files: 88% (17007/19326)
Updating files: 88% (17102/19326)
Updating files: 89% (17201/19326)
Updating files: 90% (17394/19326)
Updating files: 91% (17587/19326)
Updating files: 92% (17780/19326)
Updating files: 93% (17974/19326)
Updating files: 94% (18167/19326)
Updating files: 95% (18360/19326)
Updating files: 96% (18553/19326)
Updating files: 97% (18747/19326)
Updating files: 98% (18940/19326)
Updating files: 99% (19133/19326)
Updating files: 100% (19326/19326)
Updating files: 100% (19326/19326), done.
HEAD is now at 2772441077 Merge pull request #29314 from jmid/more-fstar-ocaml-upper-bounds
Merge made by the 'ort' strategy.
packages/conf-llvm-shared/conf-llvm-shared.20/opam | 38 +++++++++++
packages/conf-llvm-shared/conf-llvm-shared.21/opam | 38 +++++++++++
packages/conf-llvm-static/conf-llvm-static.20/opam | 38 +++++++++++
packages/conf-llvm-static/conf-llvm-static.21/opam | 38 +++++++++++
packages/llvm/llvm.20-shared/opam | 77 ++++++++++++++++++++++
packages/llvm/llvm.20-static/opam | 76 +++++++++++++++++++++
packages/llvm/llvm.21-shared/opam | 77 ++++++++++++++++++++++
packages/llvm/llvm.21-static/opam | 76 +++++++++++++++++++++
8 files changed, 458 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-24.04-ocaml-4.14@sha256:f9fec8059f3b510b703a628032af0efc3934a77f7db71032798c756fa5a7da0d)
2026-01-31 16:12.05 ---> using "472f2e20ca0970cbed312fcf3b341807bd41802bb4d2018af197f5f3deb36252" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-31 16:12.05 ---> using "97a6e6ab2055dd5ceb4690e4667bc32fa028e417f6705131a862657a58102e09" 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
2026-01-31 16:12.05 ---> using "63a2ce97837a7a84551b4d687239275d0971c4207c5e59be43f791c5cf591e76" 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=riscv64 os=linux os-distribution=ubuntu os-version=24.04
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 3
# 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
2026-01-31 16:12.05 ---> using "c4bd4ca18e8051b72a3cdedbb1e0c50870c3223048ef7816f0cba0b8072fa22f" 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/"))
2026-01-31 16:12.05 ---> using "af52915c2c5c72ad4230c0294a44fcdf38496eec7bd80473c44f70112d341a49" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-01-31 16:12.33 ---> saved as "824bbb840a12e2ab99d6eed7e319b79fa97f29366ddc232cae24913b2588ab39"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-31 16:14.12 ---> saved as "2c4b7c1854ab21e9b66da845bbd3c93b2f43462a0971dee71d4c3b004d9a0f12"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease [126 kB]
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1489 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [915 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted riscv64 Packages [8717 B]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [588 kB]
- Get:9 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [932 kB]
- Fetched 4310 kB in 2s (2036 kB/s)
- Reading package lists...
-
2026-01-31 16:14.20 ---> saved as "1ebde17c800ef5ac4c2abe9055d179bfd064b8b6d161b4992970bd7293b065d7"
/home/opam: (run (shell "opam pin add -k version -yn llvm.21-shared 21-shared"))
llvm is now pinned to version 21-shared
2026-01-31 16:14.22 ---> saved as "178a3502397b7cead22c88f9843f916310e629cd3e4813736f73896253758333"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall llvm.21-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 \"\\\"ubuntu-24.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\" != 'llvm.21-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.21-shared is not installed. Install it? [Y/n] y
* Missing dependency:
- llvm = 21-shared -> conf-llvm-shared >= 21
depends on the unavailable system package 'llvm-21-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.21-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 "\"ubuntu-24.04\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'llvm.21-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
2026-01-31 16:15.32: Job failed: Failed: Build failed
2026-01-31 16:15.32: Log analysis:
2026-01-31 16:15.32: >>>
No solution found, exiting
(score = 100)
2026-01-31 16:15.32: [SKIP] Package not available