OrganisationsmirageZarithdf8969 (zarith-1.14)macos-homebrew-5.4_opam-2.5

macos-homebrew-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) (macos-x86_64:macos-homebrew-5.4_opam-2.5)
Base: macos-homebrew-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 macos-homebrew-ocaml-5.4
# macos-homebrew-5.4_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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-m4.1 dune.3.21.1 gmp.6.2.1-5 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 . ./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-5.4-macos-homebrew-5.4_opam-2.5-438abbd8ba653845e90ab46958cc7e64"
2026-02-13 08:10.52: Using OBuilder spec:
((from macos-homebrew-ocaml-5.4)
(comment macos-homebrew-5.4_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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-m4.1 dune.3.21.1 gmp.6.2.1-5 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 /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-14 01:42.34: Waiting for worker…
2026-02-14 04:22.51: Got resource from pool OCluster
Building on i7-worker-02
All commits already cached
HEAD is now at df8969d Dunify and be compatible with MirageOS 4 (for 1.14)


(from macos-homebrew-ocaml-5.4)
2026-02-14 04:22.52 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache


/: (comment macos-homebrew-5.4_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-14 04:22.52 ---> using "0e9d0f8ed44ab1f77ef30c8d8456629e6c63f869a24319cbb64657a84e315111" 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-14 04:22.52 ---> using "06effe220fa63e5f9fae9bf4643255961d59bf292a94931a0e1dd6d81a9fa7c6" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 5.4.0
2.5.0
2026-02-14 04:22.53 ---> using "78e99acc02a52806060d0075d40f6ea681e9ef77eb60ecbbaff6e5155272646b" 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
4c9d80b731..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


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


/: (copy (src zarith.opam) (dst ./src/./))
2026-02-14 04:22.55 ---> saved as "ec5bf5ca81e770c42048d3b4dff0e1da7514913490574e1ba65435e1c6ddd1c7"


/: (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-14 04:23.13 ---> saved as "6e21914a213221cc75965fdf0d1f638d89c353ef15d6877c0d3de6cdbf178e12"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2026-02-14 04:23.15 ---> saved as "5bec61771c151b419d157b99b2ac97ec17a043d34cfe8fda64e200f5f0d3665e"


/: (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.2.1-5 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 /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"))
+ /usr/local/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 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 system packages will first need to be installed:
xz


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


+ /usr/local/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.sequoia.bottle.tar.gz
- 🍺  /usr/local/Cellar/xz/5.8.2: 96 files, 2.4MB
- ==> 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-14 04:23.49 ---> saved as "13bc764acebdc8b9018975cf43b1c22ea17081a8533cfba198948f3d15047e5b"


/: (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 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.2.1-5


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved gmp.6.2.1-5  (cached)
-> installed conf-m4.1
-> retrieved dune.3.21.1  (cached)
-> installed dune.3.21.1
-> installed gmp.6.2.1-5
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-14 04:25.56 ---> saved as "463a10f88ffa0fdb36277ea3cac8b4ba047b0d2f1a11c66212be91d4ee4e2c8b"


/: (copy (src .) (dst ./src))
2026-02-14 04:25.58 ---> saved as "694b377995120908baec096aa3e38bd21d2f33c4c40d4655fc8eca4fd8088f78"


/: (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/5.4.0/lib/gmp/" CFLAGS="-I/Users/mac1000/.opam/5.4.0/lib/gmp/" CPPFLAGS="-I/Users/mac1000/.opam/5.4.0/lib/gmp/" ./configure --ocamllibdir /Users/mac1000/.opam/5.4.0/lib/ocaml')
binary ocaml: found in /Users/mac1000/.opam/5.4.0/bin
binary ocamlc: found in /Users/mac1000/.opam/5.4.0/bin
binary ocamldep: found in /Users/mac1000/.opam/5.4.0/bin
binary ocamlmklib: found in /Users/mac1000/.opam/5.4.0/bin
binary ocamldoc: found in /Users/mac1000/.opam/5.4.0/bin
binary cc: found in /usr/bin
binary ocamlopt: found in /Users/mac1000/.opam/5.4.0/bin
checking compilation with  -I/Users/mac1000/.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/Users/mac1000/.opam/5.4.0/lib/ocaml -I/Users/mac1000/.opam/5.4.0/lib/gmp/
libraries:             -lgmp
linker options:       -L/Users/mac1000/.opam/5.4.0/lib/gmp/
C options:            -I/Users/mac1000/.opam/5.4.0/lib/gmp/
installation path:    /Users/mac1000/.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 04:26.02 ---> saved as "e5dde5429b49d3de759c79f452475b78867a0ef5f1fea60335f81f5508e7a153"
Job succeeded
2026-02-14 04:26.08: Job succeeded