2025-06-17 18:28.06: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.13 (9de5ec36fc0851f19985b235aa07d56661688155) (linux-x86_64:fedora-41-4.14_opam-2.3)
Base: ocaml/opam:fedora-41-ocaml-4.14@sha256:e18d67147cfd23b78ea8a17248216181b59b1047f2b8c3fc75f37938c49e35a4
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:fedora-41-ocaml-4.14@sha256:e18d67147cfd23b78ea8a17248216181b59b1047f2b8c3fc75f37938c49e35a4
# fedora-41-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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:28.06: Using cache hint "mirage/Zarith-ocaml/opam:fedora-41-ocaml-4.14@sha256:e18d67147cfd23b78ea8a17248216181b59b1047f2b8c3fc75f37938c49e35a4-fedora-41-4.14_opam-2.3-5c087eebcc6e5709f9dfd43ce87bbbe5"
2025-06-17 18:28.06: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-4.14@sha256:e18d67147cfd23b78ea8a17248216181b59b1047f2b8c3fc75f37938c49e35a4)
(comment fedora-41-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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:28.06: Waiting for resource in pool OCluster
2025-06-17 20:05.40: Waiting for worker…
2025-06-17 20:08.57: Got resource from pool OCluster
Building on toxis.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:fedora-41-ocaml-4.14@sha256:e18d67147cfd23b78ea8a17248216181b59b1047f2b8c3fc75f37938c49e35a4)
2025-06-17 20:10.33 ---> using "22fe946b035c020ff814c5576cdc75d7652cf945cb2c467c6d9cae1ca0d5d1e4" from cache
/: (comment fedora-41-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Updating and loading repositories:
Fedora 41 - x86_64 - Updates 100% | 173.3 KiB/s | 25.1 KiB | 00m00s
Fedora 41 - x86_64 - Updates 100% | 4.1 MiB/s | 6.2 MiB | 00m02s
Repositories loaded.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.
Nothing to do.
2025-06-17 20:10.33 ---> using "acba83c8fbb85f5fb83b3d24118174ced84b0f66836231dc84f8d54745061278" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-17 20:10.33 ---> using "ca3db86f436b376241c2269f32c845b6b5ab85471332a51034b18e4dbae999eb" 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
[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-17 20:10.33 ---> using "c8590e32c8015d4f1bad379929a5a7f97d0d852ea223612fbffb57dd53027e6f" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-17 20:10.33 ---> using "605268a13adf0255e82b335cf6caa9db604ecc1366c7ff70da6dc14e3e676194" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-17 20:10.33 ---> using "9c99ba5690e61f79e97947f98468946414eb639242036a49598ef0d5dfab3355" 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 20:10.33 ---> using "949afb7443c8ae552a5bb20c329aa70638316547ec655a5a4dcc62e3d017c9d0" from cache
/src: (copy (src zarith.opam) (dst ./))
2025-06-17 20:10.33 ---> saved as "7bd05f27f7d4bc33e56ab342f94146d10edd2af0f0a9634ed16f70c9e22a2b8b"
/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 20:10.35 ---> saved as "925f459b9eebf9b095c3ba3a3121fd4ce69ccd289b50a79e650d662f20556bf4"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-17 20:10.35 ---> saved as "1714fbd907ac575d58e06eff32701c0f87e42d613bcb9bd5e9ae3a8bdf571e03"
/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 "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.
<><> 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).
2025-06-17 20:10.57 ---> saved as "0a06ddb15359f6ec9c88dceea215394ef2c82fd32cdc5fd2ebf9f1c66b9bd826"
/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 20:12.42 ---> saved as "c89780a59d33ae1b57fa14b4e281ddfde49feeaa1be365b557dfc1e9b6877ec9"
/src: (copy (src .) (dst /src))
2025-06-17 20:12.43 ---> saved as "15a6fdead738ffadbc4c128f06a13a9a381644bc0f4a972b33ebb148bf1d3b20"
/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 20:12.46 ---> saved as "9202bf973410a1688448314fffaa6fb2d934327e8510bfa61485a7767f0b2dac"
Job succeeded
2025-06-17 20:12.48: Job succeeded