- github
- ocaml
- opam-repository
- 425e7a
- freebsd,freebsd-14.1-ocaml-5.3-amd64,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 dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27178/head (425e7ad3a0b3cad8b1456afbaac6823102a9c57f)
on freebsd-14.1-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 freebsd-14.1-ocaml-5.3
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn llvm.18-shared 18-shared
RUN 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 "\"freebsd-14.1\""; 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 "freebsd-14.1-ocaml-5.3-llvm.18-shared-425e7ad3a0b3cad8b1456afbaac6823102a9c57f"
2025-02-10 19:07.10: Using OBuilder spec:
((from freebsd-14.1-ocaml-5.3)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
(run (network host)
(shell "opam init --reinit -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn llvm.18-shared 18-shared"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "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 \"\\\"freebsd-14.1\\\"\"; 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-10 20:32.39: Waiting for worker…
2025-02-11 03:05.40: Got resource from pool OCluster
Building on spring
All commits already cached
Updating files: 100% (23305/23305), 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 freebsd-14.1-ocaml-5.3)
2025-02-11 02:55.26 ---> using "fa4c65a721275037aa0f851d49090cd38fc202c0147147d39fba5c0e4d9b16e6" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
2025-02-11 02:55.27 ---> using "5b92fefb6424a72b861f9d816575fdcd570c26da73837a543867e40e6ac4814f" from cache
/home/opam: (run (network host)
(shell "opam init --reinit -ni"))
No configuration file found, using 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.1 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 1 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=1 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2025-02-11 02:55.27 ---> using "84781acb8d4c747f5a2006b00a8a4bb5d6200bc7830b892c34f0c6245ad8b63a" 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.3.0
# self-upgrade no
# system arch=x86_64 os=freebsd os-distribution=freebsd os-version=1401000
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 7
# repositories 1 (version-controlled)
# pinned 0
# current-switch 5.3.0
# invariant ["ocaml-base-compiler" {= "5.3.0"} | "ocaml-system" {= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.3.0/lib/ocaml/stublibs:/home/opam/.opam/5.3.0/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0
2025-02-11 02:55.28 ---> using "48317022b7676c348b5cfa9d33728406c06fbefa13445683622a63ff3d1e46eb" 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 02:55.28 ---> using "13b6bbba22e714ba09e15a5883a8c05a13b4919028a3e797168fcec8c38e98c3" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-11 02:55.45 ---> saved as "0df3e9e7a06b8e694ac4f0da66446ea90a8e9a808b498d37c50093c73cee8a3e"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-11 02:56.20 ---> saved as "459803a73a971544cdd0dc145e072a9b6d3c623fa44eb84b82d377561429c545"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
[WARNING] Unknown update command for bsd, skipping system update
2025-02-11 02:56.22 ---> saved as "10fe198ac0b736af5ed75cb8d5074174b7fab34b86da5eb8817d8b701bdcdcd0"
/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 02:56.27 ---> saved as "7059a1b4516bedf2a8fe0f796aa630cca9d7249b4c3632bbe3f9ebd07e5262b3"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "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 \"\\\"freebsd-14.1\\\"\"; 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"))
llvm.18-shared is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 12 packages
∗ bigarray-compat 1.1.0 [required by ctypes]
∗ conf-bash 1 [required by conf-llvm-shared]
∗ conf-cmake 1 [required by llvm]
∗ conf-llvm-shared 18 [required by llvm]
∗ csexp 1.5.2 [required by dune-configurator]
∗ ctypes 0.23.0 [required by llvm]
∗ dune 3.17.2 [required by ctypes]
∗ dune-configurator 3.17.2 [required by ctypes]
∗ integers 0.7.0 [required by ctypes]
∗ llvm 18-shared (pinned)
∗ ocamlfind 1.9.8 [required by llvm]
∗ stdlib-shims 0.3.0 [required by integers]
The following system packages will first need to be installed:
devel/cmake devel/llvm18
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run pkg to install them (may need root/sudo access)
2. Display the recommended pkg 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/local/bin/sudo "pkg" "install" "-y" "devel/cmake" "devel/llvm18"
- Updating FreeBSD repository catalogue...
- [spring] Fetching data.pkg: .
- ........
- . done
- Processing entries:
- .
- .
- .
- .
- .
- ..
- .
- .
- . done
- FreeBSD repository update completed. 35885 packages processed.
- All repositories are up to date.
- The following 11 package(s) will be affected (of 0 checked):
-
- New packages to be INSTALLED:
- cmake: 3.31.3
- cmake-core: 3.31.3
- cmake-doc: 3.31.3
- cmake-man: 3.31.3
- jsoncpp: 1.9.6_1
- libedit: 3.1.20240808,1
- libuv: 1.49.2
- llvm18: 18.1.8_2
- llvm18-lite: 18.1.8_2
- lua53: 5.3.6_1
- rhash: 1.4.4_1
-
- Number of packages to be installed: 11
-
- The process will require 2 GiB more space.
- 377 MiB to be downloaded.
- [spring] [1/11] Fetching cmake-man-3.31.3.pkg: ........ done
- [spring] [2/11] Fetching libuv-1.49.2.pkg: ......... done
- [spring] [3/11] Fetching cmake-core-3.31.3.pkg:
- ...
- ..
- ....
- . done
- [spring] [4/11] Fetching lua53-5.3.6_1.pkg: ..
- ........ done
- [spring] [5/11] Fetching cmake-doc-3.31.3.pkg: ...
- .....
- .. done
- [spring] [6/11] Fetching libedit-3.1.20240808,1.pkg: ..... done
- [spring] [7/11] Fetching jsoncpp-1.9.6_1.pkg: ......... done
- [spring] [8/11] Fetching llvm18-18.1.8_2.pkg:
- .
- .
- .
- .
- .
- .
- .
- .
- .
- . done
- [spring] [9/11] Fetching llvm18-lite-18.1.8_2.pkg:
- .
- .
- .
- .
- .
- .
- .
- .
- .
- . done
- [spring] [10/11] Fetching cmake-3.31.3.pkg: . done
- [spring] [11/11] Fetching rhash-1.4.4_1.pkg: .
- ......... done
- Checking integrity...
- done (1 conflicting)
- - llvm18-lite-18.1.8_2 conflicts with llvm18-18.1.8_2 on /usr/local/llvm18/lib/clang/18/include/arm_bf16.h
- Cannot solve problem using SAT solver, trying another plan
- Checking integrity...
- done (0 conflicting)
- Conflicts with the existing packages have been found.
- One more solver iteration is needed to resolve them.
- The following 11 package(s) will be affected (of 0 checked):
-
- New packages to be INSTALLED:
- cmake: 3.31.3
- cmake-core: 3.31.3
- cmake-doc: 3.31.3
- cmake-man: 3.31.3
- jsoncpp: 1.9.6_1
- libedit: 3.1.20240808,1
- libuv: 1.49.2
- llvm18: 18.1.8_2
- lua53: 5.3.6_1
- rhash: 1.4.4_1
-
- Installed packages to be REINSTALLED:
- pkg-1.21.3
-
- Number of packages to be installed: 10
- Number of packages to be reinstalled: 1
-
- The process will require 2 GiB more space.
- 12 MiB to be downloaded.
- [spring] [1/1] Fetching pkg-1.21.3.pkg: ..
- ....
- .... done
- [spring] [1/11] Installing libuv-1.49.2...
- [spring] [1/11] Extracting libuv-1.49.2: .......... done
- [spring] [2/11] Installing libedit-3.1.20240808,1...
- [spring] [2/11] Extracting libedit-3.1.20240808,1: .......... done
- [spring] [3/11] Installing jsoncpp-1.9.6_1...
- [spring] [3/11] Extracting jsoncpp-1.9.6_1: .......... done
- [spring] [4/11] Reinstalling pkg-1.21.3...
- [spring] [4/11] Extracting pkg-1.21.3: .......... done
- [spring] [5/11] Installing rhash-1.4.4_1...
- [spring] [5/11] Extracting rhash-1.4.4_1: .......... done
- [spring] [6/11] Installing cmake-man-3.31.3...
- [spring] [6/11] Extracting cmake-man-3.31.3: .......... done
- [spring] [7/11] Installing cmake-core-3.31.3...
- [spring] [7/11] Extracting cmake-core-3.31.3: .......... done
- [spring] [8/11] Installing lua53-5.3.6_1...
- [spring] [8/11] Extracting lua53-5.3.6_1: .......... done
- [spring] [9/11] Installing cmake-doc-3.31.3...
- [spring] [9/11] Extracting cmake-doc-3.31.3:
- .......... done
- [spring] [10/11] Installing llvm18-18.1.8_2...
- [spring] [10/11] Extracting llvm18-18.1.8_2:
- .
- ....
- .
- ..
- .. done
- [spring] [11/11] Installing cmake-3.31.3...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved bigarray-compat.1.1.0 (cached)
⬇ retrieved conf-cmake.1 (cached)
⬇ retrieved conf-llvm-shared.18 (cached)
∗ installed conf-bash.1
∗ installed conf-cmake.1
⬇ retrieved csexp.1.5.2 (cached)
∗ installed conf-llvm-shared.18
⬇ retrieved ctypes.0.23.0 (cached)
⬇ retrieved dune.3.17.2, dune-configurator.3.17.2 (cached)
⬇ retrieved integers.0.7.0 (cached)
⬇ retrieved llvm.18-shared (https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.8/llvm-project-18.1.8.src.tar.xz)
⬇ retrieved ocamlfind.1.9.8 (cached)
⬇ retrieved stdlib-shims.0.3.0 (cached)
∗ installed dune.3.17.2
∗ installed csexp.1.5.2
∗ installed stdlib-shims.0.3.0
∗ installed bigarray-compat.1.1.0
∗ installed integers.0.7.0
∗ installed dune-configurator.3.17.2
∗ installed ocamlfind.1.9.8
∗ installed ctypes.0.23.0
∗ installed llvm.18-shared
Done.
2025-02-11 03:03.23 ---> saved as "57561aa6dd5c3a8cc9fd7eae1687293429189a07d43c92322b70ac3904d417e1"
Job succeeded
2025-02-11 03:16.02: Job succeeded