- github
- ocaml
- opam-repository
- 894535
- extras,opam-2.0-ocaml-5.3,mirage-crypto-pk.2.0.2
(not at the head of any monitored branch or PR)
2025-08-22 08:35.54: New job: build mirage-crypto-pk.2.0.2, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/28382/head (8945350a625968bb53e2ea5eb75fb5fc600556eb)
on debian-12-ocaml-5.3/amd64
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:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn mirage-crypto-pk.2.0.2 2.0.2
RUN opam depext mirage-crypto-pk.2.0.2 && opam reinstall mirage-crypto-pk.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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'mirage-crypto-pk.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.54: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da-mirage-crypto-pk.2.0.2-8945350a625968bb53e2ea5eb75fb5fc600556eb"
2025-08-22 08:35.54: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "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 depext -u || true"))
(run (shell "opam pin add -k version -yn mirage-crypto-pk.2.0.2 2.0.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext mirage-crypto-pk.2.0.2 && opam reinstall mirage-crypto-pk.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 \"\\\"debian-12\\\"\"; 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-pk.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.54: Waiting for resource in pool OCluster
2025-08-22 08:36.03: Waiting for worker…
2025-08-22 08:39.07: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
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:debian-12-ocaml-5.3@sha256:ea4d070703e4c16aa9fe1cdf0b1a22c669ee514080881d205b570783be9040da)
2025-08-22 08:39.10 ---> using "7b3e7b3709bbd37e599e66041e6848f5fe2736f92dc6c0cdd0ce7e7e3b68a5fe" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-08-22 08:39.10 ---> saved as "41a3bacb03235da4fa245f295fd0674176277d216ed8e0820333a2b0205a2f30"
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.
[WARNING] Recommended dependencies -- most packages rely on these:
- m4
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-08-22 08:40.27 ---> saved as "f5e2555a027c08b20d630b107b9ae9a386d8151f1064fcd2ab3bdc2da6d29601"
/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version 2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-mccs+glpk
# install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria -removed,-count[version-lag,solution],-new
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
2025-08-22 08:40.28 ---> saved as "8ddf3ce7a53d686a7f0853831ee61d2034273a42fa518b457052043013c37db8"
/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:40.37 ---> saved as "123d55b980ccb56241c87b3555dd5b06b8d7c1503e86f807b931711a83a5ee4f"
/home/opam: (copy (src .) (dst opam-repository/))
2025-08-22 08:40.47 ---> saved as "a4b868442a45e86204a015e89f9fbd3fdcd7d136317b44af1054a5c078b3aba3"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-08-22 08:41.02 ---> saved as "4167df6e2cf7f4a606261e68afcda4499c3dacfaac162c34ca0b29153cdaf7a7"
/home/opam: (run (network host)
(shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "sudo":
apt-get update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [274 kB]
Fetched 378 kB in 0s (836 kB/s)
Reading package lists...
# OS package update successful
2025-08-22 08:41.05 ---> saved as "53dc210290561ee6601eb773afa301a01ed36b94e7e52b059d427216df3e493c"
/home/opam: (run (shell "opam pin add -k version -yn mirage-crypto-pk.2.0.2 2.0.2"))
mirage-crypto-pk is now pinned to version 2.0.2
2025-08-22 08:41.06 ---> saved as "55e03e24f14fd8ad3ca49b54a32a6fc6b233254879db81e3b0c1d546024933bb"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext mirage-crypto-pk.2.0.2 && opam reinstall mirage-crypto-pk.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 \"\\\"debian-12\\\"\"; 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-pk.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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
libgmp-dev
pkg-config
# The following system packages are needed:
The following command needs to be run through "sudo":
apt-get install -qq -yy libgmp-dev pkg-config
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libgmpxx4ldbl:amd64.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18778 files and directories currently installed.)
Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
Selecting previously unselected package libgmp-dev:amd64.
Preparing to unpack .../1-libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
Selecting previously unselected package libpkgconf3:amd64.
Preparing to unpack .../2-libpkgconf3_1.8.1-1_amd64.deb ...
Unpacking libpkgconf3:amd64 (1.8.1-1) ...
Selecting previously unselected package pkgconf-bin.
Preparing to unpack .../3-pkgconf-bin_1.8.1-1_amd64.deb ...
Unpacking pkgconf-bin (1.8.1-1) ...
Selecting previously unselected package pkgconf:amd64.
Preparing to unpack .../4-pkgconf_1.8.1-1_amd64.deb ...
Unpacking pkgconf:amd64 (1.8.1-1) ...
Selecting previously unselected package pkg-config:amd64.
Preparing to unpack .../5-pkg-config_1.8.1-1_amd64.deb ...
Unpacking pkg-config:amd64 (1.8.1-1) ...
Setting up libpkgconf3:amd64 (1.8.1-1) ...
Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
Setting up pkgconf-bin (1.8.1-1) ...
Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
Setting up pkgconf:amd64 (1.8.1-1) ...
Setting up pkg-config:amd64 (1.8.1-1) ...
Processing triggers for libc-bin (2.36-9+deb12u10) ...
# OS packages installation successful
mirage-crypto-pk.2.0.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install ocamlbuild 0.16.1 [required by logs]
- install ocamlfind 1.9.8 [required by zarith]
- install conf-gmp 5 [required by conf-gmp-powm-sec, zarith]
- install dune 3.20.0 [required by mirage-crypto-pk]
- install topkg 1.1.0 [required by logs]
- install zarith 1.13 [required by mirage-crypto-pk]
- install conf-gmp-powm-sec 4 [required by mirage-crypto-pk]
- install eqaf 0.10 [required by mirage-crypto-pk]
- install duration 0.2.1 [required by mirage-crypto-rng]
- install csexp 1.5.2 [required by dune-configurator]
- install logs 0.9.0 [required by mirage-crypto-rng]
- install digestif 1.3.0 [required by mirage-crypto-pk]
- install dune-configurator 3.20.0 [required by mirage-crypto, mirage-crypto-rng]
- install mirage-crypto 2.0.2 [required by mirage-crypto-pk]
- install mirage-crypto-rng 2.0.2 [required by mirage-crypto-pk]
- install mirage-crypto-pk 2.0.2*
===== 16 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[csexp.1.5.2] found in cache
[digestif.1.3.0] found in cache
[dune.3.20.0] found in cache
[dune-configurator.3.20.0] found in cache
[duration.0.2.1] found in cache
[eqaf.0.10] found in cache
[logs.0.9.0] found in cache
[mirage-crypto.2.0.2] found in cache
[mirage-crypto-pk.2.0.2] found in cache
[mirage-crypto-rng.2.0.2] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[topkg.1.1.0] found in cache
[zarith.1.13] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-gmp.5
-> installed conf-gmp-powm-sec.4
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed zarith.1.13
-> 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 digestif.1.3.0
-> installed dune-configurator.3.20.0
-> installed mirage-crypto.2.0.2
-> installed mirage-crypto-rng.2.0.2
-> installed mirage-crypto-pk.2.0.2
Done.
# Run eval $(opam env) to update the current shell environment
2025-08-22 08:42.12 ---> saved as "8ceac9b5bdbe7ba43986b4f3e0991866c285951806eda51f3421920e3df756d2"
Job succeeded
2025-08-22 08:42.31: Job succeeded