OrganisationsmirageZarithdf8969 (zarith-1.14)alpine-3.23-5.4_opam-2.5

alpine-3.23-5.4_opam-2.5

Logs

Show full logs
2026-05-22 09:47.35: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.14 (df8969d9bb95cffca13e31a615189ab27ada0684) (linux-x86_64:alpine-3.23-5.4_opam-2.5)
Base: ocaml/opam:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366
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:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366
# alpine-3.23-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 cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN 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.23.1 gmp.6.3.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 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-05-22 09:47.35: Using cache hint "mirage/Zarith-ocaml/opam:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366-alpine-3.23-5.4_opam-2.5-3cfef00677ebfc438bae2c5021167bb3"
2026-05-22 09:47.35: Using OBuilder spec:
((from ocaml/opam:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366)
 (comment alpine-3.23-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 (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline"))
 (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 "opam update -u"))
 (copy (src zarith.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn zarith.dev './'"))
 (run (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.23.1 gmp.6.3.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 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-05-22 09:47.35: Waiting for resource in pool OCluster
2026-05-22 11:44.00: Waiting for worker…
2026-05-22 11:44.00: Got resource from pool OCluster
Building on toxis.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:alpine-3.23-ocaml-5.4@sha256:b5f9c251ed23ceaf402a2fd8548d89b9d710ba800ef8a7f46f773bfff6f63366)
2026-05-22 11:44.00 ---> using "01c11b07ac2b5cd48e66007e5a5cac291b476dda37442ad969d24b0ab6dc0559" from cache

/: (comment alpine-3.23-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-05-22 11:44.00 ---> using "a8a9ea5c59254a5a0f8f67ea52c72885ad5d9b7a990b02c87babbf030ab69642" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   045748b2d8..3e30e43808  master     -> origin/master
c180e16309 Merge pull request #29907 from dra27/host-arch-fixes
2026-05-22 11:44.00 ---> using "fe08f8dad6cae81c9fab43d555f6124d7aa6d377b0aedf3b72c7e46d9834e27b" 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.

Continue? [Y/n] y
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.

[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
2026-05-22 11:44.00 ---> using "5ad2b9a97acdb3759bfe5c036703809cbb26b5ad107cec91df9d41d91392ab87" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-107-generic
The OCaml toplevel, version 5.4.1
2.5.1
2026-05-22 11:44.00 ---> using "f88285d68e304714210caebc7edb5200ccb10d994337c002c39cceeeb8bed7f3" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-05-22 11:44.00 ---> using "c311260767cc16133e895f6479756251264c74498eb02eff4fc48b5356df6e5f" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update -u"))

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

Everything as up-to-date as possible
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-05-22 11:44.00 ---> using "f82cbf562c134cc4bf153b769487df7b11bee37ffc243e7a15a5c6d6b6a7ad19" from cache

/src: (copy (src zarith.opam) (dst ./))
2026-05-22 11:44.00 ---> saved as "88c9007eea38713fe762a0a276525938e89fbdb848eb8f3e27f5a437827470a7"

/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-05-22 11:44.03 ---> saved as "0a15c7925f990995f5b2833a8cb17c40c8865da7dce9b7b14f5b04fa879f14e1"

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-05-22 11:44.03 ---> saved as "3148570745a4009dcbc9c3529ccae2c79b1e96ce90ee8338a2dff58fa6acb777"

/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.23.1 gmp.6.3.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 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 "apk" "update"
- v3.23.4-253-g3f34f48081a [https://dl-cdn.alpinelinux.org/alpine/v3.23/main]
- v3.23.4-256-g49ed18e9f0e [https://dl-cdn.alpinelinux.org/alpine/v3.23/community]
- v20260127-10054-g698ce675612 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20260127-10058-gcd585822ff2 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20260127-10056-gc8d9e12de98 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 62279 distinct packages available

<><> 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.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.1).
[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 "apk" "add" "m4"
- (1/1) Installing m4 (1.4.20-r0)
- Executing busybox-1.37.0-r30.trigger
- OK: 338.9 MiB in 105 packages
# To update the current shell environment, run: eval $(opam env)
2026-05-22 11:44.19 ---> saved as "62869bf2461a7255a5c3a7fd6fe7378302e9e765ea9a38165237f24c0437b62e"

/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.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.1).
[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.23.1
  - install gmp     6.3.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved gmp.6.3.0  (cached)
-> installed conf-m4.1
-> retrieved dune.3.23.1  (cached)
-> installed dune.3.23.1
-> installed gmp.6.3.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-22 11:46.25 ---> saved as "02f9e3ecf2fc2a982775e3f5b7389f762553257e27b7dfb7e114c46666ebeed7"

/src: (copy (src .) (dst /src))
2026-05-22 11:46.27 ---> saved as "4c4b3b1e6a9ca141390812270adec4dde56f653d69e9a4b739bdbbfe5126acd0"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /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-05-22 11:46.37 ---> saved as "a8b06e00f8e83258b9c32060df9944dc23e8d1e9f059e62c683ef5ad5289e08d"
Job succeeded
2026-05-22 11:46.37: Job succeeded