2025-09-16 10:11.37: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.13 (9de5ec36fc0851f19985b235aa07d56661688155) (linux-arm64:debian-13-5.3_arm32_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.3@sha256:0c737070f8d708c853d586b4e7400e8f90d5bf66ec7d0efdec0f599f18428ed1
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@sha256:0c737070f8d708c853d586b4e7400e8f90d5bf66ec7d0efdec0f599f18428ed1
# debian-13-5.3_arm32_opam-2.4
USER 1000:1000
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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.2.1-5 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-option-bytecode-only.1 ocaml-options-vanilla.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-16 10:11.37: Using cache hint "mirage/Zarith-ocaml/opam:debian-13-ocaml-5.3@sha256:0c737070f8d708c853d586b4e7400e8f90d5bf66ec7d0efdec0f599f18428ed1-debian-13-5.3_arm32_opam-2.4-a00255270d6769313dd699d490af5c76"
2025-09-16 10:11.37: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.3@sha256:0c737070f8d708c853d586b4e7400e8f90d5bf66ec7d0efdec0f599f18428ed1)
(comment debian-13-5.3_arm32_opam-2.4)
(user (uid 1000) (gid 1000))
(shell /usr/bin/linux32 /bin/sh -c)
(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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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.2.1-5 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-option-bytecode-only.1 ocaml-options-vanilla.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-16 10:11.37: Waiting for resource in pool OCluster
2025-09-16 10:51.22: Waiting for worker…
2025-09-16 11:08.01: Got resource from pool OCluster
Building on okypous.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@sha256:0c737070f8d708c853d586b4e7400e8f90d5bf66ec7d0efdec0f599f18428ed1)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.3@sha256:0c737070f8d708c853d586b4e7400e8f90d5bf66ec7d0efdec0f599f18428ed1' locally
docker.io/ocaml/opam@sha256:0c737070f8d708c853d586b4e7400e8f90d5bf66ec7d0efdec0f599f18428ed1: Pulling from ocaml/opam
c8d34a0a2fb8: Pulling fs layer
c8d34a0a2fb8: Verifying Checksum
c8d34a0a2fb8: Download complete
c8d34a0a2fb8: Pull complete
Digest: sha256:0c737070f8d708c853d586b4e7400e8f90d5bf66ec7d0efdec0f599f18428ed1
Status: Downloaded newer image for ocaml/opam@sha256:0c737070f8d708c853d586b4e7400e8f90d5bf66ec7d0efdec0f599f18428ed1
2025-09-16 11:08.01 ---> using "d6b90d76f5d81d26efe261548bbf1ff877047571e2e9f531e3cf6e98cc5b2589" from cache
/: (comment debian-13-5.3_arm32_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (shell /usr/bin/linux32 /bin/sh -c)
/: (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-16 11:08.01 ---> using "f189098d529f9f138a7a3d3226530c96ff39d9882f4c20c2c67fca52b40c10d2" 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-16 11:08.01 ---> using "00e28621c987653d472fd8fe0cdc0eca8939a7f0cc24c16df4e4efb99629b1a8" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-138-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-16 11:08.01 ---> using "3f6ffa8fb830d97fbc68caf5c3e6811dbd6ad2b9ea407e0b2b75ad694f05506a" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-16 11:08.01 ---> using "a9ea30cb967f48284bd8b6eaad52d263be5b485ba71b82f40249c2d384dc3f66" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
bcac5d1731..7949ff40d8 master -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc
<><> 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-16 11:08.01 ---> using "afe500808e7fb08e1a70455564238e0ee91399b9fc69dce5c91f77ca36a73e45" from cache
/src: (copy (src zarith.opam) (dst ./))
2025-09-16 11:08.04 ---> saved as "cabf231898e0c1b57d4d66b1f1441c8f60fe9b6e7c8a012f10ae1d168518e462"
/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-16 11:08.07 ---> saved as "d0bd739b284336ef4186a59d22b03621940b0c84a8896915214c7793b55b5281"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-16 11:08.08 ---> saved as "d87443d1002a2789490c944c7e9d3b1da823f7f6cfbed80989a855320ca200b9"
/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.2.1-5 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-option-bytecode-only.1 ocaml-options-vanilla.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 armhf Packages [38.5 kB]
- Fetched 129 kB in 0s (510 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[zarith.dev] synchronised (file:///src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-option-bytecode-only is already installed (current version is 1).
[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-base-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 ... 20379 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-8_armhf.deb ...
- Unpacking m4 (1.4.19-8) ...
- Setting up m4 (1.4.19-8) ...
2025-09-16 11:08.31 ---> saved as "a9799d2de2c2c0a893450ba17f3f34db88e5f514e12f6e23487a929d7d1f1346"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-option-bytecode-only is already installed (current version is 1).
[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-base-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.2.1-5
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved gmp.6.2.1-5 (cached)
-> installed conf-m4.1
-> retrieved dune.3.20.2 (cached)
-> installed dune.3.20.2
-> installed gmp.6.2.1-5
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-16 11:10.02 ---> saved as "135a8eba8dd7aa8e193c74ef4f3f5c466d7e2ec8fcd7d5345f544ae5a69fb8c0"
/src: (copy (src .) (dst /src))
2025-09-16 11:10.04 ---> saved as "eb3eef37a9f012cf13a970adcfdaf491712dc63468f1eabc449d2a56f7a7856b"
/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: not found
checking compilation with -I/home/opam/.opam/5.3/lib/gmp/: working
include caml/mlvalues.h: found
binary ocamlfind: not found
binary install: found in /usr/bin
OCaml's word size is 32
include gmp.h: found
library gmp: found
OCaml supports -bin-annot to produce documentation
detected configuration:
native-code: no
dynamic linking: no
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-16 11:10.10 ---> saved as "c40896e1920246b6bd6d5b47eaed9ed06330b2a5c5e46fadca7d831f0d066c7b"
Job succeeded
2025-09-16 11:10.10: Job succeeded