OrganisationsmirageZarith9de5ec ()fedora-41-5.3_opam-2.4

fedora-41-5.3_opam-2.4

Link Copied
Code Copied

Logs

2025-09-29 07:23.56: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.13 (9de5ec36fc0851f19985b235aa07d56661688155) (linux-x86_64:fedora-41-5.3_opam-2.4)
Base: ocaml/opam:fedora-41-ocaml-5.3@sha256:5c8f0aacf7cb2998d794c4e3dcbcb2c602975f90c4cf7eb5eb2dd2f23332f137
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:fedora-41-ocaml-5.3@sha256:5c8f0aacf7cb2998d794c4e3dcbcb2c602975f90c4cf7eb5eb2dd2f23332f137
# fedora-41-5.3_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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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.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.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-09-29 07:23.56: Using cache hint "mirage/Zarith-ocaml/opam:fedora-41-ocaml-5.3@sha256:5c8f0aacf7cb2998d794c4e3dcbcb2c602975f90c4cf7eb5eb2dd2f23332f137-fedora-41-5.3_opam-2.4-546220e77d7d01b2438f37627cc4c71d"
2025-09-29 07:23.56: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.3@sha256:5c8f0aacf7cb2998d794c4e3dcbcb2c602975f90c4cf7eb5eb2dd2f23332f137)
(comment fedora-41-5.3_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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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.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.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-09-29 07:23.56: Waiting for resource in pool OCluster
2025-09-29 07:48.27: Waiting for worker…
2025-09-29 07:50.26: Got resource from pool OCluster
Building on doris.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:fedora-41-ocaml-5.3@sha256:5c8f0aacf7cb2998d794c4e3dcbcb2c602975f90c4cf7eb5eb2dd2f23332f137)
2025-09-29 07:50.26 ---> using "be9a06297631f7f79d999c044f2c42a58e095ca3b69d8515739b94b6473b3c33" from cache


/: (comment fedora-41-5.3_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 41 - x86_64 - Updates           100% |  11.1 KiB/s |   7.7 KiB |  00m01s
Fedora 41 - x86_64                     100% | 115.1 KiB/s |  27.2 KiB |  00m00s
Fedora 41 openh264 (From Cisco) - x86_ 100% |   8.4 KiB/s | 986.0   B |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.


Nothing to do.
2025-09-29 07:50.26 ---> using "b832f17aed08c7f5a6c8273f59bac5b8f8ca95ac91fcaffc7c6dfa98a54d7519" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-29 07:50.26 ---> using "319f6790d7cf9d26c9f07365b2e2cc06ce69438411278d77a94a58a31777d685" 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-09-29 07:50.26 ---> using "c84a22e1e1c4b1af4fbec5fe3f2f0367c1b71038b9db10fde30758292c7b1e71" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-29 07:50.26 ---> using "9e62d718a1e775c4c8ffb889e1cdd5c7f42df2840638f73aa20158ba3ad522e6" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-29 07:50.26 ---> using "437606f3f801a3aa9dd5c2fdea159ac969ede0f92f9ea2e21a85075644fd70cb" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
bcac5d1731..3c6a0f524c  master     -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc


<><> 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-09-29 07:50.26 ---> using "be46368a04d0c46d93cf4bbeec922c762458895b79fb6e52d541c7d08ddc84d1" from cache


/src: (copy (src zarith.opam) (dst ./))
2025-09-29 07:50.27 ---> saved as "396863379555461f3da9b8347dd07d621d5ac212b42af8edac2284bd10ecbd1c"


/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-09-29 07:50.27 ---> saved as "158e41cdddddb71d00c0aca5768f1a4fd1557bf0d0ff98a8fb39d23af96682c8"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-29 07:50.28 ---> saved as "7adfe1873818a279dc75b08a43d1b36d7422635be3c03b56cfc4d3ffd06cf291"


/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.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.4 --depext-only -y zarith.dev $DEPS"))
+ /usr/bin/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.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).
2025-09-29 07:50.34 ---> saved as "52268876eadb223765f415fcd60936dda9d69c34bdd5808b7bc7155132bffe2e"


/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.20.2
- install gmp     6.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved gmp.6.3.0  (cached)
-> installed conf-m4.1
-> 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-09-29 07:51.27 ---> saved as "c91740b9a8756d653938459f61aff4819cd1e68d5b6c34bad723e0d633ce1d85"


/src: (copy (src .) (dst /src))
2025-09-29 07:51.28 ---> saved as "a65b01c29326c871174a38a8c527d31c83d102b431b6292dfa42fda271162c0e"


/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-09-29 07:51.30 ---> saved as "11f2344c2908c163ec40ffbfd4432da0992c1eb9c843943b299bda91699eaf7c"
Job succeeded
2025-09-29 07:51.30: Job succeeded