- github
- ocaml
- opam-repository
- f552a1
- extras,riscv64-ocaml-5.4,melange.6.0.1-414
(not at the head of any monitored branch or PR)
2025-11-30 20:45.57: New job: build melange.6.0.1-414, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29001/head (f552a18f416e36738eee28c6bf79045fd1a926dd)
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/29001/head" && git reset --hard f552a18f
git fetch origin master
git merge --no-edit 1808b67a60cee484a3c5ff1a64046c0e5f0406a5
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:74424fb1f8d04c0def34491a6c05a0eb46010e0e29d574e40eb714ab599edfe2
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 melange.6.0.1-414 6.0.1-414
RUN opam reinstall melange.6.0.1-414; \
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" != 'melange.6.0.1-414' && 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-11-30 20:45.57: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:74424fb1f8d04c0def34491a6c05a0eb46010e0e29d574e40eb714ab599edfe2-melange.6.0.1-414-f552a18f416e36738eee28c6bf79045fd1a926dd"
2025-11-30 20:45.57: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:74424fb1f8d04c0def34491a6c05a0eb46010e0e29d574e40eb714ab599edfe2)
(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 melange.6.0.1-414 6.0.1-414"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall melange.6.0.1-414;\
\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\" != 'melange.6.0.1-414' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-11-30 20:45.57: Waiting for resource in pool OCluster
2025-11-30 20:45.58: Waiting for worker…
2025-11-30 20:45.58: Got resource from pool OCluster
Building on riscv-bm-02.sw.ci.dev
Updating files: 13% (2605/18937)
Updating files: 14% (2652/18937)
Updating files: 15% (2841/18937)
Updating files: 16% (3030/18937)
Updating files: 17% (3220/18937)
Updating files: 18% (3409/18937)
Updating files: 19% (3599/18937)
Updating files: 20% (3788/18937)
Updating files: 21% (3977/18937)
Updating files: 22% (4167/18937)
Updating files: 23% (4356/18937)
Updating files: 24% (4545/18937)
Updating files: 25% (4735/18937)
Updating files: 26% (4924/18937)
Updating files: 27% (5113/18937)
Updating files: 27% (5147/18937)
Updating files: 28% (5303/18937)
Updating files: 29% (5492/18937)
Updating files: 30% (5682/18937)
Updating files: 31% (5871/18937)
Updating files: 32% (6060/18937)
Updating files: 33% (6250/18937)
Updating files: 34% (6439/18937)
Updating files: 35% (6628/18937)
Updating files: 36% (6818/18937)
Updating files: 37% (7007/18937)
Updating files: 38% (7197/18937)
Updating files: 39% (7386/18937)
Updating files: 40% (7575/18937)
Updating files: 41% (7765/18937)
Updating files: 41% (7775/18937)
Updating files: 42% (7954/18937)
Updating files: 43% (8143/18937)
Updating files: 44% (8333/18937)
Updating files: 45% (8522/18937)
Updating files: 46% (8712/18937)
Updating files: 47% (8901/18937)
Updating files: 48% (9090/18937)
Updating files: 49% (9280/18937)
Updating files: 50% (9469/18937)
Updating files: 51% (9658/18937)
Updating files: 52% (9848/18937)
Updating files: 53% (10037/18937)
Updating files: 53% (10140/18937)
Updating files: 54% (10226/18937)
Updating files: 55% (10416/18937)
Updating files: 56% (10605/18937)
Updating files: 57% (10795/18937)
Updating files: 58% (10984/18937)
Updating files: 59% (11173/18937)
Updating files: 60% (11363/18937)
Updating files: 61% (11552/18937)
Updating files: 62% (11741/18937)
Updating files: 63% (11931/18937)
Updating files: 64% (12120/18937)
Updating files: 65% (12310/18937)
Updating files: 65% (12468/18937)
Updating files: 66% (12499/18937)
Updating files: 67% (12688/18937)
Updating files: 68% (12878/18937)
Updating files: 69% (13067/18937)
Updating files: 70% (13256/18937)
Updating files: 71% (13446/18937)
Updating files: 72% (13635/18937)
Updating files: 73% (13825/18937)
Updating files: 74% (14014/18937)
Updating files: 75% (14203/18937)
Updating files: 76% (14393/18937)
Updating files: 77% (14582/18937)
Updating files: 77% (14768/18937)
Updating files: 78% (14771/18937)
Updating files: 79% (14961/18937)
Updating files: 80% (15150/18937)
Updating files: 81% (15339/18937)
Updating files: 82% (15529/18937)
Updating files: 83% (15718/18937)
Updating files: 84% (15908/18937)
Updating files: 85% (16097/18937)
Updating files: 86% (16286/18937)
Updating files: 87% (16476/18937)
Updating files: 88% (16665/18937)
Updating files: 89% (16854/18937)
Updating files: 90% (17044/18937)
Updating files: 90% (17081/18937)
Updating files: 91% (17233/18937)
Updating files: 92% (17423/18937)
Updating files: 93% (17612/18937)
Updating files: 94% (17801/18937)
Updating files: 95% (17991/18937)
Updating files: 96% (18180/18937)
Updating files: 97% (18369/18937)
Updating files: 98% (18559/18937)
Updating files: 99% (18748/18937)
Updating files: 100% (18937/18937)
Updating files: 100% (18937/18937), done.
HEAD is now at 51259c6f1f [new release] quickjs (0.2.0)
HEAD is now at 1808b67a60 Merge pull request #28997 from dinosaure/release-hxd-v0.3.6
Updating 1808b67a60..f552a18f41
Fast-forward
packages/melange/melange.6.0.1-414/opam | 42 +++++++++++++++++++++++++++++++++
packages/melange/melange.6.0.1-51/opam | 42 +++++++++++++++++++++++++++++++++
packages/melange/melange.6.0.1-52/opam | 42 +++++++++++++++++++++++++++++++++
packages/melange/melange.6.0.1-53/opam | 42 +++++++++++++++++++++++++++++++++
packages/melange/melange.6.0.1-54/opam | 42 +++++++++++++++++++++++++++++++++
5 files changed, 210 insertions(+)
create mode 100644 packages/melange/melange.6.0.1-414/opam
create mode 100644 packages/melange/melange.6.0.1-51/opam
create mode 100644 packages/melange/melange.6.0.1-52/opam
create mode 100644 packages/melange/melange.6.0.1-53/opam
create mode 100644 packages/melange/melange.6.0.1-54/opam
(from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:74424fb1f8d04c0def34491a6c05a0eb46010e0e29d574e40eb714ab599edfe2)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:74424fb1f8d04c0def34491a6c05a0eb46010e0e29d574e40eb714ab599edfe2' locally
docker.io/ocaml/opam@sha256:74424fb1f8d04c0def34491a6c05a0eb46010e0e29d574e40eb714ab599edfe2: Pulling from ocaml/opam
4f36e1b0a2cc: Already exists
2363a19ce062: Already exists
4053207ddf81: Already exists
bbfb0969b291: Already exists
d2396c248fac: Already exists
7deb097bc610: Already exists
b09f380f219a: Already exists
172583578fc3: Already exists
e6d5737ba3e7: Already exists
713587ce5790: Already exists
6e300197872d: Already exists
4bc553bdc712: Already exists
ee93345f9cf5: Already exists
4be61386dfb2: Already exists
8507bfdd0e9d: Already exists
3e28e60730ad: Already exists
3e28e60730ad: Already exists
bf970414565b: Already exists
2a6619580c01: Already exists
34419bc7c574: Already exists
d992b12f808c: Already exists
4f4fb700ef54: Already exists
5e33de69cc8a: Already exists
69f1da1e22ae: Already exists
580926f0eead: Already exists
90d0c8b321f1: Already exists
e46fa634fda6: Already exists
de681cfd7094: Already exists
f9ad9c5ee8f3: Already exists
520296fe98c7: Already exists
f6d67f841e66: Already exists
0dfad1c118ca: Already exists
7313eb41ab2a: Already exists
a817fccb9c78: Already exists
a98011bc0a8c: Already exists
af6a85716aa9: Already exists
84ca010415d5: Already exists
d3aa6bba7d0e: Already exists
d11dac4641d2: Already exists
b975f0076eea: Already exists
c8a6403a8cc5: Pulling fs layer
0fec751250d9: Pulling fs layer
df4ef6b7223e: Pulling fs layer
27e4da56fe67: Pulling fs layer
17ee33d5f3c2: Pulling fs layer
f95d4755b9c4: Pulling fs layer
6b1afa0b19c8: Pulling fs layer
27e4da56fe67: Waiting
17ee33d5f3c2: Waiting
f95d4755b9c4: Waiting
6b1afa0b19c8: Waiting
0fec751250d9: Verifying Checksum
0fec751250d9: Download complete
c8a6403a8cc5: Verifying Checksum
c8a6403a8cc5: Download complete
df4ef6b7223e: Verifying Checksum
df4ef6b7223e: Download complete
17ee33d5f3c2: Download complete
c8a6403a8cc5: Pull complete
0fec751250d9: Pull complete
f95d4755b9c4: Verifying Checksum
f95d4755b9c4: Download complete
6b1afa0b19c8: Download complete
df4ef6b7223e: Pull complete
27e4da56fe67: Verifying Checksum
27e4da56fe67: Download complete
27e4da56fe67: Pull complete
17ee33d5f3c2: Pull complete
f95d4755b9c4: Pull complete
6b1afa0b19c8: Pull complete
Digest: sha256:74424fb1f8d04c0def34491a6c05a0eb46010e0e29d574e40eb714ab599edfe2
Status: Downloaded newer image for ocaml/opam@sha256:74424fb1f8d04c0def34491a6c05a0eb46010e0e29d574e40eb714ab599edfe2
2025-11-30 20:46.19 ---> using "5259263655b440586c7d092c0ac4109937cb3dd8e23c78adc5fbd0a104d2a2ca" 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-11-30 20:46.19 ---> using "c785f7302eace4a03b31566f7fb68113ff0a77b9598eeae17a71f24045aa902e" 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-11-30 20:46.19 ---> using "2c50b5bf7fbfd3495006323452a9c35309d0c2a38c594c9c4953c3097e82a394" 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~beta1
# 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.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, 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.0
2025-11-30 20:46.19 ---> using "391d02674e755c58f606c030ad393f2eca3108cbe4fb9d55ac83cfd422ddade5" 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-11-30 20:46.19 ---> using "b1e4d107d9ace11a2c7636e8f10d7836d5bda42b8a441094ceb1d15f6931ba5c" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-30 20:46.47 ---> saved as "a71735c6e90b946b8fdf1cbcba558d4db6ebd9f46ba898ad5b10535f83aae0ff"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-30 20:48.21 ---> saved as "5e3e665b1c54931a7c4cfba5d4da4d4d21d1da322114c6280dcc9a6c5b0e37af"
/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 [881 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/main riscv64 Packages [567 kB]
- Get:9 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [920 kB]
- Fetched 4235 kB in 7s (583 kB/s)
- Reading package lists...
-
2025-11-30 20:48.35 ---> saved as "d5146b9825fb5b46e055ca9a9afb6c365cd1ef7b33c0af471ac772d7121e9d5c"
/home/opam: (run (shell "opam pin add -k version -yn melange.6.0.1-414 6.0.1-414"))
melange is now pinned to version 6.0.1-414
2025-11-30 20:48.38 ---> saved as "face37e9c313659d9929de0407f807f3684ff439a00834e03be37accb032834b"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall melange.6.0.1-414;\
\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\" != 'melange.6.0.1-414' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
melange.6.0.1-414 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.4.0
- melange >= 6.0.1-414 -> ocaml < 4.15 -> ocaml-variants
You can temporarily relax the switch invariant with `--update-invariant'
* Missing dependency:
- melange >= 6.0.1-414 -> ocaml < 4.15 -> ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.08.4 | = 3.09.0) | ocaml-system (<= 3.07+1 | = 3.07+2 | >= 3.08.0) | ocaml-variants < 3.09.1~
not available because the package is pinned to version 5.4.0
unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.0" & (os != "win32" | sys-ocaml-libc = "msvc")'
no matching version
* Missing dependency:
- melange >= 6.0.1-414 -> ocaml < 4.15 -> ocaml-variants -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- melange >= 6.0.1-414 -> ocaml < 4.15 -> ocaml-variants -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall melange.6.0.1-414;
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" != 'melange.6.0.1-414' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 20
2025-11-30 20:50.03: Job failed: Failed: Build failed
2025-11-30 20:50.03: Log analysis:
2025-11-30 20:50.03: >>>
No solution found, exiting
(score = 100)
2025-11-30 20:50.03: [SKIP] Package not available