- github
- ocaml
- opam-repository
- 22a2fc
- extras,opam-2.0-ocaml-5.3,ocaml-unikraft-toolchain-x86_64.0.18.0
(not at the head of any monitored branch or PR)
2025-05-26 08:50.12: New job: build ocaml-unikraft-toolchain-x86_64.0.18.0, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/27856/head (22a2fc72dc111f64fe5bf0454944f8d87081eada)
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/27856/head" && git reset --hard 22a2fc72
git fetch origin master
git merge --no-edit 584630e7a7e27e3cf56158696a3fe94623a0cf4f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:601a187e2900fccdc210cf20312e1bb4b7d0d219d790e3a816c5bf992c14e3e6
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 ocaml-unikraft-toolchain-x86_64.0.18.0 0.18.0
RUN opam depext ocaml-unikraft-toolchain-x86_64.0.18.0 && opam reinstall ocaml-unikraft-toolchain-x86_64.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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocaml-unikraft-toolchain-x86_64.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-05-26 08:50.12: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:601a187e2900fccdc210cf20312e1bb4b7d0d219d790e3a816c5bf992c14e3e6-ocaml-unikraft-toolchain-x86_64.0.18.0-22a2fc72dc111f64fe5bf0454944f8d87081eada"
2025-05-26 08:50.12: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:601a187e2900fccdc210cf20312e1bb4b7d0d219d790e3a816c5bf992c14e3e6)
(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 ocaml-unikraft-toolchain-x86_64.0.18.0 0.18.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext ocaml-unikraft-toolchain-x86_64.0.18.0 && opam reinstall ocaml-unikraft-toolchain-x86_64.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 \"\\\"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\" != 'ocaml-unikraft-toolchain-x86_64.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-05-26 08:50.12: Waiting for resource in pool OCluster
2025-05-26 08:59.47: Waiting for worker…
2025-05-26 09:01.32: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 85% (19739/23121)
Updating files: 86% (19885/23121)
Updating files: 87% (20116/23121)
Updating files: 88% (20347/23121)
Updating files: 89% (20578/23121)
Updating files: 90% (20809/23121)
Updating files: 91% (21041/23121)
Updating files: 92% (21272/23121)
Updating files: 93% (21503/23121)
Updating files: 94% (21734/23121)
Updating files: 95% (21965/23121)
Updating files: 96% (22197/23121)
Updating files: 97% (22428/23121)
Updating files: 98% (22659/23121)
Updating files: 99% (22890/23121)
Updating files: 100% (23121/23121)
Updating files: 100% (23121/23121), done.
HEAD is now at 584630e7a7 Merge pull request #27919 from hannesm/release-dns-v10.1.0
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:debian-12-ocaml-5.3@sha256:601a187e2900fccdc210cf20312e1bb4b7d0d219d790e3a816c5bf992c14e3e6)
2025-05-26 09:01.55 ---> using "0585f6b0985f7eb566e20fd068ca8d674792c3b808091294d28083728c5a5ee6" 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-05-26 09:01.55 ---> using "516b3fd3fd9039a307d3a04e69397fa29d1cd17f49ebb613ded2da322e3c315f" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+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-05-26 09:02.56 ---> saved as "f26c62a6d17405227a9512f0c2f5b613546e7ef05ed83c157442740b3c9681ff"
/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 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
2025-05-26 09:02.57 ---> saved as "32f84a6580f2762020bc2c09ca5acb5efbba197a24c51e49d9f305ab4faf6dde"
/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-05-26 09:03.08 ---> saved as "01ddecb9721b574a4736e5f1a32bed263b3ccfdfdc2c66adf48d203a63e7d9c7"
/home/opam: (copy (src .) (dst opam-repository/))
2025-05-26 09:03.24 ---> saved as "44dafc90d458e7ed064a4a2ef129a9d14dc91ca498fd2d0dce18ef358ed4a74e"
/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-05-26 09:03.40 ---> saved as "b913926b89d4a7039b0c2a829ee041b1d6baa4dcf33a3326b6197c39db91a427"
/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
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
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 bookworm/main amd64 Packages [8793 kB]
Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [261 kB]
Fetched 9308 kB in 2s (4932 kB/s)
Reading package lists...
# OS package update successful
2025-05-26 09:03.44 ---> saved as "cc5df2751dee6676ee22ff406bf3b0c43696443c014a66469bf8c5361d5adbd5"
/home/opam: (run (shell "opam pin add -k version -yn ocaml-unikraft-toolchain-x86_64.0.18.0 0.18.0"))
ocaml-unikraft-toolchain-x86_64 is now pinned to version 0.18.0
2025-05-26 09:03.44 ---> saved as "0fa6f65c5cdb342b799da3a5944fa6632cb6236ab21d2bfeb3d37838129ce75c"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext ocaml-unikraft-toolchain-x86_64.0.18.0 && opam reinstall ocaml-unikraft-toolchain-x86_64.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 \"\\\"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\" != 'ocaml-unikraft-toolchain-x86_64.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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
bison
flex
python3
The following command needs to be run through "sudo":
apt-get install -qq -yy bison flex python3
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package m4.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18778 files and directories currently installed.)
Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
Unpacking m4 (1.4.19-3) ...
Selecting previously unselected package flex.
Preparing to unpack .../flex_2.6.4-8.2_amd64.deb ...
Unpacking flex (2.6.4-8.2) ...
Selecting previously unselected package libpython3.11-minimal:amd64.
Preparing to unpack .../libpython3.11-minimal_3.11.2-6+deb12u6_amd64.deb ...
Unpacking libpython3.11-minimal:amd64 (3.11.2-6+deb12u6) ...
Selecting previously unselected package python3.11-minimal.
Preparing to unpack .../python3.11-minimal_3.11.2-6+deb12u6_amd64.deb ...
Unpacking python3.11-minimal (3.11.2-6+deb12u6) ...
Setting up libpython3.11-minimal:amd64 (3.11.2-6+deb12u6) ...
Setting up python3.11-minimal (3.11.2-6+deb12u6) ...
Selecting previously unselected package python3-minimal.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 19267 files and directories currently installed.)
Preparing to unpack .../python3-minimal_3.11.2-1+b1_amd64.deb ...
Unpacking python3-minimal (3.11.2-1+b1) ...
Selecting previously unselected package media-types.
Preparing to unpack .../media-types_10.0.0_all.deb ...
Unpacking media-types (10.0.0) ...
Selecting previously unselected package libpython3.11-stdlib:amd64.
Preparing to unpack .../libpython3.11-stdlib_3.11.2-6+deb12u6_amd64.deb ...
Unpacking libpython3.11-stdlib:amd64 (3.11.2-6+deb12u6) ...
Selecting previously unselected package python3.11.
Preparing to unpack .../python3.11_3.11.2-6+deb12u6_amd64.deb ...
Unpacking python3.11 (3.11.2-6+deb12u6) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../libpython3-stdlib_3.11.2-1+b1_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.11.2-1+b1) ...
Setting up python3-minimal (3.11.2-1+b1) ...
Selecting previously unselected package python3.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 19677 files and directories currently installed.)
Preparing to unpack .../python3_3.11.2-1+b1_amd64.deb ...
Unpacking python3 (3.11.2-1+b1) ...
Selecting previously unselected package bison.
Preparing to unpack .../bison_2%3a3.8.2+dfsg-1+b1_amd64.deb ...
Unpacking bison (2:3.8.2+dfsg-1+b1) ...
Selecting previously unselected package libfl2:amd64.
Preparing to unpack .../libfl2_2.6.4-8.2_amd64.deb ...
Unpacking libfl2:amd64 (2.6.4-8.2) ...
Selecting previously unselected package libfl-dev:amd64.
Preparing to unpack .../libfl-dev_2.6.4-8.2_amd64.deb ...
Unpacking libfl-dev:amd64 (2.6.4-8.2) ...
Setting up media-types (10.0.0) ...
Setting up libpython3.11-stdlib:amd64 (3.11.2-6+deb12u6) ...
Setting up m4 (1.4.19-3) ...
Setting up libfl2:amd64 (2.6.4-8.2) ...
Setting up bison (2:3.8.2+dfsg-1+b1) ...
update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode
Setting up libpython3-stdlib:amd64 (3.11.2-1+b1) ...
Setting up python3.11 (3.11.2-6+deb12u6) ...
Setting up flex (2.6.4-8.2) ...
Setting up python3 (3.11.2-1+b1) ...
running python rtupdate hooks for python3.11...
running python post-rtupdate hooks for python3.11...
Setting up libfl-dev:amd64 (2.6.4-8.2) ...
Processing triggers for libc-bin (2.36-9+deb12u10) ...
# OS packages installation successful
ocaml-unikraft-toolchain-x86_64.0.18.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install conf-python-3 9.0.0 [required by unikraft]
- install conf-bison 2 [required by unikraft]
- install conf-flex 2 [required by unikraft]
- install unikraft-musl 0.18.0 [required by ocaml-unikraft-backend-qemu-x86_64]
- install unikraft 0.18.0 [required by ocaml-unikraft-backend-qemu-x86_64]
- install ocaml-unikraft-backend-qemu-x86_64 0.18.0 [required by ocaml-unikraft-toolchain-x86_64]
- install ocaml-unikraft-toolchain-x86_64 0.18.0*
===== 7 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-unikraft-backend-qemu-x86_64.0.18.0] found in cache
[ocaml-unikraft-toolchain-x86_64.0.18.0] found in cache
[unikraft.0.18.0] found in cache
[unikraft-musl.0.18.0] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed unikraft-musl.0.18.0
-> installed conf-bison.2
-> installed conf-flex.2
-> installed conf-python-3.9.0.0
-> installed unikraft.0.18.0
-> installed ocaml-unikraft-backend-qemu-x86_64.0.18.0
-> installed ocaml-unikraft-toolchain-x86_64.0.18.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-05-26 09:04.47 ---> saved as "19156278c4f1c28d16b37450be78a44511ac1a7383fb678f709d5505a6e7b45f"
Job succeeded
2025-05-26 09:05.06: Job succeeded