2025-06-12 14:15.58: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.13 (9de5ec36fc0851f19985b235aa07d56661688155) (linux-ppc64:debian-12-5.3_ppc64_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:ee1370892e35a7707afd41501039a3c90e173dd9ce9096b12b0e38a805d568f8
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 ocaml/opam:debian-12-ocaml-5.3@sha256:ee1370892e35a7707afd41501039a3c90e173dd9ce9096b12b0e38a805d568f8
# debian-12-5.3_ppc64_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /usr/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 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 ./
RUN opam pin add -yn zarith.dev './'
RUN echo '(lang dune 3.0)' > './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.19.1 gmp.6.2.1-5 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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 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-ocaml/opam:debian-12-ocaml-5.3@sha256:ee1370892e35a7707afd41501039a3c90e173dd9ce9096b12b0e38a805d568f8-debian-12-5.3_ppc64_opam-2.3-8715f07bf405bc0d6ed3e927d1f02b7c"
2025-06-12 14:15.58: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:ee1370892e35a7707afd41501039a3c90e173dd9ce9096b12b0e38a805d568f8)
(comment debian-12-5.3_ppc64_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src zarith.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn zarith.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './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.19.1 gmp.6.2.1-5 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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.3 --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"))
)
2025-06-12 14:15.58: Waiting for resource in pool OCluster
2025-06-12 14:27.59: Waiting for worker…
2025-06-12 14:37.26: Got resource from pool OCluster
Building on scyleia.caelum.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/Zarith.git-552a6ed06f1920b85bff3c34d2d8f06f7a1b9554/.git/
HEAD is now at 9de5ec3 revert a6ad837b (use ocamlc to test C compiler in configure)
(from ocaml/opam:debian-12-ocaml-5.3@sha256:ee1370892e35a7707afd41501039a3c90e173dd9ce9096b12b0e38a805d568f8)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:ee1370892e35a7707afd41501039a3c90e173dd9ce9096b12b0e38a805d568f8' locally
docker.io/ocaml/opam@sha256:ee1370892e35a7707afd41501039a3c90e173dd9ce9096b12b0e38a805d568f8: Pulling from ocaml/opam
996840ee3507: Already exists
ee9a8af2a7ea: Already exists
4ca048e7bbe7: Already exists
31633a07e460: Already exists
4315786db56b: Already exists
a6598f3205f9: Already exists
34e0d892dafa: Already exists
1186a513b1da: Already exists
9bd8d8b76943: Already exists
7016669b2c0f: Already exists
b8f58781ef4f: Already exists
29350fa019d8: Already exists
1178d8bc1650: Already exists
ac5bf51cb11f: Already exists
9b5a8362d361: Already exists
9b5a8362d361: Already exists
b5bcce174082: Already exists
0bd37a71adbe: Already exists
dab36f7bc7b4: Already exists
ed1f103d763d: Already exists
4f4fb700ef54: Already exists
92bed594dc72: Already exists
4d1751d246ef: Already exists
d8983c7eea77: Already exists
82c323b890bf: Already exists
afda9558c731: Already exists
f1df42dd1639: Already exists
a324bcf96dc6: Already exists
5255b018b35d: Already exists
a6bcc41b20e7: Already exists
ce17426d065a: Already exists
0adcf64c49eb: Already exists
c7e3ef48db78: Already exists
afb9ef1685ec: Already exists
fbda39219ff8: Already exists
a002f0a7c957: Already exists
6a506a373e05: Already exists
0af459c94f77: Already exists
271aa99c86d1: Already exists
855716da00c9: Pulling fs layer
02a7644fe7fc: Pulling fs layer
65ed42461281: Pulling fs layer
a4c830d2ea18: Pulling fs layer
7ef957a691a9: Pulling fs layer
6410003e6380: Pulling fs layer
99b462ef4685: Pulling fs layer
a4c830d2ea18: Waiting
7ef957a691a9: Waiting
99b462ef4685: Waiting
6410003e6380: Waiting
65ed42461281: Verifying Checksum
65ed42461281: Download complete
02a7644fe7fc: Verifying Checksum
02a7644fe7fc: Download complete
855716da00c9: Verifying Checksum
855716da00c9: Download complete
855716da00c9: Pull complete
02a7644fe7fc: Pull complete
65ed42461281: Pull complete
7ef957a691a9: Verifying Checksum
7ef957a691a9: Download complete
99b462ef4685: Verifying Checksum
99b462ef4685: Download complete
6410003e6380: Download complete
a4c830d2ea18: Verifying Checksum
a4c830d2ea18: Download complete
a4c830d2ea18: Pull complete
7ef957a691a9: Pull complete
6410003e6380: Pull complete
99b462ef4685: Pull complete
Digest: sha256:ee1370892e35a7707afd41501039a3c90e173dd9ce9096b12b0e38a805d568f8
Status: Downloaded newer image for ocaml/opam@sha256:ee1370892e35a7707afd41501039a3c90e173dd9ce9096b12b0e38a805d568f8
2025-06-12 14:37.27 ---> using "d2f18e339fc62b9487ec937ac3577309d7eb0a63dee3b97d34f0497b3005480e" from cache
/: (comment debian-12-5.3_ppc64_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-12 14:37.27 ---> using "e6b136681c35276cbef6d851cd2eb0b40e774f7ba585d83c9c254f621efae77f" from cache
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-12 14:37.27 ---> using "b9ebd07ba793e5cd7420df0a641bc46cc71fe76c38ff48e146dbbf954ba22e36" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-06-12 14:37.27 ---> using "97db4f2a7237e5b447638da04bf25fbec5db867405f5cfea6eed36787b7afbab" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-12 14:37.27 ---> using "217228fd459dffef0016164a6fa8e4db6ca9da8012f8f36b9d10355e7658d75c" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(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
bc726805e3..a28eb8a148 master -> origin/master
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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, 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 14:37.27 ---> using "1c0e044e1c2d398be8125a2bf09b094e6b1f1ff7da8edb38859f18555b28a03b" from cache
/src: (copy (src zarith.opam) (dst ./))
2025-06-12 14:37.27 ---> saved as "769a7648134e004691a68d22b1e6dba4548e203f25f25b385d9888fecdb57cc2"
/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)
2025-06-12 14:37.29 ---> saved as "631987246cf41e3e9257ab8914d80c831ec83a468802cefd65c2d08da0dced76"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-12 14:37.29 ---> saved as "4cba4cc344c01f83ff94921a1a57df2ac98882afab80d1791ef47b3230ec1f59"
/src: (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.19.1 gmp.6.2.1-5 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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.3 --depext-only -y zarith.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main ppc64el Packages [253 kB]
- Fetched 356 kB in 0s (861 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[zarith.dev] synchronised (file:///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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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:
m4
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package m4.
- (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18718 files and directories currently installed.)
- Preparing to unpack .../m4_1.4.19-3_ppc64el.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2025-06-12 14:37.53 ---> saved as "6ba354b49a9b86711a4df81a3d378009083d51f7f9c5378c27f1ab20b9f6d104"
/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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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.19.1
- install gmp 6.2.1-5
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-m4.1
-> retrieved gmp.6.2.1-5 (cached)
-> retrieved dune.3.19.1 (cached)
-> 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 14:39.25 ---> saved as "f695c875b312954c0bf935ad64df82e73d075ecbfefd754f0ececfa038f91d36"
/src: (copy (src .) (dst /src))
2025-06-12 14:39.26 ---> saved as "0f5516fcd81af7bbc5c8c9beba8fd1b8d540ad56a0834a728bef49f4b1b37c7f"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /usr/bin/bash -e -u -o pipefail -c 'env CC="gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread" LDFLAGS="-L/home/opam/.opam/5.3/lib/gmp/" CFLAGS="-I/home/opam/.opam/5.3/lib/gmp/" CPPFLAGS="-I/home/opam/.opam/5.3/lib/gmp/" ./configure --ocamllibdir /home/opam/.opam/5.3/lib/ocaml')
binary ocaml: found in /home/opam/.opam/5.3/bin
binary ocamlc: found in /home/opam/.opam/5.3/bin
binary ocamldep: found in /home/opam/.opam/5.3/bin
binary ocamlmklib: found in /home/opam/.opam/5.3/bin
binary ocamldoc: found in /home/opam/.opam/5.3/bin
binary gcc: found in /usr/bin
binary ocamlopt: found in /home/opam/.opam/5.3/bin
checking compilation with -I/home/opam/.opam/5.3/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/5.3/lib/ocaml -I/home/opam/.opam/5.3/lib/gmp/
libraries: -lgmp
linker options: -L/home/opam/.opam/5.3/lib/gmp/
C options: -I/home/opam/.opam/5.3/lib/gmp/
installation path: /home/opam/.opam/5.3/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 14:39.30 ---> saved as "722d89787a37e23997e743aac3c74571c2dfef909124b964078b873d0136fc2d"
Job succeeded
2025-06-12 14:39.31: Job succeeded