2025-06-17 18:27.33: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.13 (9de5ec36fc0851f19985b235aa07d56661688155) (linux-ppc64:debian-12-4.14_ppc64_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:a659b00a2a5f0962865a86106f008a7fe58a07092d808c52423ba23a7454fff2
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-4.14@sha256:a659b00a2a5f0962865a86106f008a7fe58a07092d808c52423ba23a7454fff2
# debian-12-4.14_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-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 opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-06-17 18:27.33: Using cache hint "mirage/Zarith-ocaml/opam:debian-12-ocaml-4.14@sha256:a659b00a2a5f0962865a86106f008a7fe58a07092d808c52423ba23a7454fff2-debian-12-4.14_ppc64_opam-2.3-5c087eebcc6e5709f9dfd43ce87bbbe5"
2025-06-17 18:27.33: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:a659b00a2a5f0962865a86106f008a7fe58a07092d808c52423ba23a7454fff2)
(comment debian-12-4.14_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-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 /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-17 18:27.33: Waiting for resource in pool OCluster
2025-06-17 18:49.22: Waiting for worker…
2025-06-17 18:59.19: Got resource from pool OCluster
Building on orithia.caelum.ci.dev
All commits already cached
HEAD is now at 9de5ec3 revert a6ad837b (use ocamlc to test C compiler in configure)
(from ocaml/opam:debian-12-ocaml-4.14@sha256:a659b00a2a5f0962865a86106f008a7fe58a07092d808c52423ba23a7454fff2)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:a659b00a2a5f0962865a86106f008a7fe58a07092d808c52423ba23a7454fff2' locally
docker.io/ocaml/opam@sha256:a659b00a2a5f0962865a86106f008a7fe58a07092d808c52423ba23a7454fff2: Pulling from ocaml/opam
Digest: sha256:a659b00a2a5f0962865a86106f008a7fe58a07092d808c52423ba23a7454fff2
Status: Downloaded newer image for ocaml/opam@sha256:a659b00a2a5f0962865a86106f008a7fe58a07092d808c52423ba23a7454fff2
2025-06-17 18:59.19 ---> using "96c6b6d785153ed0cdbfb40596b44c3fa766b0ae593b80dbde0338b44a5d4dcc" from cache
/: (comment debian-12-4.14_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-17 18:59.19 ---> using "8c1126dd27071e3556c6d3fcde16f5e1d1ed8f63a17bb1015baa75193a215c80" 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-17 18:59.19 ---> using "9559b61327c4b1915d419c68ecdb21f9c545ed21a8ef692a0e5d8a7f4a5d2588" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-17 18:59.19 ---> using "358cb04c4209cac8ce04f5565597e46ec3e0a3e4a047281dd53d3505cf537ee5" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-17 18:59.19 ---> using "6e1b4013ba63debadde66160e064162fbbf5126f67d35de82c7eef3e81b8541e" 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"))
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-17 18:59.19 ---> using "8df1fa9a001e59d0d12b7c6d452f3ef18941215bf7fa58e693f8621016294817" from cache
/src: (copy (src zarith.opam) (dst ./))
2025-06-17 18:59.19 ---> saved as "b4037dc2578f3ad13bbc40515250d729d28a8b00cd415a1594c734aaf6f6975e"
/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-17 18:59.21 ---> saved as "0129fcdf4aa2799fc298faa3e2838dc83263f30e010fe76d31556e0145c5dab9"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-17 18:59.22 ---> saved as "d554e520cdd7835405b54e744505f0c250d617f8f7069dc6f673c64640150f19"
/src: (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")
/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 [251 kB]
- Fetched 355 kB in 0s (1055 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 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:
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 ... 18689 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-17 18:59.35 ---> saved as "fae553dbaae8eeaad1ddfe7e31d1fb49184304d5009ad1099239639814877742"
/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).
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-17 19:00.41 ---> saved as "44c78e60e63787da72935b6e135d008ed493e269bda9c29ae05dd622c9aba604"
/src: (copy (src .) (dst /src))
2025-06-17 19:00.41 ---> saved as "a4a14b8e89bbf2d9abd39a5065c8ff7acfe212851d77ce22b8ef985b18a127b3"
/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 -pthread -fPIC" LDFLAGS="-L/home/opam/.opam/4.14/lib/gmp/" CFLAGS="-I/home/opam/.opam/4.14/lib/gmp/" CPPFLAGS="-I/home/opam/.opam/4.14/lib/gmp/" ./configure --ocamllibdir /home/opam/.opam/4.14/lib/ocaml')
binary ocaml: found in /home/opam/.opam/4.14/bin
binary ocamlc: found in /home/opam/.opam/4.14/bin
binary ocamldep: found in /home/opam/.opam/4.14/bin
binary ocamlmklib: found in /home/opam/.opam/4.14/bin
binary ocamldoc: found in /home/opam/.opam/4.14/bin
binary gcc: found in /usr/bin
binary ocamlopt: found in /home/opam/.opam/4.14/bin
checking compilation with -I/home/opam/.opam/4.14/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/lib/ocaml -I/home/opam/.opam/4.14/lib/gmp/
libraries: -lgmp
linker options: -L/home/opam/.opam/4.14/lib/gmp/
C options: -I/home/opam/.opam/4.14/lib/gmp/
installation path: /home/opam/.opam/4.14/lib/ocaml
installation method install
configuration successful!
now type "make" to build
then type "make install" or "sudo make install" to install
2025-06-17 19:00.45 ---> saved as "74074d0ad5ba60255a6697cc91303c5e3d834ab8683a5d3c3443ccd1fd8a1aba"
Job succeeded
2025-06-17 19:00.45: Job succeeded