Build:
- 0
2026-01-10 14:40.22: New job: build posix-types.4.0.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29206/head (0a072b41fd9ebb57763642843d64cc403d3f2bf6)
on ubuntu-24.04-ocaml-5.4/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/29206/head" && git reset --hard 0a072b41
git fetch origin master
git merge --no-edit a6b2f19780b2edfc4e5dba2566235c877dbf5acd
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:9bff552cb5ef016775fbc2b089a0ba3bfe8e32856b8ce728e3dd5e03628c74f9
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 posix-types.4.0.1 4.0.1
RUN opam reinstall posix-types.4.0.1; \
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" != 'posix-types.4.0.1' && 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-01-10 14:40.22: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:9bff552cb5ef016775fbc2b089a0ba3bfe8e32856b8ce728e3dd5e03628c74f9-posix-types.4.0.1-0a072b41fd9ebb57763642843d64cc403d3f2bf6"
2026-01-10 14:40.22: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:9bff552cb5ef016775fbc2b089a0ba3bfe8e32856b8ce728e3dd5e03628c74f9)
(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 posix-types.4.0.1 4.0.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall posix-types.4.0.1;\
\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\" != 'posix-types.4.0.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-01-10 14:40.22: Waiting for resource in pool OCluster
2026-01-10 14:40.23: Waiting for worker…
2026-01-11 01:13.06: Got resource from pool OCluster
Building on riscv-bm-03.sw.ci.dev
Updating files: 10% (1975/19150)
Updating files: 11% (2107/19150)
Updating files: 12% (2298/19150)
Updating files: 13% (2490/19150)
Updating files: 14% (2681/19150)
Updating files: 15% (2873/19150)
Updating files: 16% (3064/19150)
Updating files: 17% (3256/19150)
Updating files: 18% (3447/19150)
Updating files: 19% (3639/19150)
Updating files: 20% (3830/19150)
Updating files: 21% (4022/19150)
Updating files: 22% (4213/19150)
Updating files: 22% (4277/19150)
Updating files: 23% (4405/19150)
Updating files: 24% (4596/19150)
Updating files: 25% (4788/19150)
Updating files: 26% (4979/19150)
Updating files: 27% (5171/19150)
Updating files: 28% (5362/19150)
Updating files: 29% (5554/19150)
Updating files: 30% (5745/19150)
Updating files: 31% (5937/19150)
Updating files: 32% (6128/19150)
Updating files: 33% (6320/19150)
Updating files: 34% (6511/19150)
Updating files: 35% (6703/19150)
Updating files: 35% (6820/19150)
Updating files: 36% (6894/19150)
Updating files: 37% (7086/19150)
Updating files: 38% (7277/19150)
Updating files: 39% (7469/19150)
Updating files: 40% (7660/19150)
Updating files: 41% (7852/19150)
Updating files: 42% (8043/19150)
Updating files: 43% (8235/19150)
Updating files: 44% (8426/19150)
Updating files: 45% (8618/19150)
Updating files: 46% (8809/19150)
Updating files: 47% (9001/19150)
Updating files: 47% (9038/19150)
Updating files: 48% (9192/19150)
Updating files: 49% (9384/19150)
Updating files: 50% (9575/19150)
Updating files: 51% (9767/19150)
Updating files: 52% (9958/19150)
Updating files: 53% (10150/19150)
Updating files: 54% (10341/19150)
Updating files: 55% (10533/19150)
Updating files: 56% (10724/19150)
Updating files: 57% (10916/19150)
Updating files: 57% (11099/19150)
Updating files: 58% (11107/19150)
Updating files: 59% (11299/19150)
Updating files: 60% (11490/19150)
Updating files: 61% (11682/19150)
Updating files: 62% (11873/19150)
Updating files: 63% (12065/19150)
Updating files: 64% (12256/19150)
Updating files: 65% (12448/19150)
Updating files: 66% (12639/19150)
Updating files: 67% (12831/19150)
Updating files: 68% (13022/19150)
Updating files: 69% (13214/19150)
Updating files: 69% (13230/19150)
Updating files: 70% (13405/19150)
Updating files: 71% (13597/19150)
Updating files: 72% (13788/19150)
Updating files: 73% (13980/19150)
Updating files: 74% (14171/19150)
Updating files: 75% (14363/19150)
Updating files: 76% (14554/19150)
Updating files: 77% (14746/19150)
Updating files: 78% (14937/19150)
Updating files: 79% (15129/19150)
Updating files: 80% (15320/19150)
Updating files: 80% (15448/19150)
Updating files: 81% (15512/19150)
Updating files: 82% (15703/19150)
Updating files: 83% (15895/19150)
Updating files: 84% (16086/19150)
Updating files: 85% (16278/19150)
Updating files: 86% (16469/19150)
Updating files: 87% (16661/19150)
Updating files: 88% (16852/19150)
Updating files: 89% (17044/19150)
Updating files: 90% (17235/19150)
Updating files: 91% (17427/19150)
Updating files: 92% (17618/19150)
Updating files: 92% (17648/19150)
Updating files: 93% (17810/19150)
Updating files: 94% (18001/19150)
Updating files: 95% (18193/19150)
Updating files: 96% (18384/19150)
Updating files: 97% (18576/19150)
Updating files: 98% (18767/19150)
Updating files: 99% (18959/19150)
Updating files: 100% (19150/19150)
Updating files: 100% (19150/19150), done.
HEAD is now at aafc3de1c8 Package rfsm.2.3
HEAD is now at a6b2f19780 Merge pull request #29201 from lindig/fit
Updating a6b2f19780..0a072b41fd
Fast-forward
packages/posix-base/posix-base.4.0.1/opam | 40 ++++++++++++++++++
packages/posix-bindings/posix-bindings.4.0.1/opam | 47 ++++++++++++++++++++++
packages/posix-errno/posix-errno.4.0.1/opam | 40 ++++++++++++++++++
packages/posix-getopt/posix-getopt.4.0.1/opam | 46 +++++++++++++++++++++
packages/posix-math2/posix-math2.4.0.1/opam | 40 ++++++++++++++++++
packages/posix-resource/posix-resource.4.0.1/opam | 44 ++++++++++++++++++++
packages/posix-signal/posix-signal.4.0.1/opam | 42 +++++++++++++++++++
.../posix-socket-unix/posix-socket-unix.4.0.1/opam | 43 ++++++++++++++++++++
packages/posix-socket/posix-socket.4.0.1/opam | 42 +++++++++++++++++++
packages/posix-stat/posix-stat.4.0.1/opam | 44 ++++++++++++++++++++
packages/posix-time2/posix-time2.4.0.1/opam | 43 ++++++++++++++++++++
packages/posix-types/posix-types.4.0.1/opam | 42 +++++++++++++++++++
packages/posix-uname/posix-uname.4.0.1/opam | 41 +++++++++++++++++++
packages/posix-unistd/posix-unistd.4.0.1/opam | 42 +++++++++++++++++++
14 files changed, 596 insertions(+)
create mode 100644 packages/posix-base/posix-base.4.0.1/opam
create mode 100644 packages/posix-bindings/posix-bindings.4.0.1/opam
create mode 100644 packages/posix-errno/posix-errno.4.0.1/opam
create mode 100644 packages/posix-getopt/posix-getopt.4.0.1/opam
create mode 100644 packages/posix-math2/posix-math2.4.0.1/opam
create mode 100644 packages/posix-resource/posix-resource.4.0.1/opam
create mode 100644 packages/posix-signal/posix-signal.4.0.1/opam
create mode 100644 packages/posix-socket-unix/posix-socket-unix.4.0.1/opam
create mode 100644 packages/posix-socket/posix-socket.4.0.1/opam
create mode 100644 packages/posix-stat/posix-stat.4.0.1/opam
create mode 100644 packages/posix-time2/posix-time2.4.0.1/opam
create mode 100644 packages/posix-types/posix-types.4.0.1/opam
create mode 100644 packages/posix-uname/posix-uname.4.0.1/opam
create mode 100644 packages/posix-unistd/posix-unistd.4.0.1/opam
(from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:9bff552cb5ef016775fbc2b089a0ba3bfe8e32856b8ce728e3dd5e03628c74f9)
2026-01-11 01:17.50 ---> saved as "689ddea16ea907d91a71afb5843fb8b44a64bac032a0ba733eaa3efb6356e0e9"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-11 01:17.50 ---> saved as "c813c95b19ffe348086e9ccc0b7aeeaf4f84e446b2024854ed2278424d70ab2e"
/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.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-11 01:19.46 ---> saved as "16ac455a0976715e257ed15ea28f29c99c775e93c95e6fa58fcd42c58ea86af6"
/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.0
# 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 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2026-01-11 01:19.49 ---> saved as "610ff6510bf4b82f4135632b13314104b111bca132a68c35eae3b521d15c7d4e"
/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-01-11 01:20.28 ---> saved as "2b6a2b19b669bec7bee8b7e9ecc92ede7dc888197d5c163cee03b649b5d8f0f1"
/home/opam: (copy (src .) (dst opam-repository/))
2026-01-11 01:20.56 ---> saved as "f775ca20bc590bb2c1f1e1659f35a0597222fed62ee2e9c4012b550f34bba563"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-11 01:22.30 ---> saved as "0aa3b6ae15331a770d6b851021d895579852bffe5b5adac94e06e6b578d4f0d5"
/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/universe riscv64 Packages [1469 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [902 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [580 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [926 kB]
- Fetched 4256 kB in 2s (2112 kB/s)
- Reading package lists...
-
2026-01-11 01:22.39 ---> saved as "7c93ad1fce06d6fdf04676703dd33eb7479b40d68e69140bf586a61e2593d69a"
/home/opam: (run (shell "opam pin add -k version -yn posix-types.4.0.1 4.0.1"))
posix-types is now pinned to version 4.0.1
2026-01-11 01:22.41 ---> saved as "2f3db67a3b6c2caeb44c2fe678c1f5b1e29333e74afd4fa17e0827c9af9cadd5"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall posix-types.4.0.1;\
\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\" != 'posix-types.4.0.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
posix-types.4.0.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 8 packages
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.24.0 [required by posix-types]
- install dune 3.20.2 [required by posix-types]
- install dune-configurator 3.20.2 [required by ctypes]
- install integers 0.7.0 [required by ctypes, posix-base]
- install posix-base 4.0.1 [required by posix-types]
- install posix-types 4.0.1 (pinned)
- 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.20.2, dune-configurator.3.20.2 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved posix-base.4.0.1, posix-types.4.0.1 (https://github.com/savonet/ocaml-posix/archive/refs/tags/v4.0.1.tar.gz)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed dune-configurator.3.20.2
-> installed ctypes.0.24.0
-> installed posix-base.4.0.1
-> installed posix-types.4.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-11 01:28.14 ---> saved as "49afa6fc5ade8b428571e0783d2d86ef34ad970bcb28e63ba392809b74302a99"
Job succeeded
2026-01-11 01:28.48: Job succeeded