(for PR #29110)
2025-12-30 15:25.26: New job: build conf-llvm-shared.20, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29110/head (a16fbbbc4ad239dba151649395b1e98d3d337d30)
on centos-10-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:centos-10-ocaml-5.4@sha256:f852b38b1f871dc9eeeff859209900fc2966ef42bde35b52f51fdd2e2b540219
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 "\"centos-10\""; 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.26: Using cache hint "ocaml/opam:centos-10-ocaml-5.4@sha256:f852b38b1f871dc9eeeff859209900fc2966ef42bde35b52f51fdd2e2b540219-conf-llvm-shared.20-a16fbbbc4ad239dba151649395b1e98d3d337d30"
2025-12-30 15:25.26: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-5.4@sha256:f852b38b1f871dc9eeeff859209900fc2966ef42bde35b52f51fdd2e2b540219)
(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 \"\\\"centos-10\\\"\"; 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.26: Waiting for resource in pool OCluster
2025-12-30 15:25.26: Waiting for worker…
2025-12-30 15:28.13: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files: 99% (19002/19122)
Updating files: 100% (19122/19122)
Updating files: 100% (19122/19122), done.
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:centos-10-ocaml-5.4@sha256:f852b38b1f871dc9eeeff859209900fc2966ef42bde35b52f51fdd2e2b540219)
Unable to find image 'ocaml/opam:centos-10-ocaml-5.4@sha256:f852b38b1f871dc9eeeff859209900fc2966ef42bde35b52f51fdd2e2b540219' locally
docker.io/ocaml/opam@sha256:f852b38b1f871dc9eeeff859209900fc2966ef42bde35b52f51fdd2e2b540219: Pulling from ocaml/opam
17a26197ad8f: Already exists
9ea7ece1b831: Already exists
1b03b7b947fe: Already exists
01f5afc88486: Already exists
fef439373213: Already exists
6b906f25c34c: Already exists
37aa24f6a682: Already exists
31a0f8b2a8cb: Already exists
61650c3d8fc4: Already exists
a6c88236e2b4: Already exists
d14cdd335f42: Already exists
547b69b90212: Already exists
0bf03bca8ae2: Already exists
4f57a3c6fb77: Already exists
a8c9241caf6f: Already exists
9d47a05dc58d: Already exists
2838aa6cdd3d: Already exists
51f3af8cf0d9: Already exists
51f3af8cf0d9: Already exists
11bfde1f6884: Already exists
a6ba5fe028f8: Already exists
85d4e5e7e8ee: Already exists
75eb48a06272: Already exists
4f4fb700ef54: Already exists
dab8546d1117: Already exists
5251748ed820: Already exists
e318efffe4ed: Already exists
6a482ed61395: Already exists
8b69311596b4: Already exists
6a56dedadc2c: Already exists
69313fd62570: Already exists
1ec09ce4592c: Already exists
f77222158d4d: Already exists
9146448debba: Already exists
581ac7038b1c: Already exists
4a4184a5c4c3: Already exists
93b2436b1e22: Already exists
65ae19af25cc: Already exists
6a86ef837951: Already exists
569f5cd18613: Already exists
293d8fd45429: Already exists
88bbc009202e: Already exists
d4cdfaaca78d: Pulling fs layer
88aa50fea8fc: Pulling fs layer
14f623655d22: Pulling fs layer
bdca634e84db: Pulling fs layer
c995f9f113f0: Pulling fs layer
bdca634e84db: Waiting
c995f9f113f0: Waiting
14f623655d22: Verifying Checksum
14f623655d22: Download complete
bdca634e84db: Verifying Checksum
bdca634e84db: Download complete
d4cdfaaca78d: Verifying Checksum
d4cdfaaca78d: Download complete
d4cdfaaca78d: Pull complete
c995f9f113f0: Download complete
88aa50fea8fc: Verifying Checksum
88aa50fea8fc: Download complete
88aa50fea8fc: Pull complete
14f623655d22: Pull complete
bdca634e84db: Pull complete
c995f9f113f0: Pull complete
Digest: sha256:f852b38b1f871dc9eeeff859209900fc2966ef42bde35b52f51fdd2e2b540219
Status: Downloaded newer image for ocaml/opam@sha256:f852b38b1f871dc9eeeff859209900fc2966ef42bde35b52f51fdd2e2b540219
2025-12-30 15:29.42 ---> saved as "1780023c53da132ea25384adcc571fc2aa406a4d0df9ba1867389ae521e513e9"
/: (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:29.43 ---> saved as "62749dd4c78f6a95c8d89fae0647e285faeaa30031e1a75124e8483370d71947"
/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:30.09 ---> saved as "0448e5e86e404fa4bdbfc23ba43428d63aeefbe94ca48b6bf324a2c268913b81"
/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=centos os-version=10
# 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:30.10 ---> saved as "7c4e6345c5cb6811bd2ac806637f5df761ee3022ba993c13e01aa3068ba71445"
/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:30.20 ---> saved as "5e5a5c96879b7c6ded0b7394477552e15b21831a39c8a8db2b5e6a7039dc9573"
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-30 15:30.30 ---> saved as "8e97f43c770c800eee7750c4794e1e71d9fc394f967ecde3a40b613af8460a54"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-30 15:30.49 ---> saved as "e63149c9e8f498eaa6ccbebdacfceeca05efadff0269df7675c64f05b5f1534b"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS 63 kB/s | 15 kB 00:00
- CentOS Stream 10 - AppStream 74 kB/s | 15 kB 00:00
- CentOS Stream 10 - CRB 38 kB/s | 15 kB 00:00
- CentOS Stream 10 - Extras packages 80 kB/s | 16 kB 00:00
- Metadata cache created.
2025-12-30 15:30.51 ---> saved as "ce0a1120b2d57442f2bbff0806b413c767b6cfa52f294b1e329be031bc2a3888"
/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:30.52 ---> saved as "4c98e120b695e87a5c8cb0ed52ec8ccbdb271e6fb48a884e8055fffb08b96dd7"
/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 \"\\\"centos-10\\\"\"; 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)
The following system packages will first need to be installed:
epel-release llvm20-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" "epel-release"
- Last metadata expiration check: 0:00:04 ago on Tue Dec 30 15:30:51 2025.
- Dependencies resolved.
- ================================================================================
- Package Arch Version Repository Size
- ================================================================================
- Installing:
- epel-release noarch 10-5.el10s extras-common 18 k
- Installing weak dependencies:
- dnf-plugins-core noarch 4.7.0-10.el10 baseos 41 k
-
- Transaction Summary
- ================================================================================
- Install 2 Packages
-
- Total download size: 60 k
- Installed size: 47 k
- Downloading Packages:
- (1/2): dnf-plugins-core-4.7.0-10.el10.noarch.rp 173 kB/s | 41 kB 00:00
- (2/2): epel-release-10-5.el10s.noarch.rpm 71 kB/s | 18 kB 00:00
- --------------------------------------------------------------------------------
- Total 112 kB/s | 60 kB 00:00
- CentOS Stream 10 - Extras packages 2.1 MB/s | 2.1 kB 00:00
- Importing GPG key 0x1D997668:
- Userid : "CentOS Extras SIG (https://wiki.centos.org/SpecialInterestGroup) <security@centos.org>"
- Fingerprint: 363F C097 2F64 B699 AED3 968E 1FF6 A217 1D99 7668
- From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Extras-SHA512
- warning: Certificate 1FF6A2171D997668:
- Policy rejects subkey 8B5C8111FCA5D0FF: Policy rejected non-revocation signature (PrimaryKeyBinding) requiring second pre-image resistance
- Key imported successfully
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
- Preparing : 1/1
- Installing : dnf-plugins-core-4.7.0-10.el10.noarch 1/2
- Installing : epel-release-10-5.el10s.noarch 2/2
- Running scriptlet: epel-release-10-5.el10s.noarch 2/2
- Many EPEL packages require the CodeReady Builder (CRB) repository.
- It is recommended that you run /usr/bin/crb enable to enable the CRB repository.
-
-
- Installed:
- dnf-plugins-core-4.7.0-10.el10.noarch epel-release-10-5.el10s.noarch
-
- Complete!
+ /usr/bin/sudo "yum" "install" "-y" "llvm20-devel"
- Extra Packages for Enterprise Linux 10 - x86_64 3.8 MB/s | 6.0 MB 00:01
- Last metadata expiration check: 0:00:03 ago on Tue Dec 30 15:30:58 2025.
[ERROR] System package install failed with exit code 1 at command:
sudo yum install -y llvm20-devel
- No match for argument: llvm20-devel
- Error: Unable to find a match: llvm20-devel
[ERROR] These packages are still missing: epel-release llvm20-devel
[NOTE] You can retry with '--assume-depexts' to skip this check, or run 'opam option depext=false' to permanently disable handling of system packages.
"/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 "\"centos-10\""; 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 10
2025-12-30 15:31.11: Job failed: Failed: Build failed
2025-12-30 15:31.11: Log analysis:
2025-12-30 15:31.11: >>>
[ERROR] System package install failed with exit code 1 at command:
(score = 20)
2025-12-30 15:31.11: >>>
[ERROR] These packages are still missing: epel-release llvm20-devel
(score = 20)
2025-12-30 15:31.11: System package install failed with exit code 1 at command: