(for PR #29368)

2026-02-10 15:43.38: New job: test yocaml_unix.2.7.0 with mirage-crypto.2.0.3, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29368/head (66e177c9ccf11298b53a7c2c24dada57dd487d9b)
                              on debian-13-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/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-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c
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.2.0.3 2.0.3
RUN opam reinstall mirage-crypto.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.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 yocaml_unix.2.7.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" != 'yocaml_unix.2.7.0' && 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 yocaml_unix.2.7.0) || true
RUN opam reinstall --with-test --verbose yocaml_unix.2.7.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" != 'yocaml_unix.2.7.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 .

2026-02-10 15:43.38: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c-mirage-crypto.2.0.3-yocaml_unix.2.7.0-66e177c9ccf11298b53a7c2c24dada57dd487d9b"
2026-02-10 15:43.38: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c)
 (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.2.0.3 2.0.3"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall mirage-crypto.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.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 yocaml_unix.2.7.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\" != 'yocaml_unix.2.7.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 reinstall --with-test yocaml_unix.2.7.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose yocaml_unix.2.7.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\" != 'yocaml_unix.2.7.0' && 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.38: Waiting for resource in pool OCluster
2026-02-10 17:20.26: Waiting for worker…
2026-02-10 17:22.55: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files:  96% (18758/19367)
Updating files:  97% (18786/19367)
Updating files:  98% (18980/19367)
Updating files:  99% (19174/19367)
Updating files: 100% (19367/19367)
Updating files: 100% (19367/19367), done.
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-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c)
2026-02-10 17:23.24 ---> using "3c18c9e472a4f76bc128dc0a5a1e21158ba3dbd0d6773ace6ec33f0cfe6fac9b" 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:23.24 ---> using "7a3442ad99cd957e3ce65df65cad40aee4354c6d524c7813b8b589bc410c187e" 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-02-10 17:23.24 ---> using "4214446d06a5b764dff5167574d07a5b4441731262795df63d7a3c5f64e1a189" 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                 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-02-10 17:23.24 ---> using "8bf276ecf196c09ac4fb294f887dce47d9744c212aabbbad5d313f0a4179272a" 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:23.24 ---> using "c04e3f046c8eaf07d3d8f4b30debe47a6f7742bcdbfbfeb4d464149613cd35cd" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-02-10 17:23.25 ---> using "645cf9b903e7819cc689509ce6e0aeb5fe17b1a400658de4de73cc041155d51c" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-10 17:23.25 ---> using "228afe444330df980fe47f3bce2002d89245a5744aa782008ca8aa0e2dac84ae" 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 (1689 kB/s)
- Reading package lists...
2026-02-10 17:23.25 ---> using "d46c3a57161d68d04db0098df12758079f3e4a428912f85d992f572b6cb96120" from cache

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall mirage-crypto.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.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.2.0.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 5 packages
  - install csexp             1.5.2          [required by dune-configurator]
  - install dune              3.21.0         [required by mirage-crypto]
  - install dune-configurator 3.21.0         [required by mirage-crypto]
  - install eqaf              0.10           [required by mirage-crypto]
  - install mirage-crypto     2.0.3 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved mirage-crypto.2.0.3  (cached)
-> installed dune.3.21.0
-> installed csexp.1.5.2
-> installed eqaf.0.10
-> installed dune-configurator.3.21.0
-> installed mirage-crypto.2.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-10 17:24.18 ---> saved as "e140562b0b416818a8f9b5a2368ed6d5ae58f368fe95a62f5a5431a16e448608"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall yocaml_unix.2.7.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\" != 'yocaml_unix.2.7.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
yocaml_unix.2.7.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 88 packages
  - install angstrom                 0.16.1  [required by h1, h2]
  - install asn1-combinators         0.3.2   [required by x509]
  - install astring                  0.8.5   [required by bos]
  - install base                     v0.17.3 [required by ppx_expect]
  - install base64                   3.5.2   [required by h2, h1, cohttp]
  - install bigstringaf              0.10.0  [required by h2]
  - install bos                      0.2.1   [required by ca-certs]
  - install bstr                     0.0.4   [required by httpcats]
  - install ca-certs                 1.0.1   [required by httpcats]
  - install cmdliner                 2.1.0   [required by happy-eyeballs-miou-unix]
  - install cohttp                   6.2.1   [required by yocaml_runtime]
  - 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 zarith]
  - install digestif                 1.3.0   [required by yocaml_runtime]
  - install dns                      10.2.3  [required by dns-client]
  - install dns-client               10.2.3  [required by dns-client-miou-unix]
  - install dns-client-miou-unix     10.2.3  [required by httpcats]
  - install domain-name              0.5.0   [required by dns-client-miou-unix]
  - install duration                 0.2.1   [required by happy-eyeballs, happy-eyeballs-miou-unix]
  - install faraday                  0.8.2   [required by h1, h2]
  - install fmt                      0.11.0  [required by yocaml_runtime]
  - install fpath                    0.7.3   [required by ca-certs]
  - install gmap                     0.3.0   [required by x509]
  - install h1                       1.1.0   [required by httpcats]
  - install h2                       0.13.0  [required by httpcats]
  - install happy-eyeballs           2.0.1   [required by dns-client-miou-unix]
  - install happy-eyeballs-miou-unix 2.0.1   [required by httpcats]
  - install hpack                    0.13.0  [required by h2]
  - install http                     6.2.1   [required by cohttp]
  - install httpcats                 0.1.0   [required by yocaml_unix]
  - install httpun-types             0.2.0   [required by h1, h2]
  - install ipaddr                   5.6.1   [required by dns-client-miou-unix, cohttp]
  - install jane-street-headers      v0.17.0 [required by time_now]
  - install jst-config               v0.17.0 [required by time_now]
  - install kdf                      1.0.0   [required by x509]
  - install logs                     0.10.0  [required by yocaml, yocaml_runtime]
  - install lru                      0.3.1   [required by dns]
  - install macaddr                  5.6.1   [required by ipaddr]
  - install magic-mime               1.3.1   [required by yocaml_runtime]
  - install metrics                  0.5.0   [required by dns]
  - install miou                     0.5.2   [required by httpcats]
  - install mirage-crypto-ec         2.0.3   [required by x509]
  - install mirage-crypto-pk         2.0.3   [required by x509]
  - install mirage-crypto-rng        2.0.3   [required by x509, dns-client]
  - install mtime                    2.1.0   [required by dns-client, happy-eyeballs-miou-unix]
  - install ocaml-compiler-libs      v0.17.0 [required by ppxlib]
  - install ocaml-syntax-shims       1.0.0   [required by angstrom]
  - install ocaml_intrinsics_kernel  v0.17.1 [required by base]
  - install ocamlbuild               0.16.1  [required by bos, ptime]
  - install ocamlfind                1.9.8   [required by bos, ptime]
  - install ohex                     0.2.0   [required by ca-certs]
  - install ppx_assert               v0.17.0 [required by jst-config]
  - install ppx_base                 v0.17.0 [required by time_now]
  - install ppx_cold                 v0.17.0 [required by ppx_base]
  - install ppx_compare              v0.17.0 [required by ppx_base]
  - install ppx_derivers             1.2.1   [required by ppxlib]
  - install ppx_enumerate            v0.17.0 [required by ppx_base]
  - install ppx_expect               v0.17.3 [required by yocaml_unix]
  - install ppx_globalize            v0.17.2 [required by ppx_base]
  - install ppx_hash                 v0.17.0 [required by ppx_base]
  - install ppx_here                 v0.17.0 [required by ppx_expect]
  - install ppx_inline_test          v0.17.1 [required by ppx_expect]
  - install ppx_optcomp              v0.17.1 [required by time_now]
  - install ppx_sexp_conv            v0.17.1 [required by cohttp]
  - install ppxlib                   0.37.0  [required by ppx_expect]
  - install ppxlib_jane              v0.17.4 [required by ppx_globalize, ppx_enumerate, ppx_hash]
  - install psq                      0.2.1   [required by h2]
  - install ptime                    1.2.0   [required by ca-certs]
  - install randomconv               0.2.0   [required by dns-client]
  - install re                       1.14.0  [required by cohttp]
  - install rresult                  0.7.0   [required by bos]
  - install seq                      base    [required by psq]
  - install sexplib0                 v0.17.0 [required by base, cohttp]
  - install stdio                    v0.17.0 [required by ppx_expect]
  - install stdlib-shims             0.3.0   [required by ppxlib]
  - install stringext                1.6.0   [required by cohttp]
  - install time_now                 v0.17.0 [required by ppx_inline_test]
  - install tls                      2.0.3   [required by tls-miou-unix]
  - install tls-miou-unix            2.0.3   [required by httpcats]
  - install topkg                    1.1.1   [required by bos, ptime]
  - install uri                      4.4.0   [required by cohttp]
  - install uri-sexp                 4.4.0   [required by cohttp]
  - install x509                     1.0.6   [required by ca-certs]
  - install yocaml                   2.7.0   [required by yocaml_unix]
  - install yocaml_runtime           2.7.0   [required by yocaml_unix]
  - install yocaml_unix              2.7.0
  - install zarith                   1.14    [required by mirage-crypto-pk]

The following system packages will first need to be installed:
    libgmp-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" "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 ... 20654 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 pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-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 libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- 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 angstrom.0.16.1  (cached)
-> retrieved asn1-combinators.0.3.2  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.17.3  (cached)
-> retrieved base64.3.5.2  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved bstr.0.0.4  (cached)
-> retrieved ca-certs.1.0.1  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved cohttp.6.2.1, http.6.2.1  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> installed base64.3.5.2
-> installed bstr.0.0.4
-> installed conf-pkg-config.4
-> installed conf-gmp.5
-> installed bigstringaf.0.10.0
-> installed conf-gmp-powm-sec.4
-> retrieved digestif.1.3.0  (cached)
-> retrieved dns.10.2.3, dns-client.10.2.3, dns-client-miou-unix.10.2.3  (cached)
-> retrieved domain-name.0.5.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved faraday.0.8.2  (cached)
-> installed http.6.2.1
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved h1.1.1.0  (cached)
-> retrieved h2.0.13.0, hpack.0.13.0  (cached)
-> installed duration.0.2.1
-> retrieved happy-eyeballs.2.0.1, happy-eyeballs-miou-unix.2.0.1  (cached)
-> installed domain-name.0.5.0
-> retrieved httpcats.0.1.0  (cached)
-> retrieved httpun-types.0.2.0  (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1  (cached)
-> retrieved jane-street-headers.v0.17.0  (cached)
-> retrieved jst-config.v0.17.0  (cached)
-> retrieved kdf.1.0.0  (cached)
-> retrieved logs.0.10.0  (cached)
-> installed faraday.0.8.2
-> installed gmap.0.3.0
-> retrieved lru.0.3.1  (cached)
-> installed jane-street-headers.v0.17.0
-> retrieved magic-mime.1.3.1  (cached)
-> retrieved metrics.0.5.0  (cached)
-> retrieved miou.0.5.2  (cached)
-> installed macaddr.5.6.1
-> installed httpun-types.0.2.0
-> installed digestif.1.3.0
-> retrieved mirage-crypto-ec.2.0.3, mirage-crypto-pk.2.0.3, mirage-crypto-rng.2.0.3  (cached)
-> installed magic-mime.1.3.1
-> installed kdf.1.0.0
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> installed ipaddr.5.6.1
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved ppx_assert.v0.17.0  (cached)
-> retrieved ppx_base.v0.17.0  (cached)
-> retrieved ppx_cold.v0.17.0  (cached)
-> installed miou.0.5.2
-> retrieved ppx_compare.v0.17.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_enumerate.v0.17.0  (cached)
-> retrieved ppx_expect.v0.17.3  (cached)
-> retrieved ppx_globalize.v0.17.2  (cached)
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ohex.0.2.0
-> installed ppx_derivers.1.2.1
-> retrieved ppx_hash.v0.17.0  (cached)
-> retrieved ppx_here.v0.17.0  (cached)
-> retrieved ppx_inline_test.v0.17.1  (cached)
-> retrieved ppx_optcomp.v0.17.1  (cached)
-> retrieved ppx_sexp_conv.v0.17.1  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved ppxlib_jane.v0.17.4  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved randomconv.0.2.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdio.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved time_now.v0.17.0  (cached)
-> installed randomconv.0.2.0
-> retrieved tls.2.0.3, tls-miou-unix.2.0.3  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed stringext.1.6.0
-> retrieved uri.4.4.0, uri-sexp.4.4.0  (cached)
-> installed stdlib-shims.0.3.0
-> installed psq.0.2.1
-> retrieved x509.1.0.6  (cached)
-> retrieved yocaml.2.7.0, yocaml_runtime.2.7.0, yocaml_unix.2.7.0  (cached)
-> retrieved zarith.1.14  (cached)
-> installed lru.0.3.1
-> installed ocaml-syntax-shims.1.0.0
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed cmdliner.2.1.0
-> installed angstrom.0.16.1
-> installed re.1.14.0
-> installed hpack.0.13.0
-> installed h1.1.1.0
-> installed ocamlfind.1.9.8
-> installed h2.0.13.0
-> installed uri.4.4.0
-> installed ocamlbuild.0.16.1
-> installed base.v0.17.3
-> installed zarith.1.14
-> installed stdio.v0.17.0
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed mtime.2.1.0
-> installed ptime.1.2.0
-> installed fmt.0.11.0
-> installed metrics.0.5.0
-> installed astring.0.8.5
-> installed asn1-combinators.0.3.2
-> installed logs.0.10.0
-> installed happy-eyeballs.2.0.1
-> installed fpath.0.7.3
-> installed mirage-crypto-rng.2.0.3
-> installed happy-eyeballs-miou-unix.2.0.1
-> installed mirage-crypto-pk.2.0.3
-> installed dns.10.2.3
-> installed dns-client.10.2.3
-> installed bos.0.2.1
-> installed ppxlib.0.37.0
-> installed mirage-crypto-ec.2.0.3
-> installed ppxlib_jane.v0.17.4
-> installed ppx_optcomp.v0.17.1
-> installed x509.1.0.6
-> installed ppx_here.v0.17.0
-> installed ca-certs.1.0.1
-> installed ppx_cold.v0.17.0
-> installed ppx_globalize.v0.17.2
-> installed ppx_compare.v0.17.0
-> installed ppx_enumerate.v0.17.0
-> installed tls.2.0.3
-> installed tls-miou-unix.2.0.3
-> installed dns-client-miou-unix.10.2.3
-> installed ppx_sexp_conv.v0.17.1
-> installed httpcats.0.1.0
-> installed uri-sexp.4.4.0
-> installed ppx_hash.v0.17.0
-> installed ppx_assert.v0.17.0
-> installed ppx_base.v0.17.0
-> installed cohttp.6.2.1
-> installed jst-config.v0.17.0
-> installed time_now.v0.17.0
-> installed ppx_inline_test.v0.17.1
-> installed ppx_expect.v0.17.3
-> installed yocaml.2.7.0
-> installed yocaml_runtime.2.7.0
-> installed yocaml_unix.2.7.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-10 17:27.14 ---> saved as "da73492cca97e4a556797b0d61d0fc67c788bf46e65e1ab82bcdd47512377f6c"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test yocaml_unix.2.7.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile yocaml_unix   2.7.0
=== install 5 packages
  - install   camlp-streams 5.0.1 [required by mdx]
  - install   cppo          1.8.0 [required by mdx]
  - install   mdx           2.5.1 [required by yocaml_unix]
  - install   ocaml-version 4.0.3 [required by mdx]
  - install   result        1.5   [required by mdx]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1  (https://opam.ocaml.org/cache)
-> retrieved cppo.1.8.0  (https://opam.ocaml.org/cache)
-> retrieved mdx.2.5.1  (https://opam.ocaml.org/cache)
-> retrieved ocaml-version.4.0.3  (https://opam.ocaml.org/cache)
-> retrieved result.1.5  (https://opam.ocaml.org/cache)
-> installed camlp-streams.5.0.1
-> retrieved yocaml_unix.2.7.0  (https://opam.ocaml.org/cache)
-> installed result.1.5
-> installed ocaml-version.4.0.3
-> removed   yocaml_unix.2.7.0
-> installed cppo.1.8.0
-> installed mdx.2.5.1
-> installed yocaml_unix.2.7.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-10 17:27.43 ---> saved as "d56f090032ed76d74405d882a1574e15e110b7c2e48fc084db5db6e4a1b1672a"

/home/opam: (run (shell  "opam reinstall --with-test --verbose yocaml_unix.2.7.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\" != 'yocaml_unix.2.7.0' && 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 yocaml_unix 2.7.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [yocaml_unix.2.7.0: extract]
-> retrieved yocaml_unix.2.7.0  (cached)
Processing  2/4: [yocaml_unix: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "yocaml_unix" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/yocaml_unix.2.7.0)
-> compiled  yocaml_unix.2.7.0
-> removed   yocaml_unix.2.7.0
-> installed yocaml_unix.2.7.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-10 17:28.05 ---> saved as "0ee5ef972d8174e8d093fd96b5d85a270e02fa1e2ff72596b9035bee39cf61e9"
Job succeeded
2026-02-10 17:29.05: Job succeeded