OrganisationsmirageZarith9de5ec ()openbsd-77-amd64-4.14_opam-2.4

openbsd-77-amd64-4.14_opam-2.4

Link Copied
Code Copied

Logs

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-4.14_opam-2.4)
Base: openbsd-77-amd64-ocaml-4.14
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-4.14
# openbsd-77-amd64-4.14_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-threads.base base-unix.base conf-m4.1 dune.3.20.2 gmp.6.3.0 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.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-4.14-openbsd-77-amd64-4.14_opam-2.4-7cdd644a1983e0d7b921e8bf67fd2ecb"
2025-09-16 10:11.37: Using OBuilder spec:
((from openbsd-77-amd64-ocaml-4.14)
(comment openbsd-77-amd64-4.14_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-threads.base base-unix.base conf-m4.1 dune.3.20.2 gmp.6.3.0 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.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.54: Waiting for worker…
2025-09-16 17:55.53: 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-4.14)
2025-09-16 17:55.53 ---> using "00579f8dea230f94ca5972e50ed0dc70167d1c0e96cfe76e645642677774f17f" from cache


/: (comment openbsd-77-amd64-4.14_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.53 ---> using "8054e5d0929fce63b2e622c1fc2caefa9b5f6e503f9fc7599e0bc40c0bb8a3e7" 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.53 ---> using "8a35e9584a9ed6dcc739329957f608077d9c3bd6b56dee5b8d5c3bdd8dab57f7" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.7
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-16 17:55.53 ---> using "b0cd4eee5840b9ccd2075fddbf7c93660c8c159436f71f3bf2f9c12998bdaf67" 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


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.3.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)
2025-09-16 17:55.53 ---> using "e4e1c4decce7d53697f4f6091c56041d20c86dfb4927859059ea98d18c3361d2" from cache


/: (copy (src zarith.opam) (dst /home/opam/src/./))
2025-09-16 17:56.50 ---> saved as "d04203916501d0761344635777e64c11f13c6b57abe5d414f3dcd8d3aff7aefa"


/: (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.45 ---> saved as "fad42099d07a5b1beed61101f49d39bbd309b92a21a990bac849c93f5c77ecd6"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-09-16 17:58.43 ---> saved as "3a98c2b1d4b58b8f03721d27eafc15260d2e305bfb0557fcafe16982857ff7cd"


/: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.20.2 gmp.6.3.0 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.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 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).
2025-09-16 17:59.47 ---> saved as "e70bf9d4dfa7d403f7fae18b76322857e06c81abc2f33d2d0a9204ed9684e860"


/: (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.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.07 ---> saved as "a1f4690bb9310eff78a39cb06193918f7c3bfc5a149b8a7635007af4a9fc4f5b"


/: (copy (src .) (dst /home/opam/src))
2025-09-16 18:12.05 ---> saved as "67550aa109389d1f6d359b7a9d5202e75fdc8c4f189f371edefcba3f788331a6"


/: (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 -pthread -fPIC" LDFLAGS="-L/home/opam/.opam/4.14.2/lib/gmp/" CFLAGS="-I/home/opam/.opam/4.14.2/lib/gmp/" CPPFLAGS="-I/home/opam/.opam/4.14.2/lib/gmp/" ./configure --ocamllibdir /home/opam/.opam/4.14.2/lib/ocaml')
binary ocaml: found in /home/opam/.opam/4.14.2/bin
binary ocamlc: found in /home/opam/.opam/4.14.2/bin
binary ocamldep: found in /home/opam/.opam/4.14.2/bin
binary ocamlmklib: found in /home/opam/.opam/4.14.2/bin
binary ocamldoc: found in /home/opam/.opam/4.14.2/bin
binary cc: found in /usr/bin
binary ocamlopt: found in /home/opam/.opam/4.14.2/bin
checking compilation with  -I/home/opam/.opam/4.14.2/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.2/lib/ocaml -I/home/opam/.opam/4.14.2/lib/gmp/
libraries:             -lgmp
linker options:       -L/home/opam/.opam/4.14.2/lib/gmp/
C options:            -I/home/opam/.opam/4.14.2/lib/gmp/
installation path:    /home/opam/.opam/4.14.2/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.07 ---> saved as "ef5f401b58529382dc1e0454309ee0e9a17aaec8a8b2914feeb4a31246d1e609"
Job succeeded
2025-09-16 18:13.07: Job succeeded