OrganisationsmirageZarith9de5ec ()debian-13-5.3+flambda_opam-2.4

debian-13-5.3+flambda_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-5.3+flambda_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.3-flambda@sha256:922425f1f3285001b919232acc81eeedc41cd3c961f7e563da788f8e2f8a17bd
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-5.3-flambda@sha256:922425f1f3285001b919232acc81eeedc41cd3c961f7e563da788f8e2f8a17bd
# debian-13-5.3+flambda_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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-m4.1 dune.3.20.2 gmp.6.3.0 ocaml.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-variants.5.3.0+options"
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-5.3-flambda@sha256:922425f1f3285001b919232acc81eeedc41cd3c961f7e563da788f8e2f8a17bd-debian-13-5.3+flambda_opam-2.4-6cec81a9637d6abe11476bb1382b9a01"
2025-09-15 18:39.39: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.3-flambda@sha256:922425f1f3285001b919232acc81eeedc41cd3c961f7e563da788f8e2f8a17bd)
 (comment debian-13-5.3+flambda_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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-m4.1 dune.3.20.2 gmp.6.3.0 ocaml.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-variants.5.3.0+options")
 (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.18: Waiting for worker…
2025-09-15 21:14.56: 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-5.3-flambda@sha256:922425f1f3285001b919232acc81eeedc41cd3c961f7e563da788f8e2f8a17bd)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.3-flambda@sha256:922425f1f3285001b919232acc81eeedc41cd3c961f7e563da788f8e2f8a17bd' locally
docker.io/ocaml/opam@sha256:922425f1f3285001b919232acc81eeedc41cd3c961f7e563da788f8e2f8a17bd: Pulling from ocaml/opam
ed2535a29e77: Pulling fs layer
ed2535a29e77: Waiting
ed2535a29e77: Verifying Checksum
ed2535a29e77: Download complete
ed2535a29e77: Pull complete
Digest: sha256:922425f1f3285001b919232acc81eeedc41cd3c961f7e563da788f8e2f8a17bd
Status: Downloaded newer image for ocaml/opam@sha256:922425f1f3285001b919232acc81eeedc41cd3c961f7e563da788f8e2f8a17bd
2025-09-15 21:14.57 ---> using "3cd8646ebc4fbf3beadd147b48b84e03aab7455d56b048afff82d850e53757c0" from cache

/: (comment debian-13-5.3+flambda_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:14.57 ---> using "d89a63f8aeb0736bca6b31900a79aab453f363f5d92c58f083542339f0555982" 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:14.57 ---> using "db8b424d74072ad574de4fd011b258607cec2895be11ffac0fa042edcc6dd7d0" from cache

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

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-09-15 21:14.57 ---> using "751085e34de07c330f02f31bd49266959e22d3b8959807354fb4c5a8c32ae234" 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

Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-15 21:14.57 ---> using "aed59e988238d8975f87253a132404a24245349c2f207c0a3e738011a8050c26" from cache

/src: (copy (src zarith.opam) (dst ./))
2025-09-15 21:14.58 ---> saved as "83e1da7f852587d06583588189667baf62b6699b3284458abb7756c975882ae3"

/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.01 ---> saved as "c5aade34a881a130580ac3a48759f84a83e57c069005a31b5081ffccb31122a8"

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

/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-m4.1 dune.3.20.2 gmp.6.3.0 ocaml.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-variants.5.3.0+options")

/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 (841 kB/s)
- Reading package lists...
- 

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

[NOTE] Package ocaml-variants is already installed (current version is 5.3.0+options).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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 ... 20653 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.25 ---> saved as "819a0d196a829d00376a934d4504235c117515f2d8a41c37629283ad6c8f21f1"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-variants is already installed (current version is 5.3.0+options).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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.53 ---> saved as "62576db99f78c67f94686fee796be8427ac35e2178d10a6c083bf3734b0648f6"

/src: (copy (src .) (dst /src))
2025-09-15 21:18.54 ---> saved as "aee16f999c1fd1f4f69b8088b514febc3a64d0ea27d1dbca7d7f8d5cb5a0d802"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /usr/bin/bash -e -u -o pipefail -c 'env CC="gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread" LDFLAGS="-L/home/opam/.opam/5.3/lib/gmp/" CFLAGS="-I/home/opam/.opam/5.3/lib/gmp/" CPPFLAGS="-I/home/opam/.opam/5.3/lib/gmp/" ./configure --ocamllibdir /home/opam/.opam/5.3/lib/ocaml')
binary ocaml: found in /home/opam/.opam/5.3/bin
binary ocamlc: found in /home/opam/.opam/5.3/bin
binary ocamldep: found in /home/opam/.opam/5.3/bin
binary ocamlmklib: found in /home/opam/.opam/5.3/bin
binary ocamldoc: found in /home/opam/.opam/5.3/bin
binary gcc: found in /usr/bin
binary ocamlopt: found in /home/opam/.opam/5.3/bin
checking compilation with  -I/home/opam/.opam/5.3/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/5.3/lib/ocaml -I/home/opam/.opam/5.3/lib/gmp/
  libraries:             -lgmp
  linker options:       -L/home/opam/.opam/5.3/lib/gmp/
  C options:            -I/home/opam/.opam/5.3/lib/gmp/
  installation path:    /home/opam/.opam/5.3/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:19.00 ---> saved as "02b7843149f485eb828aa481b10e5868a0f12c4cc257b62198aa85a03e66eb89"
Job succeeded
2025-09-15 21:19.00: Job succeeded