2025-09-29 07:24.52: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.13 (9de5ec36fc0851f19985b235aa07d56661688155) (linux-x86_64:opensuse-15.6-5.3_opam-2.4)
Base: ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:fe628684fc7b4625891727f9ef2faff41fcbf040b16b388744078ff61bdbca31
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:opensuse-15.6-ocaml-5.3@sha256:fe628684fc7b4625891727f9ef2faff41fcbf040b16b388744078ff61bdbca31
# opensuse-15.6-5.3_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 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:24.52: Using cache hint "mirage/Zarith-ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:fe628684fc7b4625891727f9ef2faff41fcbf040b16b388744078ff61bdbca31-opensuse-15.6-5.3_opam-2.4-546220e77d7d01b2438f37627cc4c71d"
2025-09-29 07:24.52: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:fe628684fc7b4625891727f9ef2faff41fcbf040b16b388744078ff61bdbca31)
(comment opensuse-15.6-5.3_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 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:24.52: Waiting for resource in pool OCluster
2025-09-29 08:40.30: Waiting for worker…
2025-09-29 08:42.20: Got resource from pool OCluster
Building on odawa.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:opensuse-15.6-ocaml-5.3@sha256:fe628684fc7b4625891727f9ef2faff41fcbf040b16b388744078ff61bdbca31)
2025-09-29 08:42.20 ---> using "ee732886c68086cc9f40da77f75076a7b2bba13d3c02f2b2e49f3a0e9f078d39" from cache
/: (comment opensuse-15.6-5.3_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-09-29 08:42.20 ---> using "06aef56904684d5a04d7e5ef86a6e70baaaf451083d097407eb9bddaf310047f" 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 08:42.20 ---> using "9aa55bb8d785f2ceab3d8e921c17bdf72603f1805ce3c60aad503060b8cc5350" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-29 08:42.20 ---> using "4beab32ca85637f0196ae5cfd67e55ff2b0717aa9cb3e0a5f879de39d07f2f1f" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-29 08:42.20 ---> using "2b3e78e747536f412dfaca437208052abd328bf4cdad4c3a4c140808b93f267d" 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..64dfb8c8f3 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 08:42.20 ---> using "24939210f1b97a21f778c89622a5c94de228136d281dbe39d9bd2e5874cd0e4a" from cache
/src: (copy (src zarith.opam) (dst ./))
2025-09-29 08:42.20 ---> saved as "834a29f6b8a5f83a29b688cad3c2b777e2be2874c6afcc840dc94dcf4a3bbd55"
/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 08:42.21 ---> saved as "9b8dd8883ebd79a65c4f479281b7c4117069373d1ec24954a5a82a4e93a3948e"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-29 08:42.21 ---> saved as "edbe045823508ba9f035758e25149bce33951b26e5025606685409dfa099ad13"
/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 "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [.
- .
- Looking for gpg keys in repository Update repository of openSUSE Backports.
- gpgkey=http://download.opensuse.org/update/leap/15.6/backports/repodata/repomd.xml.key
- .....
- ....
- ....
- ....
- ....
- ....
- ....
- ........
- ....done]
- Building repository 'Update repository of openSUSE Backports' cache [....done]
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [..
- Looking for gpg keys in repository Update repository with updates from SUSE Linux Enterprise 15.
- gpgkey=http://download.opensuse.org/update/leap/15.6/sle/repodata/repomd.xml.key
- ...
- ........
- ........
- ........
- ......
- .........
- .........
- ......
- .........
- ..........
- .........
- ........
- ........
- ..........
- .....
- .......
- ..........
- .........
- ..........
- .........
- .........
- .........
- ..........
- .......
- ...
- ........
- ........
- .........
- .........
- .........
- .....
- .........
- .........
- ..........
- .........
- ........
- .........
- ..........
- ........
- ....
- .......
- ........
- .........
- ......
- .......
- ........
- ........
- ....
- ..........
- .........
- ..........
- ........
- .......
- ........
- ........
- .........
- .........
- .......
- ......
- .........
- .........
- ..........
- ..........
- .........
- ..........
- .........
- .........
- .........
- ..........
- .........
- ..........
- ..........
- ..........
- .........
- ..........
- .........
- .......
- .......
- ........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- ..........
- .........
- ........
- .........
- ..........
- .........
- .........
- ..........
- ..........
- .........
- ..........
- ......
- .........
- ..........
- ..........
- .........
- ..........
- ..........
- .........
- ........
- .........
- ........
- ..........
- ..........
- .........
- ..........
- .........
- ..........
- .........
- ........
- .........
- ..........
- ....done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Retrieving repository 'Main Update Repository' metadata [..
- Looking for gpg keys in repository Main Update Repository.
- gpgkey=http://download.opensuse.org/update/leap/15.6/oss/repodata/repomd.xml.key
- ....
- ...........
- ....done]
- Building repository 'Main Update Repository' cache [....done]
- Repository 'Update Repository (Non-Oss)' is up to date.
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- All repositories have been refreshed.
<><> 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 08:45.21 ---> saved as "1baa26165610e36f52a53a2227443040f86876b54d9a6d4fe8aea60c5ae354d4"
/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
[ERROR] The compilation of gmp.6.3.0 failed at "dune build -p gmp -j 255".
#=== ERROR while compiling gmp.6.3.0 ==========================================#
# context 2.4.1 | linux/x86_64 | ocaml-base-compiler.5.3.0 | git+file:///home/opam/opam-repository
# path ~/.opam/5.3/.opam-switch/build/gmp.6.3.0
# command ~/.opam/5.3/bin/dune build -p gmp -j 255
# exit-code 1
# env-file ~/.opam/log/gmp-1-657062.env
# output-file ~/.opam/log/gmp-1-657062.out
### output ###
# File "src/dune", lines 14-23, characters 0-357:
# 14 | (rule
# 15 | (targets gmp.h libgmp.a dllgmp.so)
# 16 | (deps gmp-6.3.0.tar.xz build.sh gcc.15.patch)
# 17 | (action
# 18 | (with-stdout-to
# 19 | build.log
# 20 | (run sh ./build.sh "%{ocaml-config:c_compiler}" "%{ocaml-config:host}"
# 21 | "%{ocaml-config:target}" "%{ocaml-config:ocamlc_cflags}"
# 22 | %{ocaml-config:supports_shared_libraries}
# 23 | "%{ocaml-config:native_c_libraries}"))))
# (cd _build/default/src && /usr/bin/sh ./build.sh gcc x86_64-pc-linux-gnu x86_64-pc-linux-gnu '-O2 -fno-strict-aliasing -fwrapv -fPIC -pthread' true '-lm -lpthread') > _build/default/src/build.log
# configure: error: could not find a working compiler, see config.log for details
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build gmp 6.3.0
+-
+- The following changes have been performed
| - install conf-m4 1
| - install dune 3.20.2
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/5.3/.opam-switch/backup/state-20250929084521.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2025-09-29 08:45.46: Job failed: Failed: Build failed