Build:
- 0
2026-03-02 21:58.46: New job: build posix-base.4.0.2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29495/head (2179367d24629cef9cd7954ac7f567f6655671d4)
on debian-12-ocaml-5.4/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-12-ocaml-5.4@sha256:dc7687917f5791e51944133defd70535941d92606b6437fccc3b66968531408f
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-base.4.0.2 4.0.2
RUN opam reinstall posix-base.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-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'posix-base.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.46: Using cache hint "ocaml/opam:debian-12-ocaml-5.4@sha256:dc7687917f5791e51944133defd70535941d92606b6437fccc3b66968531408f-posix-base.4.0.2-2179367d24629cef9cd7954ac7f567f6655671d4"
2026-03-02 21:58.46: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.4@sha256:dc7687917f5791e51944133defd70535941d92606b6437fccc3b66968531408f)
(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-base.4.0.2 4.0.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall posix-base.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-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\" != 'posix-base.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.46: Waiting for resource in pool OCluster
2026-03-03 09:41.21: Waiting for worker…
2026-03-03 09:45.07: Got resource from pool OCluster
Building on eumache
All commits already cached
Updating files: 65% (12114/18362)
Updating files: 66% (12119/18362)
Updating files: 67% (12303/18362)
Updating files: 68% (12487/18362)
Updating files: 69% (12670/18362)
Updating files: 70% (12854/18362)
Updating files: 71% (13038/18362)
Updating files: 72% (13221/18362)
Updating files: 73% (13405/18362)
Updating files: 74% (13588/18362)
Updating files: 75% (13772/18362)
Updating files: 76% (13956/18362)
Updating files: 77% (14139/18362)
Updating files: 78% (14323/18362)
Updating files: 79% (14506/18362)
Updating files: 80% (14690/18362)
Updating files: 81% (14874/18362)
Updating files: 82% (15057/18362)
Updating files: 83% (15241/18362)
Updating files: 84% (15425/18362)
Updating files: 85% (15608/18362)
Updating files: 86% (15792/18362)
Updating files: 87% (15975/18362)
Updating files: 88% (16159/18362)
Updating files: 89% (16343/18362)
Updating files: 90% (16526/18362)
Updating files: 91% (16710/18362)
Updating files: 92% (16894/18362)
Updating files: 93% (17077/18362)
Updating files: 94% (17261/18362)
Updating files: 95% (17444/18362)
Updating files: 96% (17628/18362)
Updating files: 97% (17812/18362)
Updating files: 98% (17995/18362)
Updating files: 99% (18179/18362)
Updating files: 100% (18362/18362)
Updating files: 100% (18362/18362), 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-12-ocaml-5.4@sha256:dc7687917f5791e51944133defd70535941d92606b6437fccc3b66968531408f)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.4@sha256:dc7687917f5791e51944133defd70535941d92606b6437fccc3b66968531408f' locally
docker.io/ocaml/opam@sha256:dc7687917f5791e51944133defd70535941d92606b6437fccc3b66968531408f: Pulling from ocaml/opam
6bc9f599b3ef: Already exists
d58ede61f1ea: Already exists
59fd7d32ea8a: Already exists
60d26dc9eed4: Already exists
98f543d3d01d: Already exists
161a462e0ee3: Already exists
d63b9e393571: Already exists
5035b470c5fd: Already exists
c044051f86f0: Already exists
e46db7eb399e: Already exists
3e83b7b7fc77: Already exists
03ea2e79c43c: Already exists
8d2b9b45eead: Already exists
a3c20940c5b9: Already exists
bbffc2740725: Already exists
5f27f2e5115b: Already exists
aa26a691a008: Already exists
bd1d45f5a000: Already exists
0cc5c7c7516a: Already exists
d0b90656e0e8: Already exists
643825a484d2: Already exists
67dabf16b113: Already exists
4f4fb700ef54: Already exists
9551114336f8: Already exists
2a7bf6427e8c: Already exists
1b47d47d94f8: Already exists
4be82938ba83: Already exists
80976f0d06a6: Already exists
5bbf91e88fcf: Already exists
10bde5a9d661: Already exists
00617c3bf097: Already exists
6dff02c33996: Already exists
42aae9593b3f: Already exists
aec72d9c9e64: Already exists
16d1596d51b2: Already exists
9cbb5291df33: Already exists
11ddb25ececc: Already exists
46139e478336: Already exists
e852d99175ac: Already exists
8efd7bff796c: Already exists
49052a37c89a: Already exists
aebd5afc481a: Already exists
1dae9f473e69: Already exists
ea64a83c1837: Already exists
19721c3ea6d1: Already exists
944b153ea310: Already exists
9e78dd3b387d: Already exists
185294aa4246: Already exists
Digest: sha256:dc7687917f5791e51944133defd70535941d92606b6437fccc3b66968531408f
Status: Downloaded newer image for ocaml/opam@sha256:dc7687917f5791e51944133defd70535941d92606b6437fccc3b66968531408f
2026-03-03 09:46.53 ---> saved as "7d833e19203c0dbe9a3a6091fca6f760e6bf83a42eaea5baab1702d9e55988b9"
/: (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:46.55 ---> saved as "8df15a43eb7403809973e0ea35b1aa26ffaacc2de5d8d015b5bc04c188a3815e"
/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:47.40 ---> saved as "a7d8e446c20b7daff1bb24c6c06518eab524812d5628882e9e887221680fd219"
/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=12
# 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 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-03-03 09:47.42 ---> saved as "57e958328d7f1b4385ef326dadb7a117ab6124571c2961f22e8def88d0c727c8"
/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:47.59 ---> saved as "9668dd0fa7e814278a785ede3948b53ebad58fa9cb0a6ee8022026b57d08e18d"
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-03 09:48.08 ---> saved as "be00b995c71f3da8454f4aa1c64f388f0f2a8fccf47db4f97042a111b6b76388"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-03 09:48.40 ---> saved as "cbcaeb8201c60fe080eadc7d86f934e4e74abe1feb66b2b2f135b5f797843371"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- 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-security bookworm-security/main amd64 Packages [297 kB]
- Fetched 401 kB in 1s (481 kB/s)
- Reading package lists...
-
2026-03-03 09:48.44 ---> saved as "3933c25207133ac18243241118a46a40f4e4868eed5c1898746e261bbee6eba7"
/home/opam: (run (shell "opam pin add -k version -yn posix-base.4.0.2 4.0.2"))
posix-base is now pinned to version 4.0.2
2026-03-03 09:48.47 ---> saved as "b81fb3ee59b279355ee48449a902687edb3fa4ccb67193caeead8dd85ca28ffc"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall posix-base.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-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\" != 'posix-base.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-base.4.0.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 7 packages
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.24.0 [required by posix-base]
- install dune 3.21.1 [required by posix-base]
- install dune-configurator 3.21.1 [required by ctypes]
- install integers 0.7.0 [required by posix-base]
- install posix-base 4.0.2 (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.21.1, dune-configurator.3.21.1 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved posix-base.4.0.2 (cached)
-> 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
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 09:50.37 ---> saved as "c56b0f50fa0c46a134982f73a81b498cb9f0ef3a44a6bf2ccf99f8aa6f5f5a13"
Job succeeded
2026-03-03 09:50.44: Job succeeded