2024-05-10 09:29.05: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.13 (9de5ec36fc0851f19985b235aa07d56661688155) (freebsd-x86_64:freebsd-4.14_opam-2.1)
Base: freebsd-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 freebsd-ocaml-4.14
# freebsd-4.14_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.1 /usr/local/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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 zarith.opam ./
RUN opam pin add -yn zarith.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.15.2 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.1 --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
2024-05-10 09:29.05: Using cache hint "mirage/Zarith-freebsd-freebsd-ocaml-4.14-freebsd-4.14_opam-2.1-8f9ecc2b868af2d4d80adc542a1f6bae"
2024-05-10 09:29.05: Using OBuilder spec:
((from freebsd-ocaml-4.14)
(comment freebsd-4.14_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.1 /usr/local/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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src zarith.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn zarith.dev './'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.15.2 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.1 --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"))
)
2024-05-10 09:29.05: Waiting for resource in pool OCluster
2024-05-10 14:51.06: Waiting for worker…
2024-05-10 16:33.50: Got resource from pool OCluster
Building on spring
All commits already cached
HEAD is now at 9de5ec3 revert a6ad837b (use ocamlc to test C compiler in configure)
(from freebsd-ocaml-4.14)
2024-05-10 16:28.19 ---> using "57eeeabfec88366322a66f228a693df277d348dc99f1cc2a63749102c5e1e405" from cache
/: (comment freebsd-4.14_opam-2.1)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.1 /usr/local/bin/opam"))
2024-05-10 16:28.20 ---> using "e9fe3959c02c848d2766600d2fd363dc0faa291980b23311949b4972bc5ea188" from cache
/src: (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 git+file:///home/opam/opam-repository
2024-05-10 16:28.20 ---> using "dba2ef0de478afdbd43a6552d310929f1c3c3ee6b86c81b7ff6f06256f6544c3" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.0-RELEASE-p5
The OCaml toplevel, version 4.14.2
2.1.5
2024-05-10 16:28.21 ---> using "fa8577a82f6c8311031f5ac9ddbcefef5d36d0876493f17a1dc5aa96593235c6" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-10 16:28.21 ---> using "1b1f323c7946b3615d1855d65edd6179caf157152d4670670539e49efbdc1d2e" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
69e073a577..20baedeee4 master -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Constructing initial basis...
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.3.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2024-05-10 16:28.21 ---> using "8500110bb34f5fa0eecc8ffdce35dbb8d679b67af89bb1cba1cce8086b8f5e32" from cache
/src: (copy (src zarith.opam) (dst ./))
2024-05-10 16:28.24 ---> saved as "43c0637771968703ecdc58d0f90567f2a2491ad75ed57ad1ff4616f249e6d165"
/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)
2024-05-10 16:28.50 ---> saved as "d995f4b4c704af47e5ef23765f6c1da660b33e441d3b3e0c07c63b23d2826cdf"
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.15.2 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.1 --depext-only -y zarith.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[zarith.dev] synchronised (no changes)
[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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 19
Constructing conflict graph...
Conflict graph has 13 + 6 = 19 vertices
2024-05-10 16:29.38 ---> saved as "44b4a4f57884578427d38e5f7c79a60b1a6a4ec610be738b90fe67ff584fcb43"
/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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 13
Constructing conflict graph...
Conflict graph has 9 + 5 = 14 vertices
The following actions will be performed:
∗ install dune 3.15.2
∗ install conf-m4 1
∗ install gmp 6.2.1-5
===== ∗ 3 =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
∗ installed conf-m4.1
⬇ retrieved dune.3.15.2 (cached)
⬇ retrieved gmp.6.2.1-5 (https://github.com/mirage/ocaml-gmp/releases/download/6.2.1-5/gmp-6.2.1-5.tbz)
∗ installed dune.3.15.2
∗ installed gmp.6.2.1-5
Done.
2024-05-10 16:44.12 ---> saved as "86ab61871ef5ed3e51282a2e95af6c5b6369cc771b2ecc11168cf86482b0731f"
/src: (copy (src .) (dst /src))
2024-05-10 16:44.21 ---> saved as "8699ee15d9c7f4e6dde8392a64e54cc6b352086632e77253e3fe4ebdc129b2bb"
/src: (run (shell "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
2024-05-10 16:44.58 ---> saved as "98652aa5281a1402ac42c3d4ec8149e64f0835706ee1f32b2de412d4133c8e3c"
Job succeeded
2024-05-10 16:50.30: Job succeeded