OrganisationsmirageZarithdf8969 (zarith-1.14)debian-13-5.4_x86_32_opam-2.4

debian-13-5.4_x86_32_opam-2.4

Logs

Show full logs
2025-10-18 16:36.45: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.14 (df8969d9bb95cffca13e31a615189ab27ada0684) (linux-x86_64:debian-13-5.4_x86_32_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.4@sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4
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:debian-13-ocaml-5.4@sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4
# debian-13-5.4_x86_32_opam-2.4
USER 1000:1000
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 c603e596bfaf195a5c1a3baf992b11c1de5ad35b || git fetch origin master) && git reset -q --hard c603e596bfaf195a5c1a3baf992b11c1de5ad35b && 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.20.2 gmp.6.2.1-5 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-option-bytecode-only.1 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --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-10-18 16:36.45: Using cache hint "mirage/Zarith-ocaml/opam:debian-13-ocaml-5.4@sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4-debian-13-5.4_x86_32_opam-2.4-c1427cd3fa4c98a97dfa20b0677ac9d0"
2025-10-18 16:36.45: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4)
 (comment debian-13-5.4_x86_32_opam-2.4)
 (user (uid 1000) (gid 1000))
 (shell /usr/bin/linux32 /bin/sh -c)
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.4 /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 c603e596bfaf195a5c1a3baf992b11c1de5ad35b || git fetch origin master) && git reset -q --hard c603e596bfaf195a5c1a3baf992b11c1de5ad35b && 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.20.2 gmp.6.2.1-5 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-option-bytecode-only.1 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.4 --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-10-18 16:36.45: Waiting for resource in pool OCluster
2025-10-18 18:07.36: Waiting for worker…
2025-10-18 18:10.38: Got resource from pool OCluster
Building on laodoke.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:debian-13-ocaml-5.4@sha256:853fb3dfb180a64eacd311734ca168d83484d58b6e265e072a573c3a17073bc4)
2025-10-18 18:10.38 ---> using "504e22203aa0ba7196e4fa1511b3a4b3d160c3bec35a877d4e164e6b5c8dc765" from cache

/: (comment debian-13-5.4_x86_32_opam-2.4)

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

/: (shell /usr/bin/linux32 /bin/sh -c)

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-10-18 18:10.38 ---> using "e9ec1356b6ef87979bd2f95ecafbcb729f8cf02f424219e16896ce4c7c6ccceb" 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
2025-10-18 18:10.38 ---> using "7ed48bd571828294ff0a3e9a8d88995c51f3a15ea8c6993a6dde7b6354233a28" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-157-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-10-18 18:10.38 ---> using "efc0cb315f808ef6dd4711d6bea98541121c88a03cc1ed389a9a8e4238d04444" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-10-18 18:10.38 ---> using "a8dad00845a83016f2b0483a2129999bc1edccbd05a5ef01779767fdd99ccf73" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e c603e596bfaf195a5c1a3baf992b11c1de5ad35b || git fetch origin master) && git reset -q --hard c603e596bfaf195a5c1a3baf992b11c1de5ad35b && git log --no-decorate -n1 --oneline && opam update -u"))
c603e596bf Merge pull request #28683 from Octachron/OCaml_5.4.0_release

<><> 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)
2025-10-18 18:10.38 ---> using "b8e56dd9d625b704f7fcf1c4fe0d03acae9decf9e08d02d822e57325ef57d71d" from cache

/src: (copy (src zarith.opam) (dst ./))
2025-10-18 18:10.39 ---> saved as "ef290671d0b09beafc58159da9267dd537dadfc5991f1144cc3c5b69bbfe433d"

/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-10-18 18:10.42 ---> saved as "fa13aec578c5c5b71c9087b7974996d6776f95a706e4d42782e847aea62149b2"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-18 18:10.42 ---> saved as "baf601a2850d849bbe983442eda2a8e58744d017d31a1768bc0f34f2a3de0890"

/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.20.2 gmp.6.2.1-5 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-option-bytecode-only.1 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.4 --depext-only -y zarith.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main i386 Packages [53.1 kB]
- Fetched 144 kB in 0s (477 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-option-bytecode-only 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 ... 20623 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-8_i386.deb ...
- Unpacking m4 (1.4.19-8) ...
- Setting up m4 (1.4.19-8) ...
2025-10-18 18:11.10 ---> saved as "9e59b0dcdfdec353a1921c3f7149468fd9cb12c23ae441e13e18d2f2c1598298"

/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-option-bytecode-only 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.20.2
  - install gmp     6.2.1-5

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-m4.1
-> retrieved gmp.6.2.1-5  (https://opam.ocaml.org/cache)
-> retrieved dune.3.20.2  (cached)
-> installed dune.3.20.2
-> installed gmp.6.2.1-5
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-18 18:15.21 ---> saved as "d16ac63d47f971afe7ab97194111c8c8930e7adce295655759b1180f2ca6b23d"

/src: (copy (src .) (dst /src))
2025-10-18 18:15.21 ---> saved as "b6a30f9b58162e2b3c605b766e22e774cdf3b27ad73d6c7cb5cfbb77dda426a1"

/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: not found
checking compilation with  -I/home/opam/.opam/5.4/lib/gmp/: working
include caml/mlvalues.h: found
binary ocamlfind: not found
binary install: found in /usr/bin
OCaml's word size is 32
include gmp.h: found
library gmp: found
OCaml supports -bin-annot to produce documentation

detected configuration:

  native-code:          no
  dynamic linking:      no
  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
2025-10-18 18:15.29 ---> saved as "e9e283b5c5aff1581cedbe6054a1a1d365c75c6b2d7fabefc021d614c2d868b4"
Job succeeded
2025-10-18 18:15.30: Job succeeded