- github
- ocaml
- opam-repository
- e2e946
- extras,riscv64-ocaml-5.3,ocamlc-loc.3.20.0~alpha4
(not at the head of any monitored branch or PR)
2025-08-12 13:09.14: New job: build ocamlc-loc.3.20.0~alpha4, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/28333/head (e2e946ed909ce4d2c3e1e35bbaff78b566760128)
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/28333/head" && git reset --hard e2e946ed
git fetch origin master
git merge --no-edit 5b99878077ddf3134c09e188d937954bd33cfa58
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:f757581afb44ec75e71ee342eee955fd34c57bcab0cb714426491b4972aed2a6
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.0~alpha4 3.20.0~alpha4
RUN opam reinstall ocamlc-loc.3.20.0~alpha4; \
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.0~alpha4' && 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-08-12 13:09.14: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:f757581afb44ec75e71ee342eee955fd34c57bcab0cb714426491b4972aed2a6-ocamlc-loc.3.20.0~alpha4-e2e946ed909ce4d2c3e1e35bbaff78b566760128"
2025-08-12 13:09.14: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:f757581afb44ec75e71ee342eee955fd34c57bcab0cb714426491b4972aed2a6)
(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.0~alpha4 3.20.0~alpha4"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlc-loc.3.20.0~alpha4;\
\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.0~alpha4' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-08-12 13:09.14: Waiting for resource in pool OCluster
2025-08-12 13:09.15: Waiting for worker…
2025-08-12 13:09.15: Got resource from pool OCluster
Building on riscv-bm-04.sw.ci.dev
Updating files: 13% (2424/17996)
Updating files: 14% (2520/17996)
Updating files: 15% (2700/17996)
Updating files: 16% (2880/17996)
Updating files: 17% (3060/17996)
Updating files: 18% (3240/17996)
Updating files: 19% (3420/17996)
Updating files: 20% (3600/17996)
Updating files: 21% (3780/17996)
Updating files: 22% (3960/17996)
Updating files: 23% (4140/17996)
Updating files: 24% (4320/17996)
Updating files: 25% (4499/17996)
Updating files: 26% (4679/17996)
Updating files: 27% (4859/17996)
Updating files: 27% (4944/17996)
Updating files: 28% (5039/17996)
Updating files: 29% (5219/17996)
Updating files: 30% (5399/17996)
Updating files: 31% (5579/17996)
Updating files: 32% (5759/17996)
Updating files: 33% (5939/17996)
Updating files: 34% (6119/17996)
Updating files: 35% (6299/17996)
Updating files: 36% (6479/17996)
Updating files: 37% (6659/17996)
Updating files: 38% (6839/17996)
Updating files: 39% (7019/17996)
Updating files: 40% (7199/17996)
Updating files: 41% (7379/17996)
Updating files: 42% (7559/17996)
Updating files: 42% (7588/17996)
Updating files: 43% (7739/17996)
Updating files: 44% (7919/17996)
Updating files: 45% (8099/17996)
Updating files: 46% (8279/17996)
Updating files: 47% (8459/17996)
Updating files: 48% (8639/17996)
Updating files: 49% (8819/17996)
Updating files: 50% (8998/17996)
Updating files: 51% (9178/17996)
Updating files: 52% (9358/17996)
Updating files: 53% (9538/17996)
Updating files: 54% (9718/17996)
Updating files: 55% (9898/17996)
Updating files: 55% (9936/17996)
Updating files: 56% (10078/17996)
Updating files: 57% (10258/17996)
Updating files: 58% (10438/17996)
Updating files: 59% (10618/17996)
Updating files: 60% (10798/17996)
Updating files: 61% (10978/17996)
Updating files: 62% (11158/17996)
Updating files: 63% (11338/17996)
Updating files: 64% (11518/17996)
Updating files: 65% (11698/17996)
Updating files: 66% (11878/17996)
Updating files: 67% (12058/17996)
Updating files: 68% (12238/17996)
Updating files: 68% (12252/17996)
Updating files: 69% (12418/17996)
Updating files: 70% (12598/17996)
Updating files: 71% (12778/17996)
Updating files: 72% (12958/17996)
Updating files: 73% (13138/17996)
Updating files: 74% (13318/17996)
Updating files: 75% (13497/17996)
Updating files: 76% (13677/17996)
Updating files: 77% (13857/17996)
Updating files: 78% (14037/17996)
Updating files: 79% (14217/17996)
Updating files: 80% (14397/17996)
Updating files: 81% (14577/17996)
Updating files: 81% (14650/17996)
Updating files: 82% (14757/17996)
Updating files: 83% (14937/17996)
Updating files: 84% (15117/17996)
Updating files: 85% (15297/17996)
Updating files: 86% (15477/17996)
Updating files: 87% (15657/17996)
Updating files: 88% (15837/17996)
Updating files: 89% (16017/17996)
Updating files: 90% (16197/17996)
Updating files: 91% (16377/17996)
Updating files: 92% (16557/17996)
Updating files: 93% (16737/17996)
Updating files: 94% (16917/17996)
Updating files: 95% (17097/17996)
Updating files: 95% (17130/17996)
Updating files: 96% (17277/17996)
Updating files: 97% (17457/17996)
Updating files: 98% (17637/17996)
Updating files: 99% (17817/17996)
Updating files: 100% (17996/17996)
Updating files: 100% (17996/17996), done.
HEAD is now at 0fcb39d45e Release 0.6.0 of metaquot
HEAD is now at 5b99878077 Merge pull request #28318 from ocamllibs/metaquot-0.6.0
Updating 5b99878077..e2e946ed90
Fast-forward
.../chrome-trace/chrome-trace.3.20.0~alpha4/opam | 41 ++++++++++++
.../dune-action-plugin.3.20.0~alpha4/opam | 54 ++++++++++++++++
.../dune-build-info.3.20.0~alpha4/opam | 47 ++++++++++++++
.../dune-configurator.3.20.0~alpha4/opam | 51 +++++++++++++++
packages/dune-glob/dune-glob.3.20.0~alpha4/opam | 44 +++++++++++++
.../dune-private-libs.3.20.0~alpha4/opam | 52 +++++++++++++++
.../dune-rpc-lwt/dune-rpc-lwt.3.20.0~alpha4/opam | 43 +++++++++++++
packages/dune-rpc/dune-rpc.3.20.0~alpha4/opam | 46 ++++++++++++++
packages/dune-site/dune-site.3.20.0~alpha4/opam | 39 ++++++++++++
packages/dune/dune.3.20.0~alpha4/opam | 74 ++++++++++++++++++++++
packages/dyn/dyn.3.20.0~alpha4/opam | 42 ++++++++++++
packages/ocamlc-loc/ocamlc-loc.3.20.0~alpha4/opam | 45 +++++++++++++
packages/ordering/ordering.3.20.0~alpha4/opam | 40 ++++++++++++
packages/stdune/stdune.3.20.0~alpha4/opam | 46 ++++++++++++++
packages/xdg/xdg.3.20.0~alpha4/opam | 41 ++++++++++++
15 files changed, 705 insertions(+)
create mode 100644 packages/chrome-trace/chrome-trace.3.20.0~alpha4/opam
create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.20.0~alpha4/opam
create mode 100644 packages/dune-build-info/dune-build-info.3.20.0~alpha4/opam
create mode 100644 packages/dune-configurator/dune-configurator.3.20.0~alpha4/opam
create mode 100644 packages/dune-glob/dune-glob.3.20.0~alpha4/opam
create mode 100644 packages/dune-private-libs/dune-private-libs.3.20.0~alpha4/opam
create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.20.0~alpha4/opam
create mode 100644 packages/dune-rpc/dune-rpc.3.20.0~alpha4/opam
create mode 100644 packages/dune-site/dune-site.3.20.0~alpha4/opam
create mode 100644 packages/dune/dune.3.20.0~alpha4/opam
create mode 100644 packages/dyn/dyn.3.20.0~alpha4/opam
create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.20.0~alpha4/opam
create mode 100644 packages/ordering/ordering.3.20.0~alpha4/opam
create mode 100644 packages/stdune/stdune.3.20.0~alpha4/opam
create mode 100644 packages/xdg/xdg.3.20.0~alpha4/opam
(from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:f757581afb44ec75e71ee342eee955fd34c57bcab0cb714426491b4972aed2a6)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:f757581afb44ec75e71ee342eee955fd34c57bcab0cb714426491b4972aed2a6' locally
docker.io/ocaml/opam@sha256:f757581afb44ec75e71ee342eee955fd34c57bcab0cb714426491b4972aed2a6: Pulling from ocaml/opam
700561effee7: Already exists
fdc7fb96843a: Already exists
27ff3f23688b: Already exists
1962eb533d64: Already exists
9e7a962f4888: Already exists
f5561b7a2127: Already exists
f39673989f07: Already exists
68698baf6d8f: Already exists
d13bdb819dd5: Already exists
e69683f9488c: Already exists
386dc8135f55: Already exists
47c9462ddf94: Already exists
b16de335b9e5: Already exists
768a6fb70d7f: Already exists
dc2633afaa69: Already exists
a2a0c916525b: Already exists
a2a0c916525b: Already exists
be9d76903c4f: Already exists
e3ce15c8a3e5: Already exists
9f5c3e36fca8: Already exists
0d1c9868fc1a: Already exists
4f4fb700ef54: Already exists
3384a06903e5: Already exists
1feef1d2224c: Already exists
6816b2e00771: Already exists
a721f3fc801e: Already exists
db31a40154af: Already exists
b072c42f4833: Already exists
c009df98012a: Already exists
663fb69b3178: Already exists
c88ea081b51a: Already exists
451005f957e0: Already exists
c3a900b2c0f5: Already exists
8d3358f441f9: Already exists
39a75446f7a0: Already exists
924048cff46c: Already exists
757bc14d43ed: Already exists
8cc07ef27ed6: Already exists
eb3df7868799: Already exists
838ddfcbfc98: Already exists
44dfd4ad0bfa: Pulling fs layer
cb1829d47d59: Pulling fs layer
917ff8f67335: Pulling fs layer
e73c1026f95d: Pulling fs layer
3d3172be7d88: Pulling fs layer
fdc4f556ad11: Pulling fs layer
84617e92509c: Pulling fs layer
e73c1026f95d: Waiting
3d3172be7d88: Waiting
fdc4f556ad11: Waiting
84617e92509c: Waiting
cb1829d47d59: Verifying Checksum
cb1829d47d59: Download complete
44dfd4ad0bfa: Verifying Checksum
44dfd4ad0bfa: Download complete
44dfd4ad0bfa: Pull complete
917ff8f67335: Verifying Checksum
917ff8f67335: Download complete
cb1829d47d59: Pull complete
3d3172be7d88: Verifying Checksum
3d3172be7d88: Download complete
fdc4f556ad11: Verifying Checksum
fdc4f556ad11: Download complete
84617e92509c: Verifying Checksum
84617e92509c: Download complete
917ff8f67335: Pull complete
e73c1026f95d: Verifying Checksum
e73c1026f95d: Download complete
e73c1026f95d: Pull complete
3d3172be7d88: Pull complete
fdc4f556ad11: Pull complete
84617e92509c: Pull complete
Digest: sha256:f757581afb44ec75e71ee342eee955fd34c57bcab0cb714426491b4972aed2a6
Status: Downloaded newer image for ocaml/opam@sha256:f757581afb44ec75e71ee342eee955fd34c57bcab0cb714426491b4972aed2a6
2025-08-12 13:09.34 ---> using "7d826b925c7907cf66de9484d3661534cf69e2d97e8f9f2093b6fe33e6c76c8f" 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-08-12 13:09.34 ---> using "6d4fe2cb425d7406e66f97806fc62defab49af6e07523650d594126ea374e502" 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-08-12 13:09.34 ---> using "37ec8f9330477195b276fc9aafa8027b0f302ddb5d59bc79756645e29712e2ee" 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-08-12 13:09.34 ---> using "981b5040b628e6997db049a7ae30ca6e34a15f3b5bde0a908f9fc97f4476d611" 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-08-12 13:09.34 ---> using "9bd248a40bc8ef2b11bff225fd1e6fba236519f8cdaa9542402ae7006966ce52" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-08-12 13:09.59 ---> saved as "e4119ae978b1b13bda0f37f9da6ab767bb6adce2c60c2fff856ab16c57363c2e"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-12 13:11.28 ---> saved as "ff1a06f122eac55205c3d28f0e2d3ac056018bdf837c4619d66fa13089d8aea7"
/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 [804 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1165 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [873 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [493 kB]
- Fetched 3714 kB in 2s (2035 kB/s)
- Reading package lists...
-
2025-08-12 13:11.36 ---> saved as "7aaca45f57d0e07b726c0e3667f7b0e613aaa935f01a07cc3689e1ff49125cab"
/home/opam: (run (shell "opam pin add -k version -yn ocamlc-loc.3.20.0~alpha4 3.20.0~alpha4"))
ocamlc-loc is now pinned to version 3.20.0~alpha4
2025-08-12 13:11.39 ---> saved as "6db1db8a86c2c720e4761667afb0dd8ed4484416da52f8097252a70c00e9cc7c"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlc-loc.3.20.0~alpha4;\
\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.0~alpha4' && 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.0~alpha4 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 5 packages
- install dune 3.20.0~alpha4 [required by ocamlc-loc]
- install dyn 3.20.0~alpha4 [required by ocamlc-loc]
- install ocamlc-loc 3.20.0~alpha4 (pinned)
- install ordering 3.20.0~alpha4 [required by dyn]
- install pp 2.0.0 [required by dyn]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.20.0~alpha4, dyn.3.20.0~alpha4, ocamlc-loc.3.20.0~alpha4, ordering.3.20.0~alpha4 (https://github.com/ocaml/dune/releases/download/3.20.0_alpha4/dune-3.20.0.alpha4.tbz)
-> retrieved pp.2.0.0 (cached)
-> installed dune.3.20.0~alpha4
-> installed pp.2.0.0
-> installed ordering.3.20.0~alpha4
-> installed dyn.3.20.0~alpha4
-> installed ocamlc-loc.3.20.0~alpha4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-12 13:16.53 ---> saved as "a8871bf4a2dc97ff87e2220d8bb71112d3c6e30eb712898383ae4fb4024c9ec6"
Job succeeded
2025-08-12 13:17.27: Job succeeded