(for PR #29110)
2025-12-30 15:25.29: New job: build conf-llvm-static.20, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (a16fbbbc4ad239dba151649395b1e98d3d337d30)
on fedora-43-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:fedora-43-ocaml-4.14@sha256:471b3a3578da85add672c5fd7c6c9d3aa9ce1e82b1c3a3641dc2601d545c841d
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 "\"fedora-43\""; 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.29: Using cache hint "ocaml/opam:fedora-43-ocaml-4.14@sha256:471b3a3578da85add672c5fd7c6c9d3aa9ce1e82b1c3a3641dc2601d545c841d-conf-llvm-static.20-a16fbbbc4ad239dba151649395b1e98d3d337d30"
2025-12-30 15:25.29: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-4.14@sha256:471b3a3578da85add672c5fd7c6c9d3aa9ce1e82b1c3a3641dc2601d545c841d)
(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 \"\\\"fedora-43\\\"\"; 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.29: Waiting for resource in pool OCluster
2025-12-30 15:26.38: Waiting for worker…
2025-12-30 15:30.54: Got resource from pool OCluster
Building on odawa.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:fedora-43-ocaml-4.14@sha256:471b3a3578da85add672c5fd7c6c9d3aa9ce1e82b1c3a3641dc2601d545c841d)
2025-12-30 15:31.01 ---> using "0058dcab3e0eff3064fc5e4e80c6d5c13b1ee8116aa6a9f8eb356a9d88c759d3" 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:31.01 ---> using "d4d7676119172172fa0e671692960f129825be5b511d623b81b782df6e69d964" 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:31.02 ---> using "b4cc03a07d74387c78f1009e9fea1187b95308d2eae2f8307c0c0faed0955d32" 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=fedora os-version=43
# 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 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:31.02 ---> using "d9c127b72da8e44114df93767191f8b3e57efe69daf658b2ae99274819a269a1" 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:31.02 ---> using "36229baf08594c900144f58583ef4f9375e82f4600ce49540f508a8cf1a9adfd" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-30 15:31.12 ---> saved as "f613e16640db74093cae6da5a0b0656b8263712b35958e34ff8da22ad287dfdb"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-30 15:31.30 ---> saved as "5fc74add0c9063d0bedf2e21f38309caac10343e5b76dcb21a574d201b3e8ad7"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 43 - x86_64 - Updates 100% | 39.7 KiB/s | 20.3 KiB | 00m01s
- Repositories loaded.
- Metadata cache created.
2025-12-30 15:31.33 ---> saved as "2d8d1cbd13ba9486aa62dbad7b59891adf6028c5a0fbed20b1b000ff319d408c"
/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:31.34 ---> saved as "5fb24288dffbff55019b1dbde610483cd786f9de305067fb5946ecb8f47a565e"
/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 \"\\\"fedora-43\\\"\"; 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"))
conf-llvm-static.20 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
- install conf-bash 1 [required by conf-llvm-static]
- install conf-llvm-static 20 (pinned)
The following system packages will first need to be installed:
llvm20-devel
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run yum to install them (may need root/sudo access)
2. Display the recommended yum 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 "yum" "install" "-y" "llvm20-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package Arch Version Repository Size
- Installing:
- llvm20-devel x86_64 20.1.8-2.fc43 fedora 28.8 MiB
- Installing dependencies:
- libedit-devel x86_64 3.1-57.20251016cvs.fc43 updates 59.4 KiB
- libzstd-devel x86_64 1.5.7-2.fc43 fedora 208.0 KiB
- llvm20 x86_64 20.1.8-2.fc43 fedora 90.5 MiB
- llvm20-filesystem x86_64 20.1.8-2.fc43 fedora 0.0 B
- llvm20-googletest x86_64 20.1.8-2.fc43 fedora 2.4 MiB
- llvm20-libs x86_64 20.1.8-2.fc43 fedora 139.7 MiB
- llvm20-static x86_64 20.1.8-2.fc43 fedora 376.5 MiB
- llvm20-test x86_64 20.1.8-2.fc43 fedora 1.9 MiB
- ncurses-c++-libs x86_64 6.5-7.20250614.fc43 fedora 153.6 KiB
- ncurses-devel x86_64 6.5-7.20250614.fc43 fedora 893.4 KiB
-
- Transaction Summary:
- Installing: 11 packages
-
- Total size of inbound packages is 115 MiB. Need to download 115 MiB.
- After this operation, 641 MiB extra will be used (install 641 MiB, remove 0 B).
- [ 1/11] llvm20-googletest-0:20.1.8-2.fc 100% | 2.2 MiB/s | 436.7 KiB | 00m00s
- [ 2/11] llvm20-devel-0:20.1.8-2.fc43.x8 100% | 3.6 MiB/s | 4.5 MiB | 00m01s
- [ 3/11] llvm20-0:20.1.8-2.fc43.x86_64 100% | 2.5 MiB/s | 24.2 MiB | 00m10s
- [ 4/11] llvm20-test-0:20.1.8-2.fc43.x86 100% | 4.6 MiB/s | 661.2 KiB | 00m00s
- [ 5/11] llvm20-filesystem-0:20.1.8-2.fc 100% | 246.4 KiB/s | 14.5 KiB | 00m00s
- [ 6/11] libedit-devel-0:3.1-57.20251016 100% | 4.4 MiB/s | 40.6 KiB | 00m00s
- [ 7/11] ncurses-devel-0:6.5-7.20250614. 100% | 3.9 MiB/s | 590.2 KiB | 00m00s
- [ 8/11] ncurses-c++-libs-0:6.5-7.202506 100% | 3.3 MiB/s | 37.7 KiB | 00m00s
- [ 9/11] libzstd-devel-0:1.5.7-2.fc43.x8 100% | 4.0 MiB/s | 52.9 KiB | 00m00s
- [10/11] llvm20-libs-0:20.1.8-2.fc43.x86 100% | 2.8 MiB/s | 34.3 MiB | 00m12s
- [11/11] llvm20-static-0:20.1.8-2.fc43.x 100% | 3.4 MiB/s | 49.8 MiB | 00m15s
- --------------------------------------------------------------------------------
- [11/11] Total 100% | 7.0 MiB/s | 114.5 MiB | 00m16s
- Running transaction
- [ 1/13] Verify package files 100% | 27.0 B/s | 11.0 B | 00m00s
- [ 2/13] Prepare transaction 100% | 183.0 B/s | 11.0 B | 00m00s
- [ 3/13] Installing llvm20-filesystem-0: 100% | 1.0 MiB/s | 1.1 KiB | 00m00s
- [ 4/13] Installing llvm20-libs-0:20.1.8 100% | 387.0 MiB/s | 139.7 MiB | 00m00s
- [ 5/13] Installing llvm20-0:20.1.8-2.fc 100% | 337.9 MiB/s | 90.5 MiB | 00m00s
- [ 6/13] Installing llvm20-test-0:20.1.8 100% | 96.7 MiB/s | 1.9 MiB | 00m00s
- [ 7/13] Installing llvm20-googletest-0: 100% | 243.6 MiB/s | 2.4 MiB | 00m00s
- [ 8/13] Installing llvm20-static-0:20.1 100% | 461.4 MiB/s | 376.5 MiB | 00m01s
- [ 9/13] Installing libzstd-devel-0:1.5. 100% | 102.0 MiB/s | 208.8 KiB | 00m00s
- [10/13] Installing ncurses-c++-libs-0:6 100% | 50.4 MiB/s | 154.8 KiB | 00m00s
- [11/13] Installing ncurses-devel-0:6.5- 100% | 44.2 MiB/s | 1.0 MiB | 00m00s
- [12/13] Installing libedit-devel-0:3.1- 100% | 10.9 MiB/s | 67.0 KiB | 00m00s
- [13/13] Installing llvm20-devel-0:20.1. 100% | 100.2 MiB/s | 29.1 MiB | 00m00s
- Complete!
+ /usr/sbin/rpm "-q" "--whatprovides" "llvm20-devel"
- llvm20-devel-20.1.8-2.fc43.x86_64
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-llvm-static.20 (cached)
-> installed conf-bash.1
-> installed conf-llvm-static.20
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-30 15:31.58 ---> saved as "fe3327fb334fffa72b96337200dc4e302ec7f3191d8622369aaa543593356dae"
Job succeeded
2025-12-30 15:32.02: Job succeeded