OrganisationsmirageZarith9de5ec (zarith-1.13)macos-homebrew-4.14_arm64_opam-2.3

macos-homebrew-4.14_arm64_opam-2.3

Link Copied
Code Copied

Logs

2025-06-12 14:15.58: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.13 (9de5ec36fc0851f19985b235aa07d56661688155) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.3)
Base: macos-homebrew-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 macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_arm64_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.3 ~/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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.19.1 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.3 --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


2025-06-12 14:15.58: Using cache hint "mirage/Zarith-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.3-5c087eebcc6e5709f9dfd43ce87bbbe5"
2025-06-12 14:15.58: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_arm64_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.3 ~/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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.19.1 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --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"))
)


2025-06-12 14:15.58: Waiting for resource in pool OCluster
2025-06-12 17:03.44: Waiting for worker…
2025-06-12 19:15.14: Got resource from pool OCluster
Building on m1-worker-01
All commits already cached
HEAD is now at 9de5ec3 revert a6ad837b (use ocamlc to test C compiler in configure)


(from macos-homebrew-ocaml-4.14)
2025-06-12 19:15.15 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache


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


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-06-12 19:15.15 ---> using "d185bb362ab7a62e22c76fe28c4578fe7a4e17f7cc7bc09a3073972dfb5efd3b" 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
2025-06-12 19:15.15 ---> using "1a239dab0512a5f76e4948de67b26faca67b4de935df003aa7f81d4e2d68958d" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-12 19:15.15 ---> using "f52eecff7be584d99550d2f8c42b8f22f9135c2276c46c827a485f089226c5ac" 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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
11bdbee611..a28eb8a148  master     -> origin/master
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1


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


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.5.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.
# To update the current shell environment, run: eval $(opam env)
2025-06-12 19:15.15 ---> using "cbe0def484142b57e323ed60e71b5ea1be1c62ce432e64083775819603125847" from cache


/: (copy (src zarith.opam) (dst ./src/./))
2025-06-12 19:15.16 ---> saved as "5ea34e817aa007c0375a90ebb85c604c406cbe193a7053a46c3ff5b404a91a93"


/: (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)
2025-06-12 19:15.24 ---> saved as "8d3edf04fa73ad2dbc84661b596c285e080f1ada720b51fe614b5ac9d733893b"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-06-12 19:15.25 ---> saved as "d076090e66b00d7d8abff53cdcd026b067f886cb4de3f71f51de3a0866719e28"


/: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.19.1 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --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"
- ==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.8.1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/86a115cc1d43ff8a480fd907f812e70a403e1675d8a7223f61bbb08cbd2adc27--xz-5.8.1.bottle_manifest.json
- ==> Fetching xz
- ==> Downloading https://ghcr.io/v2/homebrew/core/xz/blobs/sha256:dcd7823f2624cbcd08f55c232097a79300c7d76ab5969004db1a4785c6c0cd87
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/8f568766296bfa5c5404abb3a41380af721fb0128bae1a3495429085db009872--xz--5.8.1.arm64_sequoia.bottle.tar.gz
- ==> Pouring xz--5.8.1.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/xz/5.8.1: 96 files, 2.5MB
- ==> Running `brew cleanup xz`...
- Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
- Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
2025-06-12 19:15.57 ---> saved as "234e1de0c2e32d7da4f66445fb72795c33cd31304c5a4ec05bd42e454ba3e55f"


/: (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.19.1
- install gmp     6.2.1-5


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved gmp.6.2.1-5  (cached)
-> retrieved dune.3.19.1  (cached)
-> installed conf-m4.1
-> installed dune.3.19.1
-> installed gmp.6.2.1-5
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-12 19:17.05 ---> saved as "0be43d2f0a0f3f2c05eca17a1d2d38b37c507d5058eebda53e2a20873a5ac8dc"


/: (copy (src .) (dst ./src))
2025-06-12 19:17.06 ---> saved as "ec33da7fba28cd239f26256ebe6c66d2a49c555b07e56c3b6f297f94c3a399ab"


/: (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
2025-06-12 19:17.08 ---> saved as "905c0e3cefd942684579ad471580a7210b5ac95f14dddfd2fc856950f792cd71"
Job succeeded
2025-06-12 19:17.14: Job succeeded