(for PR #28291)

2025-08-05 10:42.00: New job: build archive.3.7.2+6, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28291/head (3e46e7fdc64d91bd792acd6d282116b1fe84d312)
                              on debian-12-ocaml-5.3/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/28291/head" && git reset --hard 3e46e7fd
git fetch origin master
git merge --no-edit 0b62dc9c3c8e5f6da32ee7f298eb968ef86189ed
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:073dbab8d73f17266699d1ee827e8a77303df0037e8d519cd6268d4dfb628d49
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 archive.3.7.2+6 3.7.2+6
RUN opam reinstall archive.3.7.2+6; \
    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" != 'archive.3.7.2+6' && 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-05 10:42.00: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:073dbab8d73f17266699d1ee827e8a77303df0037e8d519cd6268d4dfb628d49-archive.3.7.2+6-3e46e7fdc64d91bd792acd6d282116b1fe84d312"
2025-08-05 10:42.00: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:073dbab8d73f17266699d1ee827e8a77303df0037e8d519cd6268d4dfb628d49)
 (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 archive.3.7.2+6 3.7.2+6"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall archive.3.7.2+6;\
             \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\" != 'archive.3.7.2+6' && 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-05 10:42.00: Waiting for resource in pool OCluster
2025-08-05 10:42.01: Waiting for worker…
2025-08-05 10:42.01: Got resource from pool OCluster
Building on orithia.caelum.ci.dev
HEAD is now at 13e563440a Merge commit 'f66f63d2840865030a48269d6f3e3e5a07e89633'
HEAD is now at 0b62dc9c3c conf-clang: update alpine depext (#28290)
Merge made by the 'ort' strategy.
 packages/archive-lwt/archive-lwt.3.7.2+6/opam | 52 ++++++++++++++++++++
 packages/archive/archive.3.7.2+6/opam         | 69 +++++++++++++++++++++++++++
 2 files changed, 121 insertions(+)
 create mode 100644 packages/archive-lwt/archive-lwt.3.7.2+6/opam
 create mode 100644 packages/archive/archive.3.7.2+6/opam

(from ocaml/opam:debian-12-ocaml-5.3@sha256:073dbab8d73f17266699d1ee827e8a77303df0037e8d519cd6268d4dfb628d49)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:073dbab8d73f17266699d1ee827e8a77303df0037e8d519cd6268d4dfb628d49' locally
docker.io/ocaml/opam@sha256:073dbab8d73f17266699d1ee827e8a77303df0037e8d519cd6268d4dfb628d49: Pulling from ocaml/opam
5cf87be46ab8: Already exists
0f44a78fd01e: Already exists
094a34f4f82c: Already exists
849a5553b457: Already exists
48a1837609ac: Already exists
6adeab216d83: Already exists
9cae429f65ef: Already exists
4798dcc6fcab: Already exists
e33da69b522e: Already exists
b6deccc3e8a0: Already exists
54d7e44517d5: Already exists
56a274d4b88a: Already exists
a4ba52e80855: Already exists
8147a5280a30: Already exists
135b6496f638: Already exists
34249794785d: Already exists
2cff2ac3a9ff: Already exists
8678fc3742ac: Already exists
75def33464ea: Already exists
4496e2a146b7: Already exists
1a44c9c5868b: Already exists
4f4fb700ef54: Already exists
4f3aeb02fe3b: Already exists
7ef94b7fb364: Already exists
88a32017f90e: Already exists
0e0d029a6f97: Already exists
b54bd6763823: Already exists
e80729c57bfd: Already exists
d34112c80cf8: Already exists
290a9095cad9: Already exists
bf1e7cdba20e: Already exists
cf181c841b7b: Already exists
eb5d59ca12f1: Already exists
9e09024207cd: Already exists
c8d3adc51dc5: Already exists
d11d0df11780: Already exists
46891e0aa2e9: Already exists
a65a132d0f00: Already exists
c733dcaf0b47: Already exists
c87dd113ca3d: Already exists
2d192e6ee7bf: Pulling fs layer
61446d65a51f: Pulling fs layer
2a216baad7ed: Pulling fs layer
0bc9efdf9d6b: Pulling fs layer
c0027e015b08: Pulling fs layer
4ee8089cd5bf: Pulling fs layer
f0c0526b1f87: Pulling fs layer
0bc9efdf9d6b: Waiting
c0027e015b08: Waiting
4ee8089cd5bf: Waiting
f0c0526b1f87: Waiting
2d192e6ee7bf: Download complete
2d192e6ee7bf: Pull complete
61446d65a51f: Verifying Checksum
61446d65a51f: Download complete
2a216baad7ed: Verifying Checksum
2a216baad7ed: Download complete
61446d65a51f: Pull complete
2a216baad7ed: Pull complete
c0027e015b08: Verifying Checksum
c0027e015b08: Download complete
4ee8089cd5bf: Verifying Checksum
4ee8089cd5bf: Download complete
f0c0526b1f87: Verifying Checksum
f0c0526b1f87: Download complete
0bc9efdf9d6b: Verifying Checksum
0bc9efdf9d6b: Download complete
0bc9efdf9d6b: Pull complete
c0027e015b08: Pull complete
4ee8089cd5bf: Pull complete
f0c0526b1f87: Pull complete
Digest: sha256:073dbab8d73f17266699d1ee827e8a77303df0037e8d519cd6268d4dfb628d49
Status: Downloaded newer image for ocaml/opam@sha256:073dbab8d73f17266699d1ee827e8a77303df0037e8d519cd6268d4dfb628d49
2025-08-05 10:42.05 ---> using "5f1b49e38947763035a8b01fd64dc87e2be39c7b629bd9aad04be019e58bd94a" 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-05 10:42.05 ---> using "f72916d036126764ec6ad64094965bb42b0a038da559d1791cf32aa78ebaf8ca" 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-05 10:42.05 ---> using "7a810ef397cb6c50bc4d07aac4bae6197ba83615ce98c0ba6175267963282e86" 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=ppc64 os=linux os-distribution=debian os-version=12
# 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       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-05 10:42.05 ---> using "31248289d172982a8294f321e160726b6b054fb709a642f54d29f4ef94aca041" 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-05 10:42.05 ---> using "fee00f9341d4fa5f66bc74cc63426520118c2dc936ea74d155a50f52470c1739" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-08-05 10:42.26 ---> saved as "de5d451f36592b415b5b072fd97062acaa6ad254e237b29c5d8ad81edfa5d00e"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-05 10:42.44 ---> saved as "e879880ee26723c5b481fb4220995c279428aabe1dcfb5c0341b7dbf985bcb8b"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/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]
- Fetched 103 kB in 0s (318 kB/s)
- Reading package lists...
- 
2025-08-05 10:42.45 ---> saved as "3a4a6aecc4b827cc2d6db1c730dcc522704f0bb9c11618b38aeeb09cee38e0b2"

/home/opam: (run (shell "opam pin add -k version -yn archive.3.7.2+6 3.7.2+6"))
archive is now pinned to version 3.7.2+6
2025-08-05 10:42.46 ---> saved as "4c5fc25883b3da1f7bb0e809f5e262df2db6a1c5663b5f1a62c08d7023d9b8dd"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall archive.3.7.2+6;\
                        \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\" != 'archive.3.7.2+6' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
archive.3.7.2+6 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 6 packages
  - install archive           3.7.2+6 (pinned)
  - install conf-pkg-config   4                [required by archive]
  - install csexp             1.5.2            [required by dune-configurator]
  - install dune              3.19.1           [required by archive]
  - install dune-configurator 3.19.1           [required by archive]
  - install fileutils         0.6.6            [required by archive]

The following system packages will first need to be installed:
    libarchive-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libarchive-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libicu72:ppc64el.
- (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 ... 18720 files and directories currently installed.)
- Preparing to unpack .../0-libicu72_72.1-3+deb12u1_ppc64el.deb ...
- Unpacking libicu72:ppc64el (72.1-3+deb12u1) ...
- Selecting previously unselected package libxml2:ppc64el.
- Preparing to unpack .../1-libxml2_2.9.14+dfsg-1.3~deb12u2_ppc64el.deb ...
- Unpacking libxml2:ppc64el (2.9.14+dfsg-1.3~deb12u2) ...
- Selecting previously unselected package libarchive13:ppc64el.
- Preparing to unpack .../2-libarchive13_3.6.2-1+deb12u2_ppc64el.deb ...
- Unpacking libarchive13:ppc64el (3.6.2-1+deb12u2) ...
- Selecting previously unselected package libarchive-dev:ppc64el.
- Preparing to unpack .../3-libarchive-dev_3.6.2-1+deb12u2_ppc64el.deb ...
- Unpacking libarchive-dev:ppc64el (3.6.2-1+deb12u2) ...
- Selecting previously unselected package libpkgconf3:ppc64el.
- Preparing to unpack .../4-libpkgconf3_1.8.1-1_ppc64el.deb ...
- Unpacking libpkgconf3:ppc64el (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../5-pkgconf-bin_1.8.1-1_ppc64el.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:ppc64el.
- Preparing to unpack .../6-pkgconf_1.8.1-1_ppc64el.deb ...
- Unpacking pkgconf:ppc64el (1.8.1-1) ...
- Selecting previously unselected package pkg-config:ppc64el.
- Preparing to unpack .../7-pkg-config_1.8.1-1_ppc64el.deb ...
- Unpacking pkg-config:ppc64el (1.8.1-1) ...
- Setting up libicu72:ppc64el (72.1-3+deb12u1) ...
- Setting up libpkgconf3:ppc64el (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libxml2:ppc64el (2.9.14+dfsg-1.3~deb12u2) ...
- Setting up libarchive13:ppc64el (3.6.2-1+deb12u2) ...
- Setting up pkgconf:ppc64el (1.8.1-1) ...
- Setting up pkg-config:ppc64el (1.8.1-1) ...
- Setting up libarchive-dev:ppc64el (3.6.2-1+deb12u2) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved archive.3.7.2+6  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> retrieved fileutils.0.6.6  (cached)
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed fileutils.0.6.6
-> installed dune-configurator.3.19.1
-> installed archive.3.7.2+6
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-05 10:43.23 ---> saved as "04bfdd4b64480e5253d0c40b409585c8b5c885278ada7b078e27ca73d9602d03"
Job succeeded
2025-08-05 10:43.29: Job succeeded