OrganisationsmirageZarith9de5ec (zarith-1.13)ubuntu-24.10-5.3_opam-2.3

ubuntu-24.10-5.3_opam-2.3

Link Copied
Code Copied

Logs

2025-06-12 14:15.58: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.13 (9de5ec36fc0851f19985b235aa07d56661688155) (linux-x86_64:ubuntu-24.10-5.3_opam-2.3)
Base: ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:20126745cc6458ad1b61595c90c2d98df4e1e21b8119b569a007b2c4ed222f6f
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:ubuntu-24.10-ocaml-5.3@sha256:20126745cc6458ad1b61595c90c2d98df4e1e21b8119b569a007b2c4ed222f6f
# ubuntu-24.10-5.3_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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-m4.1 dune.3.19.1 gmp.6.2.1-5 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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-12 14:15.58: Using cache hint "mirage/Zarith-ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:20126745cc6458ad1b61595c90c2d98df4e1e21b8119b569a007b2c4ed222f6f-ubuntu-24.10-5.3_opam-2.3-8715f07bf405bc0d6ed3e927d1f02b7c"
2025-06-12 14:15.58: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.10-ocaml-5.3@sha256:20126745cc6458ad1b61595c90c2d98df4e1e21b8119b569a007b2c4ed222f6f)
(comment ubuntu-24.10-5.3_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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-m4.1 dune.3.19.1 gmp.6.2.1-5 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 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.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-12 14:15.58: Waiting for resource in pool OCluster
2025-06-12 17:08.45: Waiting for worker…
2025-06-12 17:11.39: 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:ubuntu-24.10-ocaml-5.3@sha256:20126745cc6458ad1b61595c90c2d98df4e1e21b8119b569a007b2c4ed222f6f)
2025-06-12 17:11.39 ---> using "e55681b578954368722df1ef80ef5a6e867733b5ce3b430d5fe0a644788508bc" from cache


/: (comment ubuntu-24.10-5.3_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-12 17:11.39 ---> using "dad3a40d97787bb28ac988400fbfa55ae43581b913d92de8a2ce00544cf8941c" 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-12 17:11.39 ---> using "36de3e1328d453b1383731fb9a3a72ad6c2210927b408a03247029d32e97716a" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-06-12 17:11.39 ---> using "829925dfee67c959173942dbfdf9b19b81a1c2db703f2c8ddb099082f161d551" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-06-12 17:11.39 ---> using "48c0e443a0b5cb2329fc023964aaa702a0621bed3213547e049d4ad51c16146a" 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"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
bc726805e3..a28eb8a148  master     -> origin/master
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-12 17:11.39 ---> using "a09b8c83813ca8e887d22e520149e13fea69cc0c2a3880f8a3d73e5a3389ea4e" from cache


/src: (copy (src zarith.opam) (dst ./))
2025-06-12 17:11.40 ---> saved as "1aa08d4d5e60202f742b7e18d6cbca4ab60a841c373f6489180fd433c4a36dae"


/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-12 17:11.41 ---> saved as "aabbc336380888336818374016655f69f3d7432d94a3eb0203509e111bca1f49"


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


/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.19.1 gmp.6.2.1-5 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 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.3 --depext-only -y zarith.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu oracular-security InRelease [126 kB]
- Get:2 http://security.ubuntu.com/ubuntu oracular-security/main amd64 Packages [415 kB]
- Hit:3 http://archive.ubuntu.com/ubuntu oracular InRelease
- Get:4 http://security.ubuntu.com/ubuntu oracular-security/universe amd64 Packages [270 kB]
- Get:5 http://archive.ubuntu.com/ubuntu oracular-updates InRelease [126 kB]
- Get:6 http://archive.ubuntu.com/ubuntu oracular-backports InRelease [126 kB]
- Get:7 http://archive.ubuntu.com/ubuntu oracular-updates/main amd64 Packages [551 kB]
- Get:8 http://archive.ubuntu.com/ubuntu oracular-updates/universe amd64 Packages [345 kB]
- Fetched 1960 kB in 1s (2070 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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"
- 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 ... 16145 files and directories currently installed.)
- Preparing to unpack .../m4_1.4.19-4build1_amd64.deb ...
- Unpacking m4 (1.4.19-4build1) ...
- Setting up m4 (1.4.19-4build1) ...
2025-06-12 17:11.54 ---> saved as "145374dbe10d63bc24bf9800e7ec5c9a47bf4fb7924407f9d6f98c2978643e84"


/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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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.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-12 17:12.49 ---> saved as "7b1469200202193f556aa07719d55cbc9ce5b1289b6465643afa93dc7a5b89ec"


/src: (copy (src .) (dst /src))
2025-06-12 17:12.50 ---> saved as "0cbcab88b58a1071ad5cc39becc6f8dd41eaab26f05ccc1a7070b502ddc54be9"


/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.3/lib/gmp/" CFLAGS="-I/home/opam/.opam/5.3/lib/gmp/" CPPFLAGS="-I/home/opam/.opam/5.3/lib/gmp/" ./configure --ocamllibdir /home/opam/.opam/5.3/lib/ocaml')
binary ocaml: found in /home/opam/.opam/5.3/bin
binary ocamlc: found in /home/opam/.opam/5.3/bin
binary ocamldep: found in /home/opam/.opam/5.3/bin
binary ocamlmklib: found in /home/opam/.opam/5.3/bin
binary ocamldoc: found in /home/opam/.opam/5.3/bin
binary gcc: found in /usr/bin
binary ocamlopt: found in /home/opam/.opam/5.3/bin
checking compilation with  -I/home/opam/.opam/5.3/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.3/lib/ocaml -I/home/opam/.opam/5.3/lib/gmp/
libraries:             -lgmp
linker options:       -L/home/opam/.opam/5.3/lib/gmp/
C options:            -I/home/opam/.opam/5.3/lib/gmp/
installation path:    /home/opam/.opam/5.3/lib/ocaml
installation method   install


configuration successful!
now type "make" to build
then type "make install" or "sudo make install" to install
2025-06-12 17:12.52 ---> saved as "fa9d48c9b4859abf34ed303bc93ec8f7e74a04c7433bdfdc41ab9b193378a048"
Job succeeded
2025-06-12 17:12.52: Job succeeded