OrganisationsmirageZarithdf8969 (zarith-1.14)ubuntu-25.10-5.4_opam-2.4

ubuntu-25.10-5.4_opam-2.4

Link Copied
Code Copied

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:ubuntu-25.10-5.4_opam-2.4)
Base: ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840
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:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840
# ubuntu-25.10-5.4_opam-2.4
USER 1000:1000
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.3.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 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:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840-ubuntu-25.10-5.4_opam-2.4-c3e05adbea758a87d418efc245c23ecf"
2025-10-18 16:36.45: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840)
(comment ubuntu-25.10-5.4_opam-2.4)
(user (uid 1000) (gid 1000))
(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.3.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.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.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.28: Waiting for worker…
2025-10-18 18:10.27: Got resource from pool OCluster
Building on eumache
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialised empty Git repository in /var/cache/obuilder/ocluster/git/Zarith.git-552a6ed06f1920b85bff3c34d2d8f06f7a1b9554/.git/
HEAD is now at df8969d Dunify and be compatible with MirageOS 4 (for 1.14)


(from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840)
Unable to find image 'ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840' locally
docker.io/ocaml/opam@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840: Pulling from ocaml/opam
9b965cd35928: Already exists
8c34d5cb1909: Already exists
8f3d0e888f94: Already exists
75914a58b59d: Already exists
00c83499f5f8: Already exists
96557828c72d: Already exists
e04c74427b07: Already exists
0b5b736f6f8b: Already exists
01ddd8730c9d: Already exists
f367de3c6ef3: Already exists
8ea485ed8d07: Already exists
311ea7e25f3b: Already exists
2c44554f2c1d: Already exists
4b37f74f2fcf: Already exists
4c53b5e197d1: Already exists
ae54a0cbaf07: Already exists
ae54a0cbaf07: Already exists
fbfa20dfc58f: Already exists
7a5fbf99492d: Already exists
55f27f5aae25: Already exists
e5dc741ba80e: Already exists
4f4fb700ef54: Already exists
ea4deec7b9ed: Already exists
575dd3f40a50: Already exists
23d3a726bc1c: Already exists
9c808f81626e: Already exists
6015bb64a01e: Already exists
c8b90fbcd33e: Already exists
1b226c214b9a: Already exists
c3f2fe2e9a34: Already exists
09907f66bdda: Already exists
ac9b7119d067: Already exists
c3c8c52036b2: Already exists
09d46cfd46ca: Already exists
a93091442c09: Already exists
74daf3d638c4: Already exists
2ad878d09679: Already exists
4f990f691d95: Already exists
b2d8c9546556: Already exists
fc9e5ff183af: Already exists
1420c7e28df9: Pulling fs layer
0aa76275f3e3: Pulling fs layer
93d3fe1ef530: Pulling fs layer
1420c7e28df9: Waiting
8141b93c2100: Pulling fs layer
99dd02af1531: Pulling fs layer
ed19dfeb135d: Pulling fs layer
93d3fe1ef530: Waiting
8141b93c2100: Waiting
99dd02af1531: Waiting
400c4009ccf8: Pulling fs layer
ed19dfeb135d: Waiting
400c4009ccf8: Waiting
1420c7e28df9: Download complete
1420c7e28df9: Pull complete
0aa76275f3e3: Verifying Checksum
0aa76275f3e3: Download complete
0aa76275f3e3: Pull complete
93d3fe1ef530: Verifying Checksum
93d3fe1ef530: Pull complete
8141b93c2100: Verifying Checksum
8141b93c2100: Download complete
99dd02af1531: Verifying Checksum
99dd02af1531: Download complete
ed19dfeb135d: Verifying Checksum
ed19dfeb135d: Download complete
400c4009ccf8: Download complete
8141b93c2100: Pull complete
99dd02af1531: Pull complete
ed19dfeb135d: Pull complete
400c4009ccf8: Pull complete
Digest: sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840
Status: Downloaded newer image for ocaml/opam@sha256:1193b97b1fb681f2d335587f7d0f746174fef9b1dfb77984932b8f3ea440c840
2025-10-18 18:10.28 ---> using "3be20ed9bde11478d710180884f722280dfc08d0ee382a0870797929c1d03cd4" from cache


/: (comment ubuntu-25.10-5.4_opam-2.4)


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


/: (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.28 ---> using "da6960692231a059dab52bacd68875d42b6b35b205939a28c7e327c1c48fb166" 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.28 ---> using "e9b0ecbad3beb2e452151c1169527a8879012a89c3350bb7b46eace3adcd6aea" from cache


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


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-18 18:10.28 ---> using "112fb3f58706e2a934d242f81fc30ccd1722e38dcf8fa9411a64fe043420055b" 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.28 ---> using "10ebcea5a136997bb3d25fe8f52145c5fa29bb5dfd035f08bc3c6234649165e8" from cache


/src: (copy (src zarith.opam) (dst ./))
2025-10-18 18:10.28 ---> saved as "17a0cda514138f315d1a11bed66fd84905f1a5b7f1ade5af7a4fa245d156ca92"


/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.30 ---> saved as "e3c72d70e6c456a763323d914c732ec6d96f5fd83f766c657f8eb60f5562c7f8"


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


/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.3.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.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.4 --depext-only -y zarith.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:3 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:4 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Fetched 404 kB in 1s (666 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.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 ... 18746 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-8_amd64.deb ...
- Unpacking m4 (1.4.19-8) ...
- Setting up m4 (1.4.19-8) ...
2025-10-18 18:10.54 ---> saved as "14526dae6062fb4342c26329e253b6e1af6c4c33a77c0a0422d81e70b0204979"


/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.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.3.0


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


/src: (copy (src .) (dst /src))
2025-10-18 18:13.07 ---> saved as "6ec82b0abdb7482e547326d9c402f24e462eacfdf83c34ec3c86f1f9dbbeb284"


/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: found in /home/opam/.opam/5.4/bin
checking compilation with  -I/home/opam/.opam/5.4/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.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:13.13 ---> saved as "d19614c8bdf0bd3dae602b0522ae8527f811712e8847a4970638c9712c6d2053"
Job succeeded
2025-10-18 18:13.13: Job succeeded