(for PR #29110)
2025-12-30 15:25.28: 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-42-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-42-ocaml-4.14@sha256:96a33ae19abb9333fb915bd303301c11ace2a02efa3240eed9b33f575ac4119f
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-42\""; 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.28: Using cache hint "ocaml/opam:fedora-42-ocaml-4.14@sha256:96a33ae19abb9333fb915bd303301c11ace2a02efa3240eed9b33f575ac4119f-conf-llvm-static.20-a16fbbbc4ad239dba151649395b1e98d3d337d30"
2025-12-30 15:25.28: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-4.14@sha256:96a33ae19abb9333fb915bd303301c11ace2a02efa3240eed9b33f575ac4119f)
(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-42\\\"\"; 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.28: Waiting for resource in pool OCluster
2025-12-30 15:25.28: Waiting for worker…
2025-12-30 15:30.15: Got resource from pool OCluster
Building on clete
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-42-ocaml-4.14@sha256:96a33ae19abb9333fb915bd303301c11ace2a02efa3240eed9b33f575ac4119f)
2025-12-30 15:30.38 ---> using "1eb580d080c4cbeff2dbdaad43c94e06bc6be7074e19a8b1e973341633b4209d" 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:30.38 ---> using "7d08dfb31b88850bee4c2af333110b2c8cbd3d382e29748c38fca6b5357c86bf" 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
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-30 15:30.38 ---> using "738d5389f4784823cf2b08f9cae9b21a1d669b752a50a43d21d8a2dccd50391d" 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=42
# 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:30.38 ---> using "4f0254f279a3cfca944c9ccb82c0a6c38f24bba42ac6bfe08301b76400a41faf" 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:30.38 ---> using "c9ed0ba48f865050aa05ebecb2b7ea7e5b0ff8e984fed308f858827fd5e0ceba" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-30 15:30.39 ---> using "dfce538cf224515f7a9e54fd63592830ff889ee501f149d739628288331e30f7" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-30 15:30.50 ---> saved as "0b75ca8b3200567e2177ed8cdf94eb020e3303af571852056a1ba7550a7c9bce"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 42 - x86_64 100% | 23.7 KiB/s | 22.8 KiB | 00m01s
- Fedora 42 openh264 (From Cisco) - x86_ 100% | 1.5 KiB/s | 986.0 B | 00m01s
- Fedora 42 - x86_64 - Updates 100% | 38.2 KiB/s | 20.1 KiB | 00m01s
- Repositories loaded.
- Metadata cache created.
2025-12-30 15:31.01 ---> saved as "b7a41f870f4364e9386cb22b3cd5a9c1272d8aaba4ebfb33498de2fb917fa34d"
/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.02 ---> saved as "3fd755da79eb9222fce8b7b830ec47d7dc56dc273eb6a2b5bff944238cdabb43"
/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-42\\\"\"; 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:
llvm-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" "llvm-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package Arch Version Repository Size
- Installing:
- llvm-devel x86_64 20.1.8-4.fc42 updates 28.9 MiB
- Installing dependencies:
- cmake-filesystem x86_64 3.31.6-2.fc42 fedora 0.0 B
- libedit-devel x86_64 3.1-56.20251016cvs.fc42 updates 59.4 KiB
- libzstd-devel x86_64 1.5.7-1.fc42 fedora 208.0 KiB
- llvm x86_64 20.1.8-4.fc42 updates 89.7 MiB
- llvm-googletest x86_64 20.1.8-4.fc42 updates 2.4 MiB
- llvm-static x86_64 20.1.8-4.fc42 updates 365.1 MiB
- llvm-test x86_64 20.1.8-4.fc42 updates 2.1 MiB
- ncurses-c++-libs x86_64 6.5-5.20250125.fc42 fedora 153.6 KiB
- ncurses-devel x86_64 6.5-5.20250125.fc42 fedora 883.7 KiB
-
- Transaction Summary:
- Installing: 10 packages
-
- Total size of inbound packages is 78 MiB. Need to download 78 MiB.
- After this operation, 490 MiB extra will be used (install 490 MiB, remove 0 B).
- [ 1/10] llvm-googletest-0:20.1.8-4.fc42 100% | 1.3 MiB/s | 445.2 KiB | 00m00s
- [ 2/10] llvm-devel-0:20.1.8-4.fc42.x86_ 100% | 814.2 KiB/s | 4.8 MiB | 00m06s
- [ 3/10] llvm-test-0:20.1.8-4.fc42.x86_6 100% | 930.6 KiB/s | 723.1 KiB | 00m01s
- [ 4/10] cmake-filesystem-0:3.31.6-2.fc4 100% | 1.1 MiB/s | 17.6 KiB | 00m00s
- [ 5/10] libedit-devel-0:3.1-56.20251016 100% | 809.6 KiB/s | 40.5 KiB | 00m00s
- [ 6/10] ncurses-devel-0:6.5-5.20250125. 100% | 1.5 MiB/s | 583.5 KiB | 00m00s
- [ 7/10] ncurses-c++-libs-0:6.5-5.202501 100% | 114.9 KiB/s | 37.9 KiB | 00m00s
- [ 8/10] libzstd-devel-0:1.5.7-1.fc42.x8 100% | 1.1 MiB/s | 53.1 KiB | 00m00s
- [ 9/10] llvm-0:20.1.8-4.fc42.x86_64 100% | 1.4 MiB/s | 23.2 MiB | 00m17s
- [10/10] llvm-static-0:20.1.8-4.fc42.x86 100% | 1.7 MiB/s | 48.3 MiB | 00m29s
- --------------------------------------------------------------------------------
- [10/10] Total 100% | 2.7 MiB/s | 78.2 MiB | 00m29s
- Running transaction
- [ 1/12] Verify package files 100% | 14.0 B/s | 10.0 B | 00m01s
- [ 2/12] Prepare transaction 100% | 96.0 B/s | 10.0 B | 00m00s
- [ 3/12] Installing llvm-0:20.1.8-4.fc42 100% | 143.0 MiB/s | 89.8 MiB | 00m01s
- [ 4/12] Installing llvm-test-0:20.1.8-4 100% | 58.5 MiB/s | 2.1 MiB | 00m00s
- [ 5/12] Installing libzstd-devel-0:1.5. 100% | 102.0 MiB/s | 208.8 KiB | 00m00s
- [ 6/12] Installing ncurses-c++-libs-0:6 100% | 37.8 MiB/s | 154.8 KiB | 00m00s
- [ 7/12] Installing ncurses-devel-0:6.5- 100% | 28.8 MiB/s | 1.0 MiB | 00m00s
- [ 8/12] Installing libedit-devel-0:3.1- 100% | 32.7 MiB/s | 67.0 KiB | 00m00s
- [ 9/12] Installing cmake-filesystem-0:3 100% | 1.5 MiB/s | 7.6 KiB | 00m00s
- [10/12] Installing llvm-static-0:20.1.8 100% | 177.4 MiB/s | 365.2 MiB | 00m02s
- [11/12] Installing llvm-googletest-0:20 100% | 68.5 MiB/s | 2.5 MiB | 00m00s
- [12/12] Installing llvm-devel-0:20.1.8- 100% | 48.5 MiB/s | 29.6 MiB | 00m01s
- Complete!
+ /usr/sbin/rpm "-q" "--whatprovides" "llvm-devel"
- llvm-devel-20.1.8-4.fc42.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.42 ---> saved as "0ad592e6350f36657bb40a518fff838ee5dd99182774070f4c273c355c38d8f4"
Job succeeded
2025-12-30 15:31.50: Job succeeded