(for PR #29128)

2025-12-23 22:12.45: New job: test posix-base.3.1.0, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29128/head (be6f5a2b2d3c046d757bfdb66968dd0064a03728)
                              on debian-13-ocaml-4.14/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/29128/head" && git reset --hard be6f5a2b
git fetch origin master
git merge --no-edit 173460ab354e0e6a17ee414264f348b06dee2d3d
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:6684ec7e7cdd02e0b2c7fc3c7525f043345eebbc5d208af18fb8d563e8ecab14
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn posix-base.3.1.0 3.1.0
RUN opam depext posix-base.3.1.0 && opam reinstall posix-base.3.1.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 "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'posix-base.3.1.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam depext --with-test posix-base.3.1.0 && opam reinstall --with-test posix-base.3.1.0) || true
RUN opam depext --with-test posix-base.3.1.0 && opam reinstall --with-test --verbose posix-base.3.1.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 "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'posix-base.3.1.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 .

2025-12-23 22:12.45: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:6684ec7e7cdd02e0b2c7fc3c7525f043345eebbc5d208af18fb8d563e8ecab14-posix-base.3.1.0-be6f5a2b2d3c046d757bfdb66968dd0064a03728"
2025-12-23 22:12.45: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:6684ec7e7cdd02e0b2c7fc3c7525f043345eebbc5d208af18fb8d563e8ecab14)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "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 depext -u || true"))
 (run (shell "opam pin add -k version -yn posix-base.3.1.0 3.1.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext posix-base.3.1.0 && opam reinstall posix-base.3.1.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 \"\\\"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-base.3.1.0' && 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 depext --with-test posix-base.3.1.0 && opam reinstall --with-test posix-base.3.1.0) || true"))
 (run (shell  "opam depext --with-test posix-base.3.1.0 && opam reinstall --with-test --verbose posix-base.3.1.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 \"\\\"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-base.3.1.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-12-23 22:12.45: Waiting for resource in pool OCluster
2025-12-23 22:31.56: Waiting for worker…
2025-12-23 22:36.33: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 173460ab35 Merge pull request #29122 from craff/master
Updating 173460ab35..be6f5a2b2d
Fast-forward
 packages/posix-base/posix-base.3.1.0/opam          | 40 +++++++++++++++++++
 packages/posix-bindings/posix-bindings.3.1.0/opam  | 43 ++++++++++++++++++++
 packages/posix-getopt/posix-getopt.3.1.0/opam      | 46 ++++++++++++++++++++++
 packages/posix-math2/posix-math2.3.1.0/opam        | 40 +++++++++++++++++++
 packages/posix-signal/posix-signal.3.1.0/opam      | 42 ++++++++++++++++++++
 .../posix-socket-unix/posix-socket-unix.3.1.0/opam | 43 ++++++++++++++++++++
 packages/posix-socket/posix-socket.3.1.0/opam      | 42 ++++++++++++++++++++
 packages/posix-time2/posix-time2.3.1.0/opam        | 43 ++++++++++++++++++++
 packages/posix-types/posix-types.3.1.0/opam        | 42 ++++++++++++++++++++
 packages/posix-uname/posix-uname.3.1.0/opam        | 41 +++++++++++++++++++
 10 files changed, 422 insertions(+)
 create mode 100644 packages/posix-base/posix-base.3.1.0/opam
 create mode 100644 packages/posix-bindings/posix-bindings.3.1.0/opam
 create mode 100644 packages/posix-getopt/posix-getopt.3.1.0/opam
 create mode 100644 packages/posix-math2/posix-math2.3.1.0/opam
 create mode 100644 packages/posix-signal/posix-signal.3.1.0/opam
 create mode 100644 packages/posix-socket-unix/posix-socket-unix.3.1.0/opam
 create mode 100644 packages/posix-socket/posix-socket.3.1.0/opam
 create mode 100644 packages/posix-time2/posix-time2.3.1.0/opam
 create mode 100644 packages/posix-types/posix-types.3.1.0/opam
 create mode 100644 packages/posix-uname/posix-uname.3.1.0/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:6684ec7e7cdd02e0b2c7fc3c7525f043345eebbc5d208af18fb8d563e8ecab14)
2025-12-23 22:36.43 ---> using "7cdb5ae7d995ccdc01b290a0409b89e6bad28fbd46597d36a8f537f23e744091" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-12-23 22:36.43 ---> using "3934df717b3be7949a724f02baa319a55f6ed65836d7724f92600d6c479337ee" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.

[WARNING] Recommended dependencies -- most packages rely on these:
  - m4

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2025-12-23 22:36.43 ---> using "9d35b849ef7da0a854b89f30c95cf90f70992665aee0e4896332a1cf9f96e192" from cache

/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version      2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b) 
# self-upgrade      no
# system            arch=x86_64 os=linux os-distribution=debian os-version=13
# solver            builtin-mccs+glpk
# install-criteria  -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria  -removed,-count[version-lag,solution],-new
# jobs              71
# repositories      1 (version-controlled)
# pinned            1 (version)
# current-switch    4.14
2025-12-23 22:36.43 ---> using "cf04b735ca3965525c0bf201a27c2f7c35f6a325ff8dafe4797ca2c5466372e0" 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/"))
2025-12-23 22:36.43 ---> using "d424339cd2e2916a8e0aabf78208914192aa3a5e1b2a6ed754a1e35862bba3b8" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-23 22:36.44 ---> using "2253c8dcde73a9640732fcbfa4bc30d01047f4090e3cf0e93967e14ae4d6ad15" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2025-12-23 22:36.48 ---> saved as "117b7a6eba91e476b2ddfae64a25ed6378268d70ff3c983ad4da81b69e4a2290"

/home/opam: (run (network host)
                 (shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 [93.7 kB]
Fetched 184 kB in 0s (1626 kB/s)
Reading package lists...
# OS package update successful
2025-12-23 22:36.49 ---> saved as "949a7bc1e497d59bb1e498b3835a8a23899c807d3b084429af1752ed586c0735"

/home/opam: (run (shell "opam pin add -k version -yn posix-base.3.1.0 3.1.0"))
posix-base is now pinned to version 3.1.0
2025-12-23 22:36.50 ---> saved as "5974ec3f604f897b150f3e88923736ffa70c36990e5e9d57664c7d8c0e0ed7d9"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext posix-base.3.1.0 && opam reinstall posix-base.3.1.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 \"\\\"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-base.3.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
posix-base.3.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install dune              3.20.2 [required by posix-base]
  - install integers          0.5.1  [required by posix-base]
  - install csexp             1.5.2  [required by dune-configurator]
  - install dune-configurator 3.20.2 [required by ctypes]
  - install ctypes            0.24.0 [required by posix-base]
  - install posix-base        3.1.0*
===== 6 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[csexp.1.5.2] found in cache
[ctypes.0.24.0] found in cache
[dune.3.20.2] found in cache
[dune-configurator.3.20.2] found in cache
[integers.0.5.1] found in cache
[posix-base.3.1.0] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed integers.0.5.1
-> installed dune-configurator.3.20.2
-> installed ctypes.0.24.0
-> installed posix-base.3.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-12-23 22:37.28 ---> saved as "732bb7c1e6c8366e53a71cd35bba54a2d5746a3dc97745d8083cca019910c7f6"

/home/opam: (run (network host)
                 (shell "(opam depext --with-test posix-base.3.1.0 && opam reinstall --with-test posix-base.3.1.0) || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
pkg-config
# The following system packages are needed:
The following command needs to be run through "sudo":
    apt-get install -qq -yy pkg-config
Selecting previously unselected package libpkgconf3:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20622 files and directories currently installed.)
Preparing to unpack .../libpkgconf3_1.8.1-4_amd64.deb ...
Unpacking libpkgconf3:amd64 (1.8.1-4) ...
Selecting previously unselected package pkgconf-bin.
Preparing to unpack .../pkgconf-bin_1.8.1-4_amd64.deb ...
Unpacking pkgconf-bin (1.8.1-4) ...
Selecting previously unselected package pkgconf:amd64.
Preparing to unpack .../pkgconf_1.8.1-4_amd64.deb ...
Unpacking pkgconf:amd64 (1.8.1-4) ...
Selecting previously unselected package pkg-config:amd64.
Preparing to unpack .../pkg-config_1.8.1-4_amd64.deb ...
Unpacking pkg-config:amd64 (1.8.1-4) ...
Setting up libpkgconf3:amd64 (1.8.1-4) ...
Setting up pkgconf-bin (1.8.1-4) ...
Setting up pkgconf:amd64 (1.8.1-4) ...
Setting up pkg-config:amd64 (1.8.1-4) ...
Processing triggers for libc-bin (2.41-12) ...
# OS packages installation successful
The following actions will be performed:
  - recompile posix-base 3.1.0*

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   posix-base.3.1.0
-> installed posix-base.3.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-12-23 22:37.39 ---> saved as "a7de1d90181bf67e2b4698dce6da0abf35b2adeba1671aa688d6022818f3989f"

/home/opam: (run (shell  "opam depext --with-test posix-base.3.1.0 && opam reinstall --with-test --verbose posix-base.3.1.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 \"\\\"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-base.3.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
pkg-config
# All required OS packages found.
The following actions will be performed:
  - recompile posix-base 3.1.0*

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [posix-base: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "posix-base" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/posix-base.3.1.0)
-> compiled  posix-base.3.1.0
-> removed   posix-base.3.1.0
-> installed posix-base.3.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-12-23 22:37.48 ---> saved as "e187ddce29903b00d33a0fb30d2cf83461a2bf94251284cac09c05cc9cb60128"
Job succeeded
2025-12-23 22:37.57: Job succeeded