OrganisationsmirageZarith9de5ec ()debian-13-4.10_opam-2.4

debian-13-4.10_opam-2.4

Logs

Show full logs
2025-09-15 18:39.39: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.13 (9de5ec36fc0851f19985b235aa07d56661688155) (linux-x86_64:debian-13-4.10_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-4.10@sha256:5d2106d5f018c3b61509cc87e2599ff68888f929b651901116ffdd79779167d4
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mirage/Zarith.git" -b "zarith-1.13" && cd "Zarith" && git reset --hard 9de5ec36
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.10@sha256:5d2106d5f018c3b61509cc87e2599ff68888f929b651901116ffdd79779167d4
# debian-13-4.10_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 zarith.opam ./
RUN opam pin add -yn zarith.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.20.2 gmp.6.3.0 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y zarith.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2025-09-15 18:39.39: Using cache hint "mirage/Zarith-ocaml/opam:debian-13-ocaml-4.10@sha256:5d2106d5f018c3b61509cc87e2599ff68888f929b651901116ffdd79779167d4-debian-13-4.10_opam-2.4-88a859dd64158e41f0d6471d791c6d11"
2025-09-15 18:39.39: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.10@sha256:5d2106d5f018c3b61509cc87e2599ff68888f929b651901116ffdd79779167d4)
 (comment debian-13-4.10_opam-2.4)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (workdir /src)
 (run (shell "sudo chown opam /src"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src zarith.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn zarith.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.20.2 gmp.6.3.0 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.4 --depext-only -y zarith.dev $DEPS"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst /src))
 (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)

2025-09-15 18:39.39: Waiting for resource in pool OCluster
2025-09-15 21:12.24: Waiting for worker…
2025-09-15 21:15.10: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 9de5ec3 revert a6ad837b (use ocamlc to test C compiler in configure)

(from ocaml/opam:debian-13-ocaml-4.10@sha256:5d2106d5f018c3b61509cc87e2599ff68888f929b651901116ffdd79779167d4)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.10@sha256:5d2106d5f018c3b61509cc87e2599ff68888f929b651901116ffdd79779167d4' locally
docker.io/ocaml/opam@sha256:5d2106d5f018c3b61509cc87e2599ff68888f929b651901116ffdd79779167d4: Pulling from ocaml/opam
9a44fb8aefb5: Pulling fs layer
9a44fb8aefb5: Waiting
9a44fb8aefb5: Verifying Checksum
9a44fb8aefb5: Download complete
9a44fb8aefb5: Pull complete
Digest: sha256:5d2106d5f018c3b61509cc87e2599ff68888f929b651901116ffdd79779167d4
Status: Downloaded newer image for ocaml/opam@sha256:5d2106d5f018c3b61509cc87e2599ff68888f929b651901116ffdd79779167d4
2025-09-15 21:15.11 ---> using "5fd3a5fca27d3eb25404aa4a087bc9755f10827d4a1eea4734f24bf67e5470a7" from cache

/: (comment debian-13-4.10_opam-2.4)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-15 21:15.11 ---> using "6651ac641b5e5a6b0728ee88e0abf932f96c52731eacd8b6c19c138b29b4b39a" from cache

/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then 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
2025-09-15 21:15.11 ---> using "c1d782c18d3efa30688cd0913d6ea996ef627faba5e8bf0b7d1d38b6b1687515" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.10.2
2.4.1
2025-09-15 21:15.11 ---> using "b2497177abd2a56a2a6f1016f54c7f587efe1c0455cbb2841c38ede0066f04f3" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-09-15 21:15.11 ---> using "62d8bdc6ec7e7afb5d7829363172e8e496739245b042c207d022738a8321f8f6" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
109398e2fd Merge pull request #28437 from maiste/release-dune-3.20.2

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.3.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-15 21:15.11 ---> using "a17bf450e07be36c02e3d955ff82d786092f045c674442ba5fb31adc8987c329" from cache

/src: (copy (src zarith.opam) (dst ./))
2025-09-15 21:15.11 ---> saved as "67c49cca239c8e2a2d159ae18be3d37466a7284cc2fcedb6725ef9c04b007c6b"

/src: (run (network host)
           (shell "opam pin add -yn zarith.dev './'"))
[zarith.dev] synchronised (file:///src)
zarith is now pinned to file:///src (version dev)
2025-09-15 21:15.14 ---> saved as "c1969b0b99e7431af45987240298da8df667c90c7394b7cecdb7ac6e2bd54e18"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-15 21:15.15 ---> saved as "8c4ada678fab2327bec454a3a49da5ac27da351ef851e6594167f35e8ee69e18"

/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.20.2 gmp.6.3.0 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1")

/src: (env CI true)

/src: (env OCAMLCI true)

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update --depexts && opam install --cli=2.4 --depext-only -y zarith.dev $DEPS"))
+ /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 [40.2 kB]
- Fetched 131 kB in 0s (755 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[zarith.dev] synchronised (file:///src)

[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).

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

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

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- 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 ... 20622 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-8_amd64.deb ...
- Unpacking m4 (1.4.19-8) ...
- Setting up m4 (1.4.19-8) ...
2025-09-15 21:15.39 ---> saved as "bdefeee385986d0e2dba61189a9e438a679a6d1a06a7679e40e6dba1e0c31253"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 3 packages
  - install conf-m4 1
  - install dune    3.20.2
  - install gmp     6.3.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved gmp.6.3.0  (cached)
-> installed conf-m4.1
-> retrieved dune.3.20.2  (cached)
-> installed dune.3.20.2
-> installed gmp.6.3.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-15 21:18.38 ---> saved as "441ccf00b1eb22986f8aa4f35fe039ad1da2f228680fba1a6e0d92264bd20d45"

/src: (copy (src .) (dst /src))
2025-09-15 21:18.39 ---> saved as "3f8cf6e87c9bbdf94083e1b38986d4dbcb40dbeecd39251749a1bc0e41706baf"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.10/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -6-32-39 -g -I .zarith_top.objs/byte -I .zarith_top.objs/native -I /home/opam/.opam/4.10/lib/ocaml/compiler-libs -I .zarith.objs/byte -I .zarith.objs/native -intf-suffix .ml -no-alias-deps -opaque -o .zarith_top.objs/native/zarith_top.cmx -c -impl zarith_top.ml)
File "_none_", line 1:
Warning 58: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque
(cd _build/default && /usr/bin/bash -e -u -o pipefail -c 'env CC="gcc -O2 -fno-strict-aliasing -fwrapv -fPIC" LDFLAGS="-L/home/opam/.opam/4.10/lib/gmp/" CFLAGS="-I/home/opam/.opam/4.10/lib/gmp/" CPPFLAGS="-I/home/opam/.opam/4.10/lib/gmp/" ./configure --ocamllibdir /home/opam/.opam/4.10/lib/ocaml')
binary ocaml: found in /home/opam/.opam/4.10/bin
binary ocamlc: found in /home/opam/.opam/4.10/bin
binary ocamldep: found in /home/opam/.opam/4.10/bin
binary ocamlmklib: found in /home/opam/.opam/4.10/bin
binary ocamldoc: found in /home/opam/.opam/4.10/bin
binary gcc: found in /usr/bin
binary ocamlopt: found in /home/opam/.opam/4.10/bin
checking compilation with  -I/home/opam/.opam/4.10/lib/gmp/: working
include caml/mlvalues.h: found
library dynlink.cmxa: found
binary ocamlfind: not found
binary install: found in /usr/bin
OCaml's word size is 64
include gmp.h: found
library gmp: found
OCaml supports -bin-annot to produce documentation

detected configuration:

  native-code:          yes
  dynamic linking:      yes
  defines:              -DHAS_GMP 
  includes:             -I/home/opam/.opam/4.10/lib/ocaml -I/home/opam/.opam/4.10/lib/gmp/
  libraries:             -lgmp
  linker options:       -L/home/opam/.opam/4.10/lib/gmp/
  C options:            -I/home/opam/.opam/4.10/lib/gmp/
  installation path:    /home/opam/.opam/4.10/lib/ocaml
  installation method   install

configuration successful!
now type "make" to build
then type "make install" or "sudo make install" to install
2025-09-15 21:18.45 ---> saved as "0fca3e309fc0c97a5145db544a488fd1efc4201718835a0ccf089f500ab83cb0"
Job succeeded
2025-09-15 21:18.45: Job succeeded