OrganisationsmirageZarithdf8969 (zarith-1.14)opensuse-15.6-5.4_opam-2.5

opensuse-15.6-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-02-15 17:59.57: New job: test mirage/Zarith https://github.com/mirage/Zarith.git#refs/heads/zarith-1.14 (df8969d9bb95cffca13e31a615189ab27ada0684) (linux-x86_64:opensuse-15.6-5.4_opam-2.5)
Base: ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:effc88b5c29636e2a2c6cb1098771062d091bda2846d151c20cf377b7e7f4041
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:opensuse-15.6-ocaml-5.4@sha256:effc88b5c29636e2a2c6cb1098771062d091bda2846d151c20cf377b7e7f4041
# opensuse-15.6-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 302e116c4009da2f5a31c350a57c8b3c9b27289e || git fetch origin master) && git reset -q --hard 302e116c4009da2f5a31c350a57c8b3c9b27289e && 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.21.1 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.5 --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


2026-02-15 17:59.57: Using cache hint "mirage/Zarith-ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:effc88b5c29636e2a2c6cb1098771062d091bda2846d151c20cf377b7e7f4041-opensuse-15.6-5.4_opam-2.5-231a2acca41ff60652134bff55312487"
2026-02-15 17:59.57: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:effc88b5c29636e2a2c6cb1098771062d091bda2846d151c20cf377b7e7f4041)
(comment opensuse-15.6-5.4_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.5 /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 302e116c4009da2f5a31c350a57c8b3c9b27289e || git fetch origin master) && git reset -q --hard 302e116c4009da2f5a31c350a57c8b3c9b27289e && 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.21.1 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.5 --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"))
)


2026-02-15 17:59.57: Waiting for resource in pool OCluster
2026-02-15 20:43.02: Waiting for worker…
2026-02-15 20:46.10: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at df8969d Dunify and be compatible with MirageOS 4 (for 1.14)


(from ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:effc88b5c29636e2a2c6cb1098771062d091bda2846d151c20cf377b7e7f4041)
2026-02-15 20:46.11 ---> using "ef7fcc773164a50ac7c6190f2fe405e5d17bf12eddb2fc6cbe71b9e48747f47a" from cache


/: (comment opensuse-15.6-5.4_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-02-15 20:46.11 ---> using "de099de23ed215e5aa934a37013d9d90f80af6c95f1126a36c1dafd3f0c2771a" 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
2026-02-15 20:46.11 ---> using "e4567fea59e9f89f28721481af1347ec0e49e166b623b782f9469b741d323d8a" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 5.4.0
2.5.0
2026-02-15 20:46.11 ---> using "ca5e94ca25f331100bb4ff662a4a576c2a692e3deb6b97773656fd20c750ac37" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-02-15 20:46.11 ---> using "a18645d69895a2ac0663dd277250036df2b7d0221e78508f58b24710dd49f470" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 302e116c4009da2f5a31c350a57c8b3c9b27289e || git fetch origin master) && git reset -q --hard 302e116c4009da2f5a31c350a57c8b3c9b27289e && git log --no-decorate -n1 --oneline && opam update -u"))
302e116c40 Merge pull request #29374 from shonfeder/release-dune-3.21.1


<><> 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)
2026-02-15 20:46.11 ---> using "748e442f8d388112949bfdb629a9b5b5d36c6206ec2bed974128b1cbc4fecb66" from cache


/src: (copy (src zarith.opam) (dst ./))
2026-02-15 20:46.12 ---> saved as "f1769c2fef5ab8231195c5e47aa05fe7ef30485e4a3af86e21310eaae4fd6bcc"


/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)
2026-02-15 20:46.12 ---> saved as "4000f8ff8f823a910332620b65013e3ff4c539e727285e14482a0394c6545213"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-02-15 20:46.13 ---> saved as "0ff30fee0b6ff5e76d2599eb63d0c87579ca398185a9c3fab05694c92018e264"


/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.21.1 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.5 --depext-only -y zarith.dev $DEPS"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Repository 'Update repository of openSUSE Backports' is up to date.
- Repository 'Update repository with updates from SUSE Linux Enterprise 15' is up to date.
- Repository 'Main Update Repository' is up to date.
- 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.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).
# To update the current shell environment, run: eval $(opam env)
2026-02-15 20:46.24 ---> saved as "c5f931eedebc1dff301d624e5565f14b25396954547f82f7696f6044aaaa2c69"


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


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved gmp.6.3.0  (cached)
-> installed conf-m4.1
-> retrieved dune.3.21.1  (cached)
-> installed dune.3.21.1
[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.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.0 | git+file:///home/opam/opam-repository
# path        ~/.opam/5.4/.opam-switch/build/gmp.6.3.0
# command     ~/.opam/5.4/bin/dune build -p gmp -j 255
# exit-code   1
# env-file    ~/.opam/log/gmp-1-92e29d.env
# output-file ~/.opam/log/gmp-1-92e29d.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.21.1
+- 
# 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.4/.opam-switch/backup/state-20260215204625.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2026-02-15 20:46.54: Job failed: Failed: Build failed