- github
- ocaml
- opam-repository
- c56e58
- extras,riscv64-ocaml-5.3,ocamlc-loc.3.20.2
(not at the head of any monitored branch or PR)
2025-09-04 13:54.57: New job: build ocamlc-loc.3.20.2, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/28437/head (c56e58d25e43ce7dd35f9942ad32b42e22d608c9)
on ubuntu-24.04-ocaml-5.3/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/28437/head" && git reset --hard c56e58d2
git fetch origin master
git merge --no-edit 119d5aa5727e8401fbd044e77eca7ecb183f073a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:45507cb4552db3be297495ab9a35b6be8d7b8e49cccbf47c32f8c1f99dea6295
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 ocamlc-loc.3.20.2 3.20.2
RUN opam reinstall ocamlc-loc.3.20.2; \
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" != 'ocamlc-loc.3.20.2' && 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-09-04 13:54.57: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:45507cb4552db3be297495ab9a35b6be8d7b8e49cccbf47c32f8c1f99dea6295-ocamlc-loc.3.20.2-c56e58d25e43ce7dd35f9942ad32b42e22d608c9"
2025-09-04 13:54.57: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:45507cb4552db3be297495ab9a35b6be8d7b8e49cccbf47c32f8c1f99dea6295)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 ocamlc-loc.3.20.2 3.20.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlc-loc.3.20.2;\
\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\" != 'ocamlc-loc.3.20.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-09-04 13:54.57: Connecting to build cluster…
2025-09-04 13:54.57: Waiting for resource in pool OCluster
2025-09-04 13:55.10: Waiting for worker…
2025-09-04 16:14.17: Got resource from pool OCluster
Building on riscv-bm-04.sw.ci.dev
All commits already cached
Updating files: 14% (2711/18196)
Updating files: 15% (2730/18196)
Updating files: 16% (2912/18196)
Updating files: 17% (3094/18196)
Updating files: 18% (3276/18196)
Updating files: 19% (3458/18196)
Updating files: 20% (3640/18196)
Updating files: 21% (3822/18196)
Updating files: 22% (4004/18196)
Updating files: 23% (4186/18196)
Updating files: 24% (4368/18196)
Updating files: 25% (4549/18196)
Updating files: 26% (4731/18196)
Updating files: 27% (4913/18196)
Updating files: 28% (5095/18196)
Updating files: 28% (5245/18196)
Updating files: 29% (5277/18196)
Updating files: 30% (5459/18196)
Updating files: 31% (5641/18196)
Updating files: 32% (5823/18196)
Updating files: 33% (6005/18196)
Updating files: 34% (6187/18196)
Updating files: 35% (6369/18196)
Updating files: 36% (6551/18196)
Updating files: 37% (6733/18196)
Updating files: 38% (6915/18196)
Updating files: 39% (7097/18196)
Updating files: 40% (7279/18196)
Updating files: 41% (7461/18196)
Updating files: 42% (7643/18196)
Updating files: 43% (7825/18196)
Updating files: 43% (7884/18196)
Updating files: 44% (8007/18196)
Updating files: 45% (8189/18196)
Updating files: 46% (8371/18196)
Updating files: 47% (8553/18196)
Updating files: 48% (8735/18196)
Updating files: 49% (8917/18196)
Updating files: 50% (9098/18196)
Updating files: 51% (9280/18196)
Updating files: 52% (9462/18196)
Updating files: 53% (9644/18196)
Updating files: 54% (9826/18196)
Updating files: 55% (10008/18196)
Updating files: 55% (10104/18196)
Updating files: 56% (10190/18196)
Updating files: 57% (10372/18196)
Updating files: 58% (10554/18196)
Updating files: 59% (10736/18196)
Updating files: 60% (10918/18196)
Updating files: 61% (11100/18196)
Updating files: 62% (11282/18196)
Updating files: 63% (11464/18196)
Updating files: 64% (11646/18196)
Updating files: 65% (11828/18196)
Updating files: 66% (12010/18196)
Updating files: 67% (12192/18196)
Updating files: 68% (12374/18196)
Updating files: 68% (12503/18196)
Updating files: 69% (12556/18196)
Updating files: 70% (12738/18196)
Updating files: 71% (12920/18196)
Updating files: 72% (13102/18196)
Updating files: 73% (13284/18196)
Updating files: 74% (13466/18196)
Updating files: 75% (13647/18196)
Updating files: 76% (13829/18196)
Updating files: 77% (14011/18196)
Updating files: 78% (14193/18196)
Updating files: 79% (14375/18196)
Updating files: 80% (14557/18196)
Updating files: 80% (14638/18196)
Updating files: 81% (14739/18196)
Updating files: 82% (14921/18196)
Updating files: 83% (15103/18196)
Updating files: 84% (15285/18196)
Updating files: 85% (15467/18196)
Updating files: 86% (15649/18196)
Updating files: 87% (15831/18196)
Updating files: 88% (16013/18196)
Updating files: 89% (16195/18196)
Updating files: 90% (16377/18196)
Updating files: 91% (16559/18196)
Updating files: 92% (16741/18196)
Updating files: 93% (16923/18196)
Updating files: 93% (17034/18196)
Updating files: 94% (17105/18196)
Updating files: 95% (17287/18196)
Updating files: 96% (17469/18196)
Updating files: 97% (17651/18196)
Updating files: 98% (17833/18196)
Updating files: 99% (18015/18196)
Updating files: 100% (18196/18196)
Updating files: 100% (18196/18196), done.
HEAD is now at 119d5aa572 Merge pull request #28429 from toots/opam-publish-liquidsoap.2.4.0
Merge made by the 'ort' strategy.
packages/chrome-trace/chrome-trace.3.20.2/opam | 41 ++++++++++++
.../dune-action-plugin.3.20.2/opam | 54 ++++++++++++++++
.../dune-build-info/dune-build-info.3.20.2/opam | 47 ++++++++++++++
.../dune-configurator.3.20.2/opam | 51 +++++++++++++++
packages/dune-glob/dune-glob.3.20.2/opam | 44 +++++++++++++
.../dune-private-libs.3.20.2/opam | 52 +++++++++++++++
packages/dune-rpc-lwt/dune-rpc-lwt.3.20.2/opam | 43 +++++++++++++
packages/dune-rpc/dune-rpc.3.20.2/opam | 46 ++++++++++++++
packages/dune-site/dune-site.3.20.2/opam | 39 ++++++++++++
packages/dune/dune.3.20.2/opam | 74 ++++++++++++++++++++++
packages/dyn/dyn.3.20.2/opam | 42 ++++++++++++
packages/ocamlc-loc/ocamlc-loc.3.20.2/opam | 45 +++++++++++++
packages/ordering/ordering.3.20.2/opam | 40 ++++++++++++
packages/stdune/stdune.3.20.2/opam | 46 ++++++++++++++
packages/xdg/xdg.3.20.2/opam | 41 ++++++++++++
15 files changed, 705 insertions(+)
create mode 100644 packages/chrome-trace/chrome-trace.3.20.2/opam
create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.20.2/opam
create mode 100644 packages/dune-build-info/dune-build-info.3.20.2/opam
create mode 100644 packages/dune-configurator/dune-configurator.3.20.2/opam
create mode 100644 packages/dune-glob/dune-glob.3.20.2/opam
create mode 100644 packages/dune-private-libs/dune-private-libs.3.20.2/opam
create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.20.2/opam
create mode 100644 packages/dune-rpc/dune-rpc.3.20.2/opam
create mode 100644 packages/dune-site/dune-site.3.20.2/opam
create mode 100644 packages/dune/dune.3.20.2/opam
create mode 100644 packages/dyn/dyn.3.20.2/opam
create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.20.2/opam
create mode 100644 packages/ordering/ordering.3.20.2/opam
create mode 100644 packages/stdune/stdune.3.20.2/opam
create mode 100644 packages/xdg/xdg.3.20.2/opam
(from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:45507cb4552db3be297495ab9a35b6be8d7b8e49cccbf47c32f8c1f99dea6295)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:45507cb4552db3be297495ab9a35b6be8d7b8e49cccbf47c32f8c1f99dea6295' locally
docker.io/ocaml/opam@sha256:45507cb4552db3be297495ab9a35b6be8d7b8e49cccbf47c32f8c1f99dea6295: Pulling from ocaml/opam
b12e9b070917: Already exists
e019355799b0: Already exists
fc0873c6e74b: Already exists
f5cddfeaa478: Already exists
7462f2e9dd61: Already exists
40f110116789: Already exists
72133b3cf30d: Already exists
d527ffa7800e: Already exists
9743189ba258: Already exists
64463e59c245: Already exists
0335dd6d1a79: Already exists
379d903b741d: Already exists
8ef5bc3f0e0b: Already exists
1d2cdd8fdc4b: Already exists
5bedbe4ebe50: Already exists
beab249035c3: Already exists
beab249035c3: Already exists
fc3490915826: Already exists
a9b0de8d2a94: Already exists
0d7b8f288b2e: Already exists
6b07cff5d49b: Already exists
4f4fb700ef54: Already exists
ddf96873dd33: Already exists
6efef726ce39: Already exists
ecde134ec288: Already exists
a262db3d0076: Already exists
2d3ac99ebad7: Already exists
6a4be62bf711: Already exists
79ec4e4644f4: Already exists
c345e4fc8a16: Already exists
c592d874df72: Already exists
4a56f216f335: Already exists
30528b5b30cd: Already exists
c2b17227ee19: Already exists
e86d5bbe1ffe: Already exists
d50aab0134e4: Already exists
22367fc5dca0: Already exists
55539975e190: Already exists
ceffc5162ea7: Already exists
5325dab6da22: Already exists
b8f81de47d57: Pulling fs layer
b5aebc7e7e85: Pulling fs layer
935c1e129b8f: Pulling fs layer
a7de0910cbf5: Pulling fs layer
e9d4e3a66b3e: Pulling fs layer
06f0138e9711: Pulling fs layer
c689975926c1: Pulling fs layer
e9d4e3a66b3e: Waiting
06f0138e9711: Waiting
c689975926c1: Waiting
a7de0910cbf5: Waiting
b5aebc7e7e85: Download complete
935c1e129b8f: Verifying Checksum
935c1e129b8f: Download complete
b8f81de47d57: Verifying Checksum
b8f81de47d57: Download complete
06f0138e9711: Verifying Checksum
06f0138e9711: Download complete
b8f81de47d57: Pull complete
e9d4e3a66b3e: Verifying Checksum
e9d4e3a66b3e: Download complete
b5aebc7e7e85: Pull complete
c689975926c1: Verifying Checksum
c689975926c1: Download complete
935c1e129b8f: Pull complete
a7de0910cbf5: Verifying Checksum
a7de0910cbf5: Download complete
a7de0910cbf5: Pull complete
e9d4e3a66b3e: Pull complete
06f0138e9711: Pull complete
c689975926c1: Pull complete
Digest: sha256:45507cb4552db3be297495ab9a35b6be8d7b8e49cccbf47c32f8c1f99dea6295
Status: Downloaded newer image for ocaml/opam@sha256:45507cb4552db3be297495ab9a35b6be8d7b8e49cccbf47c32f8c1f99dea6295
2025-09-04 16:14.29 ---> using "8f87f6f184ce705c64fdc28964b4fa28ac0c7c86623072227e95c1a5ae740c05" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-09-04 16:14.29 ---> using "89720a9219e8342e1457d9942a9168dff17915af12ce7f5875ec9b5684b6fab8" 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 development 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-09-04 16:14.29 ---> using "574a16201fa504d0e0cae4bb955fa316b121d97803da0801287ffe26e11d4395" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# 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.3
# invariant ["ocaml-base-compiler" {= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0
2025-09-04 16:14.29 ---> using "c4d303bbc16402bf50eb94ac2d2420bc508ffdca468d80b0053ee2d7ca4d00ae" 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-09-04 16:14.29 ---> using "359103a422f9f7066fdafedb84e32259f84a99591dbfe0f31be920977c9e02b8" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-09-04 16:14.35 ---> using "3b3d7306ced0f2ace956126dd5ec007a99ba13fa9b1b57cccb25297d52168615" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-09-04 16:14.35 ---> using "f8b41bfd2ec027a88b99f4838a9c0e1e319f86e07c717e7136340d023e5dbd06" from cache
/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 [827 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1438 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [505 kB]
- Fetched 3149 kB in 2s (1930 kB/s)
- Reading package lists...
-
2025-09-04 16:14.35 ---> using "b35e308ded4816e921ce43696428ca1ee3adef2c11bc086079953ace62b0400e" from cache
/home/opam: (run (shell "opam pin add -k version -yn ocamlc-loc.3.20.2 3.20.2"))
ocamlc-loc is now pinned to version 3.20.2
2025-09-04 16:14.38 ---> saved as "ae15c18ebb45e8fbeae8d41270fdd4a50c1b38c5d0ad8fdf640d6ad53c0a9515"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlc-loc.3.20.2;\
\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\" != 'ocamlc-loc.3.20.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocamlc-loc.3.20.2 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 5 packages
- install dune 3.20.2 [required by ocamlc-loc]
- install dyn 3.20.2 [required by ocamlc-loc]
- install ocamlc-loc 3.20.2 (pinned)
- install ordering 3.20.2 [required by dyn]
- install pp 2.0.0 [required by dyn]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.20.2, dyn.3.20.2, ocamlc-loc.3.20.2, ordering.3.20.2 (cached)
-> retrieved pp.2.0.0 (cached)
-> installed dune.3.20.2
-> installed pp.2.0.0
-> installed ordering.3.20.2
-> installed dyn.3.20.2
-> installed ocamlc-loc.3.20.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-04 16:19.52 ---> saved as "0396b9b3a29cf92f16921b2d0502daef24286ef6e6f3b04ce57a05baeb87bd81"
Job succeeded
2025-09-04 16:20.24: Job succeeded