Build:
  1. 0
2024-02-11 20:23.51: New job: test zarith-xen.1.4 with conf-pkg-config.1.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/25235/head (8c7391d6ec81e93f24de221eb32a886b72d1ede6)
                              on debian-12-ocaml-5.1/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/25235/head" && git reset --hard 8c7391d6
git fetch origin master
git merge --no-edit 8477e9a74beb40d85534ab7653b65d45607a147f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="500"
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
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam pin add -k version -yn conf-pkg-config.1.1 1.1
RUN opam reinstall conf-pkg-config.1.1; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'conf-pkg-config.1.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam reinstall zarith-xen.1.4; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'zarith-xen.1.4' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN (opam reinstall --with-test zarith-xen.1.4) || true
RUN opam reinstall --with-test --verbose zarith-xen.1.4; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'zarith-xen.1.4' && 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 .

2024-02-11 20:23.51: Using cache hint "ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930-conf-pkg-config.1.1-zarith-xen.1.4-8c7391d6ec81e93f24de221eb32a886b72d1ede6"
2024-02-11 20:23.51: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930)
 (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"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 500)
 (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"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (shell "opam pin add -k version -yn conf-pkg-config.1.1 1.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-pkg-config.1.1;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'conf-pkg-config.1.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall zarith-xen.1.4;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'zarith-xen.1.4' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (network host)
      (shell "(opam reinstall --with-test zarith-xen.1.4) || true"))
 (run (shell  "opam reinstall --with-test --verbose zarith-xen.1.4;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'zarith-xen.1.4' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2024-02-11 20:23.51: Waiting for resource in pool OCluster
2024-02-12 19:39.41: Waiting for worker…
2024-02-12 19:41.37: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files:  74% (24553/32918)
Updating files:  75% (24689/32918)
Updating files:  76% (25018/32918)
Updating files:  77% (25347/32918)
Updating files:  78% (25677/32918)
Updating files:  79% (26006/32918)
Updating files:  80% (26335/32918)
Updating files:  81% (26664/32918)
Updating files:  82% (26993/32918)
Updating files:  83% (27322/32918)
Updating files:  84% (27652/32918)
Updating files:  85% (27981/32918)
Updating files:  86% (28310/32918)
Updating files:  87% (28639/32918)
Updating files:  88% (28968/32918)
Updating files:  89% (29298/32918)
Updating files:  90% (29627/32918)
Updating files:  91% (29956/32918)
Updating files:  92% (30285/32918)
Updating files:  93% (30614/32918)
Updating files:  94% (30943/32918)
Updating files:  95% (31273/32918)
Updating files:  96% (31602/32918)
Updating files:  97% (31931/32918)
Updating files:  98% (32260/32918)
Updating files:  99% (32589/32918)
Updating files: 100% (32918/32918)
Updating files: 100% (32918/32918), done.
HEAD is now at 8477e9a74b Merge pull request #25221 from nberth/mlgmpidl-1.3.0
Updating 8477e9a74b..8c7391d6ec
Fast-forward
 packages/conf-pkg-config/conf-pkg-config.1.0/opam | 2 +-
 packages/conf-pkg-config/conf-pkg-config.1.1/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.1.2/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.1.3/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.2/opam   | 1 +
 packages/conf-pkg-config/conf-pkg-config.3/opam   | 4 +++-
 6 files changed, 8 insertions(+), 2 deletions(-)

(from ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930)
2024-02-12 19:42.04 ---> using "4df7ce52b8e0afe130cbfff7d9b001e43cae58bd8e8710cd073ce7c11b1c6ac8" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-02-12 19:42.04 ---> using "2ee14a5dbb7aa54ab1dfa5adba4422c5a5483941525d4174e8eeed0c4c5e97aa" 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2~alpha, 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] synchronised from file:///home/opam/opam-repository
2024-02-12 19:42.04 ---> using "d58131e4d084860f74dbebecfc9a35ebb7fbb42cf58093b5ac6cf0adf11ed898" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 500)

/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/"))
2024-02-12 19:42.04 ---> using "e76676ee91f5598b65d18de047738848e5af056a75e3436903dc82ff5702c5a6" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2024-02-12 19:42.05 ---> using "00dcf922e87fec2f8ccdd0b44355d41faed143c596db4bfe8812d0e9c5f33f02" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-02-12 19:42.05 ---> using "d6c8604b98b9d01914259989eafdfad7780b6c9f761a469dfe3162a56ba73510" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8786 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [137 kB]
- Fetched 9175 kB in 1s (6830 kB/s)
- Reading package lists...
2024-02-12 19:42.05 ---> using "6245d7929b862e6b37f451133c05d21883283d0248743f67197f2e424fe52d69" from cache

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (shell "opam pin add -k version -yn conf-pkg-config.1.1 1.1"))
conf-pkg-config is now pinned to version 1.1
2024-02-12 19:42.05 ---> using "efd69474de39398f08b803f28b1c0635d272139b0c33f4b0a322013c52989663" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall conf-pkg-config.1.1;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'conf-pkg-config.1.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
conf-pkg-config.1.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 1 package
  - install conf-pkg-config 1.1 (pinned)

The following system packages will first need to be installed:
    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" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libpkgconf3:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18774 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u4) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.1.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 19:42.05 ---> using "0686843ae3c31f38ac5563a3bcd57d9eed648c8dbf66daffdc86057dfb09ccb3" from cache

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall zarith-xen.1.4;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'zarith-xen.1.4' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
zarith-xen.1.4 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 11 packages
  - install conf-findutils    1       [required by minios-xen]
  - install conf-gmp          4       [required by zarith]
  - install conf-m4           1       [required by gmp-xen]
  - install conf-perl         2       [required by zarith]
  - install gmp-xen           6.0.0-1 [required by zarith-xen]
  - install minios-xen        0.9     [required by mirage-xen-minios]
  - install mirage-xen-minios 0.9.3   [required by mirage-xen-posix]
  - install mirage-xen-posix  3.3.1   [required by zarith-xen]
  - install ocamlfind         1.9.6   [required by zarith-xen]
  - install zarith            1.4     [required by zarith-xen]
  - install zarith-xen        1.4

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

<><> 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" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
- 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 ... 18810 files and directories currently installed.)
- Preparing to unpack .../libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package m4.
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Processing triggers for libc-bin (2.36-9+deb12u4) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-perl.2
-> installed conf-findutils.1
-> installed conf-m4.1
-> installed conf-gmp.4
-> retrieved gmp-xen.6.0.0-1  (cached)
-> retrieved minios-xen.0.9  (cached)
-> retrieved mirage-xen-minios.0.9.3  (cached)
-> retrieved mirage-xen-posix.3.3.1  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved zarith.1.4, zarith-xen.1.4  (cached)
-> installed ocamlfind.1.9.6
-> installed minios-xen.0.9
-> installed mirage-xen-minios.0.9.3
-> installed zarith.1.4
-> installed mirage-xen-posix.3.3.1
-> installed gmp-xen.6.0.0-1
-> installed zarith-xen.1.4
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 19:44.50 ---> saved as "a159d22f3985484d1e7348ab044b8b68844527c5657f3ca8fe9ef57915cbe5a5"

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved zarith-xen.1.4  (https://download.ocamlcore.org/zarith/Zarith/1.4/zarith-1.4.tgz)
[WARNING] While removing zarith-xen.1.4: cannot revert:
  - modifications of:
      - [hash] lib/zarith/META

-> removed   zarith-xen.1.4
-> installed zarith-xen.1.4
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 19:45.08 ---> saved as "9389348f8758bf92a0e3e555916c973d197fbb288a0afee51ce9a52c5679d005"

/home/opam: (run (shell  "opam reinstall --with-test --verbose zarith-xen.1.4;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'zarith-xen.1.4' && 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 zarith-xen 1.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4:
-> retrieved zarith-xen.1.4  (cached)
Processing  3/4: [zarith-xen: sh]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "remove" "sh" "-eux" "./mirage-uninstall.sh" (CWD=/home/opam/.opam/5.1/.opam-switch/remove/zarith-xen.1.4)
[WARNING] While removing zarith-xen.1.4: cannot revert:
  - modifications of:
      - [hash] lib/zarith/META

- + opam config var prefix
- + PREFIX=/home/opam/.opam/5.1
- + rm -f /home/opam/.opam/5.1/lib/zarith/libzarith-xen.a
- + mv /home/opam/.opam/5.1/lib/zarith/META /home/opam/.opam/5.1/lib/zarith/META.tmp
- + cat /home/opam/.opam/5.1/lib/zarith/META.tmp
- + grep -v xen_linkopts
- + rm -f /home/opam/.opam/5.1/lib/zarith/META.tmp
-> removed   zarith-xen.1.4
Processing  4/4: [zarith-xen: sh]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "sh" "-eux" "./mirage-install.sh" (CWD=/home/opam/.opam/5.1/.opam-switch/build/zarith-xen.1.4)
- + opam config var prefix
- + PREFIX=/home/opam/.opam/5.1
- + PKG_CONFIG_PATH=/home/opam/.opam/5.1/lib/pkgconfig
- + export PKG_CONFIG_PATH
- + pkg-config --libs gmp-xen
- + LDFLAGS=-L/home/opam/.opam/5.1/lib/pkgconfig/../gmp-xen -lgmp-xen 
- + export LDFLAGS
- + pkg-config --cflags gmp-xen mirage-xen-posix
- + CFLAGS=-I/home/opam/.opam/5.1/lib/pkgconfig/../gmp-xen/include -I/home/opam/.opam/5.1/lib/pkgconfig/../../include/mirage-xen-posix/include -I/home/opam/.opam/5.1/include -I/home/opam/.opam/5.1/include/openlibm -isystem/home/opam/.opam/5.1/lib/pkgconfig/../../include/minios-xen -isystem/home/opam/.opam/5.1/lib/pkgconfig/../../include/minios-xen/posix -m64 -mno-red-zone -fno-reorder-blocks -fno-stack-protector -fno-asynchronous-unwind-tables -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/12/include -U__linux__ -U__FreeBSD__ -U__sun__ -U__linux -D__MINIOS__  -O2 -pedantic -fomit-frame-pointer -fno-builtin
- + export CFLAGS
- + ./configure
- binary ocaml: found in /home/opam/.opam/5.1/bin
- binary ocamlc: found in /home/opam/.opam/5.1/bin
- binary ocamldep: found in /home/opam/.opam/5.1/bin
- binary ocamlmklib: found in /home/opam/.opam/5.1/bin
- binary ocamldoc: found in /home/opam/.opam/5.1/bin
- binary ar: found in /usr/bin
- binary perl: found in /usr/bin
- binary gcc: found in /usr/bin
- binary ocamlopt: found in /home/opam/.opam/5.1/bin
- checking compilation with gcc -O3 -Wall -Wextra -I/home/opam/.opam/5.1/lib/pkgconfig/../gmp-xen/include -I/home/opam/.opam/5.1/lib/pkgconfig/../../include/mirage-xen-posix/include -I/home/opam/.opam/5.1/include -I/home/opam/.opam/5.1/include/openlibm -isystem/home/opam/.opam/5.1/lib/pkgconfig/../../include/minios-xen -isystem/home/opam/.opam/5.1/lib/pkgconfig/../../include/minios-xen/posix -m64 -mno-red-zone -fno-reorder-blocks -fno-stack-protector -fno-asynchronous-unwind-tables -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/12/include -U__linux__ -U__FreeBSD__ -U__sun__ -U__linux -D__MINIOS__  -O2 -pedantic -fomit-frame-pointer -fno-builtin: working
- include caml/mlvalues.h: found
- library dynlink.cmxa: found
- binary ocamlfind: found in /home/opam/.opam/5.1/bin
- OCaml's word size is 64
- binary uname: found in /usr/bin
- include gmp.h: found
- library gmp: found
- OCaml extended comparison supported
- OCaml new hash functions available
- 
- detected configuration:
- 
-   native-code:          yes
-   dynamic linking:      yes
-   asm path:             x86_64
-   defines:              -DZ_OCAML_HASH -DZ_OCAML_COMPARE_EXT -DHAS_GMP -DZ_ELF -DZ_DOT_LABEL_PREFIX 
-   libraries:            -L/home/opam/.opam/5.1/lib/pkgconfig/../gmp-xen -lgmp-xen  -lgmp
-   C options:            -O3 -Wall -Wextra -I/home/opam/.opam/5.1/lib/pkgconfig/../gmp-xen/include -I/home/opam/.opam/5.1/lib/pkgconfig/../../include/mirage-xen-posix/include -I/home/opam/.opam/5.1/include -I/home/opam/.opam/5.1/include/openlibm -isystem/home/opam/.opam/5.1/lib/pkgconfig/../../include/minios-xen -isystem/home/opam/.opam/5.1/lib/pkgconfig/../../include/minios-xen/posix -m64 -mno-red-zone -fno-reorder-blocks -fno-stack-protector -fno-asynchronous-unwind-tables -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/12/include -U__linux__ -U__FreeBSD__ -U__sun__ -U__linux -D__MINIOS__  -O2 -pedantic -fomit-frame-pointer -fno-builtin
-   asm options           
-   installation path:    /home/opam/.opam/5.1/lib
-   installation method   findlib
- 
- configuration successful!
- now type "make" to build
- then type "make install" or "sudo make install" to install
- + make
- ./z_pp.pl x86_64
- found assembly file caml_z_x86_64.S
-   found abs
-   found add
-   found div
-   found divexact
-   found logand
-   found lognot
-   found logor
-   found logxor
-   found mul
-   found neg
-   found pred
-   found rem
-   found shift_left
-   found shift_right
-   found sub
-   found succ
- ocamldep -native  *.ml *.mli > depend
- ocamlc   -c z.mli
- File "z.mli", line 63, characters 0-51:
- 63 | external of_int: int -> t = "ml_z_of_int" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.mli", line 229, characters 0-53:
- 229 | external numbits: t -> int = "ml_z_numbits" "noalloc"
-       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.mli", line 236, characters 0-67:
- 236 | external trailing_zeros: t -> int = "ml_z_trailing_zeros" "noalloc"
-       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.mli", line 318, characters 0-56:
- 318 | external fits_int: t -> bool = "ml_z_fits_int" "noalloc"
-       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.mli", line 321, characters 0-60:
- 321 | external fits_int32: t -> bool = "ml_z_fits_int32" "noalloc"
-       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.mli", line 324, characters 0-60:
- 324 | external fits_int64: t -> bool = "ml_z_fits_int64" "noalloc"
-       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.mli", line 327, characters 0-68:
- 327 | external fits_nativeint: t -> bool = "ml_z_fits_nativeint" "noalloc"
-       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.mli", line 356, characters 0-58:
- 356 | external compare: t -> t -> int = "ml_z_compare" "noalloc"
-       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.mli", line 364, characters 0-55:
- 364 | external equal: t -> t -> bool = "ml_z_equal" "noalloc"
-       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.mli", line 379, characters 0-47:
- 379 | external sign: t -> int = "ml_z_sign" "noalloc"
-       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.mli", line 396, characters 0-47:
- 396 | external hash: t -> int = "ml_z_hash" "noalloc"
-       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.mli", line 506, characters 0-47:
- 506 | external size: t -> int = "ml_z_size" "noalloc"
-       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.mli", line 601, characters 0-49:
- 601 | external (~$): int -> t = "ml_z_of_int" "noalloc"
-       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- ocamlc   -c z.ml
- File "z.ml", line 50, characters 0-51:
- 50 | external of_int: int -> t = "ml_z_of_int" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 61, characters 0-58:
- 61 | external compare: t -> t -> int = "ml_z_compare" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 62, characters 0-55:
- 62 | external equal: t -> t -> bool = "ml_z_equal" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 63, characters 0-47:
- 63 | external sign: t -> int = "ml_z_sign" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 68, characters 0-53:
- 68 | external numbits: t -> int = "ml_z_numbits" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 69, characters 0-67:
- 69 | external trailing_zeros: t -> int = "ml_z_trailing_zeros" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 72, characters 0-47:
- 72 | external size: t -> int = "ml_z_size" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 73, characters 0-56:
- 73 | external fits_int: t -> bool = "ml_z_fits_int" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 74, characters 0-60:
- 74 | external fits_int32: t -> bool = "ml_z_fits_int32" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 75, characters 0-60:
- 75 | external fits_int64: t -> bool = "ml_z_fits_int64" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 76, characters 0-68:
- 76 | external fits_nativeint: t -> bool = "ml_z_fits_nativeint" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 88, characters 0-47:
- 88 | external hash: t -> int = "ml_z_hash" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 135, characters 0-70:
- 135 | external testbit_internal: t -> int -> bool = "ml_z_testbit" "noalloc"
-       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 216, characters 0-49:
- 216 | external (~$): int -> t = "ml_z_of_int" "noalloc"
-       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- ocamlc   -c q.mli
- ocamlc   -c q.ml
- File "q.ml", line 101, characters 7-21:
- 101 |       (Z.of_substring s 0 i)
-              ^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function.
- 
- File "q.ml", line 102, characters 7-21:
- 102 |       (Z.of_substring s (i+1) (String.length s-i-1))
-              ^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function.
- ocamlc   -c big_int_Z.mli
- ocamlc   -c big_int_Z.ml
- ocamlmklib -failsafe -o zarith z.cmo q.cmo big_int_Z.cmo -L/home/opam/.opam/5.1/lib/pkgconfig/../gmp-xen -lgmp-xen  -lgmp
- gcc -DZ_OCAML_HASH -DZ_OCAML_COMPARE_EXT -DHAS_GMP -DZ_ELF -DZ_DOT_LABEL_PREFIX     -c -o caml_z_x86_64.o caml_z_x86_64.S
- ocamlc -ccopt "-I/home/opam/.opam/5.1/lib/ocaml  -DZ_OCAML_HASH -DZ_OCAML_COMPARE_EXT -DHAS_GMP -DZ_ELF -DZ_DOT_LABEL_PREFIX  -O3 -Wall -Wextra -I/home/opam/.opam/5.1/lib/pkgconfig/../gmp-xen/include -I/home/opam/.opam/5.1/lib/pkgconfig/../../include/mirage-xen-posix/include -I/home/opam/.opam/5.1/include -I/home/opam/.opam/5.1/include/openlibm -isystem/home/opam/.opam/5.1/lib/pkgconfig/../../include/minios-xen -isystem/home/opam/.opam/5.1/lib/pkgconfig/../../include/minios-xen/posix -m64 -mno-red-zone -fno-reorder-blocks -fno-stack-protector -fno-asynchronous-unwind-tables -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/12/include -U__linux__ -U__FreeBSD__ -U__sun__ -U__linux -D__MINIOS__  -O2 -pedantic -fomit-frame-pointer -fno-builtin" -c caml_z.c
- In file included from caml_z.c:24:
- /home/opam/.opam/5.1/lib/pkgconfig/../../include/mirage-xen-posix/include/stdio.h:24:1: warning: 'malloc' attribute ignored on functions returning 'int'; valid only for pointer return types [-Wattributes]
-    24 | int asprintf(char **ptr, const char* format, ...) __THROW __attribute_malloc__ __attribute__((__format__(__printf__,2,3)));
-       | ^~~
- In file included from caml_z.c:26:
- /home/opam/.opam/5.1/lib/pkgconfig/../../include/mirage-xen-posix/include/string.h:4:2: warning: #include_next is a GCC extension
-     4 | #include_next <string.h>
-       |  ^~~~~~~~~~~~
- In file included from zarith.h:29,
-                  from caml_z.c:38:
- caml_z.c: In function 'ml_z_of_substring_base':
- /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:329:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   329 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- caml_z.c:582:13: note: in expansion of macro 'String_val'
-   582 |   char *d = String_val(v) + ofs;
-       |             ^~~~~~~~~~
- caml_z.c: In function 'ml_z_format':
- /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:329:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   329 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- caml_z.c:778:15: note: in expansion of macro 'String_val'
-   778 |   char* fmt = String_val(f);
-       |               ^~~~~~~~~~
- caml_z.c: At top level:
- caml_z.c:2998:1: warning: missing initializer for field 'fixed_length' of 'struct custom_operations' [-Wmissing-field-initializers]
-  2998 | };
-       | ^
- In file included from caml_z.c:48:
- /home/opam/.opam/5.1/lib/ocaml/caml/custom.h:37:37: note: 'fixed_length' declared here
-    37 |   const struct custom_fixed_length* fixed_length;
-       |                                     ^~~~~~~~~~~~
- ocamlmklib -failsafe -o zarith caml_z_x86_64.o caml_z.o -L/home/opam/.opam/5.1/lib/pkgconfig/../gmp-xen -lgmp-xen  -lgmp
- /usr/bin/ld: warning: caml_z_x86_64.o: missing .note.GNU-stack section implies executable stack
- /usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
- ocamlopt   -c z.ml
- File "z.ml", line 50, characters 0-51:
- 50 | external of_int: int -> t = "ml_z_of_int" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 61, characters 0-58:
- 61 | external compare: t -> t -> int = "ml_z_compare" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 62, characters 0-55:
- 62 | external equal: t -> t -> bool = "ml_z_equal" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 63, characters 0-47:
- 63 | external sign: t -> int = "ml_z_sign" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 68, characters 0-53:
- 68 | external numbits: t -> int = "ml_z_numbits" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 69, characters 0-67:
- 69 | external trailing_zeros: t -> int = "ml_z_trailing_zeros" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 72, characters 0-47:
- 72 | external size: t -> int = "ml_z_size" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 73, characters 0-56:
- 73 | external fits_int: t -> bool = "ml_z_fits_int" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 74, characters 0-60:
- 74 | external fits_int32: t -> bool = "ml_z_fits_int32" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 75, characters 0-60:
- 75 | external fits_int64: t -> bool = "ml_z_fits_int64" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 76, characters 0-68:
- 76 | external fits_nativeint: t -> bool = "ml_z_fits_nativeint" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 88, characters 0-47:
- 88 | external hash: t -> int = "ml_z_hash" "noalloc"
-      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 135, characters 0-70:
- 135 | external testbit_internal: t -> int -> bool = "ml_z_testbit" "noalloc"
-       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- 
- File "z.ml", line 216, characters 0-49:
- 216 | external (~$): int -> t = "ml_z_of_int" "noalloc"
-       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: [@@noalloc] should be used instead of "noalloc"
- ocamlopt   -c q.ml
- File "q.ml", line 101, characters 7-21:
- 101 |       (Z.of_substring s 0 i)
-              ^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function.
- 
- File "q.ml", line 102, characters 7-21:
- 102 |       (Z.of_substring s (i+1) (String.length s-i-1))
-              ^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function.
- ocamlopt   -c big_int_Z.ml
- ocamlmklib -failsafe -o zarith z.cmx q.cmx big_int_Z.cmx -L/home/opam/.opam/5.1/lib/pkgconfig/../gmp-xen -lgmp-xen  -lgmp
- ocamlopt -shared -o zarith.cmxs -I . zarith.cmxa
- + cp libzarith.a /home/opam/.opam/5.1/lib/zarith/libzarith-xen.a
- + cat
-> installed zarith-xen.1.4
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 19:45.26 ---> saved as "7cdf22d1568ac5c23e5e1d4d1c3f7fc1124492404214bd30c615e8f0678df4f5"
Job succeeded
2024-02-12 19:47.08: Job succeeded