(for PR #29110)
2026-01-31 15:31.26: New job: build conf-llvm-shared.20, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (e3b282a9c0eb1ef824245e3ffb935dc8fcc9b1ea)
on archlinux-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 e3b282a9
git fetch origin master
git merge --no-edit 277244107784e7f5e6b57eaae2e769caae2a4906
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-5.4@sha256:2e9122d7b620a68432b52d6c3d8efbe2cfa3d76d7c06c35acea1d27d1b9b18be
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 "\"archlinux\""; 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 .
2026-01-31 15:31.26: Using cache hint "ocaml/opam:archlinux-ocaml-5.4@sha256:2e9122d7b620a68432b52d6c3d8efbe2cfa3d76d7c06c35acea1d27d1b9b18be-conf-llvm-shared.20-e3b282a9c0eb1ef824245e3ffb935dc8fcc9b1ea"
2026-01-31 15:31.26: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.4@sha256:2e9122d7b620a68432b52d6c3d8efbe2cfa3d76d7c06c35acea1d27d1b9b18be)
(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 \"\\\"archlinux\\\"\"; 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"))
)
2026-01-31 15:31.26: Waiting for resource in pool OCluster
2026-01-31 15:32.47: Waiting for worker…
2026-01-31 15:34.48: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
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:archlinux-ocaml-5.4@sha256:2e9122d7b620a68432b52d6c3d8efbe2cfa3d76d7c06c35acea1d27d1b9b18be)
2026-01-31 15:37.20 ---> using "e9f93d460c80ee3579bf1131cb912687594e6d201f2dd6814c04cd3b7616e8af" 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 15:37.20 ---> using "f28417984800cb704f4db824854a0fdfd54068dc8d70ab4ef997bb6a93a2980f" 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 15:37.20 ---> using "6fc1a85a172cfd0fcecb0b5fb65cd729af4abffbc159b767305f094fdfa2a83d" 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=arch os-version=20260118.0.482696
# 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
2026-01-31 15:37.20 ---> using "2de4dd81c2712516e082d8a8b8c2eac291d918d86c2f81bd2b36acb2d7913104" 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 15:37.20 ---> using "e72c7e650272ca7a309e1f0333497cb92275914e0e466d4377a2c0e18fbb5090" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-01-31 15:37.24 ---> saved as "edfd7c6fb316f77ec974558321eec86fd64eb59008c528547b57d67e209b10e3"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-31 15:37.43 ---> saved as "4d259b81bb43bc7e03b9fd53ec785580676d7c77ab31e51a10add69e647150b6"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
- core downloading...
- extra downloading...
2026-01-31 15:37.51 ---> saved as "3b239d5296eef14d1fba274d805984b59e2de3a627cc1e4e2edfe053fbfff3a1"
/home/opam: (run (shell "opam pin add -k version -yn conf-llvm-shared.20 20"))
conf-llvm-shared is now pinned to version 20
2026-01-31 15:37.51 ---> saved as "30e8e51e2afc323d194ab87240bc849512cc2e44acdc6dfd2b6fcee33e64ee95"
/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 \"\\\"archlinux\\\"\"; 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"))
conf-llvm-shared.20 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
∗ conf-bash 1 [required by conf-llvm-shared]
∗ conf-llvm-shared 20 (pinned)
The following system packages will first need to be installed:
llvm20
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run pacman to install them (may need root/sudo access)
2. Display the recommended pacman command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/sbin/sudo "pacman" "-Su" "--noconfirm" "llvm20"
- :: Starting full system upgrade...
- resolving dependencies...
- looking for conflicting packages...
-
- Package (12) Old Version New Version Net Change Download Size
-
- core/cryptsetup 2.8.3-1 2.8.4-1 0.00 MiB 0.79 MiB
- core/curl 8.18.0-2 8.18.0-3 0.00 MiB 1.23 MiB
- core/gettext 0.26-1 1.0-1 4.96 MiB 3.20 MiB
- core/glibc 2.42+r51+gcbf39c26b258-1 2.42+r51+gcbf39c26b258-2 -1.28 MiB 10.01 MiB
- core/jansson 2.14.1-1 2.15.0-1 0.01 MiB 0.09 MiB
- core/libedit 20250104_3.1-1 0.26 MiB 0.11 MiB
- core/libunistring 1.3-1 1.4.1-1 0.04 MiB 0.71 MiB
- extra/llvm20-libs 20.1.8-1 150.00 MiB 37.77 MiB
- core/openssl 3.6.0-1 3.6.1-1 -0.16 MiB 5.35 MiB
- core/pam 1.7.1-1 1.7.2-2 0.00 MiB 0.58 MiB
- core/procps-ng 4.0.5-3 4.0.6-1 0.18 MiB 0.97 MiB
- extra/llvm20 20.1.8-1 72.15 MiB 14.01 MiB
-
- Total Download Size: 74.82 MiB
- Total Installed Size: 317.42 MiB
- Net Upgrade Size: 226.17 MiB
-
- :: Proceed with installation? [Y/n]
- :: Retrieving packages...
- llvm20-libs-20.1.8-1-x86_64 downloading...
- llvm20-20.1.8-1-x86_64 downloading...
- glibc-2.42+r51+gcbf39c26b258-2-x86_64 downloading...
- openssl-3.6.1-1-x86_64 downloading...
- gettext-1.0-1-x86_64 downloading...
- curl-8.18.0-3-x86_64 downloading...
- procps-ng-4.0.6-1-x86_64 downloading...
- cryptsetup-2.8.4-1-x86_64 downloading...
- libunistring-1.4.1-1-x86_64 downloading...
- pam-1.7.2-2-x86_64 downloading...
- libedit-20250104_3.1-1-x86_64 downloading...
- jansson-2.15.0-1-x86_64 downloading...
- checking keyring...
- checking package integrity...
- loading package files...
- checking for file conflicts...
- :: Processing package changes...
- upgrading glibc...
- Generating locales...
- Generation complete.
- installing libedit...
- installing llvm20-libs...
- upgrading openssl...
- upgrading pam...
- upgrading libunistring...
- upgrading curl...
- installing llvm20...
- upgrading cryptsetup...
- upgrading gettext...
- upgrading jansson...
- upgrading procps-ng...
- :: Running post-transaction hooks...
- (1/4) Creating temporary files...
- /usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc/ detected, skipping.
- All rules containing unresolvable specifiers will be skipped.
- (2/4) Reloading system manager configuration...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- (3/4) Restarting marked services...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- (4/4) Arming ConditionNeedsUpdate...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved conf-llvm-shared.20 (cached)
∗ installed conf-bash.1
∗ installed conf-llvm-shared.20
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-31 15:38.04 ---> saved as "81fa765647853e5e46c8c212f401c1fa246c91aa8ba19611234111a1e958a466"
Job succeeded
2026-01-31 15:38.22: Job succeeded