- github
- ocaml
- opam-repository
- 894535
- extras,riscv64-ocaml-5.3,mirage-crypto-ec.2.0.2
(not at the head of any monitored branch or PR)
2025-08-22 08:35.55: New job: build mirage-crypto-ec.2.0.2, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/28382/head (8945350a625968bb53e2ea5eb75fb5fc600556eb)
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/28382/head" && git reset --hard 8945350a
git fetch origin master
git merge --no-edit 4bae7ec4df49df4454ea492c8d7a1196aeae04e0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:9851aef4e26fe1f48d439ded581304c2faed62bdb4fc2b23f4e393b05a1df27b
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 mirage-crypto-ec.2.0.2 2.0.2
RUN opam reinstall mirage-crypto-ec.2.0.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" != 'mirage-crypto-ec.2.0.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-08-22 08:35.55: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:9851aef4e26fe1f48d439ded581304c2faed62bdb4fc2b23f4e393b05a1df27b-mirage-crypto-ec.2.0.2-8945350a625968bb53e2ea5eb75fb5fc600556eb"
2025-08-22 08:35.55: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:9851aef4e26fe1f48d439ded581304c2faed62bdb4fc2b23f4e393b05a1df27b)
(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 mirage-crypto-ec.2.0.2 2.0.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mirage-crypto-ec.2.0.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\" != 'mirage-crypto-ec.2.0.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-08-22 08:35.55: Waiting for resource in pool OCluster
2025-08-22 08:35.55: Waiting for worker…
2025-08-22 08:46.23: Got resource from pool OCluster
Building on riscv-bm-04.sw.ci.dev
All commits already cached
Updating files: 13% (2379/18069)
Updating files: 14% (2530/18069)
Updating files: 15% (2711/18069)
Updating files: 16% (2892/18069)
Updating files: 17% (3072/18069)
Updating files: 18% (3253/18069)
Updating files: 19% (3434/18069)
Updating files: 20% (3614/18069)
Updating files: 21% (3795/18069)
Updating files: 22% (3976/18069)
Updating files: 23% (4156/18069)
Updating files: 24% (4337/18069)
Updating files: 25% (4518/18069)
Updating files: 26% (4698/18069)
Updating files: 26% (4747/18069)
Updating files: 27% (4879/18069)
Updating files: 28% (5060/18069)
Updating files: 29% (5241/18069)
Updating files: 30% (5421/18069)
Updating files: 31% (5602/18069)
Updating files: 32% (5783/18069)
Updating files: 33% (5963/18069)
Updating files: 34% (6144/18069)
Updating files: 35% (6325/18069)
Updating files: 36% (6505/18069)
Updating files: 37% (6686/18069)
Updating files: 38% (6867/18069)
Updating files: 39% (7047/18069)
Updating files: 40% (7228/18069)
Updating files: 40% (7368/18069)
Updating files: 41% (7409/18069)
Updating files: 42% (7589/18069)
Updating files: 43% (7770/18069)
Updating files: 44% (7951/18069)
Updating files: 45% (8132/18069)
Updating files: 46% (8312/18069)
Updating files: 47% (8493/18069)
Updating files: 48% (8674/18069)
Updating files: 49% (8854/18069)
Updating files: 50% (9035/18069)
Updating files: 51% (9216/18069)
Updating files: 52% (9396/18069)
Updating files: 53% (9577/18069)
Updating files: 53% (9700/18069)
Updating files: 54% (9758/18069)
Updating files: 55% (9938/18069)
Updating files: 56% (10119/18069)
Updating files: 57% (10300/18069)
Updating files: 58% (10481/18069)
Updating files: 59% (10661/18069)
Updating files: 60% (10842/18069)
Updating files: 61% (11023/18069)
Updating files: 62% (11203/18069)
Updating files: 63% (11384/18069)
Updating files: 64% (11565/18069)
Updating files: 65% (11745/18069)
Updating files: 66% (11926/18069)
Updating files: 66% (11981/18069)
Updating files: 67% (12107/18069)
Updating files: 68% (12287/18069)
Updating files: 69% (12468/18069)
Updating files: 70% (12649/18069)
Updating files: 71% (12829/18069)
Updating files: 72% (13010/18069)
Updating files: 73% (13191/18069)
Updating files: 74% (13372/18069)
Updating files: 75% (13552/18069)
Updating files: 76% (13733/18069)
Updating files: 77% (13914/18069)
Updating files: 78% (14094/18069)
Updating files: 79% (14275/18069)
Updating files: 79% (14307/18069)
Updating files: 80% (14456/18069)
Updating files: 81% (14636/18069)
Updating files: 82% (14817/18069)
Updating files: 83% (14998/18069)
Updating files: 84% (15178/18069)
Updating files: 85% (15359/18069)
Updating files: 86% (15540/18069)
Updating files: 87% (15721/18069)
Updating files: 88% (15901/18069)
Updating files: 89% (16082/18069)
Updating files: 90% (16263/18069)
Updating files: 91% (16443/18069)
Updating files: 92% (16624/18069)
Updating files: 92% (16739/18069)
Updating files: 93% (16805/18069)
Updating files: 94% (16985/18069)
Updating files: 95% (17166/18069)
Updating files: 96% (17347/18069)
Updating files: 97% (17527/18069)
Updating files: 98% (17708/18069)
Updating files: 99% (17889/18069)
Updating files: 100% (18069/18069)
Updating files: 100% (18069/18069), done.
HEAD is now at 4bae7ec4df Merge pull request #28375 from jmid/opam-compiler-re-bounds
Updating 4bae7ec4df..8945350a62
Fast-forward
.../mirage-crypto-ec/mirage-crypto-ec.2.0.2/opam | 62 ++++++++++++++++++++++
.../mirage-crypto-pk/mirage-crypto-pk.2.0.2/opam | 43 +++++++++++++++
.../mirage-crypto-rng-miou-unix.2.0.2/opam | 39 ++++++++++++++
.../mirage-crypto-rng-mirage.2.0.2/opam | 40 ++++++++++++++
.../mirage-crypto-rng/mirage-crypto-rng.2.0.2/opam | 42 +++++++++++++++
packages/mirage-crypto/mirage-crypto.2.0.2/opam | 39 ++++++++++++++
6 files changed, 265 insertions(+)
create mode 100644 packages/mirage-crypto-ec/mirage-crypto-ec.2.0.2/opam
create mode 100644 packages/mirage-crypto-pk/mirage-crypto-pk.2.0.2/opam
create mode 100644 packages/mirage-crypto-rng-miou-unix/mirage-crypto-rng-miou-unix.2.0.2/opam
create mode 100644 packages/mirage-crypto-rng-mirage/mirage-crypto-rng-mirage.2.0.2/opam
create mode 100644 packages/mirage-crypto-rng/mirage-crypto-rng.2.0.2/opam
create mode 100644 packages/mirage-crypto/mirage-crypto.2.0.2/opam
(from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:9851aef4e26fe1f48d439ded581304c2faed62bdb4fc2b23f4e393b05a1df27b)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:9851aef4e26fe1f48d439ded581304c2faed62bdb4fc2b23f4e393b05a1df27b' locally
docker.io/ocaml/opam@sha256:9851aef4e26fe1f48d439ded581304c2faed62bdb4fc2b23f4e393b05a1df27b: Pulling from ocaml/opam
Digest: sha256:9851aef4e26fe1f48d439ded581304c2faed62bdb4fc2b23f4e393b05a1df27b
Status: Downloaded newer image for ocaml/opam@sha256:9851aef4e26fe1f48d439ded581304c2faed62bdb4fc2b23f4e393b05a1df27b
2025-08-22 08:46.34 ---> using "71cd7d08865ea0fd5715e396c65038deabf0a0e84d517ba5d0a9d237f255c98d" 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-22 08:46.34 ---> using "a8387f6d8682b78fd167dde6f330d017b38658d2342fbf069ffebe10f6b56434" 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-22 08:46.34 ---> using "5f8e52636db6b389200528e05fea3be2689519ab47e74ac8143668acb6834682" 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-22 08:46.34 ---> using "e1ccfe6896912301e29ae4c14509447d4f76bdebe89957985d6c3fd16166e23b" 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-22 08:46.34 ---> using "6b05776eaaf1144296255e02133020db0a10f5476f0fd0e8a6647edaa247ca0e" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-08-22 08:46.40 ---> using "323e8d2c90fcce1ef32c3718f48869809b99ae6a8bd827c753e030abdcdd0e05" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-22 08:46.40 ---> using "e95a17e23e1dc1e2554cae5151b9129136f05a4cff9d879c9572d5a622b6ef28" 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 [812 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1166 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [874 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [499 kB]
- Fetched 3730 kB in 2s (1669 kB/s)
- Reading package lists...
-
2025-08-22 08:46.40 ---> using "69b715cba74045c7d0d404eea1bd4c2952ec24587d91cc0661ed17ad5dbe6751" from cache
/home/opam: (run (shell "opam pin add -k version -yn mirage-crypto-ec.2.0.2 2.0.2"))
mirage-crypto-ec is now pinned to version 2.0.2
2025-08-22 08:46.43 ---> saved as "77efe1671798f7b8a38cbe327dcb9c64c2b8d5c97d790750206aaae2021fcb03"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mirage-crypto-ec.2.0.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\" != 'mirage-crypto-ec.2.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
mirage-crypto-ec.2.0.2 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 13 packages
- install csexp 1.5.2 [required by dune-configurator]
- install digestif 1.3.0 [required by mirage-crypto-ec]
- install dune 3.20.0 [required by mirage-crypto-ec]
- install dune-configurator 3.20.0 [required by mirage-crypto-ec]
- install duration 0.2.1 [required by mirage-crypto-rng]
- install eqaf 0.10 [required by mirage-crypto-ec]
- install logs 0.9.0 [required by mirage-crypto-rng]
- install mirage-crypto 2.0.2 [required by mirage-crypto-rng]
- install mirage-crypto-ec 2.0.2 (pinned)
- install mirage-crypto-rng 2.0.2 [required by mirage-crypto-ec]
- install ocamlbuild 0.16.1 [required by logs]
- install ocamlfind 1.9.8 [required by logs]
- install topkg 1.1.0 [required by logs]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> retrieved digestif.1.3.0 (cached)
-> retrieved dune.3.20.0, dune-configurator.3.20.0 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved logs.0.9.0 (cached)
-> retrieved mirage-crypto.2.0.2, mirage-crypto-ec.2.0.2, mirage-crypto-rng.2.0.2 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved topkg.1.1.0 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed logs.0.9.0
-> installed dune.3.20.0
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed eqaf.0.10
-> installed dune-configurator.3.20.0
-> installed digestif.1.3.0
-> installed mirage-crypto.2.0.2
-> installed mirage-crypto-rng.2.0.2
-> installed mirage-crypto-ec.2.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-22 08:52.52 ---> saved as "7bcc8d51e0b06ef1597a8919c86c451b1aa0e4735e697989637d96ae87bc7842"
Job succeeded
2025-08-22 08:53.25: Job succeeded