OrganisationsmirageZarithdf8969 (zarith-1.14)openbsd-77-amd64-5.4_opam-2.5

openbsd-77-amd64-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-02-13 08:10.52: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.14 (df8969d9bb95cffca13e31a615189ab27ada0684) (openbsd-amd64:openbsd-77-amd64-5.4_opam-2.5)
Base: openbsd-77-amd64-ocaml-5.4
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 openbsd-77-amd64-ocaml-5.4
# openbsd-77-amd64-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.5 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
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 /home/opam/src/./
RUN opam pin add -yn zarith.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./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.21.1 gmp.6.3.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 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 . /home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build


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


2026-02-13 08:10.52: Using cache hint "mirage/Zarith-openbsd-77-amd64-ocaml-5.4-openbsd-77-amd64-5.4_opam-2.5-231a2acca41ff60652134bff55312487"
2026-02-13 08:10.52: Using OBuilder spec:
((from openbsd-77-amd64-ocaml-5.4)
(comment openbsd-77-amd64-5.4_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas 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"))
(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 /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn zarith.dev '/home/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./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.21.1 gmp.6.3.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 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 /home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2026-02-13 08:10.52: Waiting for resource in pool OCluster
2026-02-14 03:04.37: Waiting for worker…
2026-02-14 06:38.22: Got resource from pool OCluster
Building on oregano
All commits already cached
HEAD is now at df8969d Dunify and be compatible with MirageOS 4 (for 1.14)


(from openbsd-77-amd64-ocaml-5.4)
2026-02-14 06:38.22 ---> using "8424522d1f78b81b26ba463ba357c8ca122e0f74070b621aa84fc80c68430631" from cache


/: (comment openbsd-77-amd64-5.4_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "doas ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-02-14 06:38.22 ---> using "cd72dc3a3c8ea2afd18b1257d8b5421d0f9a4dafb0a258b995fdf62c1e2a67c4" from cache


/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from file:///home/opam/opam-repository
2026-02-14 06:38.22 ---> using "25ee98d58d8c907869f6fd5004c258d71c5033e73edf1fe48b86a48a34773b77" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.7
The OCaml toplevel, version 5.4.0
2.5.0
2026-02-14 06:38.22 ---> using "b97072ad387d97fa49b3fc7ece6dbbedda3ad8df05946df9b57bbb8c1e1ea296" from cache


/: (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
93a7bce43a..302e116c40  master     -> origin/master
302e116c40 Merge pull request #29374 from shonfeder/release-dune-3.21.1


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


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-02-14 06:38.22 ---> using "8c01c926ad87a914679da1775f06ccb28a015a3c5bc0ec52bba0c455972c112a" from cache


/: (copy (src zarith.opam) (dst /home/opam/src/./))
2026-02-14 06:39.04 ---> saved as "87c56b3afe178e5f4681e8d4bbf787e7e250cf21cb4e7a516737f27be05e0860"


/: (run (network host)
(shell "opam pin add -yn zarith.dev '/home/opam/src/./'"))
[zarith.dev] synchronised (file:///home/opam/src)
zarith is now pinned to file:///home/opam/src (version dev)
2026-02-14 06:39.48 ---> saved as "067b1f07519ac12eef8ec4b9af5abf44af6f95f11b74757aef6463f72bd78a51"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2026-02-14 06:40.45 ---> saved as "790ec5a5321714d7974bbbd45cd375b853a49113d9aa7e793903e683b74d0356"


/: (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.21.1 gmp.6.3.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 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"))
[WARNING] Unknown update command for bsd, skipping system update


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


[NOTE] Package ocaml-options-vanilla 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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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).
# To update the current shell environment, run: eval $(opam env)
2026-02-14 06:41.47 ---> saved as "a4950cd1fdb1f41c184df21b195a7c2695672dd4a76c6f592cde7464417dffc9"


/: (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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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.21.1
- install gmp     6.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-m4.1
-> retrieved gmp.6.3.0  (cached)
-> retrieved dune.3.21.1  (cached)
-> installed dune.3.21.1
-> installed gmp.6.3.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-14 06:48.08 ---> saved as "f1d7e19a621ebed7665abc8753a9b836259990adbeb80c7984c6b20e61e8bb18"


/: (copy (src .) (dst /home/opam/src))
2026-02-14 06:49.05 ---> saved as "291f61fe67e33302129f162c029ce413eeeb715e2aa010d2ac447cf97ce829a2"


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


configuration successful!
now type "make" to build
then type "make install" or "sudo make install" to install
2026-02-14 06:50.05 ---> saved as "663de8b1f05bce05f7277adaa7349d1748991d8686abaa318f8e04b93020e13a"
Job succeeded
2026-02-14 06:50.05: Job succeeded