OrganisationsmirageZarithdf8969 (zarith-1.14)debian-13-4.14_riscv64_opam-2.5

debian-13-4.14_riscv64_opam-2.5

Link Copied
Code Copied

Logs

2026-02-15 17:59.58: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.14 (df8969d9bb95cffca13e31a615189ab27ada0684) (linux-riscv64:debian-13-4.14_riscv64_opam-2.5)
Base: ocaml/opam:debian-13-ocaml-4.14@sha256:086fa59fdd107275f99b94fb9db2705ec25ff18d30d73dffd032ff012374ec28
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/Zarith.git" -b "zarith-1.14" && cd "Zarith" && git reset --hard df8969d9
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:086fa59fdd107275f99b94fb9db2705ec25ff18d30d73dffd032ff012374ec28
# debian-13-4.14_riscv64_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 302e116c4009da2f5a31c350a57c8b3c9b27289e || git fetch origin master) && git reset -q --hard 302e116c4009da2f5a31c350a57c8b3c9b27289e && 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.21.1 gmp.6.2.1-5 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --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


2026-02-15 17:59.58: Using cache hint "mirage/Zarith-ocaml/opam:debian-13-ocaml-4.14@sha256:086fa59fdd107275f99b94fb9db2705ec25ff18d30d73dffd032ff012374ec28-debian-13-4.14_riscv64_opam-2.5-23262d260e0950a1cab047f129f16aa1"
2026-02-15 17:59.58: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:086fa59fdd107275f99b94fb9db2705ec25ff18d30d73dffd032ff012374ec28)
(comment debian-13-4.14_riscv64_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.5 /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 302e116c4009da2f5a31c350a57c8b3c9b27289e || git fetch origin master) && git reset -q --hard 302e116c4009da2f5a31c350a57c8b3c9b27289e && 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.21.1 gmp.6.2.1-5 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.5 --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"))
)


2026-02-15 17:59.58: Waiting for resource in pool OCluster
2026-02-17 22:02.21: Waiting for worker…
2026-02-18 11:03.34: Got resource from pool OCluster
Building on riscv-bm-04.sw.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/Zarith.git-552a6ed06f1920b85bff3c34d2d8f06f7a1b9554/.git/
HEAD is now at df8969d Dunify and be compatible with MirageOS 4 (for 1.14)


(from ocaml/opam:debian-13-ocaml-4.14@sha256:086fa59fdd107275f99b94fb9db2705ec25ff18d30d73dffd032ff012374ec28)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:086fa59fdd107275f99b94fb9db2705ec25ff18d30d73dffd032ff012374ec28' locally
docker.io/ocaml/opam@sha256:086fa59fdd107275f99b94fb9db2705ec25ff18d30d73dffd032ff012374ec28: Pulling from ocaml/opam
618efd37f747: Already exists
807a8291ddb0: Already exists
2e2279de5c73: Already exists
aae7dc742810: Already exists
3cec207aa14a: Already exists
18b12c1acb88: Already exists
acbfc9fbdbf8: Already exists
a8a6e0657412: Already exists
8acc48d79cdd: Already exists
d7bfca1bdcee: Already exists
f5767448fecb: Already exists
9e4f850c79b8: Already exists
b74c0ffab381: Already exists
e4a5032c37ab: Already exists
1b54e9b68277: Already exists
b98aec32a95b: Already exists
f5bfe2af8178: Already exists
1cfb64d28ca5: Already exists
e3acd056c8ee: Already exists
6960f2aaef1f: Already exists
c3964517f3bc: Already exists
3c0a0b6999de: Already exists
4f4fb700ef54: Already exists
5ce14d7970b4: Already exists
bb3bc8516da4: Already exists
b3a87d32bba2: Already exists
1762f27d436d: Already exists
99320947d43f: Already exists
c4db19486c3c: Already exists
992d9d59969f: Already exists
637e0e20ec7c: Already exists
47840a848071: Already exists
2a8e2f9b5e4e: Already exists
cc9789c8ffe1: Already exists
23bf8b7fd7aa: Already exists
a99490d260ea: Already exists
83cc3b894b2f: Already exists
fb2c91aceb82: Already exists
e0e3fe006985: Already exists
1cd1d61c072e: Already exists
7f2574212212: Already exists
0c352bce2878: Pulling fs layer
4b42b6327812: Pulling fs layer
4825649bcb6c: Pulling fs layer
165bae4cdcd1: Pulling fs layer
165bae4cdcd1: Waiting
4b42b6327812: Verifying Checksum
4b42b6327812: Download complete
4825649bcb6c: Download complete
165bae4cdcd1: Verifying Checksum
165bae4cdcd1: Download complete
0c352bce2878: Verifying Checksum
0c352bce2878: Download complete
0c352bce2878: Pull complete
4b42b6327812: Pull complete
4825649bcb6c: Pull complete
165bae4cdcd1: Pull complete
Digest: sha256:086fa59fdd107275f99b94fb9db2705ec25ff18d30d73dffd032ff012374ec28
Status: Downloaded newer image for ocaml/opam@sha256:086fa59fdd107275f99b94fb9db2705ec25ff18d30d73dffd032ff012374ec28
2026-02-18 11:03.36 ---> using "30f11627f66dbe7015502ba0ff9e8b75fc49edb7fa29043d7404f0fcb856faef" from cache


/: (comment debian-13-4.14_riscv64_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-02-18 11:03.36 ---> using "6fcce6677623e30f0e2acd7b6f11086184b07b7e8436dfff5ab82b7743d757dc" 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
2026-02-18 11:03.36 ---> using "0f87d6bfb159a53cabf7e51c91eeb23dc7a6494f776224772142260aa9cc1e7c" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.10.113-scw1
The OCaml toplevel, version 4.14.2
2.5.0
2026-02-18 11:03.36 ---> using "76fddf3cf7a7b40f873431325fa3ec513eb51bf1a93a7c0093148abf5ad2f1d6" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-02-18 11:03.36 ---> using "c6569a00a238001cd887ec7c7918fb872637a19a77c2bf41e0a7e19ee509296a" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 302e116c4009da2f5a31c350a57c8b3c9b27289e || git fetch origin master) && git reset -q --hard 302e116c4009da2f5a31c350a57c8b3c9b27289e && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
340ee6fd1f..302e116c40  master     -> origin/master
302e116c40 Merge pull request #29374 from shonfeder/release-dune-3.21.1


<><> 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.4.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)
2026-02-18 11:03.36 ---> using "20fec71f41efc626f72d38cc30281ccd172f4527217ad28094f3d2d6e241d75a" from cache


/src: (copy (src zarith.opam) (dst ./))
2026-02-18 11:03.37 ---> saved as "689b9d2a3f57e77cbad8eded95e425611429aee12a10d91f79019cc186ce51d5"


/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)
2026-02-18 11:03.44 ---> saved as "0b2a63252151a438b87b3332ee196071a89a333903fcb49aae7b41db79607edf"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-02-18 11:03.45 ---> saved as "9dff2436fdaccce7ea0d97c7db6e0e57eb3f046fc05533ba45188154947a0550"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.21.1 gmp.6.2.1-5 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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.5 --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 riscv64 Packages [99.5 kB]
- Fetched 190 kB in 0s (401 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-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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 ... 20701 files and directories currently installed.)
- Preparing to unpack .../m4_1.4.19-8_riscv64.deb ...
- Unpacking m4 (1.4.19-8) ...
- Setting up m4 (1.4.19-8) ...
# To update the current shell environment, run: eval $(opam env)
2026-02-18 11:04.42 ---> saved as "809017d56d9023901b2b9307eb2fc65c7f4e6706b9737300b2fb6556ff444667"


/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-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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.21.1
- install gmp     6.2.1-5


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-m4.1
-> retrieved gmp.6.2.1-5  (https://opam.ocaml.org/cache)
-> retrieved dune.3.21.1  (cached)
-> installed dune.3.21.1
-> installed gmp.6.2.1-5
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-18 11:13.19 ---> saved as "5e4a1d102dfdca3bfdc7cfa6adc5dd3a1484e9543d1533087d1e995c70ff7a70"


/src: (copy (src .) (dst /src))
2026-02-18 11:13.20 ---> saved as "d8f0ab1ed5b2614ab577f693abbf1b042bbc19445178b874ed69a55a7ea72416"


/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 -pthread -fPIC" LDFLAGS="-L/home/opam/.opam/4.14/lib/gmp/" CFLAGS="-I/home/opam/.opam/4.14/lib/gmp/" CPPFLAGS="-I/home/opam/.opam/4.14/lib/gmp/" ./configure --ocamllibdir /home/opam/.opam/4.14/lib/ocaml')
binary ocaml: found in /home/opam/.opam/4.14/bin
binary ocamlc: found in /home/opam/.opam/4.14/bin
binary ocamldep: found in /home/opam/.opam/4.14/bin
binary ocamlmklib: found in /home/opam/.opam/4.14/bin
binary ocamldoc: found in /home/opam/.opam/4.14/bin
binary gcc: found in /usr/bin
binary ocamlopt: found in /home/opam/.opam/4.14/bin
checking compilation with  -I/home/opam/.opam/4.14/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.14/lib/ocaml -I/home/opam/.opam/4.14/lib/gmp/
libraries:             -lgmp
linker options:       -L/home/opam/.opam/4.14/lib/gmp/
C options:            -I/home/opam/.opam/4.14/lib/gmp/
installation path:    /home/opam/.opam/4.14/lib/ocaml
installation method   install


configuration successful!
now type "make" to build
then type "make install" or "sudo make install" to install
2026-02-18 11:13.37 ---> saved as "6dd8bcee52cb26de68b309d0d91cc0dbc02eb12006eb9bdfbb28d1e8e84b73a7"
Job succeeded
2026-02-18 11:13.37: Job succeeded