- github
- ocaml
- opam-repository
- a16fbb
- distributions,fedora-42-ocaml-5.4,llvm.20-shared
(not at the head of any monitored branch or PR)
2025-12-30 15:25.28: New job: build llvm.20-shared, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (a16fbbbc4ad239dba151649395b1e98d3d337d30)
on fedora-42-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 a16fbbbc
git fetch origin master
git merge --no-edit f2d102f951a5dc2af6db218c6aef53c80186295a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-5.4@sha256:f1e5a2a806455339772b890519949f3014ea0ebe3330f94323f4457e88c324da
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.20-shared 20-shared
RUN opam reinstall llvm.20-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 "\"fedora-42\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'llvm.20-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 .
2025-12-30 15:25.28: Using cache hint "ocaml/opam:fedora-42-ocaml-5.4@sha256:f1e5a2a806455339772b890519949f3014ea0ebe3330f94323f4457e88c324da-llvm.20-shared-a16fbbbc4ad239dba151649395b1e98d3d337d30"
2025-12-30 15:25.28: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.4@sha256:f1e5a2a806455339772b890519949f3014ea0ebe3330f94323f4457e88c324da)
(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.20-shared 20-shared"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall llvm.20-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 \"\\\"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\" != 'llvm.20-shared' && 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:26.35: Waiting for worker…
2025-12-30 15:30.52: Got resource from pool OCluster
Building on eumache
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-5.4@sha256:f1e5a2a806455339772b890519949f3014ea0ebe3330f94323f4457e88c324da)
Unable to find image 'ocaml/opam:fedora-42-ocaml-5.4@sha256:f1e5a2a806455339772b890519949f3014ea0ebe3330f94323f4457e88c324da' locally
docker.io/ocaml/opam@sha256:f1e5a2a806455339772b890519949f3014ea0ebe3330f94323f4457e88c324da: Pulling from ocaml/opam
166acd75d0b1: Already exists
3f5403f6a2f2: Already exists
67aec952ce79: Already exists
0bb48c2941bc: Already exists
4c00ee60bee0: Already exists
0405ae6db764: Already exists
75f105568f25: Already exists
89a1a8bb55db: Already exists
4dbdc277b5cc: Already exists
b9ac9b5d0d58: Already exists
ed3c58c8dfb3: Already exists
a7f2118798c2: Already exists
6cf8123db17c: Already exists
5ac472da51a5: Already exists
3922aa403f38: Already exists
98656b983bdb: Already exists
929c1c6503b7: Already exists
930e6f5c8d1d: Already exists
ea061ab209c7: Already exists
b6a2cb7f5c47: Already exists
c69cf0663843: Already exists
4f4fb700ef54: Already exists
067fb1fc80b8: Already exists
7ea6a305f43c: Already exists
e0c82749fa91: Already exists
f5f2f52bbfe6: Already exists
7f3917cda1bd: Already exists
12e8a6ba30d9: Already exists
52881c97bb6a: Already exists
e4dd3ced19f6: Already exists
85b85699624b: Already exists
5ec3770e6174: Already exists
0140052d9f0a: Already exists
97821c341b06: Already exists
6b0f44402a83: Already exists
637838f6bf32: Already exists
2c4c5f425aca: Already exists
10de3752fc9c: Already exists
cc67aefe0e92: Already exists
c0ce6ac204a8: Already exists
1aaa383acc54: Pulling fs layer
5ebbdecb1989: Pulling fs layer
81d84af1cf2f: Pulling fs layer
f8bfe6fe53cb: Pulling fs layer
70ce5aec4b7f: Pulling fs layer
f8bfe6fe53cb: Waiting
70ce5aec4b7f: Waiting
81d84af1cf2f: Download complete
f8bfe6fe53cb: Verifying Checksum
f8bfe6fe53cb: Download complete
1aaa383acc54: Verifying Checksum
1aaa383acc54: Download complete
70ce5aec4b7f: Download complete
1aaa383acc54: Pull complete
5ebbdecb1989: Verifying Checksum
5ebbdecb1989: Download complete
5ebbdecb1989: Pull complete
81d84af1cf2f: Pull complete
f8bfe6fe53cb: Pull complete
70ce5aec4b7f: Pull complete
Digest: sha256:f1e5a2a806455339772b890519949f3014ea0ebe3330f94323f4457e88c324da
Status: Downloaded newer image for ocaml/opam@sha256:f1e5a2a806455339772b890519949f3014ea0ebe3330f94323f4457e88c324da
2025-12-30 15:31.43 ---> saved as "db23f85558ee845c94ee085d6c47a8cb19fbf2fcf19d3669587b0e47807dd65c"
/: (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.43 ---> saved as "f05a4b4a25f887dfb9e086701e41e902ad8a564b1bfad55fe96c33474d8b1f32"
/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:32.10 ---> saved as "a0f939ca53a64fbac8621788b979c8a465aeb8df93459fa1f788b0b3fcb090b3"
/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 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
2025-12-30 15:32.11 ---> saved as "f4f1f511be91437092895f73817f1fe4bb0f2e4663cf15465c57a67bc90d1885"
/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:32.19 ---> saved as "c0b6f8f78fba4a2b579f4ab0a7bd5ece9bc89bd5fa8fefa94c5e4459f8f7c03d"
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-30 15:32.28 ---> saved as "7f128f4ae5fecda36cb534d47aed57235f8c9690e2d8bd632cae258f9560d598"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-30 15:32.47 ---> saved as "27554812359206ac348e5c448f0f64349f509d2e5198380fafeac237336b5337"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 42 - x86_64 - Updates 100% | 51.9 KiB/s | 20.1 KiB | 00m00s
- Repositories loaded.
- Metadata cache created.
2025-12-30 15:32.51 ---> saved as "70e819980bcb1ad54d6185fd423c4f2238357ba38433d7bf237e2783f264659e"
/home/opam: (run (shell "opam pin add -k version -yn llvm.20-shared 20-shared"))
llvm is now pinned to version 20-shared
2025-12-30 15:32.52 ---> saved as "ad79a1ea1793388e8693b7764027ae66dd92aff8b411884299ea384caa2bbf70"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall llvm.20-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 \"\\\"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\" != 'llvm.20-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.20-shared is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 11 packages
- install conf-bash 1 [required by conf-llvm-shared]
- install conf-cmake 1 [required by llvm]
- install conf-llvm-shared 20 [required by llvm]
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.24.0 [required by llvm]
- install dune 3.20.2 [required by ctypes]
- install dune-configurator 3.20.2 [required by ctypes]
- install integers 0.7.0 [required by ctypes]
- install llvm 20-shared (pinned)
- install ocamlfind 1.9.8 [required by llvm]
- install stdlib-shims 0.3.0 [required by integers]
The following system packages will first need to be installed:
cmake 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" "cmake" "llvm-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package Arch Version Repository Size
- Installing:
- cmake x86_64 3.31.6-2.fc42 fedora 34.2 MiB
- llvm-devel x86_64 20.1.8-4.fc42 updates 28.9 MiB
- Installing dependencies:
- cmake-data noarch 3.31.6-2.fc42 fedora 8.5 MiB
- cmake-filesystem x86_64 3.31.6-2.fc42 fedora 0.0 B
- jsoncpp x86_64 1.9.6-1.fc42 fedora 261.6 KiB
- libedit-devel x86_64 3.1-56.20251016cvs.fc42 updates 59.4 KiB
- libuv x86_64 1:1.51.0-1.fc42 updates 570.2 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
- rhash x86_64 1.4.5-2.fc42 fedora 351.0 KiB
- vim-filesystem noarch 2:9.1.1952-1.fc42 updates 40.0 B
-
- Transaction Summary:
- Installing: 16 packages
-
- Total size of inbound packages is 93 MiB. Need to download 93 MiB.
- After this operation, 533 MiB extra will be used (install 533 MiB, remove 0 B).
- [ 1/16] cmake-filesystem-0:3.31.6-2.fc4 100% | 244.3 KiB/s | 17.6 KiB | 00m00s
- [ 2/16] jsoncpp-0:1.9.6-1.fc42.x86_64 100% | 4.4 MiB/s | 103.5 KiB | 00m00s
- [ 3/16] rhash-0:1.4.5-2.fc42.x86_64 100% | 8.8 MiB/s | 198.7 KiB | 00m00s
- [ 4/16] cmake-data-0:3.31.6-2.fc42.noar 100% | 2.6 MiB/s | 2.5 MiB | 00m01s
- [ 5/16] llvm-devel-0:20.1.8-4.fc42.x86_ 100% | 5.6 MiB/s | 4.8 MiB | 00m01s
- [ 6/16] llvm-googletest-0:20.1.8-4.fc42 100% | 6.9 MiB/s | 445.2 KiB | 00m00s
- [ 7/16] cmake-0:3.31.6-2.fc42.x86_64 100% | 6.4 MiB/s | 12.2 MiB | 00m02s
- [ 8/16] llvm-test-0:20.1.8-4.fc42.x86_6 100% | 2.7 MiB/s | 723.1 KiB | 00m00s
- [ 9/16] vim-filesystem-2:9.1.1952-1.fc4 100% | 3.0 MiB/s | 15.3 KiB | 00m00s
- [10/16] libuv-1:1.51.0-1.fc42.x86_64 100% | 4.6 MiB/s | 266.3 KiB | 00m00s
- [11/16] libedit-devel-0:3.1-56.20251016 100% | 3.6 MiB/s | 40.5 KiB | 00m00s
- [12/16] ncurses-devel-0:6.5-5.20250125. 100% | 4.6 MiB/s | 583.5 KiB | 00m00s
- [13/16] ncurses-c++-libs-0:6.5-5.202501 100% | 4.1 MiB/s | 37.9 KiB | 00m00s
- [14/16] libzstd-devel-0:1.5.7-1.fc42.x8 100% | 4.0 MiB/s | 53.1 KiB | 00m00s
- [15/16] llvm-0:20.1.8-4.fc42.x86_64 100% | 3.8 MiB/s | 23.2 MiB | 00m06s
- [16/16] llvm-static-0:20.1.8-4.fc42.x86 100% | 5.1 MiB/s | 48.3 MiB | 00m10s
- --------------------------------------------------------------------------------
- [16/16] Total 100% | 5.8 MiB/s | 93.5 MiB | 00m16s
- Running transaction
- [ 1/18] Verify package files 100% | 19.0 B/s | 16.0 B | 00m01s
- [ 2/18] Prepare transaction 100% | 88.0 B/s | 16.0 B | 00m00s
- [ 3/18] Installing cmake-filesystem-0:3 100% | 1.2 MiB/s | 7.6 KiB | 00m00s
- [ 4/18] Installing llvm-0:20.1.8-4.fc42 100% | 152.2 MiB/s | 89.8 MiB | 00m01s
- [ 5/18] Installing llvm-test-0:20.1.8-4 100% | 47.9 MiB/s | 2.1 MiB | 00m00s
- [ 6/18] Installing libzstd-devel-0:1.5. 100% | 68.0 MiB/s | 208.8 KiB | 00m00s
- [ 7/18] Installing ncurses-c++-libs-0:6 100% | 25.2 MiB/s | 154.8 KiB | 00m00s
- [ 8/18] Installing ncurses-devel-0:6.5- 100% | 22.9 MiB/s | 1.0 MiB | 00m00s
- [ 9/18] Installing libedit-devel-0:3.1- 100% | 32.7 MiB/s | 67.0 KiB | 00m00s
- [10/18] Installing libuv-1:1.51.0-1.fc4 100% | 93.3 MiB/s | 573.0 KiB | 00m00s
- [11/18] Installing vim-filesystem-2:9.1 100% | 277.6 KiB/s | 4.7 KiB | 00m00s
- [12/18] Installing llvm-static-0:20.1.8 100% | 179.1 MiB/s | 365.2 MiB | 00m02s
- [13/18] Installing llvm-googletest-0:20 100% | 107.3 MiB/s | 2.5 MiB | 00m00s
- [14/18] Installing rhash-0:1.4.5-2.fc42 100% | 12.9 MiB/s | 356.4 KiB | 00m00s
- [15/18] Installing jsoncpp-0:1.9.6-1.fc 100% | 13.5 MiB/s | 263.1 KiB | 00m00s
- [16/18] Installing cmake-data-0:3.31.6- 100% | 29.2 MiB/s | 9.1 MiB | 00m00s
- [17/18] Installing cmake-0:3.31.6-2.fc4 100% | 106.0 MiB/s | 34.2 MiB | 00m00s
- [18/18] Installing llvm-devel-0:20.1.8- 100% | 47.6 MiB/s | 29.6 MiB | 00m01s
- Complete!
+ /usr/sbin/rpm "-q" "--whatprovides" "cmake" "llvm-devel"
- cmake-3.31.6-2.fc42.x86_64
- llvm-devel-20.1.8-4.fc42.x86_64
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-cmake.1 (cached)
-> retrieved conf-llvm-shared.20 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-bash.1
-> installed conf-cmake.1
-> retrieved ctypes.0.24.0 (cached)
-> installed conf-llvm-shared.20
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved integers.0.7.0 (cached)
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed dune-configurator.3.20.2
-> retrieved llvm.20-shared (https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/llvm-project-20.1.8.src.tar.xz)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed ocamlfind.1.9.8
-> installed ctypes.0.24.0
-> installed llvm.20-shared
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-30 15:37.50 ---> saved as "8d87ce7dbb7d1b68b703688df59d4a48084863507d94a994987d7e980b31f505"
Job succeeded
2025-12-30 15:37.55: Job succeeded