OrganisationsmirageZarithdf8969 (zarith-1.14)fedora-42-5.4_opam-2.4

fedora-42-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:fedora-42-5.4_opam-2.4)
Base: ocaml/opam:fedora-42-ocaml-5.4@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f
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:fedora-42-ocaml-5.4@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f
# fedora-42-5.4_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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:fedora-42-ocaml-5.4@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f-fedora-42-5.4_opam-2.4-c3e05adbea758a87d418efc245c23ecf"
2025-10-18 16:36.45: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.4@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f)
(comment fedora-42-5.4_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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.35: Waiting for worker…
2025-10-18 18:10.38: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at df8969d Dunify and be compatible with MirageOS 4 (for 1.14)


(from ocaml/opam:fedora-42-ocaml-5.4@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f)
Unable to find image 'ocaml/opam:fedora-42-ocaml-5.4@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f' locally
docker.io/ocaml/opam@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f: Pulling from ocaml/opam
23d67b40c167: Already exists
69510a91bfc8: Already exists
360b948ef8f7: Already exists
b0b7d6fd83cf: Already exists
39a6e4eba3c0: Already exists
a71731946f34: Already exists
Digest: sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f
Status: Downloaded newer image for ocaml/opam@sha256:5d13b29f948738fd07b3ff626fe4931a21664d7bf5d5febc791ef21437b7071f
2025-10-18 18:10.38 ---> using "aae9cfea062639794bebda74c20f122cbfe2b260a1ae6b51750064798a04d0df" from cache


/: (comment fedora-42-5.4_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Updating and loading repositories:
Fedora 42 - x86_64 - Updates           100% |  51.2 KiB/s |  17.1 KiB |  00m00s
Repositories loaded.
Nothing to do.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.


2025-10-18 18:10.38 ---> using "02dd4d9c19ab680581c8d7cbc01b94987ce9649016e07d72dadf4d94a001d7ef" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-10-18 18:10.38 ---> using "d446a92d02f58e29a07180b9f0cf0b9dff9d7a858fb4418ff090e91d252c3682" 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.38 ---> using "5adbe08912fbd8109b2c9feb2eafe695e692d6649b33f7f39e3ab9488d96d021" 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.38 ---> using "a3cd804eb52feb269ae3092f6be9254aa521c472788d6d15698015b7a67d5fd3" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-18 18:10.38 ---> using "c23a7344128e0b629217f5fffed5949275c120d29d7decaef0428d60db190ca3" 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.38 ---> using "4d37387f749b80748fc63ad7a3c893ba1d3809b768b9d457c972ff04b2edb54f" from cache


/src: (copy (src zarith.opam) (dst ./))
2025-10-18 18:10.38 ---> saved as "37e422f67e5de7fceb0b460b54ce4193b799cded6a0a6982cbfd6780d15d29bd"


/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.39 ---> saved as "d7f489ce4c3edfd21bae2fc663145c336775383ecf7e571f559b422610b1487c"


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


/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/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.


<><> 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).
2025-10-18 18:10.56 ---> saved as "d7aef52c174e7597bc307bb1779795f69b349a3fa54328feb8419a90393c987e"


/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:12.57 ---> saved as "b725fb1363a160ef78719c0b712dbdca01b1f4d5171db466e11a6f755b0e73c5"


/src: (copy (src .) (dst /src))
2025-10-18 18:12.58 ---> saved as "e3b7e2caef75adfa3cacf092319666666a33970d7ee744d4c58f0d4c3f4ad39e"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /usr/sbin/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/sbin
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/sbin
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.03 ---> saved as "565dd0343b26dad6d4d251301ff8e1ef9959fe4ecf48592747da0d4e9dcc935a"
Job succeeded
2025-10-18 18:13.04: Job succeeded