Build:
- 0
2026-03-02 21:58.46: New job: test posix-uname.4.0.2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29495/head (2179367d24629cef9cd7954ac7f567f6655671d4)
on centos-9-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:centos-9-ocaml-5.4@sha256:bf988e22cb03e89f6103668a85dd4ab055e17fca22fac46e4df529b6da65cbfa
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-uname.4.0.2 4.0.2
RUN opam reinstall posix-uname.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 "\"centos-9\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'posix-uname.4.0.2' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test posix-uname.4.0.2) || true
RUN opam reinstall --with-test --verbose posix-uname.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 "\"centos-9\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'posix-uname.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:centos-9-ocaml-5.4@sha256:bf988e22cb03e89f6103668a85dd4ab055e17fca22fac46e4df529b6da65cbfa-posix-uname.4.0.2-2179367d24629cef9cd7954ac7f567f6655671d4"
2026-03-02 21:58.46: Using OBuilder spec:
((from ocaml/opam:centos-9-ocaml-5.4@sha256:bf988e22cb03e89f6103668a85dd4ab055e17fca22fac46e4df529b6da65cbfa)
(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-uname.4.0.2 4.0.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall posix-uname.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 \"\\\"centos-9\\\"\"; 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-uname.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"))
(run (network host)
(shell "(opam reinstall --with-test posix-uname.4.0.2) || true"))
(run (shell "opam reinstall --with-test --verbose posix-uname.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 \"\\\"centos-9\\\"\"; 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-uname.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.54: Waiting for worker…
2026-03-03 09:45.42: Got resource from pool OCluster
Building on clete
All commits already cached
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:centos-9-ocaml-5.4@sha256:bf988e22cb03e89f6103668a85dd4ab055e17fca22fac46e4df529b6da65cbfa)
2026-03-03 09:46.04 ---> saved as "982b9b449879431cfd6e21cb20da7f548adfd87363b657166c4c0e39cb975323"
/: (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.04 ---> saved as "2358748a918b427a433582ddd4cc6a5ac452d4b01c9d2fb5fb383c9690de40e9"
/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:46.35 ---> saved as "297e91fb627c5121d31d820cf45ced329ca4cb66f18b3e2c263ec7bf6d005357"
/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=centos os-version=9
# 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:46.36 ---> saved as "e6c0f1891b6e23c6922bf167151a6c605d65f7cfbc2bce2c55369893bde0a663"
/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:46.48 ---> saved as "557c42356b517e7156d13868ffb599cc71cfb43e2bf02e857f1a20e9ea08fc2f"
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-03 09:47.02 ---> saved as "e15d8938fc89c3d443d0ab8c255e91b4c19e857aad6d00769cd7d493396d27e9"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-03 09:47.24 ---> saved as "6dbc2fbc71d7891c560c88d018e23654262a008d300be169815247e803590692"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 9 - BaseOS 52 kB/s | 6.2 kB 00:00
- CentOS Stream 9 - BaseOS 3.3 MB/s | 8.9 MB 00:02
- CentOS Stream 9 - AppStream 56 kB/s | 6.6 kB 00:00
- CentOS Stream 9 - AppStream 14 MB/s | 27 MB 00:01
- CentOS Stream 9 - CRB 48 kB/s | 6.1 kB 00:00
- CentOS Stream 9 - CRB 9.6 MB/s | 8.0 MB 00:00
- CentOS Stream 9 - Extras packages 121 kB/s | 17 kB 00:00
- Metadata cache created.
2026-03-03 09:47.44 ---> saved as "89e85599476754654df47001cfb4096b0bc45752faa24798d036a669549952a0"
/home/opam: (run (shell "opam pin add -k version -yn posix-uname.4.0.2 4.0.2"))
posix-uname is now pinned to version 4.0.2
2026-03-03 09:47.45 ---> saved as "fb8b35a1c84578882de6235a844b4be857b2db7d5df8e69bf3229c4973bb4f6a"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall posix-uname.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 \"\\\"centos-9\\\"\"; 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-uname.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-uname.4.0.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 9 packages
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.24.0 [required by posix-uname]
- install dune 3.21.1 [required by posix-uname]
- 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-uname]
- install posix-errno 4.0.2 [required by posix-uname]
- install posix-uname 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, posix-errno.4.0.2, posix-uname.4.0.2 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed dune.3.21.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed integers.0.7.0
-> installed dune-configurator.3.21.1
-> installed ctypes.0.24.0
-> installed posix-base.4.0.2
-> installed posix-errno.4.0.2
-> installed posix-uname.4.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 09:49.09 ---> saved as "98955679dadaca113a3108c896c0d6c479c8cb78a74bc6f87071aabed40ef39d"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test posix-uname.4.0.2) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile posix-uname 4.0.2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed posix-uname.4.0.2
-> installed posix-uname.4.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 09:49.15 ---> saved as "3c4acee05eb91854a0366386614af5c34b1165487b49aa4c64eda751bd1bdae8"
/home/opam: (run (shell "opam reinstall --with-test --verbose posix-uname.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 \"\\\"centos-9\\\"\"; 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-uname.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"))
The following actions will be performed:
=== recompile 1 package
- recompile posix-uname 4.0.2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [posix-uname: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "posix-uname" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/posix-uname.4.0.2)
-> compiled posix-uname.4.0.2
-> removed posix-uname.4.0.2
-> installed posix-uname.4.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 09:49.21 ---> saved as "7d8fa4db878717863b7644ab229e57a854719c398f5626deb2d22b149d692b66"
Job succeeded
2026-03-03 09:49.42: Job succeeded