- github
- ocaml
- opam-repository
- 425e7a
- extras,opam-2.0-ocaml-5.3,llvm.18-shared
(not at the head of any monitored branch or PR)
2025-02-10 19:07.10: New job: build llvm.18-shared, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/27178/head (425e7ad3a0b3cad8b1456afbaac6823102a9c57f)
on debian-12-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:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn llvm.18-shared 18-shared
RUN opam depext llvm.18-shared && opam reinstall llvm.18-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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'llvm.18-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-02-10 19:07.10: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683-llvm.18-shared-425e7ad3a0b3cad8b1456afbaac6823102a9c57f"
2025-02-10 19:07.10: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "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 depext -u || true"))
(run (shell "opam pin add -k version -yn llvm.18-shared 18-shared"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext llvm.18-shared && opam reinstall llvm.18-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 \"\\\"debian-12\\\"\"; 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-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-02-10 19:07.10: Waiting for resource in pool OCluster
2025-02-11 16:39.43: Waiting for worker…
2025-02-11 16:42.13: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
Updating files: 91% (21431/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:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683)
2025-02-11 16:42.31 ---> using "2eea5bde28725c99a87e1f2a5b147a024a046c2a06cd3ab003a93e0be5a0f139" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-02-11 16:42.31 ---> using "ff42299dd71c9cb3087a78856bcde3cbc85514135e98a5b28240833452a96df5" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.
[WARNING] Recommended dependencies -- most packages rely on these:
- m4
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] no changes from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-02-11 16:42.31 ---> using "5b204f302084be9fdd8f76970b288c8d2f79f2a0966ec9d7f4eff4ecce1ef288" from cache
/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version 2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-mccs+glpk
# install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria -removed,-count[version-lag,solution],-new
# jobs 39
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
2025-02-11 16:42.31 ---> using "a54d9253c3b2cf608ddec9717d4c59f92788ac6bc062ecd45079328791ec37e7" 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-02-11 16:42.31 ---> using "4c42197ed3b6f60bb20d42621e691016114bb03cecdcc199f22a577d7ab7b660" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-11 16:42.49 ---> saved as "47737d07e58d159dfbe917b6bf64781290ec1db54c2562cc9df23df6eb0812ad"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-02-11 16:43.26 ---> saved as "f41e6bc22f40958006ac154313322b3acfc46c4b994e5fe069e086e8c2975e1f"
/home/opam: (run (network host)
(shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "sudo":
apt-get update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [245 kB]
Fetched 348 kB in 0s (913 kB/s)
Reading package lists...
# OS package update successful
2025-02-11 16:43.28 ---> saved as "442563323e586679724f6b7bbbfb7cf0578334777162347be72bbd9d4bab1215"
/home/opam: (run (shell "opam pin add -k version -yn llvm.18-shared 18-shared"))
llvm is now pinned to version 18-shared
2025-02-11 16:43.29 ---> saved as "9cb5d73c851105bbc2c8ee34067e9e6c6458a1f1bc05bf9013059b11dd916996"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext llvm.18-shared && opam reinstall llvm.18-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 \"\\\"debian-12\\\"\"; 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-shared' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
cmake
libzstd-dev
llvm-18-dev
zlib1g-dev
The following command needs to be run through "sudo":
apt-get install -qq -yy cmake libzstd-dev llvm-18-dev zlib1g-dev
E: Unable to locate package llvm-18-dev
OS package installation failed
"/usr/bin/env" "bash" "-c" "opam depext llvm.18-shared && opam reinstall llvm.18-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 "\"debian-12\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'llvm.18-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-02-11 16:44.39: Job failed: Failed: Build failed