- github
- ocaml
- opam-repository
- d050d0
- extras,riscv64-ocaml-5.4,dockerfile.8.3.8
(not at the head of any monitored branch or PR)
2026-05-04 18:49.02: New job: build dockerfile.8.3.8, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29843/head (d050d0001516b25d1ccda860cb4e9f79161ace3a)
on ubuntu-24.04-ocaml-5.4/riscv64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29843/head" && git reset --hard d050d000
git fetch origin master
git merge --no-edit ade76687fbc9001333af45d7dd28419a7869b2ae
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dc51e43301e96cd9f3cbb9165cfc2d504861bd7a1f7dbb213c49a6e9b70ae2e4
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn dockerfile.8.3.8 8.3.8
RUN opam reinstall dockerfile.8.3.8; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"ubuntu-24.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'dockerfile.8.3.8' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2026-05-04 18:49.02: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dc51e43301e96cd9f3cbb9165cfc2d504861bd7a1f7dbb213c49a6e9b70ae2e4-dockerfile.8.3.8-d050d0001516b25d1ccda860cb4e9f79161ace3a"
2026-05-04 18:49.02: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dc51e43301e96cd9f3cbb9165cfc2d504861bd7a1f7dbb213c49a6e9b70ae2e4)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn dockerfile.8.3.8 8.3.8"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dockerfile.8.3.8;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'dockerfile.8.3.8' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-05-04 18:49.02: Waiting for resource in pool OCluster
2026-05-04 18:49.02: Waiting for worker…
2026-05-04 18:49.02: Got resource from pool OCluster
Building on riscv-bm-03.sw.ci.dev
Updating files: 11% (2215/18904)
Updating files: 12% (2269/18904)
Updating files: 13% (2458/18904)
Updating files: 14% (2647/18904)
Updating files: 15% (2836/18904)
Updating files: 16% (3025/18904)
Updating files: 17% (3214/18904)
Updating files: 18% (3403/18904)
Updating files: 19% (3592/18904)
Updating files: 20% (3781/18904)
Updating files: 21% (3970/18904)
Updating files: 22% (4159/18904)
Updating files: 23% (4348/18904)
Updating files: 24% (4537/18904)
Updating files: 25% (4726/18904)
Updating files: 25% (4804/18904)
Updating files: 26% (4916/18904)
Updating files: 27% (5105/18904)
Updating files: 28% (5294/18904)
Updating files: 29% (5483/18904)
Updating files: 30% (5672/18904)
Updating files: 31% (5861/18904)
Updating files: 32% (6050/18904)
Updating files: 33% (6239/18904)
Updating files: 34% (6428/18904)
Updating files: 35% (6617/18904)
Updating files: 36% (6806/18904)
Updating files: 37% (6995/18904)
Updating files: 37% (7103/18904)
Updating files: 38% (7184/18904)
Updating files: 39% (7373/18904)
Updating files: 40% (7562/18904)
Updating files: 41% (7751/18904)
Updating files: 42% (7940/18904)
Updating files: 43% (8129/18904)
Updating files: 44% (8318/18904)
Updating files: 45% (8507/18904)
Updating files: 46% (8696/18904)
Updating files: 47% (8885/18904)
Updating files: 48% (9074/18904)
Updating files: 49% (9263/18904)
Updating files: 49% (9275/18904)
Updating files: 50% (9452/18904)
Updating files: 51% (9642/18904)
Updating files: 52% (9831/18904)
Updating files: 53% (10020/18904)
Updating files: 54% (10209/18904)
Updating files: 55% (10398/18904)
Updating files: 56% (10587/18904)
Updating files: 57% (10776/18904)
Updating files: 58% (10965/18904)
Updating files: 59% (11154/18904)
Updating files: 60% (11343/18904)
Updating files: 60% (11427/18904)
Updating files: 61% (11532/18904)
Updating files: 62% (11721/18904)
Updating files: 63% (11910/18904)
Updating files: 64% (12099/18904)
Updating files: 65% (12288/18904)
Updating files: 66% (12477/18904)
Updating files: 67% (12666/18904)
Updating files: 68% (12855/18904)
Updating files: 69% (13044/18904)
Updating files: 70% (13233/18904)
Updating files: 71% (13422/18904)
Updating files: 72% (13611/18904)
Updating files: 72% (13729/18904)
Updating files: 73% (13800/18904)
Updating files: 74% (13989/18904)
Updating files: 75% (14178/18904)
Updating files: 76% (14368/18904)
Updating files: 77% (14557/18904)
Updating files: 78% (14746/18904)
Updating files: 79% (14935/18904)
Updating files: 80% (15124/18904)
Updating files: 81% (15313/18904)
Updating files: 82% (15502/18904)
Updating files: 83% (15691/18904)
Updating files: 84% (15880/18904)
Updating files: 85% (16069/18904)
Updating files: 85% (16180/18904)
Updating files: 86% (16258/18904)
Updating files: 87% (16447/18904)
Updating files: 88% (16636/18904)
Updating files: 89% (16825/18904)
Updating files: 90% (17014/18904)
Updating files: 91% (17203/18904)
Updating files: 92% (17392/18904)
Updating files: 93% (17581/18904)
Updating files: 94% (17770/18904)
Updating files: 95% (17959/18904)
Updating files: 96% (18148/18904)
Updating files: 97% (18337/18904)
Updating files: 97% (18370/18904)
Updating files: 98% (18526/18904)
Updating files: 99% (18715/18904)
Updating files: 100% (18904/18904)
Updating files: 100% (18904/18904), done.
HEAD is now at 0f91838653 stem.0.0.1 is not available on Windows
HEAD is now at ade76687fb Merge pull request #29842 from dinosaure/release-stem-v0.0.1
Updating ade76687fb..d050d00015
Fast-forward
packages/dockerfile-cmd/dockerfile-cmd.8.3.8/opam | 73 ++++++++++++++++++++++
.../dockerfile-opam/dockerfile-opam.8.3.8/opam | 71 +++++++++++++++++++++
packages/dockerfile/dockerfile.8.3.8/opam | 67 ++++++++++++++++++++
3 files changed, 211 insertions(+)
create mode 100644 packages/dockerfile-cmd/dockerfile-cmd.8.3.8/opam
create mode 100644 packages/dockerfile-opam/dockerfile-opam.8.3.8/opam
create mode 100644 packages/dockerfile/dockerfile.8.3.8/opam
(from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dc51e43301e96cd9f3cbb9165cfc2d504861bd7a1f7dbb213c49a6e9b70ae2e4)
2026-05-04 18:49.25 ---> using "707560050ad9b0c890bcc6f4f60bff3716d19cd6fc50da95384e605427042ee0" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-05-04 18:49.25 ---> using "54a222fde3a35ed3830f2550127260c43e5d3222a9d19ad31eb59a62a3359fbe" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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-05-04 18:49.25 ---> using "b410e0a59cf0b6fb3cf627ffc1548411b886fc95769f6d6799d474ea2c01c4b0" from cache
/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.5.1
# self-upgrade no
# system arch=riscv64 os=linux os-distribution=ubuntu os-version=24.04
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 3
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {= "5.4.1"}]
# compiler-packages ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.1
2026-05-04 18:49.25 ---> using "c1b6d6c078ed991d77fdf240239d89ef60a7309ac383e0e5d756993bb7fe7ffb" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMPRECISETRACKING 1)
/home/opam: (env CI true)
/home/opam: (env OPAM_REPO_CI true)
/home/opam: (run (shell "rm -rf opam-repository/"))
2026-05-04 18:49.25 ---> using "7a7266bf0fe225a081e2b141090fc8188699daf03cd6a0e7dcf9b36fbe220f5f" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-05-04 18:49.51 ---> saved as "6c4cb964569e6ea62d51ce0a083aa29cf1649c16e9496069acbb62c0ff53d932"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-04 18:51.29 ---> saved as "c23d86f71355848f2896968c33f7fefe305f3c230af31dd682f949d730f4b41b"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease [126 kB]
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [959 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1596 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted riscv64 Packages [11.5 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-backports/main riscv64 Packages [48.9 kB]
- Get:9 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe riscv64 Packages [29.3 kB]
- Get:10 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [1119 kB]
- Get:11 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [644 kB]
- Fetched 4786 kB in 2s (2124 kB/s)
- Reading package lists...
-
2026-05-04 18:51.38 ---> saved as "33c7f29c82014a395024de09cd1146d150bd5e529e8a350b9b1b3ab3c8a0c5b0"
/home/opam: (run (shell "opam pin add -k version -yn dockerfile.8.3.8 8.3.8"))
dockerfile is now pinned to version 8.3.8
2026-05-04 18:51.41 ---> saved as "e27d0e91edd2b03c5ba630742c0d10c0caf9647fef070bc886e4159add7a49b8"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dockerfile.8.3.8;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'dockerfile.8.3.8' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dockerfile.8.3.8 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 17 packages
- install base v0.17.3 [required by ppx_sexp_conv]
- install csexp 1.5.2 [required by dune-configurator]
- install dockerfile 8.3.8 (pinned)
- install dune 3.22.2 [required by dockerfile]
- install dune-configurator 3.22.2 [required by base]
- install fmt 0.11.0 [required by dockerfile]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ocaml_intrinsics_kernel v0.17.1 [required by base]
- install ocamlbuild 0.16.1 [required by fmt]
- install ocamlfind 1.9.8 [required by fmt]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_sexp_conv v0.17.1 [required by dockerfile]
- install ppxlib 0.38.0 [required by ppx_sexp_conv]
- install ppxlib_jane v0.17.4 [required by ppx_sexp_conv]
- install sexplib0 v0.17.0 [required by dockerfile]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install topkg 1.1.1 [required by fmt]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.17.3 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved dockerfile.8.3.8 (https://github.com/ocurrent/ocaml-dockerfile/releases/download/8.3.8/ocaml-dockerfile-8.3.8.tbz)
-> retrieved dune.3.22.2, dune-configurator.3.22.2 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (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.0.38.0 (cached)
-> retrieved ppxlib_jane.v0.17.4 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed dune.3.22.2
-> installed csexp.1.5.2
-> installed ppx_derivers.1.2.1
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ocaml-compiler-libs.v0.17.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.22.2
-> installed base.v0.17.3
-> installed ppxlib.0.38.0
-> installed ppxlib_jane.v0.17.4
-> installed ppx_sexp_conv.v0.17.1
-> installed dockerfile.8.3.8
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-04 19:01.36 ---> saved as "66ec81dda3ae0a775ce316453a1bf583b31c24bbbd84805f5a7606ec7ae6ec35"
Job succeeded
2026-05-04 19:02.13: Job succeeded