- github
- ocaml
- opam-repository
- 20f016
- extras,riscv64-ocaml-4.14,ocaml-variants.4.14.1+BER
(not at the head of any monitored branch or PR)
2025-05-16 14:23.02: New job: build ocaml-variants.4.14.1+BER, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27887/head (20f0163b9f8982d875cef11f67e18b1029403ae4)
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/27887/head" && git reset --hard 20f0163b
git fetch origin master
git merge --no-edit cf409d95af00ff822422bd76b657ed213b661401
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:39b42a4e4893d22fac40e1565e95f997493e2965530114d6defd3a4343fe6fed
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 ocaml-variants.4.14.1+BER 4.14.1+BER
RUN opam reinstall --update-invariant ocaml-variants.4.14.1+BER; \
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" != 'ocaml-variants.4.14.1+BER' && 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-05-16 14:23.02: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:39b42a4e4893d22fac40e1565e95f997493e2965530114d6defd3a4343fe6fed-ocaml-variants.4.14.1+BER-20f0163b9f8982d875cef11f67e18b1029403ae4"
2025-05-16 14:23.02: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:39b42a4e4893d22fac40e1565e95f997493e2965530114d6defd3a4343fe6fed)
(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 ocaml-variants.4.14.1+BER 4.14.1+BER"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall --update-invariant ocaml-variants.4.14.1+BER;\
\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\" != 'ocaml-variants.4.14.1+BER' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-05-16 14:23.02: Waiting for resource in pool OCluster
2025-05-16 14:23.02: Waiting for worker…
2025-05-16 15:08.22: Got resource from pool OCluster
Building on riscv-bm-04.sw.ci.dev
All commits already cached
Updating files: 11% (2742/23049)
Updating files: 12% (2766/23049)
Updating files: 13% (2997/23049)
Updating files: 14% (3227/23049)
Updating files: 15% (3458/23049)
Updating files: 16% (3688/23049)
Updating files: 17% (3919/23049)
Updating files: 18% (4149/23049)
Updating files: 19% (4380/23049)
Updating files: 20% (4610/23049)
Updating files: 21% (4841/23049)
Updating files: 22% (5071/23049)
Updating files: 23% (5302/23049)
Updating files: 23% (5367/23049)
Updating files: 24% (5532/23049)
Updating files: 25% (5763/23049)
Updating files: 26% (5993/23049)
Updating files: 27% (6224/23049)
Updating files: 28% (6454/23049)
Updating files: 29% (6685/23049)
Updating files: 30% (6915/23049)
Updating files: 31% (7146/23049)
Updating files: 32% (7376/23049)
Updating files: 33% (7607/23049)
Updating files: 34% (7837/23049)
Updating files: 34% (7975/23049)
Updating files: 35% (8068/23049)
Updating files: 36% (8298/23049)
Updating files: 37% (8529/23049)
Updating files: 38% (8759/23049)
Updating files: 39% (8990/23049)
Updating files: 40% (9220/23049)
Updating files: 41% (9451/23049)
Updating files: 42% (9681/23049)
Updating files: 43% (9912/23049)
Updating files: 44% (10142/23049)
Updating files: 45% (10373/23049)
Updating files: 45% (10403/23049)
Updating files: 46% (10603/23049)
Updating files: 47% (10834/23049)
Updating files: 48% (11064/23049)
Updating files: 49% (11295/23049)
Updating files: 50% (11525/23049)
Updating files: 51% (11755/23049)
Updating files: 52% (11986/23049)
Updating files: 53% (12216/23049)
Updating files: 54% (12447/23049)
Updating files: 54% (12644/23049)
Updating files: 55% (12677/23049)
Updating files: 56% (12908/23049)
Updating files: 57% (13138/23049)
Updating files: 58% (13369/23049)
Updating files: 59% (13599/23049)
Updating files: 60% (13830/23049)
Updating files: 61% (14060/23049)
Updating files: 62% (14291/23049)
Updating files: 63% (14521/23049)
Updating files: 64% (14752/23049)
Updating files: 65% (14982/23049)
Updating files: 65% (15074/23049)
Updating files: 66% (15213/23049)
Updating files: 67% (15443/23049)
Updating files: 68% (15674/23049)
Updating files: 69% (15904/23049)
Updating files: 70% (16135/23049)
Updating files: 71% (16365/23049)
Updating files: 72% (16596/23049)
Updating files: 73% (16826/23049)
Updating files: 74% (17057/23049)
Updating files: 75% (17287/23049)
Updating files: 75% (17513/23049)
Updating files: 76% (17518/23049)
Updating files: 77% (17748/23049)
Updating files: 78% (17979/23049)
Updating files: 79% (18209/23049)
Updating files: 80% (18440/23049)
Updating files: 81% (18670/23049)
Updating files: 82% (18901/23049)
Updating files: 83% (19131/23049)
Updating files: 84% (19362/23049)
Updating files: 85% (19592/23049)
Updating files: 86% (19823/23049)
Updating files: 86% (19936/23049)
Updating files: 87% (20053/23049)
Updating files: 88% (20284/23049)
Updating files: 89% (20514/23049)
Updating files: 90% (20745/23049)
Updating files: 91% (20975/23049)
Updating files: 92% (21206/23049)
Updating files: 93% (21436/23049)
Updating files: 94% (21667/23049)
Updating files: 95% (21897/23049)
Updating files: 95% (21992/23049)
Updating files: 96% (22128/23049)
Updating files: 97% (22358/23049)
Updating files: 98% (22589/23049)
Updating files: 99% (22819/23049)
Updating files: 100% (23049/23049)
Updating files: 100% (23049/23049), done.
HEAD is now at cf409d95af Merge pull request #27869 from chetmurthy/release-ledit-2.07
Updating cf409d95af..20f0163b9f
Fast-forward
packages/ocaml-variants/ocaml-variants.4.14.1+BER/opam | 2 +-
packages/ocaml-variants/ocaml-variants.5.3.0+BER/opam | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:39b42a4e4893d22fac40e1565e95f997493e2965530114d6defd3a4343fe6fed)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:39b42a4e4893d22fac40e1565e95f997493e2965530114d6defd3a4343fe6fed' locally
docker.io/ocaml/opam@sha256:39b42a4e4893d22fac40e1565e95f997493e2965530114d6defd3a4343fe6fed: Pulling from ocaml/opam
617ff4840b8c: Already exists
988e8ea2cc6d: Already exists
570dac43d741: Already exists
ea26f44564e9: Already exists
2bfd9ae72a2c: Already exists
796eb578f3a3: Already exists
6d92991a8e9e: Already exists
fbc48c828a25: Already exists
3c2dcbc78b0f: Already exists
c1dc429b7f84: Already exists
74e20cc48974: Already exists
8fbf6727bc85: Already exists
c8a8cea98988: Already exists
638f4f7109b1: Already exists
cc8c5df7a495: Already exists
cc8c5df7a495: Already exists
bec5a94ff963: Already exists
25188549e567: Already exists
46dd3f2165e8: Already exists
b4c6c071f533: Already exists
4f4fb700ef54: Already exists
60c1d36594c2: Already exists
b6033626df51: Already exists
52b8b5cdda97: Already exists
5ad22f4af7fb: Already exists
7c2bf4a75a99: Already exists
01c51614a62f: Already exists
adef6cb33e2c: Already exists
fb20ccd8b4d9: Already exists
f25d69174348: Already exists
062630e43b34: Already exists
b443377219b0: Already exists
7fa072e343b6: Already exists
40cd77b9164f: Already exists
9107ae430a1b: Already exists
6797eb4e08bc: Already exists
6a2e922e4fd6: Already exists
6b2ac8a5ef1c: Already exists
090089c4b32d: Pulling fs layer
0a9e239e7a84: Pulling fs layer
7d256f30600c: Pulling fs layer
3f73b3daa5a0: Pulling fs layer
3f73b3daa5a0: Waiting
0a9e239e7a84: Verifying Checksum
0a9e239e7a84: Download complete
7d256f30600c: Verifying Checksum
7d256f30600c: Download complete
3f73b3daa5a0: Verifying Checksum
3f73b3daa5a0: Download complete
090089c4b32d: Verifying Checksum
090089c4b32d: Download complete
090089c4b32d: Pull complete
0a9e239e7a84: Pull complete
7d256f30600c: Pull complete
3f73b3daa5a0: Pull complete
Digest: sha256:39b42a4e4893d22fac40e1565e95f997493e2965530114d6defd3a4343fe6fed
Status: Downloaded newer image for ocaml/opam@sha256:39b42a4e4893d22fac40e1565e95f997493e2965530114d6defd3a4343fe6fed
2025-05-16 15:08.36 ---> using "34561917dcddbc8cfd0ec000ff0e19ea3f5058216d33f6a9a6d1cf6e9aa45b53" 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-05-16 15:08.36 ---> using "527f39781e1f701c65ad40703d975fc369ea8685b51e19dd063493a0398dbeb4" 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-05-16 15:08.36 ---> using "af6ce50a6d6847374d3a72b160b696854a8b9893ef85720276124b49c4525eb0" 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 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-05-16 15:08.36 ---> using "04953c58f18630357427cc9e40ec299512073a2a7887697b7da12c346200a85a" 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-05-16 15:08.36 ---> using "2b5c2196bec08b52114ea4e1f55016eeb6835294c988d4df33003f1c68722f95" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-05-16 15:09.06 ---> saved as "1f60f066fdf8fa729c6d83342444462ae2ef779db039a6c13e87d1ab62c79ec6"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-05-16 15:11.03 ---> saved as "5bfe77fc3454798eab76398d8234572a0de96cf385f2364ce616b6d2bffd43d0"
/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 [1102 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [741 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-backports/main riscv64 Packages [47.9 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe riscv64 Packages [26.4 kB]
- Get:9 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [439 kB]
- Fetched 2736 kB in 2s (1749 kB/s)
- Reading package lists...
-
2025-05-16 15:11.10 ---> saved as "c1838ad345fd83d4e8f06187cd71e21982118220d9777b14d3e16b9e443ff86f"
/home/opam: (run (shell "opam pin add -k version -yn ocaml-variants.4.14.1+BER 4.14.1+BER"))
ocaml-variants is now pinned to version 4.14.1+BER
2025-05-16 15:11.14 ---> saved as "89cd669c2114502e2b0d6793a966733bc10ae07d271b8cb259dee3005d8b04c5"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall --update-invariant ocaml-variants.4.14.1+BER;\
\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\" != 'ocaml-variants.4.14.1+BER' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocaml-variants.4.14.1+BER is not installed. Install it? [y/n] y
The following actions will be performed:
=== remove 1 package
- remove ocaml-base-compiler 4.14.2 (pinned) [conflicts with ocaml-variants]
=== downgrade 1 package
- downgrade ocaml 4.14.2 to 4.14.1 [uses ocaml-variants]
=== recompile 2 packages
- recompile ocaml-config 2 [uses ocaml-variants]
- recompile opam-depext 1.2.3 [uses ocaml]
=== install 2 packages
- install base-metaocaml-ocamlfind base
- install ocaml-variants 4.14.1+BER (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base-metaocaml-ocamlfind.base (cached)
-> retrieved ocaml-config.2 (cached)
-> retrieved ocaml-variants.4.14.1+BER (cached)
-> retrieved opam-depext.1.2.3 (cached)
-> removed opam-depext.1.2.3
-> removed ocaml.4.14.2
-> removed ocaml-config.2
-> removed ocaml-base-compiler.4.14.2
-> installed ocaml-variants.4.14.1+BER
-> installed ocaml-config.2
-> installed ocaml.4.14.1
-> installed base-metaocaml-ocamlfind.base
-> installed opam-depext.1.2.3
[NOTE] Switch invariant was updated to ["ocaml-variants" {= "4.14.1+BER"}]
Use `opam switch set-invariant' to change it.
Done.
<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# To update the current shell environment, run: eval $(opam env)
2025-05-16 15:24.45 ---> saved as "ecbc892c029a0cfd4feb969197cc28a6c4eb67bc9bad73691297528cb0945e85"
Job succeeded
2025-05-16 15:25.26: Job succeeded