(for PR #29110)
2025-12-30 15:25.28: New job: build conf-llvm-shared.20, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (a16fbbbc4ad239dba151649395b1e98d3d337d30)
on fedora-41-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-41-ocaml-5.4@sha256:d3e7e01d7c7cf0b3c97e2332ee2d00e2d6c3f2c3ca5850b9369850cc4b481439
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn conf-llvm-shared.20 20
RUN opam reinstall conf-llvm-shared.20; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"fedora-41\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'conf-llvm-shared.20' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2025-12-30 15:25.28: Using cache hint "ocaml/opam:fedora-41-ocaml-5.4@sha256:d3e7e01d7c7cf0b3c97e2332ee2d00e2d6c3f2c3ca5850b9369850cc4b481439-conf-llvm-shared.20-a16fbbbc4ad239dba151649395b1e98d3d337d30"
2025-12-30 15:25.28: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.4@sha256:d3e7e01d7c7cf0b3c97e2332ee2d00e2d6c3f2c3ca5850b9369850cc4b481439)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn conf-llvm-shared.20 20"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-llvm-shared.20;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"fedora-41\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'conf-llvm-shared.20' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-12-30 15:25.28: Waiting for resource in pool OCluster
2025-12-30 15:25.28: Waiting for worker…
2025-12-30 15:30.02: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
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-41-ocaml-5.4@sha256:d3e7e01d7c7cf0b3c97e2332ee2d00e2d6c3f2c3ca5850b9369850cc4b481439)
2025-12-30 15:42.44 ---> using "67b51f99ac7836393591a935eca5368aa4cb698201bcc99de9b2596806c042d7" 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:42.44 ---> using "0d9e6b76c1781dfadeafdcb7c87a555afa0f9bf2c8b5617b1805bc4b7b4cb129" 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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-30 15:42.44 ---> using "7d5314a85b7b3a54798ba577b69af3aca1204263c3461fbfe0ff5db84a6283d4" 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.4.1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=fedora os-version=41
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# 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:42.44 ---> using "fb7491ec5386a50ef6183ed1214abe1c0839de16e7ac9692b23d3eac0b89f444" 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:42.44 ---> using "ce9858a29486abfefb6196aec06c98e00a6d34608e3f16664ac029c301fb3a5e" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-30 15:42.44 ---> using "e407c4edb78d3703ac32e438008b635a020a45bab5d87c43c58adb97c1f9387e" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-30 15:42.44 ---> using "6d2875c644bdc4100fa43fed4a6f3fb2407dd86a6d7705496146df9553f573ed" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 41 - x86_64 - Updates 100% | 9.7 KiB/s | 20.2 KiB | 00m02s
- Fedora 41 - x86_64 100% | 4.4 KiB/s | 7.4 KiB | 00m02s
- Fedora 41 openh264 (From Cisco) - x86_ 100% | 2.1 KiB/s | 986.0 B | 00m00s
- Repositories loaded.
- Metadata cache created.
2025-12-30 15:42.44 ---> using "9b9d7cc709ede9cdd5cd1bc4109fc12bb8ea36e3a53dcea7d2453d187b66355b" from cache
/home/opam: (run (shell "opam pin add -k version -yn conf-llvm-shared.20 20"))
conf-llvm-shared is now pinned to version 20
2025-12-30 15:42.45 ---> saved as "50c93bcb98255f52f1b17de5e1cdaccaca7eac88de6a74ca8b080e90d1c08fb5"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-llvm-shared.20;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"fedora-41\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'conf-llvm-shared.20' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
conf-llvm-shared.20 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
- install conf-bash 1 [required by conf-llvm-shared]
- install conf-llvm-shared 20 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-llvm-shared.20 (cached)
-> installed conf-bash.1
[ERROR] The compilation of conf-llvm-shared.20 failed at "bash configure.sh 20 shared".
#=== ERROR while compiling conf-llvm-shared.20 ================================#
# context 2.4.1 | linux/x86_64 | ocaml-base-compiler.5.4.0 | pinned
# path ~/.opam/5.4/.opam-switch/build/conf-llvm-shared.20
# command ~/.opam/opam-init/hooks/sandbox.sh build bash configure.sh 20 shared
# exit-code 1
# env-file ~/.opam/log/conf-llvm-shared-8-39698a.env
# output-file ~/.opam/log/conf-llvm-shared-8-39698a.out
### output ###
# + version=20
# + mode=shared
# + config_file=conf-llvm-shared.config
# + hash brew
# + shopt -s nullglob
# + for llvm_config in llvm-config-$version llvm-config${version} llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config
# ++ llvm-config-20 --version
# configure.sh: line 16: llvm-config-20: command not found
# + llvm_version=
# + true
# + case $llvm_version in
# + echo 'Note: '\''llvm-config-20'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''20'\''.'
# Note: 'llvm-config-20' doesn't match the required version. Got '' but required '20'.
# + continue
# + for llvm_config in llvm-config-$version llvm-config${version} llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config
# ++ llvm-config20 --version
# configure.sh: line 16: llvm-config20: command not found
# + llvm_version=
# + true
# + case $llvm_version in
# + echo 'Note: '\''llvm-config20'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''20'\''.'
# Note: 'llvm-config20' doesn't match the required version. Got '' but required '20'.
# + continue
# + for llvm_config in llvm-config-$version llvm-config${version} llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config
# ++ llvm-config-20.0 --version
# configure.sh: line 16: llvm-config-20.0: command not found
# + llvm_version=
# + true
# + case $llvm_version in
# + echo 'Note: '\''llvm-config-20.0'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''20'\''.'
# Note: 'llvm-config-20.0' doesn't match the required version. Got '' but required '20'.
# + continue
# + for llvm_config in llvm-config-$version llvm-config${version} llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config
# ++ llvm-config200 --version
# configure.sh: line 16: llvm-config200: command not found
# + llvm_version=
# + true
# + case $llvm_version in
# + echo 'Note: '\''llvm-config200'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''20'\''.'
# Note: 'llvm-config200' doesn't match the required version. Got '' but required '20'.
# + continue
# + for llvm_config in llvm-config-$version llvm-config${version} llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config
# ++ llvm-config-mp-20 --version
# configure.sh: line 16: llvm-config-mp-20: command not found
# + llvm_version=
# + true
# + case $llvm_version in
# + echo 'Note: '\''llvm-config-mp-20'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''20'\''.'
# Note: 'llvm-config-mp-20' doesn't match the required version. Got '' but required '20'.
# + continue
# + for llvm_config in llvm-config-$version llvm-config${version} llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config
# ++ llvm-config-mp-20.0 --version
# configure.sh: line 16: llvm-config-mp-20.0: command not found
# + llvm_version=
# + true
# + case $llvm_version in
# + echo 'Note: '\''llvm-config-mp-20.0'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''20'\''.'
# Note: 'llvm-config-mp-20.0' doesn't match the required version. Got '' but required '20'.
# + continue
# + for llvm_config in llvm-config-$version llvm-config${version} llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config
# ++ llvm20-config --version
# configure.sh: line 16: llvm20-config: command not found
# + llvm_version=
# + true
# + case $llvm_version in
# + echo 'Note: '\''llvm20-config'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''20'\''.'
# Note: 'llvm20-config' doesn't match the required version. Got '' but required '20'.
# + continue
# + for llvm_config in llvm-config-$version llvm-config${version} llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config
# ++ llvm-config-20-32 --version
# configure.sh: line 16: llvm-config-20-32: command not found
# + llvm_version=
# + true
# + case $llvm_version in
# + echo 'Note: '\''llvm-config-20-32'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''20'\''.'
# Note: 'llvm-config-20-32' doesn't match the required version. Got '' but required '20'.
# + continue
# + for llvm_config in llvm-config-$version llvm-config${version} llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config
# ++ llvm-config-20-64 --version
# configure.sh: line 16: llvm-config-20-64: command not found
# + llvm_version=
# + true
# + case $llvm_version in
# + echo 'Note: '\''llvm-config-20-64'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''20'\''.'
# Note: 'llvm-config-20-64' doesn't match the required version. Got '' but required '20'.
# + continue
# + for llvm_config in llvm-config-$version llvm-config${version} llvm-config-${version}.0 llvm-config${version}0 llvm-config-mp-$version llvm-config-mp-${version}.0 llvm${version}-config llvm-config-${version}-32 llvm-config-${version}-64 llvm-config $brew_llvm_config
# ++ llvm-config --version
# configure.sh: line 16: llvm-config: command not found
# + llvm_version=
# + true
# + case $llvm_version in
# + echo 'Note: '\''llvm-config'\'' doesn'\''t match the required version. Got '\'''\'' but required '\''20'\''.'
# Note: 'llvm-config' doesn't match the required version. Got '' but required '20'.
# + continue
# + echo 'Error: LLVM 20 is not installed.'
# Error: LLVM 20 is not installed.
# + exit 1
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build conf-llvm-shared 20
+-
+- The following changes have been performed
| - install conf-bash 1
+-
# 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/5.4/.opam-switch/backup/state-20251230154246.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 conf-llvm-shared.20;
res=$?;
test "$res" != 31 && exit "$res";
export OPAMCLI=2.0;
build_dir=$(opam var prefix)/.opam-switch/build;
failed=$(ls "$build_dir");
partial_fails="";
for pkg in $failed; do
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"fedora-41\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'conf-llvm-shared.20' && 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:42.58: Job failed: Failed: Build failed
2025-12-30 15:42.58: Log analysis:
2025-12-30 15:42.58: >>>
[ERROR] The compilation of conf-llvm-shared.20 failed at "bash configure.sh 20 shared".
(score = 20)
2025-12-30 15:42.58: >>>
# Error: LLVM 20 is not installed.
(score = 48)
2025-12-30 15:42.58: LLVM 20 is not installed.