Build:
- 0
2026-03-02 21:58.45: New job: build posix-resource.4.0.2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29495/head (2179367d24629cef9cd7954ac7f567f6655671d4)
on debian-13-ocaml-4.08/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/29495/head" && git reset --hard 2179367d
git fetch origin master
git merge --no-edit 4d2d05075ed20338fa6af3429fc5c18858025bd3
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.08@sha256:18a47a9bb3063d7bddee6fac4099338ba3ef3be6e1d9e9d7358e7cd37bdcb084
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-resource.4.0.2 4.0.2
RUN opam reinstall posix-resource.4.0.2; \
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-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'posix-resource.4.0.2' && 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-03-02 21:58.45: Using cache hint "ocaml/opam:debian-13-ocaml-4.08@sha256:18a47a9bb3063d7bddee6fac4099338ba3ef3be6e1d9e9d7358e7cd37bdcb084-posix-resource.4.0.2-2179367d24629cef9cd7954ac7f567f6655671d4"
2026-03-02 21:58.45: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:18a47a9bb3063d7bddee6fac4099338ba3ef3be6e1d9e9d7358e7cd37bdcb084)
(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-resource.4.0.2 4.0.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall posix-resource.4.0.2;\
\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-13\\\"\"; 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-resource.4.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-03-02 21:58.45: Waiting for resource in pool OCluster
2026-03-03 09:23.20: Waiting for worker…
2026-03-03 09:28.30: Got resource from pool OCluster
Building on eumache
All commits already cached
Updating files: 71% (13163/18349)
Updating files: 72% (13212/18349)
Updating files: 73% (13395/18349)
Updating files: 74% (13579/18349)
Updating files: 75% (13762/18349)
Updating files: 76% (13946/18349)
Updating files: 77% (14129/18349)
Updating files: 78% (14313/18349)
Updating files: 79% (14496/18349)
Updating files: 80% (14680/18349)
Updating files: 81% (14863/18349)
Updating files: 82% (15047/18349)
Updating files: 83% (15230/18349)
Updating files: 84% (15414/18349)
Updating files: 85% (15597/18349)
Updating files: 86% (15781/18349)
Updating files: 87% (15964/18349)
Updating files: 88% (16148/18349)
Updating files: 89% (16331/18349)
Updating files: 90% (16515/18349)
Updating files: 91% (16698/18349)
Updating files: 92% (16882/18349)
Updating files: 93% (17065/18349)
Updating files: 94% (17249/18349)
Updating files: 95% (17432/18349)
Updating files: 96% (17616/18349)
Updating files: 97% (17799/18349)
Updating files: 98% (17983/18349)
Updating files: 99% (18166/18349)
Updating files: 100% (18349/18349)
Updating files: 100% (18349/18349), done.
HEAD is now at 4d2d05075e Merge pull request #29493 from filipeom/opam-publish-smtml.0.22.0
Updating 4d2d05075e..2179367d24
Fast-forward
packages/posix-base/posix-base.4.0.2/opam | 40 ++++++++++++++++++
packages/posix-bindings/posix-bindings.4.0.2/opam | 47 ++++++++++++++++++++++
packages/posix-errno/posix-errno.4.0.2/opam | 40 ++++++++++++++++++
packages/posix-getopt/posix-getopt.4.0.2/opam | 46 +++++++++++++++++++++
packages/posix-math2/posix-math2.4.0.2/opam | 40 ++++++++++++++++++
packages/posix-resource/posix-resource.4.0.2/opam | 44 ++++++++++++++++++++
packages/posix-signal/posix-signal.4.0.2/opam | 42 +++++++++++++++++++
.../posix-socket-unix/posix-socket-unix.4.0.2/opam | 43 ++++++++++++++++++++
packages/posix-socket/posix-socket.4.0.2/opam | 42 +++++++++++++++++++
packages/posix-stat/posix-stat.4.0.2/opam | 44 ++++++++++++++++++++
packages/posix-time2/posix-time2.4.0.2/opam | 43 ++++++++++++++++++++
packages/posix-types/posix-types.4.0.2/opam | 42 +++++++++++++++++++
packages/posix-uname/posix-uname.4.0.2/opam | 41 +++++++++++++++++++
packages/posix-unistd/posix-unistd.4.0.2/opam | 42 +++++++++++++++++++
14 files changed, 596 insertions(+)
create mode 100644 packages/posix-base/posix-base.4.0.2/opam
create mode 100644 packages/posix-bindings/posix-bindings.4.0.2/opam
create mode 100644 packages/posix-errno/posix-errno.4.0.2/opam
create mode 100644 packages/posix-getopt/posix-getopt.4.0.2/opam
create mode 100644 packages/posix-math2/posix-math2.4.0.2/opam
create mode 100644 packages/posix-resource/posix-resource.4.0.2/opam
create mode 100644 packages/posix-signal/posix-signal.4.0.2/opam
create mode 100644 packages/posix-socket-unix/posix-socket-unix.4.0.2/opam
create mode 100644 packages/posix-socket/posix-socket.4.0.2/opam
create mode 100644 packages/posix-stat/posix-stat.4.0.2/opam
create mode 100644 packages/posix-time2/posix-time2.4.0.2/opam
create mode 100644 packages/posix-types/posix-types.4.0.2/opam
create mode 100644 packages/posix-uname/posix-uname.4.0.2/opam
create mode 100644 packages/posix-unistd/posix-unistd.4.0.2/opam
(from ocaml/opam:debian-13-ocaml-4.08@sha256:18a47a9bb3063d7bddee6fac4099338ba3ef3be6e1d9e9d7358e7cd37bdcb084)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.08@sha256:18a47a9bb3063d7bddee6fac4099338ba3ef3be6e1d9e9d7358e7cd37bdcb084' locally
docker.io/ocaml/opam@sha256:18a47a9bb3063d7bddee6fac4099338ba3ef3be6e1d9e9d7358e7cd37bdcb084: Pulling from ocaml/opam
866771c43bf5: Already exists
4a5c2c0f49fb: Already exists
14afc2e314e3: Already exists
b428db3c7f23: Already exists
714e2830ade6: Already exists
a32341fba7c4: Already exists
14c4d29b0669: Already exists
8098743a84e0: Already exists
b649ef0e5c7c: Already exists
fdf90895ece2: Already exists
2a1862103e3b: Already exists
a5b8900899a7: Already exists
3afd77c1671d: Already exists
4109c0e61944: Already exists
72c2140c0b8a: Already exists
a569aea0e6d2: Already exists
bda663408b80: Already exists
c85973dbeea6: Already exists
d0f7673c2c0f: Already exists
5ba6b3c63b75: Already exists
0fe1cfdd36e8: Already exists
c9392670ba0b: Already exists
4f4fb700ef54: Already exists
15c31e04da2e: Already exists
e891433acb08: Already exists
7bf28702178d: Already exists
4b2b9fb8d21c: Already exists
9741c41ba88b: Already exists
f7c5927b37c0: Already exists
10106e0ac766: Already exists
4b02e669a449: Already exists
968217c73ddd: Already exists
af2f12562aab: Already exists
19a04a291720: Already exists
ceb537a14cf6: Already exists
338d3c82b545: Already exists
95eb1e8c1267: Already exists
ad354d8e0d09: Already exists
b036852fb10e: Already exists
12e59cb649ae: Already exists
8ca6b163450a: Already exists
db4c7391964d: Already exists
628fc105604f: Already exists
62b6552c8c7a: Already exists
45a3255af877: Already exists
Digest: sha256:18a47a9bb3063d7bddee6fac4099338ba3ef3be6e1d9e9d7358e7cd37bdcb084
Status: Downloaded newer image for ocaml/opam@sha256:18a47a9bb3063d7bddee6fac4099338ba3ef3be6e1d9e9d7358e7cd37bdcb084
2026-03-03 09:29.32 ---> saved as "656c160f5558f01310cdfdce3abf9f8878a2273b4df3dfd118b711c43cefef15"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-03 09:29.34 ---> saved as "2bc0fe13c8890bbcff43b43adabb86d7ad1ec5bf0a9e2f3aead119954e59d1bd"
/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-03-03 09:30.20 ---> saved as "061561fbd4afd2143bad38174128f766087ded72e0d106bf119b6b2cb912fb48"
/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=x86_64 os=linux os-distribution=debian os-version=13
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.08
# invariant ["ocaml-base-compiler" {= "4.08.1"}]
# compiler-packages ocaml-base-compiler.4.08.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.08/lib/ocaml/stublibs:/home/opam/.opam/4.08/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.08.1
2026-03-03 09:30.24 ---> saved as "0a33bb8c70b87b1063ee6195adcd0148e4c3b71acd3e2c695b9094e88e1ecfcb"
/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-03-03 09:30.37 ---> saved as "472fe3cddccec3c17e81ba90c2639ef983cd8d87b92f8d4b28cbd11de31e5d10"
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-03 09:30.55 ---> saved as "d955aba7fe674e85d486fae1dcee8eaee712fa8fc92ac044bbb7b1afc2aef606"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-03 09:31.28 ---> saved as "8aa08d4679f458da75b39d929b62059a046902a629714862adfa265ceb565c52"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [113 kB]
- Fetched 203 kB in 0s (1031 kB/s)
- Reading package lists...
-
2026-03-03 09:31.32 ---> saved as "1ad4bf1111735e28ea4b1e719ae04dda2b991cf1a1e578b142aeea1d65639f1d"
/home/opam: (run (shell "opam pin add -k version -yn posix-resource.4.0.2 4.0.2"))
posix-resource is now pinned to version 4.0.2
2026-03-03 09:31.37 ---> saved as "eca8b28900b9de759c0c7dcacb4bf7dbbc1bef49743b0f8c1dd71394529b2ab6"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall posix-resource.4.0.2;\
\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-13\\\"\"; 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-resource.4.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
posix-resource.4.0.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 11 packages
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.24.0 [required by posix-resource]
- install dune 3.21.1 [required by posix-resource]
- install dune-configurator 3.21.1 [required by ctypes]
- install integers 0.7.0 [required by ctypes, posix-base]
- install posix-base 4.0.2 [required by posix-resource]
- install posix-errno 4.0.2 [required by posix-resource]
- install posix-resource 4.0.2 (pinned)
- install posix-time2 4.0.2 [required by posix-resource]
- install posix-types 4.0.2 [required by posix-resource]
- 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.21.1, dune-configurator.3.21.1 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved posix-base.4.0.2, posix-errno.4.0.2, posix-resource.4.0.2, posix-time2.4.0.2, posix-types.4.0.2 (https://github.com/savonet/ocaml-posix/archive/refs/tags/v4.0.2.tar.gz)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed dune.3.21.1
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed dune-configurator.3.21.1
-> installed ctypes.0.24.0
-> installed posix-base.4.0.2
-> installed posix-types.4.0.2
-> installed posix-errno.4.0.2
-> installed posix-time2.4.0.2
-> installed posix-resource.4.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 09:33.29 ---> saved as "caf24f2372ab8cc027d58f5c853ebab22f1e249bf5d7f70e84b83ce543b971ce"
Job succeeded
2026-03-03 09:33.35: Job succeeded