OrganisationsmirageZarith9de5ec (zarith-1.13)debian-12-4.12_opam-2.3

debian-12-4.12_opam-2.3

Link Copied
Code Copied

Logs

2025-06-17 18:24.15: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.13 (9de5ec36fc0851f19985b235aa07d56661688155) (linux-x86_64:debian-12-4.12_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.12@sha256:6ce65c127e4fc5158565b6acdd96d1940a5d2466050576ea42ee9455b0ce7c74
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.12@sha256:6ce65c127e4fc5158565b6acdd96d1940a5d2466050576ea42ee9455b0ce7c74
# debian-12-4.12_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.12.1 ocaml-base-compiler.4.12.1 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:24.15: Using cache hint "mirage/Zarith-ocaml/opam:debian-12-ocaml-4.12@sha256:6ce65c127e4fc5158565b6acdd96d1940a5d2466050576ea42ee9455b0ce7c74-debian-12-4.12_opam-2.3-046a6b9518c925e6958c5633a43b5c4b"
2025-06-17 18:24.15: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.12@sha256:6ce65c127e4fc5158565b6acdd96d1940a5d2466050576ea42ee9455b0ce7c74)
(comment debian-12-4.12_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.12.1 ocaml-base-compiler.4.12.1 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:24.15: Waiting for resource in pool OCluster
2025-06-17 18:50.35: Waiting for worker…
2025-06-17 18:52.47: Got resource from pool OCluster
Building on clete.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.12@sha256:6ce65c127e4fc5158565b6acdd96d1940a5d2466050576ea42ee9455b0ce7c74)
2025-06-17 18:52.48 ---> using "1da314489d8a1aa96dc3f82d3e21db390b8f77f7e412f4ac849ce7c521e73be9" from cache


/: (comment debian-12-4.12_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:52.48 ---> using "c358228b0cab7212e2b56cd6aea347fd122150aa0fa20072b2ba5085d0175e41" 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:52.48 ---> using "24db23dd17d764d3315fb05ad6ba9eb5195a4906df98cb785d87d0374ca8a675" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.12.1
2.3.0
2025-06-17 18:52.48 ---> using "27ddaf7b1e4272417564bed9104354206c4b3e7f673505b126fb050bd3e7a2d4" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-06-17 18:52.48 ---> using "cf176336eeb9f7dce24597e25b65bd464fabf14abb4fb789dfe2d4262ee23704" 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:52.48 ---> using "2db1c1930670f539470d1465e2282550611931c805e66615607fa21e1b26cd38" from cache


/src: (copy (src zarith.opam) (dst ./))
2025-06-17 18:52.49 ---> saved as "d3cadac45aacba30b2f7764c2a47a7da856be52989a8f8c955298ad7e0fea8d3"


/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:52.52 ---> saved as "d382d90012f1ed809761c932b29945b8a9bdef7f50f16fc7e5eae203ca592b08"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-17 18:52.53 ---> saved as "f02ca9c19ea05b40063f3ed72123d28c7061ddf2b57287e6388efc69a55a911d"


/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.12.1 ocaml-base-compiler.4.12.1 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 amd64 Packages [263 kB]
- Fetched 366 kB in 1s (408 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.12.1).
[NOTE] Package ocaml is already installed (current version is 4.12.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-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 ... 18747 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2025-06-17 18:53.25 ---> saved as "09aa263e36dedf3832c1aba4a92e1eb26fa24cb96c12a8fb5c9ae685de97c7a6"


/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.12.1).
[NOTE] Package ocaml is already installed (current version is 4.12.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-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 18:55.56 ---> saved as "589a4e2bbabdfcf1e4aa9245f975b87b59a5306a0604c7dcd8324f1e196d4941"


/src: (copy (src .) (dst /src))
2025-06-17 18:55.57 ---> saved as "98fa713e2f081a2ea2b905001288c822687f3fc063a6618776795e6ac7dbfd30"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.12/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -6-32-39 -g -I .zarith_top.objs/byte -I .zarith_top.objs/native -I /home/opam/.opam/4.12/lib/ocaml/compiler-libs -I .zarith.objs/byte -I .zarith.objs/native -intf-suffix .ml -no-alias-deps -opaque -o .zarith_top.objs/native/zarith_top.cmx -c -impl zarith_top.ml)
File "_none_", line 1:
Warning 58 [no-cmx-file]: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque
(cd _build/default && /usr/bin/bash -e -u -o pipefail -c 'env CC="gcc -O2 -fno-strict-aliasing -fwrapv -fPIC" LDFLAGS="-L/home/opam/.opam/4.12/lib/gmp/" CFLAGS="-I/home/opam/.opam/4.12/lib/gmp/" CPPFLAGS="-I/home/opam/.opam/4.12/lib/gmp/" ./configure --ocamllibdir /home/opam/.opam/4.12/lib/ocaml')
binary ocaml: found in /home/opam/.opam/4.12/bin
binary ocamlc: found in /home/opam/.opam/4.12/bin
binary ocamldep: found in /home/opam/.opam/4.12/bin
binary ocamlmklib: found in /home/opam/.opam/4.12/bin
binary ocamldoc: found in /home/opam/.opam/4.12/bin
binary gcc: found in /usr/bin
binary ocamlopt: found in /home/opam/.opam/4.12/bin
checking compilation with  -I/home/opam/.opam/4.12/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.12/lib/ocaml -I/home/opam/.opam/4.12/lib/gmp/
libraries:             -lgmp
linker options:       -L/home/opam/.opam/4.12/lib/gmp/
C options:            -I/home/opam/.opam/4.12/lib/gmp/
installation path:    /home/opam/.opam/4.12/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 18:56.03 ---> saved as "4b897532501b623b415dd11131934092f5edcc5fc50d390e245bea9cf799cd65"
Job succeeded
2025-06-17 18:56.03: Job succeeded