Organisationsocurrentocaml-dockerfile3d4d8b ()debian-13-5.4_riscv64_opam-2.5

debian-13-5.4_riscv64_opam-2.5

Link Copied
Code Copied

Logs

2026-03-26 16:33.35: New job: test ocurrent/ocaml-dockerfile https://github.com/ocurrent/ocaml-dockerfile.git#refs/heads/master (3d4d8b62f5deb5cd10f73f4d9d9a846b798a139c) (linux-riscv64:debian-13-5.4_riscv64_opam-2.5)
Base: ocaml/opam:debian-13-ocaml-5.4@sha256:46f82aeb1bb69765da189ace46ec4a9674dd052a61a6858094bb41f7b19bb2fb
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocurrent/ocaml-dockerfile.git" -b "master" && cd "ocaml-dockerfile" && git reset --hard 3d4d8b62
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:46f82aeb1bb69765da189ace46ec4a9674dd052a61a6858094bb41f7b19bb2fb
# 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 46f289cd3749314bbebddeede62fc05f9858f680 || git fetch origin master) && git reset -q --hard 46f289cd3749314bbebddeede62fc05f9858f680 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam ./
RUN opam pin add -yn dockerfile.dev './' && \
opam pin add -yn dockerfile-opam.dev './' && \
opam pin add -yn dockerfile-cmd.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.22.0 dune-configurator.3.22.0 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.4 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.38.0 ppxlib_jane.v0.17.4 re.1.14.0 rresult.0.7.0 sexplib0.v0.17.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 dockerfile.dev dockerfile-opam.dev dockerfile-cmd.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-03-26 16:33.35: Using cache hint "ocurrent/ocaml-dockerfile-ocaml/opam:debian-13-ocaml-5.4@sha256:46f82aeb1bb69765da189ace46ec4a9674dd052a61a6858094bb41f7b19bb2fb-debian-13-5.4_riscv64_opam-2.5-16585d118a3d2ce2a9ab48246dd307f4"
2026-03-26 16:33.35: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:46f82aeb1bb69765da189ace46ec4a9674dd052a61a6858094bb41f7b19bb2fb)
(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 46f289cd3749314bbebddeede62fc05f9858f680 || git fetch origin master) && git reset -q --hard 46f289cd3749314bbebddeede62fc05f9858f680 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam)
(dst ./))
(run (network host)
(shell  "opam pin add -yn dockerfile.dev './' && \
\nopam pin add -yn dockerfile-opam.dev './' && \
\nopam pin add -yn dockerfile-cmd.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 astring.0.8.5 base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.22.0 dune-configurator.3.22.0 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.4 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.38.0 ppxlib_jane.v0.17.4 re.1.14.0 rresult.0.7.0 sexplib0.v0.17.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 dockerfile.dev dockerfile-opam.dev dockerfile-cmd.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-03-26 16:33.35: Waiting for resource in pool OCluster
2026-03-26 16:33.35: Waiting for worker…
2026-03-26 20:03.09: Got resource from pool OCluster
Building on riscv-bm-01.sw.ci.dev
HEAD is now at d2ead65 Update CHANGES.md before release
HEAD is now at 3d4d8b6 Merge pull request #260 from mtelvers/fix-ocaml-version-lower-bound


(from ocaml/opam:debian-13-ocaml-5.4@sha256:46f82aeb1bb69765da189ace46ec4a9674dd052a61a6858094bb41f7b19bb2fb)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:46f82aeb1bb69765da189ace46ec4a9674dd052a61a6858094bb41f7b19bb2fb' locally
docker.io/ocaml/opam@sha256:46f82aeb1bb69765da189ace46ec4a9674dd052a61a6858094bb41f7b19bb2fb: Pulling from ocaml/opam
3be247472b67: Already exists
1130a6599d48: Already exists
4563094dc5bf: Already exists
fe576e939753: Already exists
796ec56fee5d: Already exists
ae1dbdab64f3: Already exists
54ebe7f31159: Already exists
9c74968441d6: Already exists
8ff00744bcbe: Already exists
beefc92ce96c: Already exists
13c3a23afc45: Already exists
3ad6f94d2ab3: Already exists
22575fc2056a: Already exists
079151a0f1cd: Already exists
3121107eb638: Already exists
0fa7697d3886: Already exists
b01afbafdb23: Already exists
b01afbafdb23: Already exists
f1fca7591d59: Already exists
f0f274f772f6: Already exists
9ce5599383df: Already exists
3794f582ed46: Already exists
4f4fb700ef54: Already exists
a98d5511bfa4: Already exists
644d5d83146e: Already exists
736a3abf8060: Already exists
fcf7694b8ff7: Already exists
23acdcf20d0c: Already exists
ca82e2abed2b: Already exists
7e0ab658accc: Already exists
f0d1ebb4aea1: Already exists
ebc9ee3f3ea8: Already exists
730afd2601cb: Already exists
62485c2f91d4: Already exists
e018d49283ab: Already exists
e070b48b5cf1: Already exists
6158a39b48ff: Already exists
989b36477d41: Already exists
a2020f8fe115: Already exists
c382453fc245: Already exists
a96fccb405ba: Already exists
48f4eab97ee7: Pulling fs layer
0c16dce1868e: Pulling fs layer
3523be22c1ac: Pulling fs layer
a9761b50840d: Pulling fs layer
7b0a2713f29f: Pulling fs layer
db782875bfc3: Pulling fs layer
664ae43875a8: Pulling fs layer
a9761b50840d: Waiting
db782875bfc3: Waiting
7b0a2713f29f: Waiting
664ae43875a8: Waiting
48f4eab97ee7: Verifying Checksum
48f4eab97ee7: Download complete
48f4eab97ee7: Pull complete
0c16dce1868e: Verifying Checksum
0c16dce1868e: Download complete
0c16dce1868e: Pull complete
3523be22c1ac: Download complete
7b0a2713f29f: Verifying Checksum
7b0a2713f29f: Download complete
664ae43875a8: Verifying Checksum
664ae43875a8: Download complete
3523be22c1ac: Pull complete
db782875bfc3: Verifying Checksum
db782875bfc3: Download complete
a9761b50840d: Verifying Checksum
a9761b50840d: Download complete
a9761b50840d: Pull complete
7b0a2713f29f: Pull complete
db782875bfc3: Pull complete
664ae43875a8: Pull complete
Digest: sha256:46f82aeb1bb69765da189ace46ec4a9674dd052a61a6858094bb41f7b19bb2fb
Status: Downloaded newer image for ocaml/opam@sha256:46f82aeb1bb69765da189ace46ec4a9674dd052a61a6858094bb41f7b19bb2fb
2026-03-26 20:08.46 ---> saved as "e0905cb4ea77c127c2496da0afb75340dc772dd47ed162b86bc55e06e6af136a"


/: (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-03-26 20:08.46 ---> saved as "678184416a598483bd3e16c53def6d123ed7dc6797cbe0ea3c6b0a3dbcdc7bd5"


/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-03-26 20:10.36 ---> saved as "ad7ed4390d364d59a28a0fd9fbdf3b2736407d154db8cc6883b591d30340507d"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.10.113-scw1
The OCaml toplevel, version 5.4.0
2.5.0
2026-03-26 20:10.37 ---> saved as "045609221492a2388bb503a2166fe9e945abd6f25f13d0ab21aa83754ab14aed"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-03-26 20:10.38 ---> saved as "4f94c0140991a32313ae5fd6ef2a17627880235ae274410ce5cec7b38666b910"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 46f289cd3749314bbebddeede62fc05f9858f680 || git fetch origin master) && git reset -q --hard 46f289cd3749314bbebddeede62fc05f9858f680 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ffb54b9bdd..46f289cd37  master     -> origin/master
46f289cd37 Merge pull request #29563 from NathanReb/release-ppxlib-0.38.0


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


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
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-03-26 20:11.49 ---> saved as "cb81b9d535497f7914d7525f0f0d437eb5a9736c26b69fbff76af761581f7feb"


/src: (copy (src dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam)
(dst ./))
2026-03-26 20:11.49 ---> saved as "92c88a3cd03abd9f86fc36407a638552192224604c35c30c5bf182bee7c09098"


/src: (run (network host)
(shell  "opam pin add -yn dockerfile.dev './' && \
\nopam pin add -yn dockerfile-opam.dev './' && \
\nopam pin add -yn dockerfile-cmd.dev './'"))
[dockerfile.dev] synchronised (file:///src)
dockerfile is now pinned to file:///src (version dev)
[dockerfile-opam.dev] synchronised (file:///src)
dockerfile-opam is now pinned to file:///src (version dev)
[dockerfile-cmd.dev] synchronised (file:///src)
dockerfile-cmd is now pinned to file:///src (version dev)
2026-03-26 20:12.09 ---> saved as "1b28f081114f470647a21439ede8b509c57b48b1c97eae9595351cfeb1a886be"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-03-26 20:12.09 ---> saved as "d9c6ccd6cf58ddbde448494c68595c504207f9cfb39168505867fcc5ac923339"


/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.22.0 dune-configurator.3.22.0 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.4 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.38.0 ppxlib_jane.v0.17.4 re.1.14.0 rresult.0.7.0 sexplib0.v0.17.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 dockerfile.dev dockerfile-opam.dev dockerfile-cmd.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- 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 trixie/main riscv64 Packages [9380 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main riscv64 Packages [108 kB]
- Fetched 9718 kB in 5s (1921 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dockerfile.dev] synchronised (file:///src)
[dockerfile-cmd.dev] synchronised (file:///src)
[dockerfile-opam.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-03-26 20:13.00 ---> saved as "e6e735c51f8c0f9cdd9ed34a93e5f7c1f0efb49feade5177f91039de95cc3deb"


/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 27 packages
- install alcotest                1.9.1
- install astring                 0.8.5
- install base                    v0.17.3
- install bos                     0.2.1
- install cmdliner                2.1.0
- install csexp                   1.5.2
- install dune                    3.22.0
- install dune-configurator       3.22.0
- install fmt                     0.11.0
- install fpath                   0.7.3
- install logs                    0.10.0
- install ocaml-compiler-libs     v0.17.0
- install ocaml-syntax-shims      1.0.0
- install ocaml-version           4.0.4
- install ocaml_intrinsics_kernel v0.17.1
- install ocamlbuild              0.16.1
- install ocamlfind               1.9.8
- install ppx_derivers            1.2.1
- install ppx_sexp_conv           v0.17.1
- install ppxlib                  0.38.0
- install ppxlib_jane             v0.17.4
- install re                      1.14.0
- install rresult                 0.7.0
- install sexplib0                v0.17.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 base.v0.17.3  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml-version.4.0.4  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.17.1  (cached)
-> retrieved ppxlib_jane.v0.17.4  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved ppxlib.0.38.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved dune.3.22.0, dune-configurator.3.22.0  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed rresult.0.7.0
-> installed fpath.0.7.3
-> installed logs.0.10.0
-> installed uutf.1.0.4
-> installed bos.0.2.1
-> installed dune.3.22.0
-> installed csexp.1.5.2
-> installed ocaml-version.4.0.4
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ppx_derivers.1.2.1
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.22.0
-> installed re.1.14.0
-> installed alcotest.1.9.1
-> installed base.v0.17.3
-> installed ppxlib.0.38.0
-> installed ppxlib_jane.v0.17.4
-> installed ppx_sexp_conv.v0.17.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-26 20:23.28 ---> saved as "0df361c204138d5259c29e8003b6b47d43839f303d0e087ba976cac7aabbbc28"


/src: (copy (src .) (dst /src))
2026-03-26 20:23.29 ---> saved as "b32899a4c1c9f5da690e14edd040d29ad8fc5456890f41e3d83d1f936f98d877"


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


[OK]          dockerfile          0   string_of_t.
[OK]          dockerfile          1   string_of_t.
[OK]          dockerfile          2   Format RUN heredocs.


Full test results in `/src/_build/default/test/_build/_tests/test'.
Test Successful in 0.002s. 3 tests run.
(cd _build/default/test-opam && ./dockerfile.exe)
Testing `test'.
This run has ID `B3SNXDGN'.


[OK]          dockerfile-opam          0   Distro.compare.


Full test results in `/src/_build/default/test-opam/_build/_tests/test'.
Test Successful in 0.001s. 1 test run.
2026-03-26 20:23.54 ---> saved as "a61b34486c93107b22ad10ec04c2c55f48af2c756520dbe143d3e23dc963357a"
Job succeeded
2026-03-26 20:23.54: Job succeeded