OrganisationsmirageZarith9de5ec (zarith-1.13)debian-12-4.07_opam-2.1

debian-12-4.07_opam-2.1

Link Copied
Code Copied

Logs

2024-05-26 10:48.10: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.13 (9de5ec36fc0851f19985b235aa07d56661688155) (linux-x86_64:debian-12-4.07_opam-2.1)
Base: ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
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@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b
# debian-12-4.07_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /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 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 zarith.opam ./
RUN opam pin add -yn zarith.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.15.3 gmp.6.2.1-5 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --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


2024-05-26 10:48.10: Using cache hint "mirage/Zarith-ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b-debian-12-4.07_opam-2.1-abf4f1a19db41238ae55841b6fcee511"
2024-05-26 10:48.10: Using OBuilder spec:
((from ocaml/opam@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b)
 (comment debian-12-4.07_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /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 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src zarith.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn zarith.dev './'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.15.3 gmp.6.2.1-5 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6")
 (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.1 --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"))
)


2024-05-26 10:48.10: Waiting for resource in pool OCluster
2024-05-26 11:31.14: Waiting for worker…
2024-05-26 11:34.09: Got resource from pool OCluster
Building on asteria.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@sha256:99cef6473ce753ec3ec15fdcf5a0a0fb61c4c0ce64578b12e9efbe0222b1602b)
2024-05-26 11:34.10 ---> using "6ad54a8a0a996de05cd03ed30cbb4884566b39028d090d19101121413431a89f" from cache


/: (comment debian-12-4.07_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-26 11:34.10 ---> using "f0b7040ce20c0568672a3afcab01929fd18e2ee66f02faa8d94fd05399839280" 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.1, 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] synchronised from file:///home/opam/opam-repository
2024-05-26 11:34.10 ---> using "1178bb4688e7e4718d4170c0ec783ce5396ae6f9cd4db4b0fb12bcb2662305da" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-107-generic
The OCaml toplevel, version 4.07.1
2.1.5
2024-05-26 11:34.10 ---> using "507d1b06732f1eddefe9afcbbd3414d34576360b7497df3aa76bf615c5a885e5" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-26 11:34.10 ---> using "b88e937d6c36e43c713a83fbd5f0a1b9c25ffbb55d9e0cc753e256236a40f949" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 1c7ec1efdedc0a230f387bd65706ef364627fdd0 || git fetch origin master) && git reset -q --hard 1c7ec1efdedc0a230f387bd65706ef364627fdd0 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   6a2ad82c27..0021c0358e  master     -> origin/master
1c7ec1efde [new release] dune (15 packages) (3.15.3)


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository): 
    [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)


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.
# Run eval $(opam env) to update the current shell environment
2024-05-26 11:34.10 ---> using "b0eafd1a6ef7e905cfb8fe39c5e349db039bbfdc3210f6af70ce0007f6d16f21" from cache


/src: (copy (src zarith.opam) (dst ./))
2024-05-26 11:34.10 ---> saved as "e8dc19e090b68e44ee9e6353fea2776447be0475820b6df99ad7b40a896c50c1"


/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)
2024-05-26 11:34.11 ---> saved as "fb5cfe1503dd4a3b4e6261437c960d0a61fcb2482c5c37c2ccdbe45f7a8da302"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-m4.1 dune.3.15.3 gmp.6.2.1-5 ocaml.4.07.1 ocaml-base-compiler.4.07.1 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6")


/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.1 --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 bookworm-updates/main amd64 Packages.diff/Index [10.6 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [157 kB]
- Fetched 273 kB in 0s (1066 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[zarith.dev] synchronised (no changes)


[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.08.1-1).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.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


2024-05-26 11:34.26 ---> saved as "8fb63a4acd5ddb6b532aa98f015c2a678066a96241281df6dec30aecba02ebf2"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.08.1-1).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.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 conf-m4             1
  - install ocamlfind           1.9.6
  - install ocamlfind-secondary 1.9.6
  - install dune                3.15.3
  - install gmp                 6.2.1-5
===== 5 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.15.3  (cached)
-> retrieved gmp.6.2.1-5  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> installed conf-m4.1
-> retrieved ocamlfind-secondary.1.9.6  (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.15.3
-> installed gmp.6.2.1-5
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-26 11:35.29 ---> saved as "36491ad124a5e086d1466ad3be351f43354b26e2041baf3df201d3703efe2152"


/src: (copy (src .) (dst /src))
2024-05-26 11:35.29 ---> saved as "fd92efa8d9046a54645f8f95e40ce6514f76f037df33840d857dc32d03f31cb4"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.07/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.07/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 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 -fcommon -fPIC" LDFLAGS="-L/home/opam/.opam/4.07/lib/gmp/" CFLAGS="-I/home/opam/.opam/4.07/lib/gmp/" CPPFLAGS="-I/home/opam/.opam/4.07/lib/gmp/" ./configure --ocamllibdir /home/opam/.opam/4.07/lib/ocaml')
binary ocaml: found in /home/opam/.opam/4.07/bin
binary ocamlc: found in /home/opam/.opam/4.07/bin
binary ocamldep: found in /home/opam/.opam/4.07/bin
binary ocamlmklib: found in /home/opam/.opam/4.07/bin
binary ocamldoc: found in /home/opam/.opam/4.07/bin
binary gcc: found in /usr/bin
binary ocamlopt: found in /home/opam/.opam/4.07/bin
checking compilation with  -I/home/opam/.opam/4.07/lib/gmp/: working
include caml/mlvalues.h: found
library dynlink.cmxa: found
binary ocamlfind: found in /home/opam/.opam/4.07/bin
OCaml's word size is 64
include gmp.h: found
library gmp: found
OCaml supports -bin-annot to produce documentation
Using OCaml legacy C API custom operations


detected configuration:


  native-code:          yes
  dynamic linking:      yes
  defines:              -DZ_OCAML_LEGACY_CUSTOM_OPERATIONS -DHAS_GMP 
  includes:             -I/home/opam/.opam/4.07/lib/ocaml -I/home/opam/.opam/4.07/lib/gmp/
  libraries:             -lgmp
  linker options:       -L/home/opam/.opam/4.07/lib/gmp/
  C options:            -I/home/opam/.opam/4.07/lib/gmp/
  installation path:    /home/opam/.opam/4.07/lib
  installation method   findlib


configuration successful!
now type "make" to build
then type "make install" or "sudo make install" to install
2024-05-26 11:35.31 ---> saved as "cc876eb34749d67390713eaf876585eb34cb35a6abee62ed0623a3defcfdf215"
Job succeeded
2024-05-26 11:35.32: Job succeeded