Organisationsocurrentocaml-versionc1cd18 (add-sig)debian-13-5.4_riscv64_opam-2.5

debian-13-5.4_riscv64_opam-2.5

Link Copied
Code Copied

Logs

2026-04-16 16:40.35: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/add-sig (c1cd1832273b7fc49d1e178375f004d8a453963b) (linux-riscv64:debian-13-5.4_riscv64_opam-2.5)
Base: ocaml/opam:debian-13-ocaml-5.4@sha256:f4c82456e10adf78c4bf1849b05a8072cede5c2008b962470255ffcd8dbe88d2
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "add-sig" && cd "ocaml-version" && git reset --hard c1cd1832
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:f4c82456e10adf78c4bf1849b05a8072cede5c2008b962470255ffcd8dbe88d2
# debian-13-5.4_riscv64_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 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocaml-version.opam ./
RUN opam pin add -yn ocaml-version.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.2 fmt.0.11.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y ocaml-version.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-04-16 16:40.35: Using cache hint "ocurrent/ocaml-version-ocaml/opam:debian-13-ocaml-5.4@sha256:f4c82456e10adf78c4bf1849b05a8072cede5c2008b962470255ffcd8dbe88d2-debian-13-5.4_riscv64_opam-2.5-4a40feaffa9a89db02f5bc4d4a4e906c"
2026-04-16 16:40.35: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:f4c82456e10adf78c4bf1849b05a8072cede5c2008b962470255ffcd8dbe88d2)
(comment debian-13-5.4_riscv64_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 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ocaml-version.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ocaml-version.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.2 fmt.0.11.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")
(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 ocaml-version.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-04-16 16:40.35: Waiting for resource in pool OCluster
2026-04-17 15:00.58: Waiting for worker…
2026-04-18 01:49.24: Got resource from pool OCluster
Building on riscv-bm-03.sw.ci.dev
All commits already cached
HEAD is now at c1cd183 tweak to automate last two, suggestion from @gasche


(from ocaml/opam:debian-13-ocaml-5.4@sha256:f4c82456e10adf78c4bf1849b05a8072cede5c2008b962470255ffcd8dbe88d2)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:f4c82456e10adf78c4bf1849b05a8072cede5c2008b962470255ffcd8dbe88d2' locally
docker.io/ocaml/opam@sha256:f4c82456e10adf78c4bf1849b05a8072cede5c2008b962470255ffcd8dbe88d2: Pulling from ocaml/opam
3e61abfb88ee: Already exists
76b1d07b1a3b: Already exists
ed0a77094d87: Already exists
dda49bd8ac08: Already exists
79841c38fc3d: Already exists
e23fd9439732: Already exists
269e9966d790: Already exists
52cc4e5d6121: Already exists
805e105b52dc: Already exists
ae53fa2b5435: Already exists
ba1024a7802c: Already exists
f9c71e0456b4: Already exists
49cdc11c577a: Already exists
2e917b473884: Already exists
4efed90b2a45: Already exists
fc9321643256: Already exists
892336fe0a02: Already exists
892336fe0a02: Already exists
bea8863f3ee4: Already exists
4e9cefa5299b: Already exists
e3cdf819ebd9: Already exists
cc5f28ef7662: Already exists
4f4fb700ef54: Already exists
d67f67cce0c9: Already exists
254dc46749bc: Already exists
98586e50ba59: Already exists
7ee86d26bde1: Already exists
9274f8a25124: Already exists
54277c64a2cf: Already exists
b701c0327936: Already exists
5520cae2ba51: Already exists
86fe8720be3d: Already exists
1e9a6fbdb422: Already exists
a3abdbab59cc: Already exists
1f1577d1ab69: Already exists
243e765f6bda: Already exists
414badea72c2: Already exists
dca5542c6a6c: Already exists
d11abfe346ed: Already exists
850f5f345d4f: Already exists
45a44aaebcc9: Already exists
1560e6818fb1: Pulling fs layer
e1c0adedaeec: Pulling fs layer
716945da171a: Pulling fs layer
dbaa1f0ec53c: Pulling fs layer
b4a0ec97be31: Pulling fs layer
ac156bfd6092: Pulling fs layer
0b5fd1110f83: Pulling fs layer
b4a0ec97be31: Waiting
ac156bfd6092: Waiting
dbaa1f0ec53c: Waiting
0b5fd1110f83: Waiting
1560e6818fb1: Verifying Checksum
1560e6818fb1: Download complete
e1c0adedaeec: Verifying Checksum
e1c0adedaeec: Download complete
716945da171a: Verifying Checksum
716945da171a: Download complete
1560e6818fb1: Pull complete
e1c0adedaeec: Pull complete
b4a0ec97be31: Verifying Checksum
b4a0ec97be31: Download complete
ac156bfd6092: Verifying Checksum
ac156bfd6092: Download complete
0b5fd1110f83: Download complete
716945da171a: Pull complete
dbaa1f0ec53c: Verifying Checksum
dbaa1f0ec53c: Download complete
dbaa1f0ec53c: Pull complete
b4a0ec97be31: Pull complete
ac156bfd6092: Pull complete
0b5fd1110f83: Pull complete
Digest: sha256:f4c82456e10adf78c4bf1849b05a8072cede5c2008b962470255ffcd8dbe88d2
Status: Downloaded newer image for ocaml/opam@sha256:f4c82456e10adf78c4bf1849b05a8072cede5c2008b962470255ffcd8dbe88d2
2026-04-18 01:49.25 ---> using "484c9fa6139706b8afa9764d3652fd702882e8e5056f93677166c9b0844fd477" from cache


/: (comment debian-13-5.4_riscv64_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-04-18 01:49.25 ---> using "e3fcd17677c90ac2badefc4393aa347c1e93834183d635a58d0a18813c0c1cf1" 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-04-18 01:49.25 ---> using "42cf30aa206babc6ffd1b40cb1eabcdb67ddeeb803e5b9fba84bc3e9e8f2948d" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.10.113-scw1
The OCaml toplevel, version 5.4.1
2.5.0
2026-04-18 01:49.25 ---> using "204e85d4f615e24dd02cc13f1e4e8326d5e39b1662e210cce7aafc479b511e97" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-18 01:49.25 ---> using "c5b3cebc9752b51849933feed0e5e6313e53b598d28fd4f67c68d439427a305a" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
42844088d7..0b0acbee05  master     -> origin/master
5f7bb1a6e6 Merge pull request #29704 from shonfeder/release-dune-3.22.2


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


Everything as up-to-date as possible
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-04-18 01:49.25 ---> using "86b3499a19d7c33216688ea31ff71804a9b15f85eeacc47939e250563d7d8bbc" from cache


/src: (copy (src ocaml-version.opam) (dst ./))
2026-04-18 01:49.25 ---> using "d9ffe6ce873e1766dc3cf13baeea9251fa70fccf7591b0b039ca68367cf194e7" from cache


/src: (run (network host)
(shell "opam pin add -yn ocaml-version.dev './'"))
[ocaml-version.dev] synchronised (file:///src)
ocaml-version is now pinned to file:///src (version dev)
2026-04-18 01:49.25 ---> using "e02fad3eef48c32bb17e3f41bc3ecc0190b5d7c38aceaa4642416a83e81e2119" from cache


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-18 01:49.25 ---> using "528a3c8595408f7c5a481b6cf6fcc6b367aed0132e6fa13f54f1cda494552c22" from cache


/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 dune.3.22.2 fmt.0.11.0 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")


/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 ocaml-version.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main riscv64 Packages [117 kB]
- Fetched 208 kB in 0s (438 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-version.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.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.1).
[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-04-18 01:49.25 ---> using "b91dcc75304bfc140ea949a620b72d29941a21e750d419b9f9f5958e84077de6" from cache


/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.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.1).
[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 12 packages
- install alcotest           1.9.1
- install astring            0.8.5
- install cmdliner           2.1.0
- install dune               3.22.2
- install fmt                0.11.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install re                 1.14.0
- install stdlib-shims       0.3.0
- install topkg              1.1.1
- install uutf               1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved dune.3.22.2  (cached)
-> installed ocamlfind.1.9.8
-> installed cmdliner.2.1.0
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed uutf.1.0.4
-> installed dune.3.22.2
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.14.0
-> installed alcotest.1.9.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-18 01:49.25 ---> using "544aa730f7a9ef6d37074602128d09f1f2d93f670847e896b916645b3ce64b0c" from cache


/src: (copy (src .) (dst /src))
2026-04-18 01:49.25 ---> saved as "0cd49f1c156d9d614924ec1f78fb97096f32fcea1cc9deb8f99ccf9418d71bb2"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test_unit.exe)
Testing `ocaml-version'.
This run has ID `E3NRHAEE'.


[OK]          Compiler_variants          0   Multicore not on 4.12 x86-64.
[OK]          Compiler_variants          1   Multicore not on 4.10 i386.
[OK]          Compiler_variants          2   Multicore not on 4.12 xi386.
[OK]          Configure_options          0   FP on last 4.07.
[OK]          Configure_options          1   FP on first 4.08.
[OK]          Configure_options          2   FP on 3.12.


Full test results in `/src/_build/default/test/_build/_tests/ocaml-version'.
Test Successful in 0.002s. 6 tests run.
2026-04-18 01:49.32 ---> saved as "37310752ba51ed5689c62636f91196dcba76eeb186a85b1267c61df66696733b"
Job succeeded
2026-04-18 01:49.32: Job succeeded