Build:
- 0
2025-12-03 21:27.12: New job: build dockerfile-opam.8.3.4, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29021/head (7009d47a555f413e286737807f043c0069eee471)
on ubuntu-24.04-ocaml-4.14/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/29021/head" && git reset --hard 7009d47a
git fetch origin master
git merge --no-edit d126db7f3538437450adc43cd0d4ab31ebe228d8
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f4651168a09951906f4ec5f418d90a300f95731da11aac00a7b03a44582133dc
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-opam.8.3.4 8.3.4
RUN opam reinstall dockerfile-opam.8.3.4; \
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-opam.8.3.4' && 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 .
2025-12-03 21:27.12: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f4651168a09951906f4ec5f418d90a300f95731da11aac00a7b03a44582133dc-dockerfile-opam.8.3.4-7009d47a555f413e286737807f043c0069eee471"
2025-12-03 21:27.12: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f4651168a09951906f4ec5f418d90a300f95731da11aac00a7b03a44582133dc)
(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-opam.8.3.4 8.3.4"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dockerfile-opam.8.3.4;\
\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-opam.8.3.4' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-12-03 21:27.12: Waiting for resource in pool OCluster
2025-12-03 21:27.12: Waiting for worker…
2025-12-03 21:27.12: Got resource from pool OCluster
Building on riscv-bm-02.sw.ci.dev
Updating files: 11% (2121/18974)
Updating files: 12% (2277/18974)
Updating files: 13% (2467/18974)
Updating files: 14% (2657/18974)
Updating files: 15% (2847/18974)
Updating files: 16% (3036/18974)
Updating files: 17% (3226/18974)
Updating files: 18% (3416/18974)
Updating files: 19% (3606/18974)
Updating files: 20% (3795/18974)
Updating files: 21% (3985/18974)
Updating files: 22% (4175/18974)
Updating files: 23% (4365/18974)
Updating files: 23% (4387/18974)
Updating files: 24% (4554/18974)
Updating files: 25% (4744/18974)
Updating files: 26% (4934/18974)
Updating files: 27% (5123/18974)
Updating files: 28% (5313/18974)
Updating files: 29% (5503/18974)
Updating files: 30% (5693/18974)
Updating files: 31% (5882/18974)
Updating files: 32% (6072/18974)
Updating files: 33% (6262/18974)
Updating files: 34% (6452/18974)
Updating files: 35% (6641/18974)
Updating files: 36% (6831/18974)
Updating files: 36% (6880/18974)
Updating files: 37% (7021/18974)
Updating files: 38% (7211/18974)
Updating files: 39% (7400/18974)
Updating files: 40% (7590/18974)
Updating files: 41% (7780/18974)
Updating files: 42% (7970/18974)
Updating files: 43% (8159/18974)
Updating files: 44% (8349/18974)
Updating files: 45% (8539/18974)
Updating files: 46% (8729/18974)
Updating files: 47% (8918/18974)
Updating files: 47% (9103/18974)
Updating files: 48% (9108/18974)
Updating files: 49% (9298/18974)
Updating files: 50% (9487/18974)
Updating files: 51% (9677/18974)
Updating files: 52% (9867/18974)
Updating files: 53% (10057/18974)
Updating files: 54% (10246/18974)
Updating files: 55% (10436/18974)
Updating files: 56% (10626/18974)
Updating files: 56% (10794/18974)
Updating files: 57% (10816/18974)
Updating files: 58% (11005/18974)
Updating files: 59% (11195/18974)
Updating files: 60% (11385/18974)
Updating files: 61% (11575/18974)
Updating files: 62% (11764/18974)
Updating files: 63% (11954/18974)
Updating files: 64% (12144/18974)
Updating files: 65% (12334/18974)
Updating files: 66% (12523/18974)
Updating files: 67% (12713/18974)
Updating files: 67% (12807/18974)
Updating files: 68% (12903/18974)
Updating files: 69% (13093/18974)
Updating files: 70% (13282/18974)
Updating files: 71% (13472/18974)
Updating files: 72% (13662/18974)
Updating files: 73% (13852/18974)
Updating files: 74% (14041/18974)
Updating files: 75% (14231/18974)
Updating files: 76% (14421/18974)
Updating files: 77% (14610/18974)
Updating files: 78% (14800/18974)
Updating files: 78% (14967/18974)
Updating files: 79% (14990/18974)
Updating files: 80% (15180/18974)
Updating files: 81% (15369/18974)
Updating files: 82% (15559/18974)
Updating files: 83% (15749/18974)
Updating files: 84% (15939/18974)
Updating files: 85% (16128/18974)
Updating files: 86% (16318/18974)
Updating files: 87% (16508/18974)
Updating files: 88% (16698/18974)
Updating files: 89% (16887/18974)
Updating files: 90% (17077/18974)
Updating files: 90% (17265/18974)
Updating files: 91% (17267/18974)
Updating files: 92% (17457/18974)
Updating files: 93% (17646/18974)
Updating files: 94% (17836/18974)
Updating files: 95% (18026/18974)
Updating files: 96% (18216/18974)
Updating files: 97% (18405/18974)
Updating files: 98% (18595/18974)
Updating files: 99% (18785/18974)
Updating files: 100% (18974/18974)
Updating files: 100% (18974/18974), done.
HEAD is now at 209e9559e9 Merge commit '0d6e97fb557407f2d2b2e93324b069a37d5f89dc'
HEAD is now at d126db7f35 Merge pull request #29011 from hannesm/mark-old-ocaml-compilers-unmaintained
Updating d126db7f35..7009d47a55
Fast-forward
packages/dockerfile-cmd/dockerfile-cmd.8.3.4/opam | 73 ++++++++++++++++++++++
.../dockerfile-opam/dockerfile-opam.8.3.4/opam | 71 +++++++++++++++++++++
packages/dockerfile/dockerfile.8.3.4/opam | 67 ++++++++++++++++++++
3 files changed, 211 insertions(+)
create mode 100644 packages/dockerfile-cmd/dockerfile-cmd.8.3.4/opam
create mode 100644 packages/dockerfile-opam/dockerfile-opam.8.3.4/opam
create mode 100644 packages/dockerfile/dockerfile.8.3.4/opam
(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f4651168a09951906f4ec5f418d90a300f95731da11aac00a7b03a44582133dc)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f4651168a09951906f4ec5f418d90a300f95731da11aac00a7b03a44582133dc' locally
docker.io/ocaml/opam@sha256:f4651168a09951906f4ec5f418d90a300f95731da11aac00a7b03a44582133dc: Pulling from ocaml/opam
4f36e1b0a2cc: Already exists
abd7f8d1324b: Already exists
d9ae93f65da9: Already exists
8bf178ca3264: Already exists
b256ad0ece68: Already exists
a632f4bf2c73: Already exists
616960f87415: Already exists
d2a1125424e9: Already exists
8a455d05311e: Already exists
22aadbd92f3b: Already exists
acf3036595b1: Already exists
0e5e8082048d: Already exists
f49d2ec2ec6f: Already exists
239647f46b10: Already exists
ce34874ce0d2: Already exists
06062531f66d: Already exists
06062531f66d: Already exists
ced47d1a2f64: Already exists
cd7d9a02e4a9: Already exists
fda910b60639: Already exists
76e7a33fed11: Already exists
4f4fb700ef54: Already exists
cce83432f185: Already exists
9942f62552ea: Already exists
37442969b65d: Already exists
3753116f5e3b: Already exists
7c8c7d9cfda7: Already exists
e2f7fae73765: Already exists
f12b6c16b37c: Already exists
d5e74ef4bc80: Already exists
abf01b9ef3ee: Already exists
2d7d05c9d6b6: Already exists
376742137f97: Already exists
d6120333fb7a: Already exists
fa7f9771889c: Already exists
ad2f4205b21e: Already exists
fcb20fb2fad3: Already exists
adc2263ad8fb: Already exists
b1cde4adf3de: Already exists
655548ce5001: Already exists
e30645d85118: Pulling fs layer
b8dd82017e49: Pulling fs layer
72236caf6e50: Pulling fs layer
5b9e12419c5a: Pulling fs layer
5b9e12419c5a: Waiting
b8dd82017e49: Verifying Checksum
b8dd82017e49: Download complete
72236caf6e50: Verifying Checksum
72236caf6e50: Download complete
5b9e12419c5a: Verifying Checksum
5b9e12419c5a: Download complete
e30645d85118: Verifying Checksum
e30645d85118: Download complete
e30645d85118: Pull complete
b8dd82017e49: Pull complete
72236caf6e50: Pull complete
5b9e12419c5a: Pull complete
Digest: sha256:f4651168a09951906f4ec5f418d90a300f95731da11aac00a7b03a44582133dc
Status: Downloaded newer image for ocaml/opam@sha256:f4651168a09951906f4ec5f418d90a300f95731da11aac00a7b03a44582133dc
2025-12-03 21:27.35 ---> using "82b06c56b5d04a0035a636604fba1c1f0367d901bdfa1a8c5fb54ad86dbf170a" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-03 21:27.35 ---> using "648eab81effc21e3c214720738b03621183bf2453859f2a0200e84dc53bb8790" 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
2025-12-03 21:27.35 ---> using "1941aae42fb2651257cd6208bce87adc5a64843cc9c1880d04215b8cabcf8cd9" 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.0
# 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 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2025-12-03 21:27.35 ---> using "2384b33494b7058afa06cfdeb62c8ce8c859dc348a2873dcce8567952849e68d" 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/"))
2025-12-03 21:27.35 ---> using "cfa9e51eaaefc63cc7d70b4b671cc56957a75c35b5f703a542b1572164057439" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-03 21:28.04 ---> saved as "0ec84dbe6acb9ab9cd6bd6471129b112b25bf9307316fd14e136faaa9ebd3f9f"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-03 21:29.41 ---> saved as "c4018aa70dd6e9011884fb1e66056ab0945b59575d10ff95d2f691990d9a766f"
/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/universe riscv64 Packages [1461 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [888 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe riscv64 Packages [28.8 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [920 kB]
- Get:9 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [567 kB]
- Fetched 4242 kB in 2s (1751 kB/s)
- Reading package lists...
-
2025-12-03 21:29.50 ---> saved as "e2cba82a6c4238dcb23fd5933a65f19c988609adc8a11532722aeae29e198e70"
/home/opam: (run (shell "opam pin add -k version -yn dockerfile-opam.8.3.4 8.3.4"))
dockerfile-opam is now pinned to version 8.3.4
2025-12-03 21:29.53 ---> saved as "e982941bb575657c62332d8841b8c9c51260ac9f9c74b838220b36d73458c6f9"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dockerfile-opam.8.3.4;\
\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-opam.8.3.4' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dockerfile-opam.8.3.4 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 17 packages
- install base v0.16.4 [required by ppx_sexp_conv]
- install csexp 1.5.2 [required by dune-configurator]
- install dockerfile 8.3.4 [required by dockerfile-opam]
- install dockerfile-opam 8.3.4 (pinned)
- install dune 3.20.2 [required by dockerfile-opam]
- install dune-configurator 3.20.2 [required by base]
- install fmt 0.11.0 [required by dockerfile-opam]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install ocaml-version 4.0.3 [required by dockerfile-opam]
- 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.16.0 [required by dockerfile-opam]
- install ppxlib 0.35.0 [required by ppx_sexp_conv]
- install sexplib0 v0.16.0 [required by dockerfile-opam]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install topkg 1.1.1 [required by fmt]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.16.4 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved dockerfile.8.3.4, dockerfile-opam.8.3.4 (https://github.com/ocurrent/ocaml-dockerfile/releases/download/8.3.4/ocaml-dockerfile-8.3.4.tbz)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocaml-version.4.0.3 (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.16.0 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved sexplib0.v0.16.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.20.2
-> installed csexp.1.5.2
-> installed ppx_derivers.1.2.1
-> installed ocaml-version.4.0.3
-> installed ocaml-compiler-libs.v0.12.4
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.16.0
-> installed dune-configurator.3.20.2
-> installed base.v0.16.4
-> installed ppxlib.0.35.0
-> installed ppx_sexp_conv.v0.16.0
-> installed dockerfile.8.3.4
-> installed dockerfile-opam.8.3.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-03 21:37.37 ---> saved as "7d6c2a0177bbd701d43c825a25acdcaee6204dddb794306a5b748468ba63dea3"
Job succeeded
2025-12-03 21:38.12: Job succeeded