- github
- ocaml
- opam-repository
- 425e7a
- distributions,fedora-40-ocaml-5.3,llvm.18-static
(not at the head of any monitored branch or PR)
2025-02-10 19:07.10: New job: build llvm.18-static, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27178/head (425e7ad3a0b3cad8b1456afbaac6823102a9c57f)
on fedora-40-ocaml-5.3/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/27178/head" && git reset --hard 425e7ad3
git fetch origin master
git merge --no-edit e41dcf1317027b68f2446cba5fefed79d9087146
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-40-ocaml-5.3@sha256:3cca48a72311daec7d21b582dd0c6cc7e149bb2cc358f171390f73374b24286f
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.18-static 18-static
RUN opam reinstall llvm.18-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-40\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'llvm.18-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-02-10 19:07.10: Using cache hint "ocaml/opam:fedora-40-ocaml-5.3@sha256:3cca48a72311daec7d21b582dd0c6cc7e149bb2cc358f171390f73374b24286f-llvm.18-static-425e7ad3a0b3cad8b1456afbaac6823102a9c57f"
2025-02-10 19:07.10: Using OBuilder spec:
((from ocaml/opam:fedora-40-ocaml-5.3@sha256:3cca48a72311daec7d21b582dd0c6cc7e149bb2cc358f171390f73374b24286f)
(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.18-static 18-static"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall llvm.18-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-40\\\"\"; 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.18-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-02-10 19:07.10: Waiting for resource in pool OCluster
2025-02-11 16:36.37: Waiting for worker…
2025-02-11 16:39.57: Got resource from pool OCluster
Building on x86-bm-c5.sw.ocaml.org
All commits already cached
Updating files: 72% (16933/23308)
Updating files: 73% (17015/23308)
Updating files: 74% (17248/23308)
Updating files: 75% (17481/23308)
Updating files: 76% (17715/23308)
Updating files: 77% (17948/23308)
Updating files: 78% (18181/23308)
Updating files: 79% (18414/23308)
Updating files: 80% (18647/23308)
Updating files: 81% (18880/23308)
Updating files: 82% (19113/23308)
Updating files: 83% (19346/23308)
Updating files: 84% (19579/23308)
Updating files: 85% (19812/23308)
Updating files: 86% (20045/23308)
Updating files: 87% (20278/23308)
Updating files: 88% (20512/23308)
Updating files: 89% (20745/23308)
Updating files: 90% (20978/23308)
Updating files: 91% (21211/23308)
Updating files: 92% (21444/23308)
Updating files: 93% (21677/23308)
Updating files: 94% (21910/23308)
Updating files: 95% (22143/23308)
Updating files: 96% (22376/23308)
Updating files: 97% (22609/23308)
Updating files: 98% (22842/23308)
Updating files: 99% (23075/23308)
Updating files: 100% (23308/23308)
Updating files: 100% (23308/23308), done.
HEAD is now at e41dcf1317 Merge pull request #27400 from hannesm/release-tcpip-v9.0.0
Merge made by the 'ort' strategy.
packages/conf-llvm-shared/conf-llvm-shared.18/opam | 34 ++++++++++++++
packages/conf-llvm-static/conf-llvm-static.18/opam | 34 ++++++++++++++
packages/llvm/llvm.18-shared/opam | 52 +++++++++++++++++++++
packages/llvm/llvm.18-static/opam | 54 ++++++++++++++++++++++
4 files changed, 174 insertions(+)
create mode 100644 packages/conf-llvm-shared/conf-llvm-shared.18/opam
create mode 100644 packages/conf-llvm-static/conf-llvm-static.18/opam
create mode 100644 packages/llvm/llvm.18-shared/opam
create mode 100644 packages/llvm/llvm.18-static/opam
(from ocaml/opam:fedora-40-ocaml-5.3@sha256:3cca48a72311daec7d21b582dd0c6cc7e149bb2cc358f171390f73374b24286f)
2025-02-11 16:41.26 ---> saved as "14e06d9d62dfd09f887e4dbacbf2310d1ba573f817684cdee07af8d606e12160"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-02-11 16:41.27 ---> saved as "419c7d377c51ab307546e0f0c01d1e0dc60e3c1d5e210cdc1e45adeb74e65165"
/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 development 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 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] no changes from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-02-11 16:42.27 ---> saved as "323ba578638ea106c1fa0d9a94a46607af48064591d1544873deb821385b4893"
/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.4.0~alpha1~dev (747e73667ad9d054b0f736be205c0013e1bec087)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=fedora os-version=40
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 31
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
# invariant ["ocaml-base-compiler" {>= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0
2025-02-11 16:42.32 ---> saved as "a70ae657f39acbc10dd4e0d97a234f3635679e715b1f8ec5730c2277e52024d9"
/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-02-11 16:42.40 ---> saved as "ca46d8361ca1a2b8e09d1e0f0ccd7a6877a3d15abe858b605282a82c37e5cd76"
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-11 16:42.47 ---> saved as "00a996380c6b337f3889e34d029a6e7eb60058a546c54e65c9fc82638a44a129"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-11 16:43.27 ---> saved as "f653b16e1a4c24f303823a65ac5414cedc79e54c27580f6f8874c9a99470fae5"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 40 - x86_64 132 kB/s | 27 kB 00:00
- Fedora 40 openh264 (From Cisco) - x86_64 5.7 kB/s | 989 B 00:00
- Fedora 40 - x86_64 - Updates 138 kB/s | 24 kB 00:00
- Fedora 40 - x86_64 - Updates 3.5 MB/s | 4.3 MB 00:01
- Metadata cache created.
2025-02-11 16:43.36 ---> saved as "c91bd3bd6081f7b9d4c5ae046354abe667b4e58fa8bd2d3c4b3f5dbbe0ed803e"
/home/opam: (run (shell "opam pin add -k version -yn llvm.18-static 18-static"))
llvm is now pinned to version 18-static
2025-02-11 16:43.38 ---> saved as "5acd0c53ae606b4437c62cf0a9dd34a78abea6b868970ab91d00817a8acc19e9"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall llvm.18-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-40\\\"\"; 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.18-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.18-static is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 12 packages
- install bigarray-compat 1.1.0 [required by ctypes]
- install conf-bash 1 [required by conf-llvm-static]
- install conf-cmake 1 [required by llvm]
- install conf-llvm-static 18 [required by llvm]
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.23.0 [required by llvm]
- install dune 3.17.2 [required by ctypes]
- install dune-configurator 3.17.2 [required by ctypes]
- install integers 0.7.0 [required by ctypes]
- install llvm 18-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/bin/sudo "yum" "install" "-y" "cmake" "llvm-devel"
- Last metadata expiration check: 0:00:16 ago on Tue Feb 11 16:43:30 2025.
- Dependencies resolved.
- ================================================================================
- Package Arch Version Repository Size
- ================================================================================
- Installing:
- cmake x86_64 3.30.5-1.fc40 updates 11 M
- llvm-devel x86_64 18.1.8-3.fc40 updates 4.1 M
- Installing dependencies:
- cmake-data noarch 3.30.5-1.fc40 updates 2.3 M
- cmake-filesystem x86_64 3.30.5-1.fc40 updates 17 k
- jsoncpp x86_64 1.9.5-7.fc40 fedora 99 k
- libedit-devel x86_64 3.1-54.20250104cvs.fc40 updates 41 k
- libuv x86_64 1:1.50.0-1.fc40 updates 261 k
- llvm x86_64 18.1.8-3.fc40 updates 27 M
- llvm-googletest x86_64 18.1.8-3.fc40 updates 382 k
- llvm-static x86_64 18.1.8-3.fc40 updates 36 M
- llvm-test x86_64 18.1.8-3.fc40 updates 649 k
- ncurses-c++-libs x86_64 6.4-12.20240127.fc40 fedora 38 k
- ncurses-devel x86_64 6.4-12.20240127.fc40 fedora 562 k
- rhash x86_64 1.4.3-4.fc40 fedora 194 k
- vim-filesystem noarch 2:9.1.1081-1.fc40 updates 16 k
-
- Transaction Summary
- ================================================================================
- Install 15 Packages
-
- Total download size: 83 M
- Installed size: 445 M
- Downloading Packages:
- (1/15): ncurses-c++-libs-6.4-12.20240127.fc40.x 253 kB/s | 38 kB 00:00
- (2/15): jsoncpp-1.9.5-7.fc40.x86_64.rpm 506 kB/s | 99 kB 00:00
- (3/15): ncurses-devel-6.4-12.20240127.fc40.x86_ 1.9 MB/s | 562 kB 00:00
- (4/15): rhash-1.4.3-4.fc40.x86_64.rpm 1.2 MB/s | 194 kB 00:00
- (5/15): cmake-filesystem-3.30.5-1.fc40.x86_64.r 216 kB/s | 17 kB 00:00
- (6/15): libedit-devel-3.1-54.20250104cvs.fc40.x 645 kB/s | 41 kB 00:00
- (7/15): cmake-data-3.30.5-1.fc40.noarch.rpm 12 MB/s | 2.3 MB 00:00
- (8/15): libuv-1.50.0-1.fc40.x86_64.rpm 4.4 MB/s | 261 kB 00:00
- (9/15): cmake-3.30.5-1.fc40.x86_64.rpm 23 MB/s | 11 MB 00:00
- (10/15): llvm-googletest-18.1.8-3.fc40.x86_64.r 7.4 MB/s | 382 kB 00:00
- (11/15): llvm-devel-18.1.8-3.fc40.x86_64.rpm 18 MB/s | 4.1 MB 00:00
- (12/15): llvm-test-18.1.8-3.fc40.x86_64.rpm 6.3 MB/s | 649 kB 00:00
- (13/15): vim-filesystem-9.1.1081-1.fc40.noarch. 516 kB/s | 16 kB 00:00
- (14/15): llvm-18.1.8-3.fc40.x86_64.rpm 29 MB/s | 27 MB 00:00
- (15/15): llvm-static-18.1.8-3.fc40.x86_64.rpm 36 MB/s | 36 MB 00:01
- --------------------------------------------------------------------------------
- Total 44 MB/s | 83 MB 00:01
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
- Preparing : 1/1
- Installing : cmake-filesystem-3.30.5-1.fc40.x86_64 1/15
-
- Installing : llvm-18.1.8-3.fc40.x86_64 2/15
- Installing : llvm-test-18.1.8-3.fc40.x86_64 3/15
- Installing : vim-filesystem-2:9.1.1081-1.fc40.noarch 4/15
- Running scriptlet: vim-filesystem-2:9.1.1081-1.fc40.noarch 4/15
-
- Installing : llvm-static-18.1.8-3.fc40.x86_64 5/15
- Installing : llvm-googletest-18.1.8-3.fc40.x86_64 6/15
- Installing : libuv-1:1.50.0-1.fc40.x86_64 7/15
- Installing : rhash-1.4.3-4.fc40.x86_64 8/15
- Installing : ncurses-c++-libs-6.4-12.20240127.fc40.x86_64 9/15
- Installing : ncurses-devel-6.4-12.20240127.fc40.x86_64 10/15
- Installing : libedit-devel-3.1-54.20250104cvs.fc40.x86_64 11/15
- Installing : jsoncpp-1.9.5-7.fc40.x86_64 12/15
-
- Installing : cmake-data-3.30.5-1.fc40.noarch 13/15
- Installing : cmake-3.30.5-1.fc40.x86_64 14/15
- Installing : llvm-devel-18.1.8-3.fc40.x86_64 15/15
- Running scriptlet: llvm-devel-18.1.8-3.fc40.x86_64 15/15
-
-
- Installed:
- cmake-3.30.5-1.fc40.x86_64
- cmake-data-3.30.5-1.fc40.noarch
- cmake-filesystem-3.30.5-1.fc40.x86_64
- jsoncpp-1.9.5-7.fc40.x86_64
- libedit-devel-3.1-54.20250104cvs.fc40.x86_64
- libuv-1:1.50.0-1.fc40.x86_64
- llvm-18.1.8-3.fc40.x86_64
- llvm-devel-18.1.8-3.fc40.x86_64
- llvm-googletest-18.1.8-3.fc40.x86_64
- llvm-static-18.1.8-3.fc40.x86_64
- llvm-test-18.1.8-3.fc40.x86_64
- ncurses-c++-libs-6.4-12.20240127.fc40.x86_64
- ncurses-devel-6.4-12.20240127.fc40.x86_64
- rhash-1.4.3-4.fc40.x86_64
- vim-filesystem-2:9.1.1081-1.fc40.noarch
-
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "cmake" "llvm-devel"
- cmake-3.30.5-1.fc40.x86_64
- llvm-devel-18.1.8-3.fc40.x86_64
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0 (cached)
-> retrieved conf-cmake.1 (cached)
-> retrieved conf-llvm-static.18 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved ctypes.0.23.0 (cached)
-> installed conf-bash.1
-> installed conf-cmake.1
-> installed conf-llvm-static.18
-> retrieved dune.3.17.2, dune-configurator.3.17.2 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved llvm.18-static (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed dune.3.17.2
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed dune-configurator.3.17.2
-> installed ocamlfind.1.9.8
-> installed ctypes.0.23.0
-> installed llvm.18-static
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-11 16:47.07 ---> saved as "8699a819015defa48c8f7e733d854611fe9201c0869b9ea11eca754d5913f1b3"
Job succeeded
2025-02-11 16:47.11: Job succeeded