Build:
- 0
2026-05-26 18:13.34: New job: build ctypes.0.24.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29956/head (85e0989e3efde96c526c3abe8cb16db3265f6041)
on ubuntu-24.04-ocaml-4.14/riscv64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29956/head" && git reset --hard 85e0989e
git fetch origin master
git merge --no-edit 418d45864d83ca72d011737951d62a2d4a907e18
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:0b2e33e7339f2b3efd0a0c11dd0980dc127c461818cb0c5b56b570fb07b06e7e
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 ctypes.0.24.0 0.24.0
RUN opam reinstall ctypes.0.24.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 "\"ubuntu-24.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ctypes.0.24.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 .
2026-05-26 18:13.34: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:0b2e33e7339f2b3efd0a0c11dd0980dc127c461818cb0c5b56b570fb07b06e7e-ctypes.0.24.0-85e0989e3efde96c526c3abe8cb16db3265f6041"
2026-05-26 18:13.34: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:0b2e33e7339f2b3efd0a0c11dd0980dc127c461818cb0c5b56b570fb07b06e7e)
(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 ctypes.0.24.0 0.24.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ctypes.0.24.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 \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ctypes.0.24.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-05-26 18:13.34: Waiting for resource in pool OCluster
2026-05-26 18:13.34: Waiting for worker…
2026-05-28 10:42.47: Got resource from pool OCluster
Building on riscv-bm-02.sw.ci.dev
All commits already cached
Updating files: 14% (2635/17971)
Updating files: 15% (2696/17971)
Updating files: 16% (2876/17971)
Updating files: 17% (3056/17971)
Updating files: 18% (3235/17971)
Updating files: 19% (3415/17971)
Updating files: 20% (3595/17971)
Updating files: 21% (3774/17971)
Updating files: 22% (3954/17971)
Updating files: 23% (4134/17971)
Updating files: 24% (4314/17971)
Updating files: 25% (4493/17971)
Updating files: 26% (4673/17971)
Updating files: 27% (4853/17971)
Updating files: 28% (5032/17971)
Updating files: 29% (5212/17971)
Updating files: 29% (5222/17971)
Updating files: 30% (5392/17971)
Updating files: 31% (5572/17971)
Updating files: 32% (5751/17971)
Updating files: 33% (5931/17971)
Updating files: 34% (6111/17971)
Updating files: 35% (6290/17971)
Updating files: 36% (6470/17971)
Updating files: 37% (6650/17971)
Updating files: 38% (6829/17971)
Updating files: 39% (7009/17971)
Updating files: 40% (7189/17971)
Updating files: 41% (7369/17971)
Updating files: 42% (7548/17971)
Updating files: 42% (7561/17971)
Updating files: 43% (7728/17971)
Updating files: 44% (7908/17971)
Updating files: 45% (8087/17971)
Updating files: 46% (8267/17971)
Updating files: 47% (8447/17971)
Updating files: 48% (8627/17971)
Updating files: 49% (8806/17971)
Updating files: 50% (8986/17971)
Updating files: 51% (9166/17971)
Updating files: 52% (9345/17971)
Updating files: 53% (9525/17971)
Updating files: 54% (9705/17971)
Updating files: 55% (9885/17971)
Updating files: 55% (9954/17971)
Updating files: 56% (10064/17971)
Updating files: 57% (10244/17971)
Updating files: 58% (10424/17971)
Updating files: 59% (10603/17971)
Updating files: 60% (10783/17971)
Updating files: 61% (10963/17971)
Updating files: 62% (11143/17971)
Updating files: 63% (11322/17971)
Updating files: 64% (11502/17971)
Updating files: 65% (11682/17971)
Updating files: 66% (11861/17971)
Updating files: 67% (12041/17971)
Updating files: 68% (12221/17971)
Updating files: 68% (12232/17971)
Updating files: 69% (12400/17971)
Updating files: 70% (12580/17971)
Updating files: 71% (12760/17971)
Updating files: 72% (12940/17971)
Updating files: 73% (13119/17971)
Updating files: 74% (13299/17971)
Updating files: 75% (13479/17971)
Updating files: 76% (13658/17971)
Updating files: 77% (13838/17971)
Updating files: 78% (14018/17971)
Updating files: 79% (14198/17971)
Updating files: 80% (14377/17971)
Updating files: 81% (14557/17971)
Updating files: 81% (14605/17971)
Updating files: 82% (14737/17971)
Updating files: 83% (14916/17971)
Updating files: 84% (15096/17971)
Updating files: 85% (15276/17971)
Updating files: 86% (15456/17971)
Updating files: 87% (15635/17971)
Updating files: 88% (15815/17971)
Updating files: 89% (15995/17971)
Updating files: 90% (16174/17971)
Updating files: 91% (16354/17971)
Updating files: 92% (16534/17971)
Updating files: 93% (16714/17971)
Updating files: 94% (16893/17971)
Updating files: 94% (17025/17971)
Updating files: 95% (17073/17971)
Updating files: 96% (17253/17971)
Updating files: 97% (17432/17971)
Updating files: 98% (17612/17971)
Updating files: 99% (17792/17971)
Updating files: 100% (17971/17971)
Updating files: 100% (17971/17971), done.
HEAD is now at 418d45864d Merge pull request #29921 from mbacarella/release-awso-0.9.0
Updating 418d45864d..85e0989e3e
Fast-forward
packages/ctypes-foreign/ctypes-foreign.0.24.0/opam | 3 +--
packages/ctypes/ctypes.0.24.0/opam | 4 +---
2 files changed, 2 insertions(+), 5 deletions(-)
(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:0b2e33e7339f2b3efd0a0c11dd0980dc127c461818cb0c5b56b570fb07b06e7e)
2026-05-28 10:42.58 ---> using "12bf2538b4187012bc8174693aa825dc9d1ef6b7ec5c10bbbf1b7633c6a45098" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-05-28 10:42.58 ---> using "cc0d87c67af96071eeba77313d86ee81b2a458401dfff9be9eeb71491092fe5d" from cache
/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.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
2026-05-28 10:42.58 ---> using "111a885a0ed7dc3227d8bd2bcc28167255d3d55cbb8b851b74370af452877fe9" 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.5.1
# self-upgrade no
# system arch=riscv64 os=linux os-distribution=ubuntu os-version=24.04
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 3
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.3"}]
# compiler-packages ocaml-base-compiler.4.14.3, 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.3
2026-05-28 10:42.58 ---> using "a5b9c948625ba37a0390c36314c7adce89350fa0019b651c8c5685d148ad071f" 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/"))
2026-05-28 10:42.58 ---> using "c37d3407449b0dbffd1fb5f5f8bec32bf97c73ffefa782058de87bf642f38e00" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-05-28 10:43.03 ---> using "fab84410ab265f5c1113b3954c01b1daea1a4e71812e8364b767b8dd629f7ec3" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-28 10:43.03 ---> using "02831ad7e6ffa3f75ebcfa9f6a048ecfd5004c6c8b74438b5f060726c73d2064" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease [126 kB]
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [973 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1607 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted riscv64 Packages [12.5 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe riscv64 Packages [29.7 kB]
- Get:9 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted riscv64 Packages [9971 B]
- Get:10 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [1131 kB]
- Get:11 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [659 kB]
- Fetched 4799 kB in 2s (2119 kB/s)
- Reading package lists...
-
2026-05-28 10:43.03 ---> using "4664275967dc368a0a17de72a8d98de9636a01b304af62efb43a10406f479834" from cache
/home/opam: (run (shell "opam pin add -k version -yn ctypes.0.24.0 0.24.0"))
ctypes is now pinned to version 0.24.0
2026-05-28 10:43.06 ---> saved as "126ce2968ad73bb9eb146cdce578ee46bd072bae31b971ab0f5680d6bcf1ba95"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ctypes.0.24.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 \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ctypes.0.24.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ctypes.0.24.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 6 packages
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.24.0 (pinned)
- install dune 3.23.1 [required by ctypes]
- install dune-configurator 3.23.1 [required by ctypes]
- install integers 0.8.0 [required by ctypes]
- install stdlib-shims 0.3.0 [required by integers]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> retrieved ctypes.0.24.0 (cached)
-> retrieved dune.3.23.1, dune-configurator.3.23.1 (cached)
-> retrieved integers.0.8.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed dune.3.23.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed integers.0.8.0
-> installed dune-configurator.3.23.1
-> installed ctypes.0.24.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-28 10:48.28 ---> saved as "10e0e83b388e725687f2a573e7b2df179b754d75bad3b13f0b561b49a3a8271c"
Job succeeded
2026-05-28 10:49.00: Job succeeded