2025-09-16 10:11.37: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.13 (9de5ec36fc0851f19985b235aa07d56661688155) (openbsd-amd64:openbsd-77-amd64-5.3_opam-2.4)
Base: openbsd-77-amd64-ocaml-5.3
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 openbsd-77-amd64-ocaml-5.3
# openbsd-77-amd64-5.3_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.4 /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 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 /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.20.2 gmp.6.3.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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 . /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
2025-09-16 10:11.37: Using cache hint "mirage/Zarith-openbsd-77-amd64-ocaml-5.3-openbsd-77-amd64-5.3_opam-2.4-546220e77d7d01b2438f37627cc4c71d"
2025-09-16 10:11.37: Using OBuilder spec:
((from openbsd-77-amd64-ocaml-5.3)
(comment openbsd-77-amd64-5.3_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas 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"))
(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 /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.20.2 gmp.6.3.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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.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 /home/opam/src))
(run (shell "cd /home/opam/src && 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 12:42.53: Waiting for worker…
2025-09-16 17:55.10: Got resource from pool OCluster
Building on oregano
All commits already cached
HEAD is now at 9de5ec3 revert a6ad837b (use ocamlc to test C compiler in configure)
(from openbsd-77-amd64-ocaml-5.3)
2025-09-16 17:55.10 ---> using "dc707c89317e57219dd7c32040190088ba567d26527ae4e5705249b0fb8a1108" from cache
/: (comment openbsd-77-amd64-5.3_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "doas ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-16 17:55.10 ---> using "4d9f2a8454ac13a719d2037eb6c4585f3abe585d262d4d52cd10fd3a6a878703" 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
2025-09-16 17:55.10 ---> using "bb11bdcc8731bf96bbd893c143001a8c2da00300f0748ab029cedf39ac58fbd1" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.7
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-16 17:55.10 ---> using "3e94658d8253b73c02953660f5bc81fa4c7c3f8596f6a9a76722eed615a3e4e9" from cache
/: (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
f6368c68f9..7949ff40d8 master -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc
<><> 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)
2025-09-16 17:55.10 ---> using "3f749ea8408b1e93591248115fe5d044639e8fc8c7e553330eb55a589e60a1a6" from cache
/: (copy (src zarith.opam) (dst /home/opam/src/./))
2025-09-16 17:56.08 ---> saved as "80e7ccd1d86f22ebd96b7c0085fefa02431c25013efa557bb2a0b6d064162eb6"
/: (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)
2025-09-16 17:57.04 ---> saved as "42502b0d449b63d3df5ea60234dd1782442872d21daffb8fbd4e203dbb3dffc0"
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-09-16 17:58.02 ---> saved as "6668e12b87240cd24a42e46610a61d80f98e141ddfe9963a905bfe19c3bfb1b8"
/: (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-base-compiler.5.3.0 ocaml-compiler.5.3.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.4 --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.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).
2025-09-16 17:59.06 ---> saved as "d39d47200c4304d2b1e90d6c5ba4068d84ad7e1d8d38a5d1468994379ed92489"
/: (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.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.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-m4.1
-> retrieved gmp.6.3.0 (cached)
-> 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-16 18:11.30 ---> saved as "37c660f2af5794e27b3f71513a747a62af4f8cc0e433b7b1e1021c25e4e808f6"
/: (copy (src .) (dst /home/opam/src))
2025-09-16 18:12.13 ---> saved as "0a7f47618ee4c970e3010e02aa449dd425272103d7f4b7da120e5cd981e1a8dd"
/: (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.3.0/lib/gmp/" CFLAGS="-I/home/opam/.opam/5.3.0/lib/gmp/" CPPFLAGS="-I/home/opam/.opam/5.3.0/lib/gmp/" ./configure --ocamllibdir /home/opam/.opam/5.3.0/lib/ocaml')
binary ocaml: found in /home/opam/.opam/5.3.0/bin
binary ocamlc: found in /home/opam/.opam/5.3.0/bin
binary ocamldep: found in /home/opam/.opam/5.3.0/bin
binary ocamlmklib: found in /home/opam/.opam/5.3.0/bin
binary ocamldoc: found in /home/opam/.opam/5.3.0/bin
binary cc: found in /usr/bin
binary ocamlopt: found in /home/opam/.opam/5.3.0/bin
checking compilation with -I/home/opam/.opam/5.3.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.3.0/lib/ocaml -I/home/opam/.opam/5.3.0/lib/gmp/
libraries: -lgmp
linker options: -L/home/opam/.opam/5.3.0/lib/gmp/
C options: -I/home/opam/.opam/5.3.0/lib/gmp/
installation path: /home/opam/.opam/5.3.0/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 18:13.03 ---> saved as "84b929f5e9c0a2d7981e26fde9e8dface7763c910bfd18e1e3c1617761474498"
Job succeeded
2025-09-16 18:13.04: Job succeeded