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

debian-12-4.05_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.05_opam-2.1)
Base: ocaml/opam@sha256:bf10f42002710555bb6907d73bfe6fb566ce17520aa938dd6029d90760f548ef
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:bf10f42002710555bb6907d73bfe6fb566ce17520aa938dd6029d90760f548ef
# debian-12-4.05_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.05.0 ocaml-base-compiler.4.05.0 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:bf10f42002710555bb6907d73bfe6fb566ce17520aa938dd6029d90760f548ef-debian-12-4.05_opam-2.1-0f988e44781aea11ab2c00771d40cf7a"
2024-05-26 10:48.10: Using OBuilder spec:
((from ocaml/opam@sha256:bf10f42002710555bb6907d73bfe6fb566ce17520aa938dd6029d90760f548ef)
 (comment debian-12-4.05_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.05.0 ocaml-base-compiler.4.05.0 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.15: Waiting for worker…
2024-05-26 11:34.10: 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:bf10f42002710555bb6907d73bfe6fb566ce17520aa938dd6029d90760f548ef)
2024-05-26 11:34.10 ---> using "01b639612fdfdf471a1afc824e62d329bd373c87da23bf0586731ef9e8f57ffa" from cache


/: (comment debian-12-4.05_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 "aec8c1521892515737edefff6818cf75f97188f9c4a4f6e707c5eae298a72181" 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 "c88cfc24abc19aac7dde2cd7b8db4552fb768e244147794b6e9b9ff97720b973" from cache


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


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-26 11:34.10 ---> using "18f7df056b98dc115cf8f55e33ea18b7d859aeb89294d451ec89095f52c34fea" 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
   eb2dcab0d8..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 "53fb2781e3b620ec50591573f2e805a2405eb625afa5d41693239faf365c6fab" from cache


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


/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.12 ---> saved as "ad1e4d0c50184cd2293e3cf51f541b212384b532ceedc5da51292425e6069383"


/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.05.0 ocaml-base-compiler.4.05.0 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-security bookworm-security/main amd64 Packages [157 kB]
- Fetched 260 kB in 0s (1029 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.05.0).
[NOTE] Package ocaml is already installed (current version is 4.05.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-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.27 ---> saved as "3efaef68bf70e069e73b72a67c24e00acf96a3bc5dec55a7eeb5605f3f49275c"


/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.05.0).
[NOTE] Package ocaml is already installed (current version is 4.05.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-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.31 ---> saved as "6455bad9e16e547a7cc982dc4b01d8dc7e6ed9631d9cab7371fdcb2fc465b828"


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


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.05/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.05/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 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC" LDFLAGS="-L/home/opam/.opam/4.05/lib/gmp/" CFLAGS="-I/home/opam/.opam/4.05/lib/gmp/" CPPFLAGS="-I/home/opam/.opam/4.05/lib/gmp/" ./configure --ocamllibdir /home/opam/.opam/4.05/lib/ocaml')
binary ocaml: found in /home/opam/.opam/4.05/bin
binary ocamlc: found in /home/opam/.opam/4.05/bin
binary ocamldep: found in /home/opam/.opam/4.05/bin
binary ocamlmklib: found in /home/opam/.opam/4.05/bin
binary ocamldoc: found in /home/opam/.opam/4.05/bin
binary gcc: found in /usr/bin
binary ocamlopt: found in /home/opam/.opam/4.05/bin
checking compilation with  -I/home/opam/.opam/4.05/lib/gmp/: working
include caml/mlvalues.h: found
library dynlink.cmxa: found
binary ocamlfind: found in /home/opam/.opam/4.05/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.05/lib/ocaml -I/home/opam/.opam/4.05/lib/gmp/
  libraries:             -lgmp
  linker options:       -L/home/opam/.opam/4.05/lib/gmp/
  C options:            -I/home/opam/.opam/4.05/lib/gmp/
  installation path:    /home/opam/.opam/4.05/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.33 ---> saved as "9c7d5028a3304b609c9a1c11eddbd1e93775ec662ed84227b37795543b917b9f"
Job succeeded
2024-05-26 11:35.33: Job succeeded