- github
- ocaml
- opam-repository
- 22a2fc
- distributions,fedora-42-ocaml-4.14,ocaml-unikraft-toolchain-arm64.0.18.0
(not at the head of any monitored branch or PR)
2025-06-02 07:56.21: New job: build ocaml-unikraft-toolchain-arm64.0.18.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27856/head (22a2fc72dc111f64fe5bf0454944f8d87081eada)
on fedora-42-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/27856/head" && git reset --hard 22a2fc72
git fetch origin master
git merge --no-edit 164308699cf74247b8ad3b002e88bd80a586c79e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-4.14@sha256:ad92f161cbbad9e3b98b876244adb3bed99b77a5ec57b1d69a2d6752bb6186ef
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 ocaml-unikraft-toolchain-arm64.0.18.0 0.18.0
RUN opam reinstall ocaml-unikraft-toolchain-arm64.0.18.0; \
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-42\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocaml-unikraft-toolchain-arm64.0.18.0' && 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-06-02 07:56.21: Using cache hint "ocaml/opam:fedora-42-ocaml-4.14@sha256:ad92f161cbbad9e3b98b876244adb3bed99b77a5ec57b1d69a2d6752bb6186ef-ocaml-unikraft-toolchain-arm64.0.18.0-22a2fc72dc111f64fe5bf0454944f8d87081eada"
2025-06-02 07:56.21: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-4.14@sha256:ad92f161cbbad9e3b98b876244adb3bed99b77a5ec57b1d69a2d6752bb6186ef)
(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 ocaml-unikraft-toolchain-arm64.0.18.0 0.18.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-unikraft-toolchain-arm64.0.18.0;\
\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-42\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocaml-unikraft-toolchain-arm64.0.18.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-06-02 07:56.21: Connecting to build cluster…
2025-06-02 07:56.21: Waiting for resource in pool OCluster
2025-06-02 07:56.21: Waiting for worker…
2025-06-02 07:56.21: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at 164308699c Merge pull request #27973 from mtelvers/opam-publish-dockerfile-cmd.8.2.8
Merge made by the 'ort' strategy.
.../conf-aarch64-linux-gnu-gcc.1/opam | 22 ++++++++++++
.../conf-x86_64-linux-gnu-gcc.1/opam | 22 ++++++++++++
.../ocaml-unikraft-arm64.1.0.0/opam | 42 ++++++++++++++++++++++
.../opam | 39 ++++++++++++++++++++
.../opam | 39 ++++++++++++++++++++
.../ocaml-unikraft-backend-firecracker.0.18.0/opam | 19 ++++++++++
.../ocaml-unikraft-backend-qemu-arm64.0.18.0/opam | 39 ++++++++++++++++++++
.../ocaml-unikraft-backend-qemu-x86_64.0.18.0/opam | 39 ++++++++++++++++++++
.../ocaml-unikraft-backend-qemu.0.18.0/opam | 19 ++++++++++
.../ocaml-unikraft-default-arm64.1.0.0/opam | 25 +++++++++++++
.../ocaml-unikraft-default-x86_64.1.0.0/opam | 25 +++++++++++++
.../ocaml-unikraft-option-debug.0.18.0/opam | 12 +++++++
.../ocaml-unikraft-toolchain-arm64.0.18.0/opam | 33 +++++++++++++++++
.../ocaml-unikraft-toolchain-x86_64.0.18.0/opam | 33 +++++++++++++++++
.../ocaml-unikraft-x86_64.1.0.0/opam | 42 ++++++++++++++++++++++
packages/ocaml-unikraft/ocaml-unikraft.1.0.0/opam | 15 ++++++++
packages/unikraft-musl/unikraft-musl.0.18.0/opam | 26 ++++++++++++++
packages/unikraft/unikraft.0.18.0/opam | 30 ++++++++++++++++
18 files changed, 521 insertions(+)
create mode 100644 packages/conf-aarch64-linux-gnu-gcc/conf-aarch64-linux-gnu-gcc.1/opam
create mode 100644 packages/conf-x86_64-linux-gnu-gcc/conf-x86_64-linux-gnu-gcc.1/opam
create mode 100644 packages/ocaml-unikraft-arm64/ocaml-unikraft-arm64.1.0.0/opam
create mode 100644 packages/ocaml-unikraft-backend-firecracker-arm64/ocaml-unikraft-backend-firecracker-arm64.0.18.0/opam
create mode 100644 packages/ocaml-unikraft-backend-firecracker-x86_64/ocaml-unikraft-backend-firecracker-x86_64.0.18.0/opam
create mode 100644 packages/ocaml-unikraft-backend-firecracker/ocaml-unikraft-backend-firecracker.0.18.0/opam
create mode 100644 packages/ocaml-unikraft-backend-qemu-arm64/ocaml-unikraft-backend-qemu-arm64.0.18.0/opam
create mode 100644 packages/ocaml-unikraft-backend-qemu-x86_64/ocaml-unikraft-backend-qemu-x86_64.0.18.0/opam
create mode 100644 packages/ocaml-unikraft-backend-qemu/ocaml-unikraft-backend-qemu.0.18.0/opam
create mode 100644 packages/ocaml-unikraft-default-arm64/ocaml-unikraft-default-arm64.1.0.0/opam
create mode 100644 packages/ocaml-unikraft-default-x86_64/ocaml-unikraft-default-x86_64.1.0.0/opam
create mode 100644 packages/ocaml-unikraft-option-debug/ocaml-unikraft-option-debug.0.18.0/opam
create mode 100644 packages/ocaml-unikraft-toolchain-arm64/ocaml-unikraft-toolchain-arm64.0.18.0/opam
create mode 100644 packages/ocaml-unikraft-toolchain-x86_64/ocaml-unikraft-toolchain-x86_64.0.18.0/opam
create mode 100644 packages/ocaml-unikraft-x86_64/ocaml-unikraft-x86_64.1.0.0/opam
create mode 100644 packages/ocaml-unikraft/ocaml-unikraft.1.0.0/opam
create mode 100644 packages/unikraft-musl/unikraft-musl.0.18.0/opam
create mode 100644 packages/unikraft/unikraft.0.18.0/opam
(from ocaml/opam:fedora-42-ocaml-4.14@sha256:ad92f161cbbad9e3b98b876244adb3bed99b77a5ec57b1d69a2d6752bb6186ef)
Unable to find image 'ocaml/opam:fedora-42-ocaml-4.14@sha256:ad92f161cbbad9e3b98b876244adb3bed99b77a5ec57b1d69a2d6752bb6186ef' locally
docker.io/ocaml/opam@sha256:ad92f161cbbad9e3b98b876244adb3bed99b77a5ec57b1d69a2d6752bb6186ef: Pulling from ocaml/opam
534064f45c4b: Pulling fs layer
534064f45c4b: Verifying Checksum
534064f45c4b: Download complete
534064f45c4b: Pull complete
Digest: sha256:ad92f161cbbad9e3b98b876244adb3bed99b77a5ec57b1d69a2d6752bb6186ef
Status: Downloaded newer image for ocaml/opam@sha256:ad92f161cbbad9e3b98b876244adb3bed99b77a5ec57b1d69a2d6752bb6186ef
2025-06-02 07:58.33 ---> saved as "bb439da85de9a945ea71dda36acced28d8fcac920b11f47761947b18b4dcbeda"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-06-02 07:58.33 ---> saved as "ff19e3d83fb60a4560cc862b569621ed87ed543b978e810ce39e7d6a90d66ec4"
/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 71 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=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-02 07:59.07 ---> saved as "8861b470a916cef0a4b88b72293e143d0049faaae938f400c1c344a9a97467ed"
/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.0~alpha2
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=fedora os-version=42
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 39
# 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-06-02 07:59.08 ---> saved as "fb7a4e8fcd72c04b9695e9f7f225e07cf4b9eae0ae82147bdac4591d5b3330b5"
/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-06-02 07:59.15 ---> saved as "039e459f8b4b9c95a16978063cf8c2952222cb6c326a319b73dd5666a7fed958"
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-02 07:59.33 ---> saved as "7be6698c55f46c1b4a1594bd1137ba267693c209b116b5544b9ae29d63465f2b"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-02 07:59.57 ---> saved as "97e31c7eafcc0aa95feb3ec034485d3606f79a7e0cb263c82664e1279143d56b"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 42 - x86_64 - Updates 100% | 138.1 KiB/s | 11.9 KiB | 00m00s
- Fedora 42 - x86_64 - Updates 100% | 216.0 KiB/s | 2.3 MiB | 00m11s
- Repositories loaded.
- Metadata cache created.
2025-06-02 08:00.12 ---> saved as "19d7e85021939e188679dfe3cd2e53824e7ec581782a79ee92c19e62aed219b1"
/home/opam: (run (shell "opam pin add -k version -yn ocaml-unikraft-toolchain-arm64.0.18.0 0.18.0"))
ocaml-unikraft-toolchain-arm64 is now pinned to version 0.18.0
2025-06-02 08:00.12 ---> saved as "1d19ad72793d483a39625851d3baa0b366f283b01e949cb58621bcc9c8613d05"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-unikraft-toolchain-arm64.0.18.0;\
\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-42\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocaml-unikraft-toolchain-arm64.0.18.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocaml-unikraft-toolchain-arm64.0.18.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 8 packages
- install conf-aarch64-linux-gnu-gcc 1 [required by ocaml-unikraft-backend-qemu-arm64]
- install conf-bison 2 [required by unikraft]
- install conf-flex 2 [required by unikraft]
- install conf-python-3 9.0.0 [required by unikraft]
- install ocaml-unikraft-backend-qemu-arm64 0.18.0 [required by ocaml-unikraft-toolchain-arm64]
- install ocaml-unikraft-toolchain-arm64 0.18.0 (pinned)
- install unikraft 0.18.0 [required by ocaml-unikraft-backend-qemu-arm64]
- install unikraft-musl 0.18.0 [required by ocaml-unikraft-backend-qemu-arm64]
The following system packages will first need to be installed:
gcc-aarch64-linux-gnu
<><> 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/sbin/sudo "yum" "install" "-y" "gcc-aarch64-linux-gnu"
- Updating and loading repositories:
- Repositories loaded.
- Package Arch Version Repository Size
- Installing:
- gcc-aarch64-linux-gnu x86_64 15.1.1-1.fc42 updates 135.2 MiB
- Installing dependencies:
- binutils-aarch64-linux-gnu x86_64 2.44-1.fc42 fedora 23.0 MiB
- cross-binutils-common noarch 2.44-1.fc42 fedora 14.7 MiB
- cross-gcc-common noarch 15.1.1-1.fc42 updates 15.7 MiB
- gmp-c++ x86_64 1:6.3.0-4.fc42 fedora 27.6 KiB
- gmp-devel x86_64 1:6.3.0-4.fc42 fedora 352.3 KiB
- isl x86_64 0.16.1-22.fc42 fedora 3.0 MiB
- libmpc-devel x86_64 1.3.1-7.fc42 fedora 16.6 KiB
- mpfr-devel x86_64 4.2.2-1.fc42 fedora 62.9 KiB
-
- Transaction Summary:
- Installing: 9 packages
-
- Total size of inbound packages is 48 MiB. Need to download 48 MiB.
- After this operation, 192 MiB extra will be used (install 192 MiB, remove 0 B).
- [1/9] binutils-aarch64-linux-gnu-0:2.44 100% | 6.2 MiB/s | 3.2 MiB | 00m01s
- [2/9] isl-0:0.16.1-22.fc42.x86_64 100% | 4.0 MiB/s | 864.8 KiB | 00m00s
- [3/9] cross-binutils-common-0:2.44-1.fc 100% | 6.9 MiB/s | 2.4 MiB | 00m00s
- [4/9] gmp-devel-1:6.3.0-4.fc42.x86_64 100% | 278.2 KiB/s | 174.4 KiB | 00m01s
- [5/9] gmp-c++-1:6.3.0-4.fc42.x86_64 100% | 40.8 KiB/s | 18.5 KiB | 00m00s
- [6/9] libmpc-devel-0:1.3.1-7.fc42.x86_6 100% | 18.6 KiB/s | 11.1 KiB | 00m01s
- [7/9] cross-gcc-common-0:15.1.1-1.fc42. 100% | 993.0 KiB/s | 2.8 MiB | 00m03s
- [8/9] mpfr-devel-0:4.2.2-1.fc42.x86_64 100% | 72.2 KiB/s | 21.7 KiB | 00m00s
- [9/9] gcc-aarch64-linux-gnu-0:15.1.1-1. 100% | 3.9 MiB/s | 38.5 MiB | 00m10s
- --------------------------------------------------------------------------------
- [9/9] Total 100% | 4.8 MiB/s | 48.1 MiB | 00m10s
- Running transaction
- [ 1/11] Verify package files 100% | 15.0 B/s | 9.0 B | 00m01s
- [ 2/11] Prepare transaction 100% | 40.0 B/s | 9.0 B | 00m00s
- [ 3/11] Installing gmp-c++-1:6.3.0-4.fc 100% | 4.0 MiB/s | 28.5 KiB | 00m00s
- [ 4/11] Installing gmp-devel-1:6.3.0-4. 100% | 34.6 MiB/s | 354.1 KiB | 00m00s
- [ 5/11] Installing mpfr-devel-0:4.2.2-1 100% | 20.7 MiB/s | 63.6 KiB | 00m00s
- [ 6/11] Installing libmpc-devel-0:1.3.1 100% | 4.1 MiB/s | 16.9 KiB | 00m00s
- [ 7/11] Installing cross-binutils-commo 100% | 149.2 MiB/s | 14.8 MiB | 00m00s
- [ 8/11] Installing binutils-aarch64-lin 100% | 43.0 MiB/s | 23.0 MiB | 00m01s
- [ 9/11] Installing isl-0:0.16.1-22.fc42 100% | 38.1 MiB/s | 3.0 MiB | 00m00s
- [10/11] Installing cross-gcc-common-0:1 100% | 152.9 MiB/s | 15.7 MiB | 00m00s
- [11/11] Installing gcc-aarch64-linux-gn 100% | 39.9 MiB/s | 135.3 MiB | 00m03s
- Complete!
+ /usr/sbin/rpm "-q" "--whatprovides" "gcc-aarch64-linux-gnu"
- gcc-aarch64-linux-gnu-15.1.1-1.fc42.x86_64
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-python-3.9.0.0 (cached)
-> retrieved ocaml-unikraft-backend-qemu-arm64.0.18.0, ocaml-unikraft-toolchain-arm64.0.18.0 (cached)
-> installed conf-aarch64-linux-gnu-gcc.1
-> installed conf-bison.2
-> installed conf-flex.2
-> installed conf-python-3.9.0.0
-> retrieved unikraft.0.18.0 (cached)
-> retrieved unikraft-musl.0.18.0 (cached)
-> installed unikraft.0.18.0
-> installed unikraft-musl.0.18.0
-> installed ocaml-unikraft-backend-qemu-arm64.0.18.0
-> installed ocaml-unikraft-toolchain-arm64.0.18.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-02 08:01.29 ---> saved as "bdd7d6216aea6701656c36fac6a1e4f77c55a2d581c57b104f6605a2c9e886f3"
Job succeeded
2025-06-02 08:01.36: Job succeeded