- github
- ocaml
- opam-repository
- a16fbb
- distributions,fedora-43-ocaml-5.4,llvm.21-static
(not at the head of any monitored branch or PR)
2025-12-30 15:25.29: New job: build llvm.21-static, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (a16fbbbc4ad239dba151649395b1e98d3d337d30)
on fedora-43-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-43-ocaml-5.4@sha256:9e47444bd58f8126d63b253cc89ce8ec630d257c2d65d199e42afddedb97d0d5
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.21-static 21-static
RUN opam reinstall llvm.21-static; \
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" != 'llvm.21-static' && 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-5.4@sha256:9e47444bd58f8126d63b253cc89ce8ec630d257c2d65d199e42afddedb97d0d5-llvm.21-static-a16fbbbc4ad239dba151649395b1e98d3d337d30"
2025-12-30 15:25.29: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-5.4@sha256:9e47444bd58f8126d63b253cc89ce8ec630d257c2d65d199e42afddedb97d0d5)
(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.21-static 21-static"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall llvm.21-static;\
\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\" != 'llvm.21-static' && 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.57: Waiting for worker…
2025-12-30 15:31.16: 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-43-ocaml-5.4@sha256:9e47444bd58f8126d63b253cc89ce8ec630d257c2d65d199e42afddedb97d0d5)
Unable to find image 'ocaml/opam:fedora-43-ocaml-5.4@sha256:9e47444bd58f8126d63b253cc89ce8ec630d257c2d65d199e42afddedb97d0d5' locally
docker.io/ocaml/opam@sha256:9e47444bd58f8126d63b253cc89ce8ec630d257c2d65d199e42afddedb97d0d5: Pulling from ocaml/opam
1216d224fefc: Already exists
08f6b7a168c0: Already exists
5ed188bb4904: Already exists
f23351b57642: Already exists
01e02cab7b2d: Already exists
c6d47c9af730: Already exists
18509e7a37b5: Already exists
0f4342aed362: Already exists
335b6c3d0187: Already exists
cbd06b13879d: Already exists
3ff93b36914f: Already exists
52a3227a36bf: Already exists
31e6d570f22b: Already exists
2ec1ea75cd3f: Already exists
1905166d826a: Already exists
74a1862f145f: Already exists
61f5ab3fe0dc: Already exists
3c82be68e86e: Already exists
c6df5f609b10: Already exists
797948b45f38: Already exists
ad22a4ad0680: Already exists
4f4fb700ef54: Already exists
ad2cdae7377e: Already exists
e90a9b3daa0a: Already exists
98dca692a736: Already exists
03444bbf90a1: Already exists
42dcdab85137: Already exists
ac51d948264e: Already exists
321c584b3ae4: Already exists
2f35f85c5eb7: Already exists
99d0f07cae31: Already exists
2c7895be90d2: Already exists
5f2244121247: Already exists
8d516290c9f2: Already exists
e63d93295aab: Already exists
a6da062b6bab: Already exists
65f36f10dd87: Already exists
ed4cfc5ffea7: Already exists
b469827cf174: Already exists
5355ac9477f5: Already exists
3dfba9ca38fc: Pulling fs layer
7be66e9b357c: Pulling fs layer
54a381cd4eb4: Pulling fs layer
4c51ea99d20c: Pulling fs layer
3dfba9ca38fc: Waiting
c7b6a9308d39: Pulling fs layer
7be66e9b357c: Waiting
54a381cd4eb4: Waiting
c7b6a9308d39: Waiting
4c51ea99d20c: Waiting
3dfba9ca38fc: Download complete
3dfba9ca38fc: Pull complete
7be66e9b357c: Verifying Checksum
7be66e9b357c: Download complete
54a381cd4eb4: Download complete
4c51ea99d20c: Download complete
c7b6a9308d39: Verifying Checksum
c7b6a9308d39: Download complete
7be66e9b357c: Pull complete
54a381cd4eb4: Pull complete
4c51ea99d20c: Pull complete
c7b6a9308d39: Pull complete
Digest: sha256:9e47444bd58f8126d63b253cc89ce8ec630d257c2d65d199e42afddedb97d0d5
Status: Downloaded newer image for ocaml/opam@sha256:9e47444bd58f8126d63b253cc89ce8ec630d257c2d65d199e42afddedb97d0d5
2025-12-30 15:31.34 ---> using "55255fbaf2822a80fd6f7e80a1ea861e72d59c7b5a834c9fbe0fad331b127a2e" 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.34 ---> using "53c3b03393df00996a7fb1c2fe9c85ffec68cb393990eb15ff407629e25d1306" 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:31.34 ---> using "97eca4d0555f199e058328a285350b0e21420850c2f19cb959e81ddf93df5f46" 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 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:31.34 ---> using "abb4e406670ef869f444b619b11ce102b002a2fec54a117fe0a54ab376b67594" 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.34 ---> using "f9bcb39aa665c39f1df3906a49e1a40a32664633e345a31335ddf0b50fc4a3fe" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-30 15:31.37 ---> saved as "c666dc39ec52d8b3af54ac89985d933c5f27f66fe86bc00a18cad60fbf3e376c"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-30 15:31.57 ---> saved as "c21af6100bb09283c5d21e96be4a2bdfcf47df345e44f52ab50126532a6bc8dd"
/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% | 147.1 KiB/s | 20.3 KiB | 00m00s
- Repositories loaded.
- Metadata cache created.
2025-12-30 15:32.04 ---> saved as "1485187007966d44a2f09aa98ff6036c165b104d7bb592c8565b5a42fc0cbf88"
/home/opam: (run (shell "opam pin add -k version -yn llvm.21-static 21-static"))
llvm is now pinned to version 21-static
2025-12-30 15:32.05 ---> saved as "f549aac12339acea628366209f8e4e56232e319f3b7a843b547b57ad22fab279"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall llvm.21-static;\
\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\" != 'llvm.21-static' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
llvm.21-static 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-static]
- install conf-cmake 1 [required by llvm]
- install conf-llvm-static 21 [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 21-static (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.10-3.fc43 updates 34.5 MiB
- llvm-devel x86_64 21.1.7-1.fc43 updates 33.5 MiB
- Installing dependencies:
- cmake-data noarch 3.31.10-3.fc43 updates 8.5 MiB
- cmake-filesystem x86_64 3.31.10-3.fc43 updates 0.0 B
- jsoncpp x86_64 1.9.6-2.fc43 fedora 257.6 KiB
- libedit-devel x86_64 3.1-57.20251016cvs.fc43 updates 59.4 KiB
- libuv x86_64 1:1.51.0-2.fc43 fedora 570.2 KiB
- libzstd-devel x86_64 1.5.7-2.fc43 fedora 208.0 KiB
- llvm x86_64 21.1.7-1.fc43 updates 89.3 MiB
- llvm-googletest x86_64 21.1.7-1.fc43 updates 2.4 MiB
- llvm-static x86_64 21.1.7-1.fc43 updates 377.5 MiB
- llvm-test x86_64 21.1.7-1.fc43 updates 2.3 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
- rhash x86_64 1.4.5-3.fc43 fedora 351.1 KiB
- vim-filesystem noarch 2:9.1.1972-1.fc43 updates 40.0 B
-
- Transaction Summary:
- Installing: 16 packages
-
- Total size of inbound packages is 98 MiB. Need to download 98 MiB.
- After this operation, 550 MiB extra will be used (install 550 MiB, remove 0 B).
- [ 1/16] cmake-filesystem-0:3.31.10-3.fc 100% | 118.5 KiB/s | 13.9 KiB | 00m00s
- [ 2/16] jsoncpp-0:1.9.6-2.fc43.x86_64 100% | 802.0 KiB/s | 101.1 KiB | 00m00s
- [ 3/16] libuv-1:1.51.0-2.fc43.x86_64 100% | 2.6 MiB/s | 266.1 KiB | 00m00s
- [ 4/16] rhash-0:1.4.5-3.fc43.x86_64 100% | 2.6 MiB/s | 197.9 KiB | 00m00s
- [ 5/16] cmake-data-0:3.31.10-3.fc43.noa 100% | 374.6 KiB/s | 2.5 MiB | 00m07s
- [ 6/16] llvm-devel-0:21.1.7-1.fc43.x86_ 100% | 626.2 KiB/s | 5.4 MiB | 00m09s
- [ 7/16] llvm-googletest-0:21.1.7-1.fc43 100% | 668.3 KiB/s | 443.1 KiB | 00m01s
- [ 8/16] cmake-0:3.31.10-3.fc43.x86_64 100% | 884.1 KiB/s | 12.2 MiB | 00m14s
- [ 9/16] llvm-test-0:21.1.7-1.fc43.x86_6 100% | 3.7 MiB/s | 743.9 KiB | 00m00s
- [10/16] libedit-devel-0:3.1-57.20251016 100% | 1.5 MiB/s | 40.6 KiB | 00m00s
- [11/16] ncurses-devel-0:6.5-7.20250614. 100% | 1.9 MiB/s | 590.2 KiB | 00m00s
- [12/16] ncurses-c++-libs-0:6.5-7.202506 100% | 5.3 MiB/s | 37.7 KiB | 00m00s
- [13/16] libzstd-devel-0:1.5.7-2.fc43.x8 100% | 8.6 MiB/s | 52.9 KiB | 00m00s
- [14/16] vim-filesystem-2:9.1.1972-1.fc4 100% | 2.1 MiB/s | 15.4 KiB | 00m00s
- [15/16] llvm-0:21.1.7-1.fc43.x86_64 100% | 788.2 KiB/s | 24.6 MiB | 00m32s
- [16/16] llvm-static-0:21.1.7-1.fc43.x86 100% | 773.4 KiB/s | 50.6 MiB | 01m07s
- --------------------------------------------------------------------------------
- [16/16] Total 100% | 1.3 MiB/s | 97.7 MiB | 01m17s
- Running transaction
- [ 1/18] Verify package files 100% | 13.0 B/s | 16.0 B | 00m01s
- [ 2/18] Prepare transaction 100% | 90.0 B/s | 16.0 B | 00m00s
- [ 3/18] Installing cmake-filesystem-0:3 100% | 948.7 KiB/s | 7.6 KiB | 00m00s
- [ 4/18] Installing llvm-0:21.1.7-1.fc43 100% | 133.4 MiB/s | 89.4 MiB | 00m01s
- [ 5/18] Installing llvm-test-0:21.1.7-1 100% | 59.2 MiB/s | 2.3 MiB | 00m00s
- [ 6/18] Installing vim-filesystem-2:9.1 100% | 337.1 KiB/s | 4.7 KiB | 00m00s
- [ 7/18] Installing libzstd-devel-0:1.5. 100% | 68.0 MiB/s | 208.8 KiB | 00m00s
- [ 8/18] Installing ncurses-c++-libs-0:6 100% | 30.2 MiB/s | 154.8 KiB | 00m00s
- [ 9/18] Installing ncurses-devel-0:6.5- 100% | 27.5 MiB/s | 1.0 MiB | 00m00s
- [10/18] Installing libedit-devel-0:3.1- 100% | 21.8 MiB/s | 67.0 KiB | 00m00s
- [11/18] Installing llvm-static-0:21.1.7 100% | 176.6 MiB/s | 377.5 MiB | 00m02s
- [12/18] Installing llvm-googletest-0:21 100% | 111.1 MiB/s | 2.4 MiB | 00m00s
- [13/18] Installing rhash-0:1.4.5-3.fc43 100% | 13.9 MiB/s | 356.4 KiB | 00m00s
- [14/18] Installing libuv-1:1.51.0-2.fc4 100% | 139.9 MiB/s | 573.0 KiB | 00m00s
- [15/18] Installing jsoncpp-0:1.9.6-2.fc 100% | 63.3 MiB/s | 259.2 KiB | 00m00s
- [16/18] Installing cmake-0:3.31.10-3.fc 100% | 124.6 MiB/s | 34.5 MiB | 00m00s
- [17/18] Installing cmake-data-0:3.31.10 100% | 28.4 MiB/s | 9.1 MiB | 00m00s
- [18/18] Installing llvm-devel-0:21.1.7- 100% | 52.3 MiB/s | 34.2 MiB | 00m01s
- Complete!
+ /usr/sbin/rpm "-q" "--whatprovides" "cmake" "llvm-devel"
- cmake-3.31.10-3.fc43.x86_64
- llvm-devel-21.1.7-1.fc43.x86_64
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-cmake.1 (cached)
-> retrieved conf-llvm-static.21 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-bash.1
-> installed conf-cmake.1
-> retrieved ctypes.0.24.0 (cached)
-> installed conf-llvm-static.21
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved llvm.21-static (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed dune.3.20.2
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed integers.0.7.0
-> installed dune-configurator.3.20.2
-> installed ocamlfind.1.9.8
-> installed ctypes.0.24.0
-> installed llvm.21-static
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-30 15:35.35 ---> saved as "502e36c81e0e39910f04d506ed7e28d4514da7070c1c7a0c4df8ba46bc2d4374"
Job succeeded
2025-12-30 15:35.42: Job succeeded