Build:
  1. 0
2026-03-02 19:23.54: New job: test pyml.20200518 with dune.3.22.0~alpha0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29497/head (118a690db616b1df5c53d5fa00eb70791a80ae2c)
                              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/29497/head" && git reset --hard 118a690d
git fetch origin master
git merge --no-edit a7b8d1036328cf727af175b657f3d2b732b4d868
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a
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 dune.3.22.0~alpha0 3.22.0~alpha0
RUN opam reinstall dune.3.22.0~alpha0; \
    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" != 'dune.3.22.0~alpha0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall pyml.20200518; \
    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" != 'pyml.20200518' && 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 pyml.20200518) || true
RUN opam reinstall --with-test --verbose pyml.20200518; \
    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" != 'pyml.20200518' && 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 19:23.54: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a-dune.3.22.0~alpha0-pyml.20200518-118a690db616b1df5c53d5fa00eb70791a80ae2c"
2026-03-02 19:23.54: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a)
 (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 dune.3.22.0~alpha0 3.22.0~alpha0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune.3.22.0~alpha0;\
             \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\" != 'dune.3.22.0~alpha0' && 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 pyml.20200518;\
             \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\" != 'pyml.20200518' && 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 pyml.20200518) || true"))
 (run (shell  "opam reinstall --with-test --verbose pyml.20200518;\
             \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\" != 'pyml.20200518' && 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 19:23.54: Waiting for resource in pool OCluster
2026-03-03 04:13.47: Waiting for worker…
2026-03-03 04:16.01: Got resource from pool OCluster
Building on eumache
All commits already cached
Updating files:  68% (12652/18363)
Updating files:  69% (12671/18363)
Updating files:  70% (12855/18363)
Updating files:  71% (13038/18363)
Updating files:  72% (13222/18363)
Updating files:  73% (13405/18363)
Updating files:  74% (13589/18363)
Updating files:  75% (13773/18363)
Updating files:  76% (13956/18363)
Updating files:  77% (14140/18363)
Updating files:  78% (14324/18363)
Updating files:  79% (14507/18363)
Updating files:  80% (14691/18363)
Updating files:  81% (14875/18363)
Updating files:  82% (15058/18363)
Updating files:  83% (15242/18363)
Updating files:  84% (15425/18363)
Updating files:  85% (15609/18363)
Updating files:  86% (15793/18363)
Updating files:  87% (15976/18363)
Updating files:  88% (16160/18363)
Updating files:  89% (16344/18363)
Updating files:  90% (16527/18363)
Updating files:  91% (16711/18363)
Updating files:  92% (16894/18363)
Updating files:  93% (17078/18363)
Updating files:  94% (17262/18363)
Updating files:  95% (17445/18363)
Updating files:  96% (17629/18363)
Updating files:  97% (17813/18363)
Updating files:  98% (17996/18363)
Updating files:  99% (18180/18363)
Updating files: 100% (18363/18363)
Updating files: 100% (18363/18363), done.
HEAD is now at a7b8d10363 Merge pull request #29489 from anuragsoni/opam-publish-kqueue.0.7.0
Updating a7b8d10363..118a690db6
Fast-forward
 .../chrome-trace/chrome-trace.3.22.0~alpha0/opam   | 39 +++++++++++
 .../dune-action-plugin.3.22.0~alpha0/opam          | 52 +++++++++++++++
 .../dune-action-trace.3.22.0~alpha0/opam           | 40 ++++++++++++
 .../dune-build-info.3.22.0~alpha0/opam             | 45 +++++++++++++
 .../dune-configurator.3.22.0~alpha0/opam           | 49 ++++++++++++++
 packages/dune-glob/dune-glob.3.22.0~alpha0/opam    | 42 ++++++++++++
 .../dune-private-libs.3.22.0~alpha0/opam           | 50 +++++++++++++++
 .../dune-rpc-lwt/dune-rpc-lwt.3.22.0~alpha0/opam   | 41 ++++++++++++
 packages/dune-rpc/dune-rpc.3.22.0~alpha0/opam      | 44 +++++++++++++
 packages/dune-site/dune-site.3.22.0~alpha0/opam    | 37 +++++++++++
 packages/dune/dune.3.22.0~alpha0/opam              | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.22.0~alpha0/opam                | 40 ++++++++++++
 packages/fs-io/fs-io.3.22.0~alpha0/opam            | 39 +++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.22.0~alpha0/opam  | 43 +++++++++++++
 packages/ordering/ordering.3.22.0~alpha0/opam      | 38 +++++++++++
 packages/stdune/stdune.3.22.0~alpha0/opam          | 46 +++++++++++++
 .../top-closure/top-closure.3.22.0~alpha0/opam     | 38 +++++++++++
 packages/xdg/xdg.3.22.0~alpha0/opam                | 39 +++++++++++
 18 files changed, 797 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.22.0~alpha0/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.22.0~alpha0/opam
 create mode 100644 packages/dune-action-trace/dune-action-trace.3.22.0~alpha0/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.22.0~alpha0/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.22.0~alpha0/opam
 create mode 100644 packages/dune-glob/dune-glob.3.22.0~alpha0/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.22.0~alpha0/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.22.0~alpha0/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.22.0~alpha0/opam
 create mode 100644 packages/dune-site/dune-site.3.22.0~alpha0/opam
 create mode 100644 packages/dune/dune.3.22.0~alpha0/opam
 create mode 100644 packages/dyn/dyn.3.22.0~alpha0/opam
 create mode 100644 packages/fs-io/fs-io.3.22.0~alpha0/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.22.0~alpha0/opam
 create mode 100644 packages/ordering/ordering.3.22.0~alpha0/opam
 create mode 100644 packages/stdune/stdune.3.22.0~alpha0/opam
 create mode 100644 packages/top-closure/top-closure.3.22.0~alpha0/opam
 create mode 100644 packages/xdg/xdg.3.22.0~alpha0/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:ae45d5e5a934874dc44b0d004f6b8a813fba3f355216f78a39ed4f25a53e478a)
2026-03-03 04:18.10 ---> using "40de8e47c13dd397f7466181b47c70cd31f6d05f624f7f51643a7089a29a5322" 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-03-03 04:18.10 ---> using "11e955cadb21ab08a7e8407d7e49d7e8b8232723aa9e80323bab6a7d993e9a38" 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-03-03 04:18.10 ---> using "b84411f14b612833c97eea3b0fb49d7afb0294cf8c4774caaff1f8b0f1bd5849" 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       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-03-03 04:18.10 ---> using "bc1392749f7c1b1568053e91f3061e53f54f3bf6892fcf3fa14761d0f2fabccc" 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-03-03 04:18.10 ---> using "0f88aad717079fee185cb5f7b0853d5dede0158dafac18dc05292641ad1318aa" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-03 04:18.11 ---> using "cf2f29575da4e00ad2c0e3200eaf5375ace45ec778f515d81ffd2e5eb96c41f1" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-03 04:18.11 ---> using "c517023779902244dbe5c8fbf440d1dd4569daf367c1e2ee7dd7eb370c41d91c" 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 [113 kB]
- Fetched 203 kB in 0s (1657 kB/s)
- Reading package lists...
- 
2026-03-03 04:18.11 ---> using "a2e6599fe15f34bfd0a71de19dbfccfacdc1f910f7a37fea793bb8ff67d4ba47" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune.3.22.0~alpha0 3.22.0~alpha0"))
dune is now pinned to version 3.22.0~alpha0
2026-03-03 04:18.11 ---> using "9ecf7f496eb9b328aa3c8f7333a40a30e123b33b9d8b5606b7ac6bfc2b62fac7" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune.3.22.0~alpha0;\
                        \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\" != 'dune.3.22.0~alpha0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
dune.3.22.0~alpha0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install dune 3.22.0~alpha0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.22.0~alpha0  (cached)
-> installed dune.3.22.0~alpha0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 04:18.11 ---> using "1d093925996c7908c33a8109d0c1a7be5172d79d6a00aabc511d552ee2499f33" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall pyml.20200518;\
                        \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\" != 'pyml.20200518' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
pyml.20200518 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 4 packages
  - install conf-autoconf 0.2      [required by stdcompat]
  - install ocamlfind     1.9.8    [required by pyml]
  - install pyml          20200518
  - install stdcompat     20.1     [required by pyml]

The following system packages will first need to be installed:
    autoconf

<><> 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" "autoconf"
- Selecting previously unselected package m4.
- (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 .../archives/m4_1.4.19-8_amd64.deb ...
- Unpacking m4 (1.4.19-8) ...
- Selecting previously unselected package autoconf.
- Preparing to unpack .../autoconf_2.72-3.1_all.deb ...
- Unpacking autoconf (2.72-3.1) ...
- Selecting previously unselected package autotools-dev.
- Preparing to unpack .../autotools-dev_20240727.1_all.deb ...
- Unpacking autotools-dev (20240727.1) ...
- Selecting previously unselected package automake.
- Preparing to unpack .../automake_1%3a1.17-4_all.deb ...
- Unpacking automake (1:1.17-4) ...
- Setting up m4 (1.4.19-8) ...
- Setting up autotools-dev (20240727.1) ...
- Setting up autoconf (2.72-3.1) ...
- Setting up automake (1:1.17-4) ...
- update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.8  (cached)
-> installed conf-autoconf.0.2
-> retrieved pyml.20200518  (cached)
-> retrieved stdcompat.20.1  (cached)
-> installed ocamlfind.1.9.8
-> installed stdcompat.20.1
-> installed pyml.20200518
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-03 04:18.39 ---> saved as "edf5235d3f6e09c511eaf75068fde1c0728e39bc96d86282d02bcbbfda99f8a6"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test pyml.20200518) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile pyml              20200518
=== install 1 package
  - install   conf-python-3-dev 1        [required by pyml]

The following system packages will first need to be installed:
    python3-dev

<><> 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" "python3-dev"
- Selecting previously unselected package libpython3.13-minimal: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 ... 20943 files and directories currently installed.)
- Preparing to unpack .../libpython3.13-minimal_3.13.5-2_amd64.deb ...
- Unpacking libpython3.13-minimal:amd64 (3.13.5-2) ...
- Selecting previously unselected package python3.13-minimal.
- Preparing to unpack .../python3.13-minimal_3.13.5-2_amd64.deb ...
- Unpacking python3.13-minimal (3.13.5-2) ...
- Setting up libpython3.13-minimal:amd64 (3.13.5-2) ...
- Setting up python3.13-minimal (3.13.5-2) ...
- Selecting previously unselected package python3-minimal.
- (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 ... 21268 files and directories currently installed.)
- Preparing to unpack .../0-python3-minimal_3.13.5-1_amd64.deb ...
- Unpacking python3-minimal (3.13.5-1) ...
- Selecting previously unselected package media-types.
- Preparing to unpack .../1-media-types_13.0.0_all.deb ...
- Unpacking media-types (13.0.0) ...
- Selecting previously unselected package readline-common.
- Preparing to unpack .../2-readline-common_8.2-6_all.deb ...
- Unpacking readline-common (8.2-6) ...
- Selecting previously unselected package libreadline8t64:amd64.
- Preparing to unpack .../3-libreadline8t64_8.2-6_amd64.deb ...
- Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8 to /lib/x86_64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64'
- Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8.2 to /lib/x86_64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64'
- Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8 to /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64'
- Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8.2 to /lib/x86_64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64'
- Unpacking libreadline8t64:amd64 (8.2-6) ...
- Selecting previously unselected package libpython3.13-stdlib:amd64.
- Preparing to unpack .../4-libpython3.13-stdlib_3.13.5-2_amd64.deb ...
- Unpacking libpython3.13-stdlib:amd64 (3.13.5-2) ...
- Selecting previously unselected package python3.13.
- Preparing to unpack .../5-python3.13_3.13.5-2_amd64.deb ...
- Unpacking python3.13 (3.13.5-2) ...
- Selecting previously unselected package libpython3-stdlib:amd64.
- Preparing to unpack .../6-libpython3-stdlib_3.13.5-1_amd64.deb ...
- Unpacking libpython3-stdlib:amd64 (3.13.5-1) ...
- Setting up python3-minimal (3.13.5-1) ...
- Selecting previously unselected package python3.
- (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 ... 21754 files and directories currently installed.)
- Preparing to unpack .../00-python3_3.13.5-1_amd64.deb ...
- Unpacking python3 (3.13.5-1) ...
- Selecting previously unselected package javascript-common.
- Preparing to unpack .../01-javascript-common_12+nmu1_all.deb ...
- Unpacking javascript-common (12+nmu1) ...
- Selecting previously unselected package libexpat1-dev:amd64.
- Preparing to unpack .../02-libexpat1-dev_2.7.1-2_amd64.deb ...
- Unpacking libexpat1-dev:amd64 (2.7.1-2) ...
- Selecting previously unselected package libjs-jquery.
- Preparing to unpack .../03-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ...
- Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
- Selecting previously unselected package libjs-underscore.
- Preparing to unpack .../04-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ...
- Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ...
- Selecting previously unselected package libjs-sphinxdoc.
- Preparing to unpack .../05-libjs-sphinxdoc_8.1.3-5_all.deb ...
- Unpacking libjs-sphinxdoc (8.1.3-5) ...
- Selecting previously unselected package libpython3.13:amd64.
- Preparing to unpack .../06-libpython3.13_3.13.5-2_amd64.deb ...
- Unpacking libpython3.13:amd64 (3.13.5-2) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../07-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1+b1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Selecting previously unselected package libpython3.13-dev:amd64.
- Preparing to unpack .../08-libpython3.13-dev_3.13.5-2_amd64.deb ...
- Unpacking libpython3.13-dev:amd64 (3.13.5-2) ...
- Selecting previously unselected package libpython3-dev:amd64.
- Preparing to unpack .../09-libpython3-dev_3.13.5-1_amd64.deb ...
- Unpacking libpython3-dev:amd64 (3.13.5-1) ...
- Selecting previously unselected package python3.13-dev.
- Preparing to unpack .../10-python3.13-dev_3.13.5-2_amd64.deb ...
- Unpacking python3.13-dev (3.13.5-2) ...
- Selecting previously unselected package python3-dev.
- Preparing to unpack .../11-python3-dev_3.13.5-1_amd64.deb ...
- Unpacking python3-dev (3.13.5-1) ...
- Setting up media-types (13.0.0) ...
- Setting up javascript-common (12+nmu1) ...
- Setting up libexpat1-dev:amd64 (2.7.1-2) ...
- Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
- Setting up readline-common (8.2-6) ...
- Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ...
- Setting up libjs-sphinxdoc (8.1.3-5) ...
- Setting up libreadline8t64:amd64 (8.2-6) ...
- Setting up libpython3.13-stdlib:amd64 (3.13.5-2) ...
- Setting up libpython3-stdlib:amd64 (3.13.5-1) ...
- Setting up libpython3.13:amd64 (3.13.5-2) ...
- Setting up python3.13 (3.13.5-2) ...
- Setting up python3 (3.13.5-1) ...
- running python rtupdate hooks for python3.13...
- running python post-rtupdate hooks for python3.13...
- Setting up libpython3.13-dev:amd64 (3.13.5-2) ...
- Setting up libpython3-dev:amd64 (3.13.5-1) ...
- Setting up python3.13-dev (3.13.5-2) ...
- Setting up python3-dev (3.13.5-1) ...
- Processing triggers for libc-bin (2.41-12+deb13u1) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-python-3-dev.1  (2 extra sources)
-> retrieved conf-python-3-dev.1  (2 extra sources)
-> retrieved pyml.20200518  (https://opam.ocaml.org/cache)
-> removed   pyml.20200518
-> installed conf-python-3-dev.1
[ERROR] The compilation of pyml.20200518 failed at "make test".

#=== ERROR while compiling pyml.20200518 ======================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/pyml.20200518
# command              ~/.opam/opam-init/hooks/sandbox.sh build make test
# exit-code            2
# env-file             ~/.opam/log/pyml-7-30df85.env
# output-file          ~/.opam/log/pyml-7-30df85.out
### output ###
# ocamlfind ocamlc -package stdcompat -c pyml_tests_common.mli -o pyml_tests_common.cmi
# ocamlfind ocamlc -package stdcompat -c pyml_tests_common.ml -o pyml_tests_common.cmo
# ocamlfind ocamlc -package stdcompat -c pyml_tests.ml -o pyml_tests.cmo
# ocamlfind ocamlc -linkpkg -package unix,stdcompat pyml.cma \
# 	pyml_tests_common.cmo pyml_tests.cmo -o pyml_tests.bytecode
# ocamlfind ocamlc -package stdcompat -c numpy_tests.ml -o numpy_tests.cmo
# ocamlfind ocamlc -linkpkg -package unix,stdcompat,bigarray pyml.cma \
# 	numpy.cma pyml_tests_common.cmo numpy_tests.cmo -o numpy_tests.bytecode
# ./pyml_tests.bytecode
# Environment variables:
# PATH=/home/opam/.opam/4.14/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# PYTHONHOME not set
# DYLD_LIBRARY_PATH not set
# DYLD_FALLBACK_LIBRARY_PATH not set
# Initializing library...
# Temporary set PYTHONPATH=":/usr/lib/python313.zip:/usr/lib/python3.13:/usr/lib/python3.13/lib-dynload:/usr/local/lib/python3.13/dist-packages:/usr/lib/python3/dist-packages".
# Temporary set PYTHONHOME="/lib/x86_64-linux-gnu/..".
# Trying to load "/lib/x86_64-linux-gnu/libpython3.13.so.1.0".
# Failed: "Cannot resolve _PyObject_NextNotImplemented.
# ".
# Fatal error: exception Failure("Py.find_library: unable to find the Python library [/lib/x86_64-linux-gnu/libpython3.13.so.1.0 returned Cannot resolve _PyObject_NextNotImplemented.\n]")
# make: *** [Makefile:198: test.bytecode] Error 2



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build pyml 20200518
+- 
+- The following changes have been performed
| - remove  pyml              20200518
| - install conf-python-3-dev 1
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20260303041840.export"
Or you can retry to install your package selection with:
    /usr/bin/opam install --restore
2026-03-03 04:19.02 ---> saved as "f3e7280daa36460c885cb6de63c552d8e1b138c1e6ac837f4d374b3ca103cce6"

/home/opam: (run (shell  "opam reinstall --with-test --verbose pyml.20200518;\
                        \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\" != 'pyml.20200518' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
pyml.20200518 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install pyml 20200518

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [pyml.20200518: extract]
-> retrieved pyml.20200518  (cached)
Processing  2/3: [pyml: make all]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" "pymltop" "PREFIX=/home/opam/.opam/4.14" (CWD=/home/opam/.opam/4.14/.opam-switch/build/pyml.20200518)
- cp pyml_arch_linux.ml pyml_arch.ml
- ocamlfind ocamlc -package stdcompat -c pyutils.mli -o pyutils.cmi
- ocamlfind ocamlopt -package stdcompat -c pyutils.ml -o pyutils.cmx
- ocamlfind ocamlopt -package stdcompat -c generate.ml -o generate.cmx
- ocamlfind ocamlopt -linkpkg -package unix,stdcompat pyutils.cmx generate.cmx -o generate
- ./generate
- ocamlfind ocamlc -package stdcompat -c pytypes.mli -o pytypes.cmi
- ocamlfind ocamlc -package stdcompat -c pyml_arch.mli -o pyml_arch.cmi
- ocamlfind ocamlc -i pywrappers.ml >pywrappers.mli
- ocamlfind ocamldep pyml_arch.ml pyutils.ml pytypes.ml pywrappers.ml py.ml pycaml.ml pyops.ml pyml_arch.mli pyutils.mli pytypes.mli pywrappers.mli py.mli pycaml.mli pyops.mli numpy.ml numpy.mli pyml_tests_common.mli pyml_tests_common.ml pyml_tests.ml numpy_tests.ml >.depend
- ocamlfind ocamlc -package stdcompat -c pyml_arch.ml -o pyml_arch.cmo
- ocamlfind ocamlc -package stdcompat -c pyutils.ml -o pyutils.cmo
- ocamlfind ocamlc -package stdcompat -c pytypes.ml -o pytypes.cmo
- ocamlfind ocamlc -package stdcompat -c pywrappers.mli -o pywrappers.cmi
- ocamlfind ocamlc -package stdcompat -c pywrappers.ml -o pywrappers.cmo
- ocamlfind ocamlc -package stdcompat -c py.mli -o py.cmi
- ocamlfind ocamlc -package stdcompat -c py.ml -o py.cmo
- ocamlfind ocamlc -package stdcompat -c pycaml.mli -o pycaml.cmi
- ocamlfind ocamlc -package stdcompat -c pycaml.ml -o pycaml.cmo
- ocamlfind ocamlc -package stdcompat -c pyops.mli -o pyops.cmi
- ocamlfind ocamlc -package stdcompat -c pyops.ml -o pyops.cmo
- ocamlfind ocamlc -package stdcompat -c pyml_stubs.c -o pyml_stubs.o
- pyml_stubs.c: In function 'xmalloc':
- pyml_stubs.c:24:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-    24 |         failwith("Virtual memory exhausted\n");
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                        
- pyml_stubs.c: In function 'resolve':
- pyml_stubs.c:317:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-   317 |         failwith(msg);
-       |             ^~~~~~~~~~                                                 
- pyml_stubs.c: In function 'pyml_assert_initialized':
- pyml_stubs.c:529:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-   529 |         failwith("Run 'Py.initialize ()' first");
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                      
- pyml_stubs.c: In function 'pyml_assert_python2':
- pyml_stubs.c:538:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-   538 |         failwith("Python 2 needed");
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~                                   
- pyml_stubs.c: In function 'pyml_assert_ucs2':
- pyml_stubs.c:547:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-   547 |         failwith("Python with UCS2 needed");
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                           
- pyml_stubs.c: In function 'pyml_assert_ucs4':
- pyml_stubs.c:556:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-   556 |         failwith("Python with UCS4 needed");
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                           
- pyml_stubs.c: In function 'pyml_assert_python3':
- pyml_stubs.c:565:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-   565 |         failwith("Python 3 needed");
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~                                   
- pyml_stubs.c: In function 'pyml_check_symbol_available':
- pyml_stubs.c:576:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-   576 |           failwith("Symbol unavailable with this version of Python.\n");
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- pyml_stubs.c:582:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-   582 |           failwith("Symbol unavailable with this version of Python.\n");
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- pyml_stubs.c:585:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-   585 |         failwith(msg);
-       |             ^~~~~~~~~~                                                 
- pyml_stubs.c: In function 'py_load_library':
- pyml_stubs.c:661:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-   661 |             failwith("Library not found");
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
- pyml_stubs.c:669:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-   669 |         failwith("No Python symbol");
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~                                  
- pyml_stubs.c:737:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-   737 |             failwith("py_debug");
-       |             ^~~~~~~~~~~~~~~~~~~~~                                      
- pyml_stubs.c:741:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-   741 |             failwith("PyTuple_New");
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~                                   
- pyml_stubs.c:744:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-   744 |             failwith("PyTuple_SetItem");
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~                               
- pyml_stubs.c:749:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-   749 |             failwith("PyEval_CallObjectWithKeywords");
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                 
- pyml_stubs.c:758:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-   758 |             failwith("AsLong");
-       |             ^~~~~~~~~~~~~~~~~~~                                        
- pyml_stubs.c: In function 'py_unsetenv':
- pyml_stubs.c:807:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-   807 |         failwith(strerror(errno));
-       |             ^~~~~~~~~~~~~~~~~~~~~~                                     
- pyml_stubs.c: In function 'Python27_PyCapsule_IsValid_wrapper':
- pyml_stubs.c:1398:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-  1398 |         failwith("PyCapsule_IsValid is only available in Python >2.7");
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from pyml_stubs.c:1406:
- pyml_wrappers.inc: In function 'Python_PyImport_GetMagicNumber_wrapper':
- pyml_wrappers.inc:1043:13: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead
-  1043 |     CAMLreturn(copy_int64(result));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~                                        
- pyml_wrappers.inc: In function 'Python_PyLong_AsLong_wrapper':
- pyml_wrappers.inc:1182:13: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead
-  1182 |     CAMLreturn(copy_int64(result));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~                                        
- pyml_wrappers.inc: In function 'Python_PyObject_Hash_wrapper':
- pyml_wrappers.inc:1950:13: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead
-  1950 |     CAMLreturn(copy_int64(result));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~                                        
- pyml_wrappers.inc: In function 'Python2_PyInt_AsLong_wrapper':
- pyml_wrappers.inc:2760:13: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead
-  2760 |     CAMLreturn(copy_int64(result));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~                                        
- pyml_wrappers.inc: In function 'Python2_PyInt_GetMax_wrapper':
- pyml_wrappers.inc:2781:13: warning: "copy_int64" is deprecated: use "caml_copy_int64" instead
-  2781 |     CAMLreturn(copy_int64(result));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~                                        
- ocamlfind ocamlmklib -o pyml_stubs pyml_stubs.o
- ocamlfind ocamlc -custom -cclib "-L. -lpyml_stubs" -a -dllib -lpyml_stubs pyml_arch.cmo pyutils.cmo pytypes.cmo pywrappers.cmo py.cmo pycaml.cmo pyops.cmo -o pyml.cma
- ocamlfind ocamlc -package stdcompat -c numpy.mli -o numpy.cmi
- ocamlfind ocamlc -package stdcompat -c numpy.ml -o numpy.cmo
- ocamlfind ocamlc -package stdcompat -c numpy_stubs.c -o numpy_stubs.o
- numpy_stubs.c: In function 'pyarray_of_bigarray_wrapper':
- numpy_stubs.c:36:13: warning: "BIGARRAY_KIND_MASK" is deprecated: use "CAML_BA_KIND_MASK" instead
-    36 |     switch (flags & BIGARRAY_KIND_MASK) {
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                            
- numpy_stubs.c:62:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-    62 |         failwith("Caml integers are unsupported for NumPy array");
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     
- numpy_stubs.c:79:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-    79 |         failwith("Unsupported bigarray kind for NumPy array");
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~         
- numpy_stubs.c:90:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-    90 |         failwith("Unsupported bigarray layout for NumPy array");
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       
- numpy_stubs.c: In function 'bigarray_of_pyarray_wrapper':
- numpy_stubs.c:163:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-   163 |         failwith("Unsupported NumPy kind for bigarray");
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~               
- numpy_stubs.c:174:13: warning: "failwith" is deprecated: use "caml_failwith" instead
-   174 |         failwith("Unsupported NumPy layout for bigarray");
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
- ocamlfind ocamlmklib -o numpy_stubs numpy_stubs.o
- ocamlfind ocamlc -cclib "-L. -lnumpy_stubs" -a -dllib -lnumpy_stubs numpy.cmo -o numpy.cma
- ocamlfind ocamlopt -package stdcompat -c pyml_arch.ml -o pyml_arch.cmx
- ocamlfind ocamlopt -package stdcompat -c pytypes.ml -o pytypes.cmx
- ocamlfind ocamlopt -package stdcompat -c pywrappers.ml -o pywrappers.cmx
- ocamlfind ocamlopt -package stdcompat -c py.ml -o py.cmx
- ocamlfind ocamlopt -package stdcompat -c pycaml.ml -o pycaml.cmx
- ocamlfind ocamlopt -package stdcompat -c pyops.ml -o pyops.cmx
- ocamlfind ocamlopt -cclib "-L. -lpyml_stubs" -a pyml_arch.cmx pyutils.cmx pytypes.cmx pywrappers.cmx py.cmx pycaml.cmx pyops.cmx -o pyml.cmxa
- ocamlfind ocamlopt -cclib "-L. -lpyml_stubs" -shared pyml_arch.cmx pyutils.cmx pytypes.cmx pywrappers.cmx py.cmx pycaml.cmx pyops.cmx -o pyml.cmxs
- ocamlfind ocamlopt -package stdcompat -c numpy.ml -o numpy.cmx
- ocamlfind ocamlopt -cclib "-L. -lnumpy_stubs" -a numpy.cmx -o numpy.cmxa
- ocamlfind ocamlopt -cclib "-L. -lnumpy_stubs" -shared numpy.cmx -o numpy.cmxs
- The py.ml library is compiled.
- Run `make doc' to build the documentation.
- Run `make test' to check the test suite.
- Run `make install' to install the library via ocamlfind.
- Run `make pymltop' to build the toplevel.
- if [ -z "/home/opam/.opam/4.14" ]; then \
-   echo "let libdir=\"/home/opam/.opam/4.14/.opam-switch/build/pyml.20200518\""; \
- else \
-   echo "let libdir=\"/home/opam/.opam/4.14/lib/pyml/\""; \
- fi >pymltop_libdir.ml
- ocamlfind ocamlc -package stdcompat -c pymltop_libdir.ml -o pymltop_libdir.cmo
- ocamlfind ocamlc -I +compiler-libs -c pytop.ml
- findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/ocaml/compiler-libs
- ocamlfind ocamlmktop -linkpkg -cclib "-L. -lnumpy_stubs" -package unix,stdcompat,bigarray pyml.cma numpy.cma pymltop_libdir.cmo pytop.cmo -o pymltop
- rm numpy_stubs.o
Processing  2/3: [pyml: make test]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "test" (CWD=/home/opam/.opam/4.14/.opam-switch/build/pyml.20200518)
- ocamlfind ocamlc -package stdcompat -c pyml_tests_common.mli -o pyml_tests_common.cmi
- ocamlfind ocamlc -package stdcompat -c pyml_tests_common.ml -o pyml_tests_common.cmo
- ocamlfind ocamlc -package stdcompat -c pyml_tests.ml -o pyml_tests.cmo
- ocamlfind ocamlc -linkpkg -package unix,stdcompat pyml.cma \
- 	pyml_tests_common.cmo pyml_tests.cmo -o pyml_tests.bytecode
- ocamlfind ocamlc -package stdcompat -c numpy_tests.ml -o numpy_tests.cmo
- ocamlfind ocamlc -linkpkg -package unix,stdcompat,bigarray pyml.cma \
- 	numpy.cma pyml_tests_common.cmo numpy_tests.cmo -o numpy_tests.bytecode
- ./pyml_tests.bytecode
- Environment variables:
- PATH=/home/opam/.opam/4.14/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- PYTHONHOME not set
- DYLD_LIBRARY_PATH not set
- DYLD_FALLBACK_LIBRARY_PATH not set
- Initializing library...
- Temporary set PYTHONPATH=":/usr/lib/python313.zip:/usr/lib/python3.13:/usr/lib/python3.13/lib-dynload:/usr/local/lib/python3.13/dist-packages:/usr/lib/python3/dist-packages".
- Temporary set PYTHONHOME="/lib/x86_64-linux-gnu/..".
- Trying to load "/lib/x86_64-linux-gnu/libpython3.13.so.1.0".
- Failed: "Cannot resolve _PyObject_NextNotImplemented.
- ".
- Fatal error: exception Failure("Py.find_library: unable to find the Python library [/lib/x86_64-linux-gnu/libpython3.13.so.1.0 returned Cannot resolve _PyObject_NextNotImplemented.\n]")
- make: *** [Makefile:198: test.bytecode] Error 2
[ERROR] The compilation of pyml.20200518 failed at "make test".

#=== ERROR while compiling pyml.20200518 ======================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/pyml.20200518
# command              ~/.opam/opam-init/hooks/sandbox.sh build make test
# exit-code            2
# env-file             ~/.opam/log/pyml-7-e340f7.env
# output-file          ~/.opam/log/pyml-7-e340f7.out
### output ###
# ocamlfind ocamlc -package stdcompat -c pyml_tests_common.mli -o pyml_tests_common.cmi
# ocamlfind ocamlc -package stdcompat -c pyml_tests_common.ml -o pyml_tests_common.cmo
# ocamlfind ocamlc -package stdcompat -c pyml_tests.ml -o pyml_tests.cmo
# ocamlfind ocamlc -linkpkg -package unix,stdcompat pyml.cma \
# 	pyml_tests_common.cmo pyml_tests.cmo -o pyml_tests.bytecode
# ocamlfind ocamlc -package stdcompat -c numpy_tests.ml -o numpy_tests.cmo
# ocamlfind ocamlc -linkpkg -package unix,stdcompat,bigarray pyml.cma \
# 	numpy.cma pyml_tests_common.cmo numpy_tests.cmo -o numpy_tests.bytecode
# ./pyml_tests.bytecode
# Environment variables:
# PATH=/home/opam/.opam/4.14/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# PYTHONHOME not set
# DYLD_LIBRARY_PATH not set
# DYLD_FALLBACK_LIBRARY_PATH not set
# Initializing library...
# Temporary set PYTHONPATH=":/usr/lib/python313.zip:/usr/lib/python3.13:/usr/lib/python3.13/lib-dynload:/usr/local/lib/python3.13/dist-packages:/usr/lib/python3/dist-packages".
# Temporary set PYTHONHOME="/lib/x86_64-linux-gnu/..".
# Trying to load "/lib/x86_64-linux-gnu/libpython3.13.so.1.0".
# Failed: "Cannot resolve _PyObject_NextNotImplemented.
# ".
# Fatal error: exception Failure("Py.find_library: unable to find the Python library [/lib/x86_64-linux-gnu/libpython3.13.so.1.0 returned Cannot resolve _PyObject_NextNotImplemented.\n]")
# make: *** [Makefile:198: test.bytecode] Error 2



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build pyml 20200518
+- 
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
'opam reinstall --with-test --verbose pyml.20200518' failed.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall --with-test --verbose pyml.20200518;
        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" != 'pyml.20200518' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 1
2026-03-03 04:19.25: Job failed: Failed: Build failed
2026-03-03 04:19.25: Log analysis:
2026-03-03 04:19.25: >>> 
[ERROR] The compilation of pyml.20200518 failed at "make test".
 (score = 20)
2026-03-03 04:19.25: >>> 
# Fatal error: exception Failure("Py.find_library: unable to find the Python library [/lib/x86_64-linux-gnu/libpython3.13.so.1.0 returned Cannot resolve _PyObject_NextNotImplemented.\n]")
 (score = 35)
2026-03-03 04:19.25: >>> 
[ERROR] The compilation of pyml.20200518 failed at "make test".
 (score = 20)
2026-03-03 04:19.25: >>> 
# Fatal error: exception Failure("Py.find_library: unable to find the Python library [/lib/x86_64-linux-gnu/libpython3.13.so.1.0 returned Cannot resolve _PyObject_NextNotImplemented.\n]")
 (score = 35)
2026-03-03 04:19.25: exception Failure("Py.find_library: unable to find the Python library [/lib/x86_64-linux-gnu/libpython3.13.so.1.0 returned Cannot resolve _PyObject_NextNotImplemented.\n]")