(for PR #29309)
2026-02-09 12:19.08: New job: build conf-libclang.19, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29309/head (eeb4c7379a885af7e11ac317283be0557220b1b6)
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/29309/head" && git reset --hard eeb4c737
git fetch origin master
git merge --no-edit b1e43fa87b0c2363634d0eb4ae0aa36b9fcc622e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-5.4@sha256:80b917b0d0f9bea38bf0b3aac775d90e736551e842807a004d9fd1665f1f9200
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-libclang.19 19
RUN opam reinstall conf-libclang.19; \
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-libclang.19' && 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-02-09 12:19.08: Using cache hint "ocaml/opam:archlinux-ocaml-5.4@sha256:80b917b0d0f9bea38bf0b3aac775d90e736551e842807a004d9fd1665f1f9200-conf-libclang.19-eeb4c7379a885af7e11ac317283be0557220b1b6"
2026-02-09 12:19.08: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.4@sha256:80b917b0d0f9bea38bf0b3aac775d90e736551e842807a004d9fd1665f1f9200)
(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-libclang.19 19"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-libclang.19;\
\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-libclang.19' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-02-09 12:19.08: Waiting for resource in pool OCluster
2026-02-09 12:19.09: Waiting for worker…
2026-02-09 12:19.10: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at b1e43fa87b Merge pull request #29356 from redianthus/symex
Merge made by the 'ort' strategy.
packages/conf-libclang/conf-libclang.19/opam | 22 +++++-----
packages/frama-clang/frama-clang.0.0.19/opam | 61 ++++++++++++++++++++++++++++
2 files changed, 72 insertions(+), 11 deletions(-)
create mode 100644 packages/frama-clang/frama-clang.0.0.19/opam
(from ocaml/opam:archlinux-ocaml-5.4@sha256:80b917b0d0f9bea38bf0b3aac775d90e736551e842807a004d9fd1665f1f9200)
Unable to find image 'ocaml/opam:archlinux-ocaml-5.4@sha256:80b917b0d0f9bea38bf0b3aac775d90e736551e842807a004d9fd1665f1f9200' locally
docker.io/ocaml/opam@sha256:80b917b0d0f9bea38bf0b3aac775d90e736551e842807a004d9fd1665f1f9200: Pulling from ocaml/opam
Digest: sha256:80b917b0d0f9bea38bf0b3aac775d90e736551e842807a004d9fd1665f1f9200
Status: Downloaded newer image for ocaml/opam@sha256:80b917b0d0f9bea38bf0b3aac775d90e736551e842807a004d9fd1665f1f9200
2026-02-09 12:20.37 ---> saved as "b9bf9523154c3dca53ff5dbb1a074bb319e92ad8e0fd427e7ecedbdb7949b579"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-02-09 12:20.37 ---> saved as "25f8589d616c7093e353de3b97c14a0333bc0665d7f3f5aeeb02d0826eb06277"
/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-02-09 12:21.03 ---> saved as "d49e739d82385a17c54001b3777d7d7db6823a323b8c89ede29cf23730d068e5"
/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=20260201.0.486523
# 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 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-02-09 12:21.04 ---> saved as "71e6cad460a0f7ac42a3347436c368fe1f94bb054fa7068f65a14213176bed7d"
/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-02-09 12:21.13 ---> saved as "175e6df681f00a29f7ab90803eb307806871ee6c21fe81be79a48c8be09d57c1"
/home/opam: (copy (src .) (dst opam-repository/))
2026-02-09 12:21.22 ---> saved as "cdbadb8ae050dc95187cce429892c168bbd7faf269a9d7325bd2eb7a654e87c3"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-09 12:21.42 ---> saved as "1c6f77979e6782297f3e519c8286768a02608dd741d851ffe1f85d217b94a1a1"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
- core downloading...
- extra downloading...
2026-02-09 12:21.43 ---> saved as "c00b923ab3fc0e6d859b54f4ae0e12c0a07ba6b5434a2f6ce9f65ccf1b28ffa0"
/home/opam: (run (shell "opam pin add -k version -yn conf-libclang.19 19"))
conf-libclang is now pinned to version 19
2026-02-09 12:21.44 ---> saved as "06a0a1784c11974ee7715e6f70d63c757de6eebdffb8968d99ea74b17cc81d37"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-libclang.19;\
\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-libclang.19' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
conf-libclang.19 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
∗ conf-bash 1 [required by conf-libclang]
∗ conf-libclang 19 (pinned)
The following system packages will first need to be installed:
clang19 llvm19
<><> 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" "clang19" "llvm19"
- :: Starting full system upgrade...
- resolving dependencies...
- looking for conflicting packages...
-
- Package (12) Old Version New Version Net Change Download Size
-
- extra/compiler-rt19 19.1.7-1 44.05 MiB 3.59 MiB
- core/libedit 20250104_3.1-1 0.26 MiB 0.11 MiB
- core/libmakepkg-dropins 18-1 20-1 0.00 MiB 0.01 MiB
- core/libp11-kit 0.26.1-1 0.26.2-1 0.00 MiB 0.49 MiB
- core/linux-api-headers 6.18-1 6.19-1 0.09 MiB 1.49 MiB
- extra/llvm19-libs 19.1.7-2 134.98 MiB 35.24 MiB
- core/p11-kit 0.26.1-1 0.26.2-1 0.00 MiB 0.24 MiB
- core/systemd 259-2 259.1-1 0.17 MiB 9.43 MiB
- core/systemd-libs 259-2 259.1-1 0.00 MiB 1.25 MiB
- core/systemd-sysvcompat 259-2 259.1-1 0.00 MiB 0.01 MiB
- extra/clang19 19.1.7-1 208.88 MiB 44.32 MiB
- extra/llvm19 19.1.7-2 68.74 MiB 13.61 MiB
-
- Total Download Size: 109.79 MiB
- Total Installed Size: 507.41 MiB
- Net Upgrade Size: 457.18 MiB
-
- :: Proceed with installation? [Y/n]
- :: Retrieving packages...
- clang19-19.1.7-1-x86_64 downloading...
- llvm19-libs-19.1.7-2-x86_64 downloading...
- llvm19-19.1.7-2-x86_64 downloading...
- systemd-259.1-1-x86_64 downloading...
- compiler-rt19-19.1.7-1-x86_64 downloading...
- linux-api-headers-6.19-1-x86_64 downloading...
- systemd-libs-259.1-1-x86_64 downloading...
- libp11-kit-0.26.2-1-x86_64 downloading...
- p11-kit-0.26.2-1-x86_64 downloading...
- libedit-20250104_3.1-1-x86_64 downloading...
- systemd-sysvcompat-259.1-1-x86_64 downloading...
- libmakepkg-dropins-20-1-any downloading...
- error: failed retrieving file 'llvm19-19.1.7-2-x86_64.pkg.tar.zst' from fastly.mirror.pkgbuild.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
- error: failed retrieving file 'systemd-259.1-1-x86_64.pkg.tar.zst' from fastly.mirror.pkgbuild.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
- checking keyring...
- checking package integrity...
- loading package files...
- checking for file conflicts...
- :: Processing package changes...
- upgrading linux-api-headers...
- installing libedit...
- installing llvm19-libs...
- installing compiler-rt19...
- upgrading libp11-kit...
- upgrading systemd-libs...
- upgrading p11-kit...
- installing clang19...
- Optional dependencies for clang19
- openmp: OpenMP support in clang with -fopenmp
- python: for scan-view and git-clang-format
- llvm19: referenced by some clang headers [pending]
- installing llvm19...
- upgrading libmakepkg-dropins...
- upgrading systemd...
- upgrading systemd-sysvcompat...
- :: Running post-transaction hooks...
- ( 1/11) Creating system user accounts...
- ( 2/11) 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.
- ( 3/11) Updating journal message catalog...
- ( 4/11) Updating udev hardware database...
- ( 5/11) Applying kernel sysctl settings...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- ( 6/11) Reloading system manager configuration...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- ( 7/11) Reloading user manager configuration...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- ( 8/11) Restarting marked services...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- ( 9/11) Reloading device manager configuration...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- (10/11) Arming ConditionNeedsUpdate...
- (11/11) Reloading system bus configuration...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved conf-libclang.19 (cached)
∗ installed conf-bash.1
∗ installed conf-libclang.19
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-09 12:23.04 ---> saved as "609743bdb1dc82b49222737c908052c2d2d5a3edb501872923e3f45b9fc46739"
Job succeeded
2026-02-09 12:23.13: Job succeeded