(for PR #29368)

2026-02-10 15:43.17: New job: test links-postgresql.0.9.3 with mirage-crypto-ec.2.0.3, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29368/head (66e177c9ccf11298b53a7c2c24dada57dd487d9b)
                              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/29368/head" && git reset --hard 66e177c9
git fetch origin master
git merge --no-edit f4c12add9cacd610d7ec6cc9fcb057902ca0a0f6
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:04864ce35c9a53a8f91e1b6ddfe19ff405f2881ec1201cdca698239b3b811633
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 mirage-crypto-ec.2.0.3 2.0.3
RUN opam reinstall mirage-crypto-ec.2.0.3; \
    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" != 'mirage-crypto-ec.2.0.3' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall links-postgresql.0.9.3; \
    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" != 'links-postgresql.0.9.3' && 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 links-postgresql.0.9.3) || true
RUN opam reinstall --with-test --verbose links-postgresql.0.9.3; \
    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" != 'links-postgresql.0.9.3' && 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-02-10 15:43.17: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:04864ce35c9a53a8f91e1b6ddfe19ff405f2881ec1201cdca698239b3b811633-mirage-crypto-ec.2.0.3-links-postgresql.0.9.3-66e177c9ccf11298b53a7c2c24dada57dd487d9b"
2026-02-10 15:43.17: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:04864ce35c9a53a8f91e1b6ddfe19ff405f2881ec1201cdca698239b3b811633)
 (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 mirage-crypto-ec.2.0.3 2.0.3"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall mirage-crypto-ec.2.0.3;\
             \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\" != 'mirage-crypto-ec.2.0.3' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall links-postgresql.0.9.3;\
             \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\" != 'links-postgresql.0.9.3' && 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 links-postgresql.0.9.3) || true"))
 (run (shell  "opam reinstall --with-test --verbose links-postgresql.0.9.3;\
             \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\" != 'links-postgresql.0.9.3' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-02-10 15:43.17: Waiting for resource in pool OCluster
2026-02-10 16:40.43: Waiting for worker…
2026-02-10 17:01.45: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at f4c12add9c Merge pull request #29362 from xvw/fix-primavera-ownership
Updating f4c12add9c..66e177c9cc
Fast-forward
 .../mirage-crypto-ec/mirage-crypto-ec.2.0.3/opam   | 62 ++++++++++++++++++++++
 .../mirage-crypto-pk/mirage-crypto-pk.2.0.3/opam   | 43 +++++++++++++++
 .../mirage-crypto-rng-miou-unix.2.0.3/opam         | 39 ++++++++++++++
 .../mirage-crypto-rng-mirage.2.0.3/opam            | 40 ++++++++++++++
 .../mirage-crypto-rng-mkernel.2.0.3/opam           | 38 +++++++++++++
 .../mirage-crypto-rng/mirage-crypto-rng.2.0.3/opam | 42 +++++++++++++++
 packages/mirage-crypto/mirage-crypto.2.0.3/opam    | 39 ++++++++++++++
 7 files changed, 303 insertions(+)
 create mode 100644 packages/mirage-crypto-ec/mirage-crypto-ec.2.0.3/opam
 create mode 100644 packages/mirage-crypto-pk/mirage-crypto-pk.2.0.3/opam
 create mode 100644 packages/mirage-crypto-rng-miou-unix/mirage-crypto-rng-miou-unix.2.0.3/opam
 create mode 100644 packages/mirage-crypto-rng-mirage/mirage-crypto-rng-mirage.2.0.3/opam
 create mode 100644 packages/mirage-crypto-rng-mkernel/mirage-crypto-rng-mkernel.2.0.3/opam
 create mode 100644 packages/mirage-crypto-rng/mirage-crypto-rng.2.0.3/opam
 create mode 100644 packages/mirage-crypto/mirage-crypto.2.0.3/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:04864ce35c9a53a8f91e1b6ddfe19ff405f2881ec1201cdca698239b3b811633)
2026-02-10 17:01.46 ---> using "d6079ab6cce1b58b34ac9b5ed11aa86b7980ab728c75f5a6ba9271e98dc1ac1c" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-02-10 17:01.46 ---> using "3c00c47f9d923b8bd6ffb2b949e4b9efd562ec1af5385aec1656ef10f01c4450" from cache

/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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-02-10 17:01.46 ---> using "a92b73fe3956045426c13ac4a0686c952a1f3abe3c88ddfc7b2f3a6ed1e46736" from cache

/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                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2026-02-10 17:01.46 ---> using "cae9d187aa902d60c82d0c2150bbd9c0de1870c923aa0b0063ad5a25247acae5" 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/"))
2026-02-10 17:01.46 ---> using "feb31a4f8ccbcfb9943e7338a457db5bc00688ce26b7db5634b111626cd4af24" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-02-10 17:01.47 ---> using "93dc0d2e62909a5f361eb04763bd9b1dd4cbd969681f0a55c0fa2e0398250699" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-10 17:01.47 ---> using "ace817da947834207eda7668afc774cff671da0a3c8ab7a8acd6201f539bc7a4" from cache

/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 [104 kB]
- Fetched 195 kB in 0s (2193 kB/s)
- Reading package lists...
2026-02-10 17:01.47 ---> using "9068783cb9cfd1693be9d529972f64bd8fdf2f5eba4d594a06d9ab5b6b6ea546" from cache

/home/opam: (run (shell "opam pin add -k version -yn mirage-crypto-ec.2.0.3 2.0.3"))
mirage-crypto-ec is now pinned to version 2.0.3
2026-02-10 17:01.47 ---> using "8619201ed3f93ce82b24199b14029fd1a32fd36ebb32a37fea90e94a097f6559" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall mirage-crypto-ec.2.0.3;\
                        \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\" != 'mirage-crypto-ec.2.0.3' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
mirage-crypto-ec.2.0.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 13 packages
  - install csexp             1.5.2          [required by dune-configurator]
  - install digestif          1.3.0          [required by mirage-crypto-ec]
  - install dune              3.21.0         [required by mirage-crypto-ec]
  - install dune-configurator 3.21.0         [required by mirage-crypto-ec]
  - install duration          0.2.1          [required by mirage-crypto-rng]
  - install eqaf              0.10           [required by mirage-crypto-ec]
  - install logs              0.10.0         [required by mirage-crypto-rng]
  - install mirage-crypto     2.0.3          [required by mirage-crypto-rng]
  - install mirage-crypto-ec  2.0.3 (pinned)
  - install mirage-crypto-rng 2.0.3          [required by mirage-crypto-ec]
  - install ocamlbuild        0.16.1         [required by logs]
  - install ocamlfind         1.9.8          [required by logs]
  - install topkg             1.1.1          [required by logs]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved digestif.1.3.0  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved mirage-crypto.2.0.3, mirage-crypto-ec.2.0.3, mirage-crypto-rng.2.0.3  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed logs.0.10.0
-> installed dune.3.21.0
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed eqaf.0.10
-> installed digestif.1.3.0
-> installed dune-configurator.3.21.0
-> installed mirage-crypto.2.0.3
-> installed mirage-crypto-rng.2.0.3
-> installed mirage-crypto-ec.2.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-10 17:01.47 ---> using "d92344777beefc79820ad9a0a0fe4de097d4f83523530d7af035b3e0cf778a0a" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall links-postgresql.0.9.3;\
                        \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\" != 'links-postgresql.0.9.3' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
links-postgresql.0.9.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== recompile 3 packages
  - recompile logs                0.10.0         [uses cmdliner]
  - recompile mirage-crypto-ec    2.0.3 (pinned) [uses mirage-crypto-rng]
  - recompile mirage-crypto-rng   2.0.3          [uses logs]
=== install 72 packages
  - install   ANSITerminal        0.8.5          [required by links]
  - install   angstrom            0.16.1         [required by uri]
  - install   asn1-combinators    0.3.2          [required by x509]
  - install   astring             0.8.5          [required by websocket]
  - install   base                v0.16.4        [required by ppx_sexp_conv]
  - install   base-bytes          base           [required by ANSITerminal, cohttp]
  - install   base64              3.5.2          [required by links]
  - install   bigstringaf         0.10.0         [required by angstrom]
  - install   bos                 0.2.1          [required by ca-certs]
  - install   ca-certs            1.0.1          [required by conduit-lwt-unix]
  - install   cmdliner            1.3.0          [required by cohttp-lwt-unix]
  - install   cohttp              5.3.1          [required by links]
  - install   cohttp-lwt          5.3.0          [required by links]
  - install   cohttp-lwt-unix     5.3.0          [required by links]
  - install   conduit             7.0.0          [required by websocket]
  - install   conduit-lwt         7.0.0          [required by cohttp-lwt-unix]
  - install   conduit-lwt-unix    7.0.0          [required by links]
  - install   conf-gmp            5              [required by conf-gmp-powm-sec, zarith]
  - install   conf-gmp-powm-sec   4              [required by mirage-crypto-pk]
  - install   conf-pkg-config     4              [required by conf-postgresql]
  - install   conf-postgresql     2              [required by postgresql]
  - install   cppo                1.8.0          [required by ppx_deriving]
  - install   domain-name         0.5.0          [required by ipaddr, x509]
  - install   fmt                 0.11.0         [required by cohttp-lwt-unix]
  - install   fpath               0.7.3          [required by ca-certs]
  - install   gmap                0.3.0          [required by x509]
  - install   ipaddr              5.6.1          [required by conduit-lwt-unix]
  - install   ipaddr-sexp         5.6.1          [required by conduit-lwt-unix]
  - install   jsonm               1.0.2          [required by cohttp]
  - install   kdf                 1.0.0          [required by x509]
  - install   linenoise           1.5.1          [required by links]
  - install   links               0.9.3          [required by links-postgresql]
  - install   links-postgresql    0.9.3
  - install   lwt                 5.9.2          [required by links]
  - install   lwt_log             1.1.2          [required by websocket-lwt-unix]
  - install   macaddr             5.6.1          [required by ipaddr]
  - install   magic-mime          1.3.1          [required by cohttp-lwt-unix]
  - install   menhir              20260203       [required by links]
  - install   menhirCST           20260203       [required by menhir]
  - install   menhirGLR           20260203       [required by menhir]
  - install   menhirLib           20260203       [required by menhir]
  - install   menhirSdk           20260203       [required by menhir]
  - install   mirage-crypto-pk    2.0.3          [required by x509]
  - install   num                 1.6            [required by sexplib]
  - install   ocaml-compiler-libs v0.12.4        [required by ppxlib]
  - install   ocaml-syntax-shims  1.0.0          [required by angstrom]
  - install   ocplib-endian       1.2            [required by websocket]
  - install   ohex                0.2.0          [required by ca-certs]
  - install   parsexp             v0.16.0        [required by sexplib]
  - install   postgresql          5.2.0          [required by links-postgresql]
  - install   ppx_derivers        1.2.1          [required by ppx_deriving]
  - install   ppx_deriving        6.0.3          [required by links]
  - install   ppx_deriving_yojson 3.9.1          [required by links]
  - install   ppx_sexp_conv       v0.16.0        [required by links]
  - install   ppxlib              0.35.0         [required by ppx_deriving, ppx_deriving_yojson]
  - install   ptime               1.2.0          [required by ca-certs]
  - install   re                  1.14.0         [required by cohttp]
  - install   result              1.5            [required by links]
  - install   rresult             0.7.0          [required by bos]
  - install   safepass            3.1            [required by links]
  - install   sexplib             v0.16.0        [required by websocket-lwt-unix]
  - install   sexplib0            v0.16.0        [required by cohttp, cohttp-lwt]
  - install   stdlib-shims        0.3.0          [required by ppxlib]
  - install   stringext           1.6.0          [required by cohttp]
  - install   uri                 4.4.0          [required by links]
  - install   uri-sexp            4.4.0          [required by cohttp]
  - install   uutf                1.0.4          [required by jsonm]
  - install   websocket           2.17           [required by links]
  - install   websocket-lwt-unix  2.17           [required by links]
  - install   x509                1.0.6          [required by ca-certs]
  - install   yojson              3.0.0          [required by ppx_deriving_yojson]
  - install   zarith              1.14           [required by mirage-crypto-pk]

The following system packages will first need to be installed:
    libgmp-dev libpq-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "libpq-dev" "pkg-config"
- Selecting previously unselected package libgmpxx4ldbl: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 ... 20623 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package libpq5:amd64.
- Preparing to unpack .../3-libpq5_17.7-0+deb13u1_amd64.deb ...
- Unpacking libpq5:amd64 (17.7-0+deb13u1) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../4-libssl-dev_3.5.4-1~deb13u2_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.5.4-1~deb13u2) ...
- Selecting previously unselected package libpq-dev.
- Preparing to unpack .../5-libpq-dev_17.7-0+deb13u1_amd64.deb ...
- Unpacking libpq-dev (17.7-0+deb13u1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../6-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../7-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../8-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libpq5:amd64 (17.7-0+deb13u1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up libssl-dev:amd64 (3.5.4-1~deb13u2) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Setting up libpq-dev (17.7-0+deb13u1) ...
- 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+deb13u1) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ANSITerminal.0.8.5  (cached)
-> retrieved angstrom.0.16.1  (cached)
-> retrieved asn1-combinators.0.3.2  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.16.4  (cached)
-> installed base-bytes.base
-> retrieved base64.3.5.2  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved ca-certs.1.0.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cohttp.5.3.1  (cached)
-> retrieved cohttp-lwt.5.3.0, cohttp-lwt-unix.5.3.0  (cached)
-> installed base64.3.5.2
-> retrieved conduit.7.0.0, conduit-lwt.7.0.0, conduit-lwt-unix.7.0.0  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved domain-name.0.5.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> installed ANSITerminal.0.8.5
-> retrieved fpath.0.7.3  (cached)
-> retrieved gmap.0.3.0  (cached)
-> installed conf-gmp-powm-sec.4
-> installed conf-postgresql.2
-> retrieved ipaddr.5.6.1, ipaddr-sexp.5.6.1, macaddr.5.6.1  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> installed bigstringaf.0.10.0
-> retrieved kdf.1.0.0  (cached)
-> retrieved linenoise.1.5.1  (cached)
-> installed domain-name.0.5.0
-> installed gmap.0.3.0
-> installed macaddr.5.6.1
-> retrieved links.0.9.3, links-postgresql.0.9.3  (cached)
-> installed kdf.1.0.0
-> installed astring.0.8.5
-> installed linenoise.1.5.1
-> installed ipaddr.5.6.1
-> retrieved logs.0.10.0  (cached)
-> installed cppo.1.8.0
-> retrieved lwt.5.9.2  (cached)
-> retrieved lwt_log.1.1.2  (cached)
-> retrieved magic-mime.1.3.1  (cached)
-> retrieved menhir.20260203, menhirCST.20260203, menhirGLR.20260203, menhirLib.20260203, menhirSdk.20260203  (cached)
-> retrieved mirage-crypto-ec.2.0.3, mirage-crypto-pk.2.0.3, mirage-crypto-rng.2.0.3  (cached)
-> retrieved num.1.6  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved parsexp.v0.16.0  (cached)
-> installed cmdliner.1.3.0
-> removed   mirage-crypto-ec.2.0.3
-> removed   mirage-crypto-rng.2.0.3
-> removed   logs.0.10.0
-> installed fpath.0.7.3
-> installed magic-mime.1.3.1
-> installed menhirCST.20260203
-> installed menhirGLR.20260203
-> installed menhirLib.20260203
-> installed menhirSdk.20260203
-> installed ocplib-endian.1.2
-> installed ohex.0.2.0
-> retrieved postgresql.5.2.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.0.3  (cached)
-> retrieved ppx_deriving_yojson.3.9.1  (cached)
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> installed ppx_derivers.1.2.1
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved safepass.3.1  (cached)
-> retrieved sexplib.v0.16.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> installed ocaml-syntax-shims.1.0.0
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> installed ocaml-compiler-libs.v0.12.4
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> installed result.1.5
-> retrieved websocket.2.17, websocket-lwt-unix.2.17  (cached)
-> retrieved x509.1.0.6  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed fmt.0.11.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> retrieved zarith.1.14  (cached)
-> installed num.1.6
-> installed angstrom.0.16.1
-> installed rresult.0.7.0
-> installed sexplib0.v0.16.0
-> installed postgresql.5.2.0
-> installed safepass.3.1
-> installed re.1.14.0
-> installed ptime.1.2.0
-> installed uutf.1.0.4
-> installed yojson.3.0.0
-> installed asn1-combinators.0.3.2
-> installed parsexp.v0.16.0
-> installed uri.4.4.0
-> installed lwt.5.9.2
-> installed jsonm.1.0.2
-> installed lwt_log.1.1.2
-> installed sexplib.v0.16.0
-> installed zarith.1.14
-> installed logs.0.10.0
-> installed mirage-crypto-rng.2.0.3
-> installed mirage-crypto-pk.2.0.3
-> installed base.v0.16.4
-> installed menhir.20260203
-> installed bos.0.2.1
-> installed mirage-crypto-ec.2.0.3
-> installed x509.1.0.6
-> installed ca-certs.1.0.1
-> installed ppxlib.0.35.0
-> installed ppx_sexp_conv.v0.16.0
-> installed ppx_deriving.6.0.3
-> installed uri-sexp.4.4.0
-> installed ipaddr-sexp.5.6.1
-> installed ppx_deriving_yojson.3.9.1
-> installed conduit.7.0.0
-> installed cohttp.5.3.1
-> installed websocket.2.17
-> installed conduit-lwt.7.0.0
-> installed cohttp-lwt.5.3.0
-> installed conduit-lwt-unix.7.0.0
-> installed cohttp-lwt-unix.5.3.0
-> installed websocket-lwt-unix.2.17
-> installed links.0.9.3
-> installed links-postgresql.0.9.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-10 17:02.31 ---> saved as "68e624d950e658b34827beec61ac41ef990ab742d9d98fd2e35f678661bc56c5"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test links-postgresql.0.9.3) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile links-postgresql 0.9.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved links-postgresql.0.9.3  (https://opam.ocaml.org/cache)
-> removed   links-postgresql.0.9.3
-> installed links-postgresql.0.9.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-10 17:02.36 ---> saved as "a470e003b724bee2c1e756c8978bb44637d123bc9be50b7a1cf98897b6e0ffe7"

/home/opam: (run (shell  "opam reinstall --with-test --verbose links-postgresql.0.9.3;\
                        \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\" != 'links-postgresql.0.9.3' && 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 links-postgresql 0.9.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [links-postgresql.0.9.3: extract]
-> retrieved links-postgresql.0.9.3  (cached)
Processing  2/4: [links-postgresql: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "links-postgresql" "-j" "255" (CWD=/home/opam/.opam/4.14/.opam-switch/build/links-postgresql.0.9.3)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -strict-formats -strict-sequence -safe-string -bin-annot -w A-4-42-44-45-48-60-67 -g -bin-annot -I database/pg-driver/.links_postgresql.objs/byte -I /home/opam/.opam/4.14/lib/links/core -I /home/opam/.opam/4.14/lib/postgresql -no-alias-deps -open Links_postgresql -o database/pg-driver/.links_postgresql.objs/byte/links_postgresql__Pg_database.cmo -c -impl database/pg-driver/pg_database.ml)
- File "database/pg-driver/pg_database.ml", line 1:
- Warning 70 [missing-mli]: Cannot find interface file.
-> compiled  links-postgresql.0.9.3
-> removed   links-postgresql.0.9.3
-> installed links-postgresql.0.9.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-10 17:02.40 ---> saved as "3247fba957f5061f6c51ed5f0893ac05c74c40bbb25bd7ea06d71538e5241c2b"
Job succeeded
2026-02-10 17:02.46: Job succeeded