OrganisationsmirageZarithdf8969 (zarith-1.14)macos-homebrew-4.14_arm64_opam-2.5

macos-homebrew-4.14_arm64_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) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.5)
Base: macos-homebrew-ocaml-4.14
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 macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_arm64_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.5 ~/local/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 ./src/./
RUN opam pin add -yn zarith.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.21.1 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.5 --depext-only -y zarith.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . ./src
RUN cd ./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-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.5-6cbd2d06853e6b74e35fc140510abe6e"
2026-02-13 08:10.52: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_arm64_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 ./src/./))
(run (network host)
(shell "opam pin add -yn zarith.dev './src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.21.1 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y zarith.dev $DEPS"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst ./src))
(run (shell "cd ./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-13 18:32.43: Waiting for worker…
2026-02-13 21:12.26: Got resource from pool OCluster
Building on m1-worker-01
All commits already cached
HEAD is now at df8969d Dunify and be compatible with MirageOS 4 (for 1.14)


(from macos-homebrew-ocaml-4.14)
2026-02-13 21:12.27 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache


/: (comment macos-homebrew-4.14_arm64_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam"))
2026-02-13 21:12.27 ---> using "75b1629629d7f21c50a7e1e39b2ef83e2edb8ace81aab34254c0c8782b814749" 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.


This version of opam requires an update to the layout of /Users/mac1000/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=1 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2026-02-13 21:12.27 ---> using "a61e945ab7671a6fff400f946e3fe88df4d67a783ea1f56fa59dc21595ef1b19" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 4.14.2
2.5.0
2026-02-13 21:12.27 ---> using "11a9923a4c4f0ab256d15330129e4c4938459d2e6239eb4f7bdf0f2620300e09" from cache


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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
043b6ea343..302e116c40  master     -> origin/master
302e116c40 Merge pull request #29374 from shonfeder/release-dune-3.21.1


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository


Everything as up-to-date as possible


The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.4.0
- ocaml-config.3
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-13 21:12.27 ---> using "8e0a049cf56382e71efda2842d05633f0e6e6b1ee13eef2b96740d32a526d9ad" from cache


/: (copy (src zarith.opam) (dst ./src/./))
2026-02-13 21:12.28 ---> saved as "50a81b296de0667ce160768cfc1044bee4dbd68414d28d47ecc30ea73c553d3d"


/: (run (network host)
(shell "opam pin add -yn zarith.dev './src/./'"))
[zarith.dev] synchronised (file:///Users/mac1000/src)
zarith is now pinned to file:///Users/mac1000/src (version dev)
2026-02-13 21:12.39 ---> saved as "4b8f470f8a6bbcb3b6c27e75da2d6d4d145e744e9f3a773d04abf708bf239d4a"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2026-02-13 21:12.40 ---> saved as "62855efdaea09a4cf5037f8866d3763e7ae85c3f8ce9cdfef2312c11d558048a"


/: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.21.1 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y zarith.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[zarith.dev] synchronised (file:///Users/mac1000/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:
xz


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /opt/homebrew/bin/brew "install" "xz"
- ==> Fetching downloads for: xz
- ✔︎ Bottle Manifest xz (5.8.2)
- ✔︎ Bottle Manifest xz (5.8.2)
- ✔︎ Bottle xz (5.8.2)
- ==> Pouring xz--5.8.2.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/xz/5.8.2: 96 files, 2.7MB
- ==> Running `brew cleanup xz`...
- Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`.
- Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
# To update the current shell environment, run: eval $(opam env)
2026-02-13 21:13.01 ---> saved as "09b99022800402d3497633d813b3053479d9d67b3f1c61e6bfea53f0b1a61369"


/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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.3.0


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


/: (copy (src .) (dst ./src))
2026-02-13 21:14.05 ---> saved as "40b82b56b205b777701c914285da8cfce17f61bd7923925a1732ec8a9cfa2c48"


/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /bin/bash -e -u -o pipefail -c 'env CC="cc -O2 -fno-strict-aliasing -fwrapv -pthread" LDFLAGS="-L/Users/mac1000/.opam/4.14.2/lib/gmp/" CFLAGS="-I/Users/mac1000/.opam/4.14.2/lib/gmp/" CPPFLAGS="-I/Users/mac1000/.opam/4.14.2/lib/gmp/" ./configure --ocamllibdir /Users/mac1000/.opam/4.14.2/lib/ocaml')
binary ocaml: found in /Users/mac1000/.opam/4.14.2/bin
binary ocamlc: found in /Users/mac1000/.opam/4.14.2/bin
binary ocamldep: found in /Users/mac1000/.opam/4.14.2/bin
binary ocamlmklib: found in /Users/mac1000/.opam/4.14.2/bin
binary ocamldoc: found in /Users/mac1000/.opam/4.14.2/bin
binary cc: found in /usr/bin
binary ocamlopt: found in /Users/mac1000/.opam/4.14.2/bin
checking compilation with  -I/Users/mac1000/.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/Users/mac1000/.opam/4.14.2/lib/ocaml -I/Users/mac1000/.opam/4.14.2/lib/gmp/
libraries:             -lgmp
linker options:       -L/Users/mac1000/.opam/4.14.2/lib/gmp/
C options:            -I/Users/mac1000/.opam/4.14.2/lib/gmp/
installation path:    /Users/mac1000/.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
2026-02-13 21:14.07 ---> saved as "464520fdc15cf098adbf57a2b4aa49fe070f4ab6eb6b7f7cf3860bc85d3003e4"
Job succeeded
2026-02-13 21:14.11: Job succeeded