- github
- ocaml
- opam-repository
- a16fbb
- distributions,opensuse-tumbleweed-ocaml-4.14,llvm.20-shared
(not at the head of any monitored branch or PR)
2025-12-30 15:25.30: New job: build llvm.20-shared, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (a16fbbbc4ad239dba151649395b1e98d3d337d30)
on opensuse-tumbleweed-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:opensuse-tumbleweed-ocaml-4.14@sha256:f4673e1392a899fc944ecbda4ed841c7ff72f9a0743a9eb4eef080abf1b7c385
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 "\"opensuse-tumbleweed\""; 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.30: Using cache hint "ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:f4673e1392a899fc944ecbda4ed841c7ff72f9a0743a9eb4eef080abf1b7c385-llvm.20-shared-a16fbbbc4ad239dba151649395b1e98d3d337d30"
2025-12-30 15:25.30: Using OBuilder spec:
((from ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:f4673e1392a899fc944ecbda4ed841c7ff72f9a0743a9eb4eef080abf1b7c385)
(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 \"\\\"opensuse-tumbleweed\\\"\"; 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.30: Waiting for resource in pool OCluster
2025-12-30 15:27.18: Waiting for worker…
2025-12-30 15:31.42: 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:opensuse-tumbleweed-ocaml-4.14@sha256:f4673e1392a899fc944ecbda4ed841c7ff72f9a0743a9eb4eef080abf1b7c385)
2025-12-30 15:31.59 ---> saved as "a4ec35cc27d166d4118a6799d65e2839d427f2afdf36dd31b3238de85f8fc17b"
/: (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.59 ---> saved as "d2975906815bf092f721ec39bf026f8d36493332c57b04ba523503377a162e52"
/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.
Continue? [Y/n] y
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.
[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.23 ---> saved as "042a08e9d657b7207f3b404996084a6535ae9a5a677dd9dbf3625952676093a1"
/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=opensuse-tumbleweed os-version=20251225
# 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:32.23 ---> saved as "53574f056d0018383a349d53c318ecb47fbdd161b62a0f01966cefd363c73b7d"
/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.30 ---> saved as "bab100ac672b9212cd6085ea480d718d41ac628728a888ca983c9e5bcc140036"
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-30 15:32.35 ---> saved as "c605ab7f71894126877b0f706c68b4773afbc8290462dc00f5a2bd09f0cd0d48"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-30 15:32.54 ---> saved as "d5fba7031de0febb1f52f5b1549d5e5aea1345d1b7736e84688c1967f93893ef"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Repository 'openSUSE-Tumbleweed-Update' is up to date.
- Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata [.
- ..
- Looking for gpg keys in repository openSUSE-Tumbleweed-Non-Oss.
- gpgkey=http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml.key
- ....
- ....done]
- Building repository 'openSUSE-Tumbleweed-Non-Oss' cache [....done]
- Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata [...
- Looking for gpg keys in repository openSUSE-Tumbleweed-Oss.
- gpgkey=http://download.opensuse.org/tumbleweed/repo/oss/repodata/repomd.xml.key
- ......
- .........
- ......
- .........
- ..........
- .........
- .........
- .........
- .........
- .........
- .........
- ........
- .........
- .........
- .........
- .........
- .........
- ........
- .....
- ........
- .......
- .........
- .....
- ....
- .......
- ........
- ........
- .......
- .........
- ..........
- .........
- .........
- ..........
- .........
- ........
- .......
- ..........
- ..........
- .........
- .........
- ..........
- .........
- .........
- .........
- ..........
- .........
- ..........
- ........
- ......
- ......
- ......
- ........
- .done]
- Building repository 'openSUSE-Tumbleweed-Oss' cache [..
- ..done]
- All repositories have been refreshed.
2025-12-30 15:33.56 ---> saved as "a2d4c80bc74846443334815549a84d17c750bf33d0b040f6d04e2dee56760570"
/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:33.56 ---> saved as "6b2a6ddf4e0d155717c4b7e95a5c273aee42ffbcfbc63e7f75aaa4e17f253fe8"
/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 \"\\\"opensuse-tumbleweed\\\"\"; 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 llvm20-devel
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run zypper to install them (may need root/sudo access)
2. Display the recommended zypper 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 "zypper" "--non-interactive" "install" "cmake" "llvm20-devel"
- Loading repository data...
- Reading installed packages...
- Resolving package dependencies...
-
- The following 17 NEW packages are going to be installed:
- cmake cmake-full libLLVM20 libLTO20 libarchive13 libjsoncpp26 libmpdec4 libomp20-devel libpython3_13-1_0 librhash1 libuv1 llvm20 llvm20-devel llvm20-gold llvm20-polly llvm20-polly-devel python313-base
-
- 17 new packages to install.
-
- Package download size: 70.6 MiB
-
- Package install size change:
- | 289.6 MiB required by packages that will be installed
- 289.6 MiB | - 0 B released by packages that will be removed
-
- Backend: classic_rpmtrans
- Continue? [y/n/v/...? shows all options] (y): y
- Preloading Packages [..
- Preloading: cmake-4.1.3-1.1.x86_64.rpm [done]
- .
- Preloading: llvm20-gold-20.1.8-3.3.x86_64.rpm [done]
- ..
- ..
- Preloading: llvm20-polly-devel-20.1.8-3.3.x86_64.rpm [done]
- .
- ..
- Preloading: libLTO20-20.1.8-3.3.x86_64.rpm [done]
- .
- ..
- ..
- ..
- ..
- ..
- ..
- ..
- ..
- .
- ..
- ..
- ..
- ..
- ..
- .
- ..
- ..
- ..
- ..
- ..
- ..
- Preloading: llvm20-20.1.8-3.3.x86_64.rpm [done]
- .
- ..
- ..
- ..
- ..
- ..
- ..
- ..
- ..
- ..
- ..
- ..
-
- Preloading: llvm20-devel-20.1.8-3.3.x86_64.rpm [done]
- ...
- ..
- ..
- .
- Preloading: llvm20-polly-20.1.8-3.3.x86_64.rpm [done]
- ..
-
- Preloading: libuv1-1.51.0-1.1.x86_64.rpm [done]
- .
- Preloading: librhash1-1.4.6-1.1.x86_64.rpm [done]
- ..
- Preloading: libomp20-devel-20.1.8-3.3.x86_64.rpm [done]
- .
- Preloading: libmpdec4-4.0.1-2.1.x86_64.rpm [done]
- .
- .
- Preloading: libjsoncpp26-1.9.6-1.3.x86_64.rpm [done]
- ..
- Preloading: libarchive13-3.8.4-1.1.x86_64.rpm [done]
- .
- ..
- .
- Preloading: cmake-full-4.1.3-1.1.x86_64.rpm [done]
- ..
- ..
- ..
- ..
- ..
- .
- Preloading: libpython3_13-1_0-3.13.11-1.2.x86_64.rpm [done]
- ..
- ..
- ..
- ..
- ..
- ..
- ..
- .
- ..
- ..
- ..
- ..
- ..
- ..
- ..
- .
- ..
- ..
- ..
- ..
- ..
- ..
- .
- Preloading: python313-base-3.13.11-1.2.x86_64.rpm [done]
- ..
- ..
- .
- .
- ..
- ..
- ..
- ..
- ..
- ..
- .
- ..
- ..
- ..
- ..
- ..
- ..
- .
- Preloading: libLLVM20-20.1.8-3.3.x86_64.rpm [done]
- .
- done]
- Retrieving: libLLVM20-20.1.8-3.3.x86_64 (openSUSE-Tumbleweed-Oss) (1/17), 30.0 MiB
- Retrieving: libarchive13-3.8.4-1.1.x86_64 (openSUSE-Tumbleweed-Oss) (2/17), 393.8 KiB
- Retrieving: libjsoncpp26-1.9.6-1.3.x86_64 (openSUSE-Tumbleweed-Oss) (3/17), 94.3 KiB
- Retrieving: libmpdec4-4.0.1-2.1.x86_64 (openSUSE-Tumbleweed-Oss) (4/17), 86.2 KiB
- Retrieving: libomp20-devel-20.1.8-3.3.x86_64 (openSUSE-Tumbleweed-Oss) (5/17), 494.9 KiB
- Retrieving: librhash1-1.4.6-1.1.x86_64 (openSUSE-Tumbleweed-Oss) (6/17), 138.6 KiB
- Retrieving: libuv1-1.51.0-1.1.x86_64 (openSUSE-Tumbleweed-Oss) (7/17), 104.9 KiB
- Retrieving: llvm20-polly-20.1.8-3.3.x86_64 (openSUSE-Tumbleweed-Oss) (8/17), 1.6 MiB
- Retrieving: llvm20-gold-20.1.8-3.3.x86_64 (openSUSE-Tumbleweed-Oss) (9/17), 81.5 KiB
- Retrieving: llvm20-20.1.8-3.3.x86_64 (openSUSE-Tumbleweed-Oss) (10/17), 3.7 MiB
- Retrieving: libLTO20-20.1.8-3.3.x86_64 (openSUSE-Tumbleweed-Oss) (11/17), 68.2 KiB
- Retrieving: python313-base-3.13.11-1.2.x86_64 (openSUSE-Tumbleweed-Oss) (12/17), 9.1 MiB
- Retrieving: libpython3_13-1_0-3.13.11-1.2.x86_64 (openSUSE-Tumbleweed-Oss) (13/17), 1.9 MiB
- Retrieving: llvm20-devel-20.1.8-3.3.x86_64 (openSUSE-Tumbleweed-Oss) (14/17), 4.4 MiB
- Retrieving: llvm20-polly-devel-20.1.8-3.3.x86_64 (openSUSE-Tumbleweed-Oss) (15/17), 233.1 KiB
- Retrieving: cmake-full-4.1.3-1.1.x86_64 (openSUSE-Tumbleweed-Oss) (16/17), 18.1 MiB
- Retrieving: cmake-4.1.3-1.1.x86_64 (openSUSE-Tumbleweed-Oss) (17/17), 37.6 KiB
-
- Checking for file conflicts: [.....
- .done]
- ( 1/17) Installing: libLLVM20-20.1.8-3.3.x86_64 [.......
- .....done]
- ( 2/17) Installing: libarchive13-3.8.4-1.1.x86_64 [..done]
- ( 3/17) Installing: libjsoncpp26-1.9.6-1.3.x86_64 [...done]
- ( 4/17) Installing: libmpdec4-4.0.1-2.1.x86_64 [.
- .done]
- ( 5/17) Installing: libomp20-devel-20.1.8-3.3.x86_64 [..done]
- ( 6/17) Installing: librhash1-1.4.6-1.1.x86_64 [.
- .done]
- ( 7/17) Installing: libuv1-1.51.0-1.1.x86_64 [..done]
- ( 8/17) Installing: llvm20-polly-20.1.8-3.3.x86_64 [.
- .done]
- ( 9/17) Installing: llvm20-gold-20.1.8-3.3.x86_64 [..done]
- (10/17) Installing: llvm20-20.1.8-3.3.x86_64 [..
-
- update-alternatives: using /usr/bin/llvm-ar-20 to provide /usr/bin/llvm-ar (llvm-ar) in auto mode
- update-alternatives: warning: skip creation of /usr/share/man/man1/llc.1.gz because associated file /usr/share/man/man1/llc-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/lli.1.gz because associated file /usr/share/man/man1/lli-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-link.1.gz because associated file /usr/share/man/man1/llvm-link-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/opt.1.gz because associated file /usr/share/man/man1/opt-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-as.1.gz because associated file /usr/share/man/man1/llvm-as-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-bcanalyzer.1.gz because associated file /usr/share/man/man1/llvm-bcanalyzer-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-dis.1.gz because associated file /usr/share/man/man1/llvm-dis-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-extract.1.gz because associated file /usr/share/man/man1/llvm-extract-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-cgdata.1.gz because associated file /usr/share/man/man1/llvm-cgdata-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-cov.1.gz because associated file /usr/share/man/man1/llvm-cov-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-opt-report.1.gz because associated file /usr/share/man/man1/llvm-opt-report-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-profdata.1.gz because associated file /usr/share/man/man1/llvm-profdata-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-profgen.1.gz because associated file /usr/share/man/man1/llvm-profgen-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-symbolizer.1.gz because associated file /usr/share/man/man1/llvm-symbolizer-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-ar.1.gz because associated file /usr/share/man/man1/llvm-ar-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-nm.1.gz because associated file /usr/share/man/man1/llvm-nm-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-objcopy.1.gz because associated file /usr/share/man/man1/llvm-objcopy-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-objdump.1.gz because associated file /usr/share/man/man1/llvm-objdump-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-ranlib.1.gz because associated file /usr/share/man/man1/llvm-ranlib-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-readelf.1.gz because associated file /usr/share/man/man1/llvm-readelf-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-readobj.1.gz because associated file /usr/share/man/man1/llvm-readobj-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-size.1.gz because associated file /usr/share/man/man1/llvm-size-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-strip.1.gz because associated file /usr/share/man/man1/llvm-strip-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/dsymutil.1.gz because associated file /usr/share/man/man1/dsymutil-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-addr2line.1.gz because associated file /usr/share/man/man1/llvm-addr2line-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-debuginfo-analyzer.1.gz because associated file /usr/share/man/man1/llvm-debuginfo-analyzer-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-dwarfdump.1.gz because associated file /usr/share/man/man1/llvm-dwarfdump-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-dwarfutil.1.gz because associated file /usr/share/man/man1/llvm-dwarfutil-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-lib.1.gz because associated file /usr/share/man/man1/llvm-lib-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-pdbutil.1.gz because associated file /usr/share/man/man1/llvm-pdbutil-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-install-name-tool.1.gz because associated file /usr/share/man/man1/llvm-install-name-tool-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-libtool-darwin.1.gz because associated file /usr/share/man/man1/llvm-libtool-darwin-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-lipo.1.gz because associated file /usr/share/man/man1/llvm-lipo-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-otool.1.gz because associated file /usr/share/man/man1/llvm-otool-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-cxxfilt.1.gz because associated file /usr/share/man/man1/llvm-cxxfilt-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-cxxmap.1.gz because associated file /usr/share/man/man1/llvm-cxxmap-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-ifs.1.gz because associated file /usr/share/man/man1/llvm-ifs-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/bugpoint.1.gz because associated file /usr/share/man/man1/bugpoint-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-diff.1.gz because associated file /usr/share/man/man1/llvm-diff-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-mc.1.gz because associated file /usr/share/man/man1/llvm-mc-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-mca.1.gz because associated file /usr/share/man/man1/llvm-mca-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-reduce.1.gz because associated file /usr/share/man/man1/llvm-reduce-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-remarkutil.1.gz because associated file /usr/share/man/man1/llvm-remarkutil-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-stress.1.gz because associated file /usr/share/man/man1/llvm-stress-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-strings.1.gz because associated file /usr/share/man/man1/llvm-strings-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-tblgen.1.gz because associated file /usr/share/man/man1/llvm-tblgen-20.1.gz (of link group llvm-ar) doesn't exist
- update-alternatives: warning: skip creation of /usr/share/man/man1/llvm-tli-checker.1.gz because associated file /usr/share/man/man1/llvm-tli-checker-20.1.gz (of link group llvm-ar) doesn't exist
- done]
- (11/17) Installing: libLTO20-20.1.8-3.3.x86_64 [...done]
- (12/17) Installing: python313-base-3.13.11-1.2.x86_64 [.
- ......done]
- (13/17) Installing: libpython3_13-1_0-3.13.11-1.2.x86_64 [.
- .done]
- (14/17) Installing: llvm20-devel-20.1.8-3.3.x86_64 [.....done]
- (15/17) Installing: llvm20-polly-devel-20.1.8-3.3.x86_64 [...done]
- (16/17) Installing: cmake-full-4.1.3-1.1.x86_64 [..
- .........done]
- (17/17) Installing: cmake-4.1.3-1.1.x86_64 [..done]
- Running post-transaction scripts [....done]
<><> 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)
-> retrieved llvm.20-shared (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
[ERROR] The compilation of llvm.20-shared failed at "bash -ex install.sh build --llvm-config llvm-config --libdir /home/opam/.opam/4.14/lib --cmake cmake --make make --link-mode shared".
#=== ERROR while compiling llvm.20-shared =====================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | pinned(https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/llvm-project-20.1.8.src.tar.xz)
# path ~/.opam/4.14/.opam-switch/build/llvm.20-shared
# command ~/.opam/opam-init/hooks/sandbox.sh build bash -ex install.sh build --llvm-config llvm-config --libdir /home/opam/.opam/4.14/lib --cmake cmake --make make --link-mode shared
# exit-code 2
# env-file ~/.opam/log/llvm-7-24290c.env
# output-file ~/.opam/log/llvm-7-24290c.out
### output ###
# + action=build
# + shift
# + llvm_config=
# + libdir=
# + cmake=
# + make=
# + link_mode=
# + use_homebrew=FALSE
# + [[ 10 -gt 0 ]]
# + case $1 in
# + [[ 10 -lt 2 ]]
# + llvm_config=llvm-config
# + shift 2
# + [[ 8 -gt 0 ]]
# + case $1 in
# + [[ 8 -lt 2 ]]
# + libdir=/home/opam/.opam/4.14/lib
# + shift 2
# + [[ 6 -gt 0 ]]
# + case $1 in
# + [[ 6 -lt 2 ]]
# + cmake=cmake
# + shift 2
# + [[ 4 -gt 0 ]]
# + case $1 in
# + [[ 4 -lt 2 ]]
# + make=make
# + shift 2
# + [[ 2 -gt 0 ]]
# + case $1 in
# + [[ 2 -lt 2 ]]
# + link_mode=shared
# + shift 2
# + [[ 0 -gt 0 ]]
# + case "$action" in
# + llvm_build
# + mkdir build
# ++ llvm-config --build-mode
# ++ llvm-config --targets-built
# ++ filter_experimental_targets
# ++ sed 's/ /;/g'
# ++ sed s/ARC//g
# ++ sed s/CSKY//g
# ++ sed s/DirectX//g
# ++ sed s/M68k//g
# ++ sed s/SPIRV//g
# ++ sed s/Xtensa//g
# ++ xargs
# ++ llvm-config --libdir
# ++ '[' shared = shared ']'
# ++ echo TRUE
# + cmake -Bbuild -Sllvm -DCMAKE_BUILD_TYPE=RelWithDebInfo '-DLLVM_TARGETS_TO_BUILD=AArch64;AMDGPU;ARM;AVR;BPF;Hexagon;Lanai;LoongArch;Mips;MSP430;NVPTX;PowerPC;RISCV;Sparc;SystemZ;VE;WebAssembly;X86;XCore' -DLLVM_OCAML_EXTERNAL_LLVM_LIBDIR=/usr/lib64 -DLLVM_LINK_LLVM_DYLIB=TRUE -DLLVM_OCAML_OUT_OF_TREE=TRUE -DLLVM_OCAML_INSTALL_PATH=/home/opam/.opam/4.14/lib -DLLVM_OCAML_USE_HOMEBREW=FALSE
# CMake Deprecation Warning at /home/opam/.opam/4.14/.opam-switch/build/llvm.20-shared/cmake/Modules/CMakePolicy.cmake:6 (cmake_policy):
# The OLD behavior for policy CMP0116 will be removed from a future version
# of CMake.
#
# The cmake-policies(7) manual explains that the OLD behaviors of all
# policies are deprecated and that a policy should be set to OLD only under
# specific short-term circumstances. Projects should be ported to the NEW
# behavior and not rely on setting a policy to OLD.
# Call Stack (most recent call first):
# CMakeLists.txt:8 (include)
#
#
# -- The C compiler identification is GNU 15.2.1
# -- The CXX compiler identification is GNU 15.2.1
# -- The ASM compiler identification is GNU
# -- Found assembler: /usr/bin/cc
# -- Detecting C compiler ABI info
# -- Detecting C compiler ABI info - done
# -- Check for working C compiler: /usr/bin/cc - skipped
# -- Detecting C compile features
# -- Detecting C compile features - done
# -- Detecting CXX compiler ABI info
# -- Detecting CXX compiler ABI info - done
# -- Check for working CXX compiler: /usr/bin/c++ - skipped
# -- Detecting CXX compile features
# -- Detecting CXX compile features - done
# -- Found Python3: /usr/bin/python3.13 (found suitable version "3.13.11", minimum required is "3.8") found components: Interpreter
# -- Looking for __GLIBC__
# -- Looking for __GLIBC__ - found
# -- Looking for valgrind/valgrind.h
# -- Looking for valgrind/valgrind.h - not found
# -- Looking for FE_ALL_EXCEPT
# -- Looking for FE_ALL_EXCEPT - found
# -- Looking for FE_INEXACT
# -- Looking for FE_INEXACT - found
# -- Performing Test HAVE_BUILTIN_THREAD_POINTER
# -- Performing Test HAVE_BUILTIN_THREAD_POINTER - Success
# -- Looking for CrashReporterClient.h
# -- Looking for CrashReporterClient.h - not found
# -- Looking for linux/magic.h
# -- Looking for linux/magic.h - found
# -- Looking for pthread_create in pthread
# -- Looking for pthread_create in pthread - found
# -- Looking for pthread_rwlock_init in pthread
# -- Looking for pthread_rwlock_init in pthread - found
# -- Looking for pthread_mutex_lock in pthread
# -- Looking for pthread_mutex_lock in pthread - found
# -- Looking for dlopen in dl
# -- Looking for dlopen in dl - found
# -- Looking for shm_open in rt
# -- Looking for shm_open in rt - found
# -- Looking for pfm_initialize in pfm
# -- Looking for pfm_initialize in pfm - not found
# -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
# -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
# -- Found Threads: TRUE
# -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1")
# -- Looking for compress2
# -- Looking for compress2 - found
# -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
# -- Could NOT find LibEdit (missing: LibEdit_INCLUDE_DIRS LibEdit_LIBRARIES)
# -- Looking for arc4random
# -- Looking for arc4random - found
# -- Looking for backtrace
# -- Looking for backtrace - found
# -- backtrace facility detected in default set of libraries
# -- Found Backtrace: /usr/include
# -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
# -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed
# -- Looking for __register_frame
# -- Looking for __register_frame - found
# -- Looking for __deregister_frame
# -- Looking for __deregister_frame - found
# -- Looking for __unw_add_dynamic_fde
# -- Looking for __unw_add_dynamic_fde - not found
# -- Looking for _Unwind_Backtrace
# -- Looking for _Unwind_Backtrace - found
# -- Looking for getpagesize
# -- Looking for getpagesize - found
# -- Looking for sysconf
# -- Looking for sysconf - found
# -- Looking for getrusage
# -- Looking for getrusage - found
# -- Looking for isatty
# -- Looking for isatty - found
# -- Looking for futimens
# -- Looking for futimens - found
# -- Looking for futimes
# -- Looking for futimes - found
# -- Looking for sigaltstack
# -- Looking for sigaltstack - found
# -- Looking for mallctl
# -- Looking for mallctl - not found
# -- Looking for mallinfo
# -- Looking for mallinfo - found
# -- Looking for mallinfo2
# -- Looking for mallinfo2 - found
# -- Looking for malloc_zone_statistics
# -- Looking for malloc_zone_statistics - not found
# -- Looking for posix_spawn
# -- Looking for posix_spawn - found
# -- Looking for pread
# -- Looking for pread - found
# -- Looking for sbrk
# -- Looking for sbrk - found
# -- Looking for strerror_r
# -- Looking for strerror_r - found
# -- Looking for strerror_s
# -- Looking for strerror_s - not found
# -- Looking for setenv
# -- Looking for setenv - found
# -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC
# -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed
# -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
# -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success
# -- Looking for pthread_getname_np
# -- Looking for pthread_getname_np - found
# -- Looking for pthread_setname_np
# -- Looking for pthread_setname_np - found
# -- Looking for pthread_get_name_np
# -- Looking for pthread_get_name_np - not found
# -- Looking for pthread_set_name_np
# -- Looking for pthread_set_name_np - not found
# -- Looking for dlopen
# -- Looking for dlopen - found
# -- Looking for proc_pid_rusage
# -- Looking for proc_pid_rusage - not found
# -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
# -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
# -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
# -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
# -- Performing Test LLVM_HAS_ATOMICS
# -- Performing Test LLVM_HAS_ATOMICS - Success
# -- LLVM host triple: x86_64-unknown-linux-gnu
# -- Native target architecture is X86
# -- Threads enabled.
# -- Doxygen disabled.
# -- Found OCaml: /home/opam/.opam/4.14/bin/ocamlfind
# -- OCaml bindings enabled.
# -- Could NOT find Python module pygments
# -- Could NOT find Python module pygments.lexers.c_cpp
# -- Could NOT find Python module yaml
# -- LLVM default target triple: x86_64-unknown-linux-gnu
# -- Performing Test C_SUPPORTS_FPIC
# -- Performing Test C_SUPPORTS_FPIC - Success
# -- Performing Test CXX_SUPPORTS_FPIC
# -- Performing Test CXX_SUPPORTS_FPIC - Success
# -- Building with -fPIC
# -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION
# -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success
# -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION
# -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success
# -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
# -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
# -- Performing Test C_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG
# -- Performing Test C_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG - Failed
# -- Performing Test CXX_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG
# -- Performing Test CXX_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG - Failed
# -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG
# -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success
# -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL
# -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Success
# -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
# -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed
# -- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG
# -- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Failed
# -- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG
# -- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Success
# -- Looking for os_signpost_interval_begin
# -- Looking for os_signpost_interval_begin - not found
# -- Linker detection: GNU ld
# -- Performing Test HAS_WERROR_GLOBAL_CTORS
# -- Performing Test HAS_WERROR_GLOBAL_CTORS - Failed
# -- Looking for __x86_64__
# -- Looking for __x86_64__ - found
# -- Found Git: /usr/bin/git (found version "2.52.0")
# -- Looking for logf128
# -- Looking for logf128 - found
# -- Targeting AArch64
# -- Targeting AMDGPU
# -- Targeting ARM
# -- Targeting AVR
# -- Targeting BPF
# -- Targeting Hexagon
# -- Targeting Lanai
# -- Targeting LoongArch
# -- Targeting Mips
# -- Targeting MSP430
# -- Targeting NVPTX
# -- Targeting PowerPC
# -- Targeting RISCV
# -- Targeting Sparc
# -- Targeting SystemZ
# -- Targeting VE
# -- Targeting WebAssembly
# -- Targeting X86
# -- Targeting XCore
# -- Registering ExampleIRTransforms as a pass plugin (static build: OFF)
# -- Registering Bye as a pass plugin (static build: OFF)
# -- LLVM FileCheck Found: /usr/bin/FileCheck
# -- Google Benchmark version: v0.0.0, normalized to 0.0.0
# -- Looking for shm_open in rt
# -- Looking for shm_open in rt - found
# -- Performing Test HAVE_CXX_FLAG_WALL
# -- Performing Test HAVE_CXX_FLAG_WALL - Success
# -- Performing Test HAVE_CXX_FLAG_WEXTRA
# -- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
# -- Performing Test HAVE_CXX_FLAG_WSHADOW
# -- Performing Test HAVE_CXX_FLAG_WSHADOW - Success
# -- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL
# -- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success
# -- Performing Test HAVE_CXX_FLAG_WOLD_STYLE_CAST
# -- Performing Test HAVE_CXX_FLAG_WOLD_STYLE_CAST - Success
# -- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE
# -- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE - Success
# -- Performing Test HAVE_CXX_FLAG_PEDANTIC
# -- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success
# -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS
# -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success
# -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32
# -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed
# -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
# -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
# -- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS
# -- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success
# -- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS
# -- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS - Success
# -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
# -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
# -- Performing Test HAVE_CXX_FLAG_WD654
# -- Performing Test HAVE_CXX_FLAG_WD654 - Failed
# -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
# -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Failed
# -- Performing Test HAVE_CXX_FLAG_COVERAGE
# -- Performing Test HAVE_CXX_FLAG_COVERAGE - Success
# -- Compiling and running to test HAVE_GNU_POSIX_REGEX
# -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
# -- Compiling and running to test HAVE_POSIX_REGEX
# -- Performing Test HAVE_POSIX_REGEX -- success
# -- Compiling and running to test HAVE_STEADY_CLOCK
# -- Performing Test HAVE_STEADY_CLOCK -- success
# -- Compiling and running to test HAVE_PTHREAD_AFFINITY
# -- Performing Test HAVE_PTHREAD_AFFINITY -- success
# -- Configuring done (24.6s)
# -- Generating done (5.8s)
# -- Build files have been written to: /home/opam/.opam/4.14/.opam-switch/build/llvm.20-shared/build
# + make -j -Cbuild ocaml_all
# make: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/llvm.20-shared/build'
# [ 0%] Built target ocaml_make_directory
# [ 0%] Building OCaml stub object file ARM_ocaml.o
# [ 0%] Building OCaml stub object file AMDGPU_ocaml.o
# [ 0%] Building OCaml stub object file BPF_ocaml.o
# [ 0%] Building OCaml stub object file Mips_ocaml.o
# [ 0%] Copying llvm.ml to build area
# [ 0%] Building OCaml stub object file AVR_ocaml.o
# [ 0%] Building OCaml stub object file MSP430_ocaml.o
# [ 0%] Building OCaml stub object file PowerPC_ocaml.o
# [ 0%] Building OCaml stub object file NVPTX_ocaml.o
# [ 0%] Copying llvm_ocaml.c to build area
# [ 0%] Building OCaml stub object file AArch64_ocaml.o
# [ 0%] Building OCaml stub object file RISCV_ocaml.o
# [ 0%] Building OCaml stub object file LoongArch_ocaml.o
# [ 0%] Building OCaml stub object file Hexagon_ocaml.o
# [ 0%] Copying llvm.mli to build area
# [ 0%] Building OCaml stub object file Sparc_ocaml.o
# [ 0%] Building OCaml stub object file XCore_ocaml.o
# [ 0%] Building OCaml stub object file SystemZ_ocaml.o
# [ 0%] Building OCaml stub object file WebAssembly_ocaml.o
# [ 0%] Building OCaml stub object file X86_ocaml.o
# [ 0%] Building OCaml stub object file Lanai_ocaml.o
# [ 0%] Building OCaml stub object file VE_ocaml.o
# [ 0%] Building OCaml stub object file llvm_ocaml.o
# [ 0%] Building OCaml library llvm_MSP430
# [ 0%] Building OCaml library llvm_AVR
# [ 50%] Building OCaml library llvm_Mips
# [ 50%] Building OCaml library llvm_RISCV
# [ 50%] Building OCaml library llvm_NVPTX
# [ 50%] Building OCaml library llvm_AMDGPU
# [ 50%] Building OCaml library llvm_PowerPC
# [ 50%] Building OCaml library llvm_AArch64
# [ 50%] Building OCaml library llvm_BPF
# [ 50%] Building OCaml library llvm_Sparc
# [ 50%] Building OCaml library llvm_LoongArch
# [ 50%] Building OCaml library llvm_XCore
# [ 50%] Building OCaml library llvm_SystemZ
# [ 50%] Building OCaml library llvm_Hexagon
# /home/opam/.opam/4.14/.opam-switch/build/llvm.20-shared/build/bindings/ocaml/llvm/llvm_ocaml.c: In function 'llvm_const_nuw_neg':
# /home/opam/.opam/4.14/.opam-switch/build/llvm.20-shared/build/bindings/ocaml/llvm/llvm_ocaml.c:1167:3: warning: 'LLVMConstNUWNeg' is deprecated: Use LLVMConstNull instead. [-Wdeprecated-declarations]
# 1167 | LLVMValueRef NegValue = LLVMConstNUWNeg(Value_val(Value));
# | ^~~~~~~~~~~~
# In file included from /home/opam/.opam/4.14/.opam-switch/build/llvm.20-shared/llvm/include/llvm-c/Core.h:18,
# from /home/opam/.opam/4.14/.opam-switch/build/llvm.20-shared/build/bindings/ocaml/llvm/llvm_ocaml.c:21:
# /home/opam/.opam/4.14/.opam-switch/build/llvm.20-shared/llvm/include/llvm-c/Core.h:2458:18: note: declared here
# 2458 | LLVMValueRef LLVMConstNUWNeg(LLVMValueRef ConstantVal),
# | ^~~~~~~~~~~~~~~
# /home/opam/.opam/4.14/.opam-switch/build/llvm.20-shared/llvm/include/llvm-c/Deprecated.h:26:3: note: in definition of macro 'LLVM_ATTRIBUTE_C_DEPRECATED'
# 26 | decl __attribute__((deprecated(message)))
# | ^~~~
# [ 50%] Building OCaml library llvm_X86
# [ 50%] Building OCaml library llvm_WebAssembly
# [ 50%] Building OCaml library llvm_VE
# [ 50%] Building OCaml library llvm_Lanai
# /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld/usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: cannot find : cannot find -lLLVM-20-lLLVM-20: : No such file or directoryNo such file or directory
#
# /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: cannot find -lLLVM-20: No such file or directory
# /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: cannot find -lLLVM-20: No such file or directory
# /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: cannot find -lLLVM-20: No such file or directory
# /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: cannot find -lLLVM-20: No such file or directory
# [ 50%] Building OCaml library llvm_ARM
# /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: cannot find -lLLVM-20: No such file or directory
# collect2: error: ld returned 1 exit status
# collect2: error: ld returned 1 exit status
# make[3]: *** [bindings/ocaml/backends/CMakeFiles/ocaml_llvm_MSP430.dir/build.make:86: bindings/ocaml/backends/llvm_MSP430.cma] Error 2
# /home/opam/.opam/4.14/.opam-switch/build/llvm.20-shared/build/bindings/ocaml/llvm/llvm_ocaml.c: In function 'llvm_build_nuw_neg':
# /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: cannot find -lLLVM-20: No such file or directory
# make[3]: *** [bindings/ocaml/backends/CMakeFiles/ocaml_llvm_RISCV.dir/build.make:86: bindings/ocaml/backends/llvm_RISCV.cma] Error 2
# /home/opam/.opam/4.14/.opam-switch/build/llvm.20-shared/build/bindings/ocaml/llvm/llvm_ocaml.c:2374:7: warning: 'LLVMBuildNUWNeg' is deprecated: Use LLVMBuildNeg + LLVMSetNUW instead. [-Wdeprecated-declarations]
# 2374 | LLVMBuildNUWNeg(Builder_val(B), Value_val(X), String_val(Name)));
# | ^~~~~~~~~~~~~~~
# collect2: error: ld returned 1 exit status
# make[2]: *** [CMakeFiles/Makefile2:39047: bindings/ocaml/backends/CMakeFiles/ocaml_llvm_MSP430.dir/all] Error 2
# make[2]: *** Waiting for unfinished jobs....
# /home/opam/.opam/4.14/.opam-switch/build/llvm.20-shared/llvm/include/llvm-c/Core.h:4401:42: note: declared here
# 4401 | LLVM_ATTRIBUTE_C_DEPRECATED(LLVMValueRef LLVMBuildNUWNeg(LLVMBuilderRef B,
# | ^~~~~~~~~~~~~~~
# /home/opam/.opam/4.14/.opam-switch/build/llvm.20-shared/llvm/include/llvm-c/Deprecated.h:26:3: note: in definition of macro 'LLVM_ATTRIBUTE_C_DEPRECATED'
# 26 | decl __attribute__((deprecated(message)))
# | ^~~~
# make[2]: *** [CMakeFiles/Makefile2:39143: bindings/ocaml/backends/CMakeFiles/ocaml_llvm_RISCV.dir/all] Error 2
# collect2: error: ld returned 1 exit status
# /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: cannot find -lLLVM-20: No such file or directory
# collect2: error: ld returned 1 exit status
# make[3]: *** [bindings/ocaml/backends/CMakeFiles/ocaml_llvm_AVR.dir/build.make:86: bindings/ocaml/backends/llvm_AVR.cma] Error 2
# make[3]: *** [bindings/ocaml/backends/CMakeFiles/ocaml_llvm_Mips.dir/build.make:86: bindings/ocaml/backends/llvm_Mips.cma] Error 2
# make[2]: *** [CMakeFiles/Makefile2:38855: bindings/ocaml/backends/CMakeFiles/ocaml_llvm_AVR.dir/all] Error 2
# make[2]: *** [CMakeFiles/Makefile2:39015: bindings/ocaml/backends/CMakeFiles/ocaml_llvm_Mips.dir/all] Error 2
# /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: cannot find -lLLVM-20: No such file or directory
# make[3]: *** [bindings/ocaml/backends/CMakeFiles/ocaml_llvm_NVPTX.dir/build.make:86: bindings/ocaml/backends/llvm_NVPTX.cma] Error 2
# /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: cannot find -lLLVM-20: No such file or directory
# /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: cannot find -lLLVM-20: No such file or directory
# /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: cannot find -lLLVM-20: No such file or directory
# make[2]: *** [CMakeFiles/Makefile2:39079: bindings/ocaml/backends/CMakeFiles/ocaml_llvm_NVPTX.dir/all] Error 2
# /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: cannot find -lLLVM-20: No such file or directory
# collect2: error: ld returned 1 exit status
# /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: cannot find -lLLVM-20: No such file or directory
# collect2: error: ld returned 1 exit status
# /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: cannot find -lLLVM-20: No such file or directory
# make[3]: *** [bindings/ocaml/backends/CMakeFiles/ocaml_llvm_AMDGPU.dir/build.make:86: bindings/ocaml/backends/llvm_AMDGPU.cma] Error 2
# make[2]: *** [CMakeFiles/Makefile2:38791: bindings/ocaml/backends/CMakeFiles/ocaml_llvm_AMDGPU.dir/all] Error 2
# /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: cannot find -lLLVM-20: No such file or directory
# make[3]: *** [bindings/ocaml/backends/CMakeFiles/ocaml_llvm_PowerPC.dir/build.make:86: bindings/ocaml/backends/llvm_PowerPC.cma] Error 2
# /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: cannot find -lLLVM-20: No such file or directory
# make[2]: *** [CMakeFiles/Makefile2:39111: bindings/ocaml/backends/CMakeFiles/ocaml_llvm_PowerPC.dir/all] Error 2
# collect2: error: ld returned 1 exit status
# collect2: error: ld returned 1 exit status
# make[3]: *** [bindings/ocaml/backends/CMakeFiles/ocaml_llvm_AArch64.dir/build.make:86: bindings/ocaml/backends/llvm_AArch64.cma] Error 2
# make[2]: *** [CMakeFiles/Makefile2:38759: bindings/ocaml/backends/CMakeFiles/ocaml_llvm_AArch64.dir/all] Error 2
# collect2: error: ld returned 1 exit status
# make[3]: *** [bindings/ocaml/backends/CMakeFiles/ocaml_llvm_BPF.dir/build.make:86: bindings/ocaml/backends/llvm_BPF.cma] Error 2
# collect2: error: ld returned 1 exit status
# make[2]: *** [CMakeFiles/Makefile2:38887: bindings/ocaml/backends/CMakeFiles/ocaml_llvm_BPF.dir/all] Error 2
# collect2: error: ld returned 1 exit status
# collect2: error: ld returned 1 exit status
# collect2: error: ld returned 1 exit status
# make[3]: *** [bindings/ocaml/backends/CMakeFiles/ocaml_llvm_LoongArch.dir/build.make:86: bindings/ocaml/backends/llvm_LoongArch.cma] Error 2
# make[3]: *** [bindings/ocaml/backends/CMakeFiles/ocaml_llvm_SystemZ.dir/build.make:86: bindings/ocaml/backends/llvm_SystemZ.cma] Error 2
# collect2: error: ld returned 1 exit status
# make[2]: *** [CMakeFiles/Makefile2:38983: bindings/ocaml/backends/CMakeFiles/ocaml_llvm_LoongArch.dir/all] Error 2
# make[2]: *** [CMakeFiles/Makefile2:39207: bindings/ocaml/backends/CMakeFiles/ocaml_llvm_SystemZ.dir/all] Error 2
# make[3]: *** [bindings/ocaml/backends/CMakeFiles/ocaml_llvm_Hexagon.dir/build.make:86: bindings/ocaml/backends/llvm_Hexagon.cma] Error 2
# make[3]: *** [bindings/ocaml/backends/CMakeFiles/ocaml_llvm_Sparc.dir/build.make:86: bindings/ocaml/backends/llvm_Sparc.cma] Error 2
# make[2]: *** [CMakeFiles/Makefile2:38919: bindings/ocaml/backends/CMakeFiles/ocaml_llvm_Hexagon.dir/all] Error 2
# make[2]: *** [CMakeFiles/Makefile2:39175: bindings/ocaml/backends/CMakeFiles/ocaml_llvm_Sparc.dir/all] Error 2
# make[3]: *** [bindings/ocaml/backends/CMakeFiles/ocaml_llvm_VE.dir/build.make:86: bindings/ocaml/backends/llvm_VE.cma] Error 2
# make[3]: *** [bindings/ocaml/backends/CMakeFiles/ocaml_llvm_XCore.dir/build.make:86: bindings/ocaml/backends/llvm_XCore.cma] Error 2
# make[2]: *** [CMakeFiles/Makefile2:39239: bindings/ocaml/backends/CMakeFiles/ocaml_llvm_VE.dir/all] Error 2
# collect2: error: ld returned 1 exit status
# collect2: error: ld returned 1 exit status
# make[2]: *** [CMakeFiles/Makefile2:39335: bindings/ocaml/backends/CMakeFiles/ocaml_llvm_XCore.dir/all] Error 2
# collect2: error: ld returned 1 exit status
# make[3]: *** [bindings/ocaml/backends/CMakeFiles/ocaml_llvm_X86.dir/build.make:86: bindings/ocaml/backends/llvm_X86.cma] Error 2
# make[2]: *** [CMakeFiles/Makefile2:39303: bindings/ocaml/backends/CMakeFiles/ocaml_llvm_X86.dir/all] Error 2
# make[3]: *** [bindings/ocaml/backends/CMakeFiles/ocaml_llvm_Lanai.dir/build.make:86: bindings/ocaml/backends/llvm_Lanai.cma] Error 2
# make[2]: *** [CMakeFiles/Makefile2:38951: bindings/ocaml/backends/CMakeFiles/ocaml_llvm_Lanai.dir/all] Error 2
# /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: cannot find -lLLVM-20: No such file or directory
# make[3]: *** [bindings/ocaml/backends/CMakeFiles/ocaml_llvm_WebAssembly.dir/build.make:86: bindings/ocaml/backends/llvm_WebAssembly.cma] Error 2
# make[2]: *** [CMakeFiles/Makefile2:39271: bindings/ocaml/backends/CMakeFiles/ocaml_llvm_WebAssembly.dir/all] Error 2
# collect2: error: ld returned 1 exit status
# make[3]: *** [bindings/ocaml/backends/CMakeFiles/ocaml_llvm_ARM.dir/build.make:86: bindings/ocaml/backends/llvm_ARM.cma] Error 2
# make[2]: *** [CMakeFiles/Makefile2:38823: bindings/ocaml/backends/CMakeFiles/ocaml_llvm_ARM.dir/all] Error 2
# [ 50%] Building OCaml library llvm
# /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: cannot find -lLLVM-20: No such file or directory
# collect2: error: ld returned 1 exit status
# make[3]: *** [bindings/ocaml/llvm/CMakeFiles/ocaml_llvm.dir/build.make:86: bindings/ocaml/llvm/llvm.cma] Error 2
# make[2]: *** [CMakeFiles/Makefile2:38659: bindings/ocaml/llvm/CMakeFiles/ocaml_llvm.dir/all] Error 2
# make[1]: *** [CMakeFiles/Makefile2:13138: CMakeFiles/ocaml_all.dir/rule] Error 2
# make: *** [Makefile:202: ocaml_all] Error 2
# make: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/llvm.20-shared/build'
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build llvm 20-shared
+-
+- The following changes have been performed
| - install conf-bash 1
| - install conf-cmake 1
| - install conf-llvm-shared 20
| - install csexp 1.5.2
| - install ctypes 0.24.0
| - install dune 3.20.2
| - install dune-configurator 3.20.2
| - install integers 0.7.0
| - install ocamlfind 1.9.8
| - install stdlib-shims 0.3.0
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20251230153357.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "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 "\"opensuse-tumbleweed\""; 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" failed with exit status 1
2025-12-30 15:38.08: Job failed: Failed: Build failed
2025-12-30 15:38.08: Log analysis:
2025-12-30 15:38.08: >>>
[ERROR] The compilation of llvm.20-shared failed at "bash -ex install.sh build --llvm-config llvm-config --libdir /home/opam/.opam/4.14/lib --cmake cmake --make make --link-mode shared".
(score = 20)
2025-12-30 15:38.08: >>>
# collect2: error: ld returned 1 exit status
(score = 30)
2025-12-30 15:38.08: >>>
# collect2: error: ld returned 1 exit status
(score = 30)
2025-12-30 15:38.08: >>>
# collect2: error: ld returned 1 exit status
(score = 30)
2025-12-30 15:38.08: >>>
# collect2: error: ld returned 1 exit status
(score = 30)
2025-12-30 15:38.08: >>>
# collect2: error: ld returned 1 exit status
(score = 30)
2025-12-30 15:38.08: >>>
# collect2: error: ld returned 1 exit status
(score = 30)
2025-12-30 15:38.08: >>>
# collect2: error: ld returned 1 exit status
(score = 30)
2025-12-30 15:38.08: >>>
# collect2: error: ld returned 1 exit status
(score = 30)
2025-12-30 15:38.08: >>>
# collect2: error: ld returned 1 exit status
(score = 30)
2025-12-30 15:38.08: >>>
# collect2: error: ld returned 1 exit status
(score = 30)
2025-12-30 15:38.08: >>>
# collect2: error: ld returned 1 exit status
(score = 30)
2025-12-30 15:38.08: >>>
# collect2: error: ld returned 1 exit status
(score = 30)
2025-12-30 15:38.08: >>>
# collect2: error: ld returned 1 exit status
(score = 30)
2025-12-30 15:38.08: >>>
# collect2: error: ld returned 1 exit status
(score = 30)
2025-12-30 15:38.08: >>>
# collect2: error: ld returned 1 exit status
(score = 30)
2025-12-30 15:38.08: >>>
# collect2: error: ld returned 1 exit status
(score = 30)
2025-12-30 15:38.08: ld returned 1 exit status