OrganisationsmirageZarithdf8969 (zarith-1.14)ubuntu-25.04-5.4_opam-2.5

ubuntu-25.04-5.4_opam-2.5

Logs

Show full logs
2026-02-15 17:59.57: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.14 (df8969d9bb95cffca13e31a615189ab27ada0684) (linux-x86_64:ubuntu-25.04-5.4_opam-2.5)
Base: ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:d8eea00d851efa352de30a240ccaaad837b998689827f1852a960a1413e8b081
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 ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:d8eea00d851efa352de30a240ccaaad837b998689827f1852a960a1413e8b081
# ubuntu-25.04-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 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 ./
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.21.1 gmp.6.3.0 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 opam exec -- dune build @install @check @runtest && rm -rf _build

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2026-02-15 17:59.57: Using cache hint "mirage/Zarith-ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:d8eea00d851efa352de30a240ccaaad837b998689827f1852a960a1413e8b081-ubuntu-25.04-5.4_opam-2.5-231a2acca41ff60652134bff55312487"
2026-02-15 17:59.57: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:d8eea00d851efa352de30a240ccaaad837b998689827f1852a960a1413e8b081)
 (comment ubuntu-25.04-5.4_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.5 /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 302e116c4009da2f5a31c350a57c8b3c9b27289e || git fetch origin master) && git reset -q --hard 302e116c4009da2f5a31c350a57c8b3c9b27289e && 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.21.1 gmp.6.3.0 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 /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.5 --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"))
)

2026-02-15 17:59.57: Waiting for resource in pool OCluster
2026-02-15 20:42.59: Waiting for worker…
2026-02-15 20:46.09: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at df8969d Dunify and be compatible with MirageOS 4 (for 1.14)

(from ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:d8eea00d851efa352de30a240ccaaad837b998689827f1852a960a1413e8b081)
2026-02-15 20:46.10 ---> using "cc6a01dee077a012e5b584d0224976b0f8797a649345b5e03898a7ff67ce3c31" from cache

/: (comment ubuntu-25.04-5.4_opam-2.5)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-02-15 20:46.10 ---> using "00ef0065666e23bafb851d2284a007fb0e9faa6a8f17de88cad34de02f9c583b" 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 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
2026-02-15 20:46.10 ---> using "10a0250272a493773514f272f1e7789afc754cd713094c9a13f0077b82f011a9" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 5.4.0
2.5.0
2026-02-15 20:46.10 ---> using "5ff40773bbd1f0038c9378a5cbb43e4e888ca626a29170a1bce095a248f86255" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-02-15 20:46.10 ---> using "61d1e312e1a2714e63e71f0374844bd44f75fa8641ca3f7f7a708cbd8ca3e3c3" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (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
   340ee6fd1f..66fe1c299d  master     -> origin/master
302e116c40 Merge pull request #29374 from shonfeder/release-dune-3.21.1

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

Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-02-15 20:46.10 ---> using "9bc3a95687b9deb645144c80f712a49225095f5df465c1635637a73c59b46a16" from cache

/src: (copy (src zarith.opam) (dst ./))
2026-02-15 20:46.10 ---> saved as "0adc41b0022e12cea749624170aeb2021bf098a9355b0df8fa3f4a2e33dcba8f"

/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)
2026-02-15 20:46.12 ---> saved as "33f4684f2a8900e4f37d69ff23fcf800af68d9c73793b2279c94f3d2a31bbfab"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-02-15 20:46.12 ---> saved as "3285647542d83d1a0133478a222e5483a620ee7e58899b7175600de7de89f1be"

/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.21.1 gmp.6.3.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.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.5 --depext-only -y zarith.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu plucky InRelease
- Hit:2 http://archive.ubuntu.com/ubuntu plucky-updates InRelease
- Hit:3 http://archive.ubuntu.com/ubuntu plucky-backports InRelease
- Hit:4 http://security.ubuntu.com/ubuntu plucky-security InRelease
- 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.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:
    m4

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

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- 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 ... 16533 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-7_amd64.deb ...
- Unpacking m4 (1.4.19-7) ...
- Setting up m4 (1.4.19-7) ...
# To update the current shell environment, run: eval $(opam env)
2026-02-15 20:46.23 ---> saved as "a04734bbb72e9237d7587d7c4643addd73e6257503ba5f68a71ed495a9433d0d"

/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.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.3.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved gmp.6.3.0  (cached)
-> installed conf-m4.1
-> retrieved dune.3.21.1  (cached)
-> installed dune.3.21.1
-> installed gmp.6.3.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-15 20:47.20 ---> saved as "66d840870090e1a9a16b1b2634824bf49fa449537398e11aaf617b88af3ccfd4"

/src: (copy (src .) (dst /src))
2026-02-15 20:47.21 ---> saved as "ef5a57c04d79fbd489ced954eaf58c61d68a57f58c53ebf26c1ac9ddee7928c6"

/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.4/lib/gmp/" CFLAGS="-I/home/opam/.opam/5.4/lib/gmp/" CPPFLAGS="-I/home/opam/.opam/5.4/lib/gmp/" ./configure --ocamllibdir /home/opam/.opam/5.4/lib/ocaml')
binary ocaml: found in /home/opam/.opam/5.4/bin
binary ocamlc: found in /home/opam/.opam/5.4/bin
binary ocamldep: found in /home/opam/.opam/5.4/bin
binary ocamlmklib: found in /home/opam/.opam/5.4/bin
binary ocamldoc: found in /home/opam/.opam/5.4/bin
binary gcc: found in /usr/bin
binary ocamlopt: found in /home/opam/.opam/5.4/bin
checking compilation with  -I/home/opam/.opam/5.4/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.4/lib/ocaml -I/home/opam/.opam/5.4/lib/gmp/
  libraries:             -lgmp
  linker options:       -L/home/opam/.opam/5.4/lib/gmp/
  C options:            -I/home/opam/.opam/5.4/lib/gmp/
  installation path:    /home/opam/.opam/5.4/lib/ocaml
  installation method   install

configuration successful!
now type "make" to build
then type "make install" or "sudo make install" to install
2026-02-15 20:47.23 ---> saved as "01c91ff2cf0263aff48ced7747c26195b226c3c4d61e492729d37d9c193282ad"
Job succeeded
2026-02-15 20:47.23: Job succeeded