(for PR #29368)

2026-02-10 15:24.05: New job: build mirage-crypto-ec.2.0.3, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29368/head (66e177c9ccf11298b53a7c2c24dada57dd487d9b)
                              on debian-13-ocaml-4.14/ppc64le

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29368/head" && git reset --hard 66e177c9
git fetch origin master
git merge --no-edit f4c12add9cacd610d7ec6cc9fcb057902ca0a0f6
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:0cc8aa469cbceb1adce0c39287172de4953aa7711b3e554a56a9e83ae8537409
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 mirage-crypto-ec.2.0.3 2.0.3
RUN opam reinstall mirage-crypto-ec.2.0.3; \
    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-13\""; 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.3' && 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 .

2026-02-10 15:24.05: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:0cc8aa469cbceb1adce0c39287172de4953aa7711b3e554a56a9e83ae8537409-mirage-crypto-ec.2.0.3-66e177c9ccf11298b53a7c2c24dada57dd487d9b"
2026-02-10 15:24.05: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:0cc8aa469cbceb1adce0c39287172de4953aa7711b3e554a56a9e83ae8537409)
 (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 mirage-crypto-ec.2.0.3 2.0.3"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall mirage-crypto-ec.2.0.3;\
             \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-13\\\"\"; 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.3' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-02-10 15:24.05: Waiting for resource in pool OCluster
2026-02-10 15:24.07: Waiting for worker…
2026-02-10 15:24.07: Got resource from pool OCluster
Building on scyleia.caelum.ci.dev
All commits already cached
HEAD is now at f4c12add9c Merge pull request #29362 from xvw/fix-primavera-ownership
Updating f4c12add9c..66e177c9cc
Fast-forward
 .../mirage-crypto-ec/mirage-crypto-ec.2.0.3/opam   | 62 ++++++++++++++++++++++
 .../mirage-crypto-pk/mirage-crypto-pk.2.0.3/opam   | 43 +++++++++++++++
 .../mirage-crypto-rng-miou-unix.2.0.3/opam         | 39 ++++++++++++++
 .../mirage-crypto-rng-mirage.2.0.3/opam            | 40 ++++++++++++++
 .../mirage-crypto-rng-mkernel.2.0.3/opam           | 38 +++++++++++++
 .../mirage-crypto-rng/mirage-crypto-rng.2.0.3/opam | 42 +++++++++++++++
 packages/mirage-crypto/mirage-crypto.2.0.3/opam    | 39 ++++++++++++++
 7 files changed, 303 insertions(+)
 create mode 100644 packages/mirage-crypto-ec/mirage-crypto-ec.2.0.3/opam
 create mode 100644 packages/mirage-crypto-pk/mirage-crypto-pk.2.0.3/opam
 create mode 100644 packages/mirage-crypto-rng-miou-unix/mirage-crypto-rng-miou-unix.2.0.3/opam
 create mode 100644 packages/mirage-crypto-rng-mirage/mirage-crypto-rng-mirage.2.0.3/opam
 create mode 100644 packages/mirage-crypto-rng-mkernel/mirage-crypto-rng-mkernel.2.0.3/opam
 create mode 100644 packages/mirage-crypto-rng/mirage-crypto-rng.2.0.3/opam
 create mode 100644 packages/mirage-crypto/mirage-crypto.2.0.3/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:0cc8aa469cbceb1adce0c39287172de4953aa7711b3e554a56a9e83ae8537409)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:0cc8aa469cbceb1adce0c39287172de4953aa7711b3e554a56a9e83ae8537409' locally
docker.io/ocaml/opam@sha256:0cc8aa469cbceb1adce0c39287172de4953aa7711b3e554a56a9e83ae8537409: Pulling from ocaml/opam
6397fc946e64: Already exists
b98e79c99357: Already exists
e4f13317cd3e: Already exists
41db3e8ec3dd: Already exists
4d9003eb6ce2: Already exists
373e148c9cd6: Already exists
548d2bba5f94: Already exists
b95cd9e2e166: Already exists
f5d13ee7ec06: Already exists
b8cf75823073: Already exists
b9bb548dbe65: Already exists
776b03c96a39: Already exists
cb416c13d0ec: Already exists
69a0c1298010: Already exists
849d0bdb2d65: Already exists
b0cfc79bb0da: Already exists
d2706e6dba6a: Already exists
067139f1b1fc: Already exists
00b7035dfe37: Already exists
ad92f91780c1: Already exists
aaf5ffed124a: Already exists
3c4dfc947e29: Already exists
4f4fb700ef54: Already exists
680f6fac3e12: Already exists
d292900355e2: Already exists
d25c0e3b1be7: Already exists
0401ff984ac5: Already exists
98796aa1ef81: Already exists
fa6332713773: Already exists
3232124bb443: Already exists
fe4358e5b1f9: Already exists
f340389d2439: Already exists
f0ce0132ce14: Already exists
1fed561e84f3: Already exists
753714535866: Already exists
ef90ac37ec0b: Already exists
1dc2a882ae5d: Already exists
d8f9ab8c4da0: Already exists
dfcd6f08a9f0: Already exists
84d9753fc5b8: Already exists
c815ff17baba: Already exists
a5743286082c: Pulling fs layer
18b4d6873108: Pulling fs layer
55f4c84f4a65: Pulling fs layer
64d8e1e2f2f4: Pulling fs layer
55f4c84f4a65: Waiting
64d8e1e2f2f4: Waiting
18b4d6873108: Verifying Checksum
18b4d6873108: Download complete
55f4c84f4a65: Verifying Checksum
55f4c84f4a65: Download complete
64d8e1e2f2f4: Download complete
a5743286082c: Verifying Checksum
a5743286082c: Download complete
a5743286082c: Pull complete
18b4d6873108: Pull complete
55f4c84f4a65: Pull complete
64d8e1e2f2f4: Pull complete
Digest: sha256:0cc8aa469cbceb1adce0c39287172de4953aa7711b3e554a56a9e83ae8537409
Status: Downloaded newer image for ocaml/opam@sha256:0cc8aa469cbceb1adce0c39287172de4953aa7711b3e554a56a9e83ae8537409
2026-02-10 15:24.42 ---> using "fc7559eb6f94c594e56820f76c710b97ee792e73d207f582fc77275af4f15610" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-02-10 15:24.42 ---> using "98ba756a9233fb85af6aa73ef999081296ea5196eca2cc1d3df1123b1dd1f9c1" 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
2026-02-10 15:24.42 ---> using "ab338ebef953d6624d122abf506973319dc211504471f140c25c46b0b4a1c697" 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
# self-upgrade         no
# system               arch=ppc64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 175
# 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
2026-02-10 15:24.42 ---> using "a6d2dd33f3bdfff218f197c93fd2c7165a2d1729fa76f3c8b28b2b67a417dd85" 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/"))
2026-02-10 15:24.42 ---> using "8d61c10032e63eedc091db3d131eedbb86ce1e7547e7ff7798b989c9176fcfe9" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-02-10 15:25.08 ---> saved as "7891de9d9a09453c1ffcc0dbb5242581b86be07a6bc7070159d8bba6668992b5"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-10 15:25.27 ---> saved as "d500225b47b2575b32aaf9f778bb681a39c5ece2f86043dade30fb71af2062d7"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main ppc64el Packages [97.9 kB]
- Fetched 189 kB in 0s (1608 kB/s)
- Reading package lists...
2026-02-10 15:25.28 ---> saved as "72411357d57827cdf861bb6d0a7b91c72f65c47786635c4c2a264ba26a409c93"

/home/opam: (run (shell "opam pin add -k version -yn mirage-crypto-ec.2.0.3 2.0.3"))
mirage-crypto-ec is now pinned to version 2.0.3
2026-02-10 15:25.29 ---> saved as "02961f4473a09da97daf6d339e50b39f170c1f8d3f0874e8816c9b39ca32ed0f"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall mirage-crypto-ec.2.0.3;\
                        \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-13\\\"\"; 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.3' && 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.3 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.21.0         [required by mirage-crypto-ec]
  - install dune-configurator 3.21.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.10.0         [required by mirage-crypto-rng]
  - install mirage-crypto     2.0.3          [required by mirage-crypto-rng]
  - install mirage-crypto-ec  2.0.3 (pinned)
  - install mirage-crypto-rng 2.0.3          [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.1          [required by logs]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved digestif.1.3.0  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved mirage-crypto.2.0.3, mirage-crypto-ec.2.0.3, mirage-crypto-rng.2.0.3  (https://github.com/mirage/mirage-crypto/releases/download/v2.0.3/mirage-crypto-2.0.3.tbz)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed logs.0.10.0
-> installed dune.3.21.0
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed eqaf.0.10
-> installed digestif.1.3.0
-> installed dune-configurator.3.21.0
-> installed mirage-crypto.2.0.3
-> installed mirage-crypto-rng.2.0.3
-> installed mirage-crypto-ec.2.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-10 15:26.19 ---> saved as "140f82bd374649d36e5d233594d8cfdc0000600a8334fa40f93c0cdbb0226be4"
Job succeeded
2026-02-10 15:26.26: Job succeeded