(for PR #28291)

2025-08-05 10:42.00: New job: build archive.3.7.2+6, using opam 2.1
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28291/head (3e46e7fdc64d91bd792acd6d282116b1fe84d312)
                              on debian-12-ocaml-4.14/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/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-4.14@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.1 /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-4.14@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63-archive.3.7.2+6-3e46e7fdc64d91bd792acd6d282116b1fe84d312"
2025-08-05 10:42.00: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /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.03: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
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-4.14@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63' locally
docker.io/ocaml/opam@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63: Pulling from ocaml/opam
a77c4f4a24ac: Already exists
9d1a03aa3c71: Pulling fs layer
baba434270f2: Pulling fs layer
2a8a0f93626e: Pulling fs layer
f6ba2ed01176: Pulling fs layer
f6ba2ed01176: Waiting
2a8a0f93626e: Verifying Checksum
2a8a0f93626e: Download complete
baba434270f2: Verifying Checksum
baba434270f2: Download complete
f6ba2ed01176: Download complete
9d1a03aa3c71: Verifying Checksum
9d1a03aa3c71: Download complete
9d1a03aa3c71: Pull complete
baba434270f2: Pull complete
2a8a0f93626e: Pull complete
f6ba2ed01176: Pull complete
Digest: sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63
Status: Downloaded newer image for ocaml/opam@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63
2025-08-05 10:43.03 ---> using "7f53aba96fd697ea92c7c7d3f6be48133fa7f3f6538a693606c4cbcecd7917b8" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2025-08-05 10:43.03 ---> using "4056a2c15b77b62c5ee2bcbb9d308aa1825c0bd2b0ecfa50c40b83a148aa9cec" 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.1, 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:43.03 ---> using "29322869a489100a21b54bf3a4b764ac9f69db21d7b6751ca5df389ca0aba327" 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.1.6 (263921263e1f745613e2882745114b7b08f3608b) 
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=12
# solver               builtin-0install
# install-criteria     
# upgrade-criteria     
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# 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-08-05 10:43.03 ---> using "9016f0e547f7068c115134d27d972d90c862defa9126d6591593c46487b83294" 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:43.03 ---> using "c4a2d7673a4fa0575494dedac374872e2f672ff8a27107495266d6743a100ba9" from cache

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

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

/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]
- Get:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [19.6 kB]
- Ign:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [272 kB]
- Get:6 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6916 B]
- Fetched 402 kB in 3s (126 kB/s)
- Reading package lists...
2025-08-05 10:43.29 ---> saved as "14a8ee7caf5a2c71e4fcc9952ce59a1ca7c8ac06dd690e58215df0f052856f7d"

/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:43.30 ---> saved as "960eab7eb679dd3a913ba7bebb2bf3af6aebb96187559e1177a77329ed53d565"

/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 conf-pkg-config   4        [required by archive]
  - install dune              3.19.1   [required by archive]
  - install fileutils         0.6.6    [required by archive]
  - install csexp             1.5.2    [required by dune-configurator]
  - install dune-configurator 3.19.1   [required by archive]
  - install archive           3.7.2+6*
===== 6 to install =====

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

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /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: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 ... 18747 files and directories currently installed.)
- Preparing to unpack .../0-libicu72_72.1-3+deb12u1_amd64.deb ...
- Unpacking libicu72:amd64 (72.1-3+deb12u1) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../1-libxml2_2.9.14+dfsg-1.3~deb12u2_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.14+dfsg-1.3~deb12u2) ...
- Selecting previously unselected package libarchive13:amd64.
- Preparing to unpack .../2-libarchive13_3.6.2-1+deb12u2_amd64.deb ...
- Unpacking libarchive13:amd64 (3.6.2-1+deb12u2) ...
- Selecting previously unselected package libarchive-dev:amd64.
- Preparing to unpack .../3-libarchive-dev_3.6.2-1+deb12u2_amd64.deb ...
- Unpacking libarchive-dev:amd64 (3.6.2-1+deb12u2) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../4-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../5-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../6-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../7-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libicu72:amd64 (72.1-3+deb12u1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libxml2:amd64 (2.9.14+dfsg-1.3~deb12u2) ...
- Setting up libarchive13:amd64 (3.6.2-1+deb12u2) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Setting up libarchive-dev:amd64 (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  (cached)
-> retrieved 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.
# Run eval $(opam env) to update the current shell environment
2025-08-05 10:45.12 ---> saved as "a89b93f89015a6d0d90a2ff40de56b962ff3009f947209ffcaebf0523fab1d9b"
Job succeeded
2025-08-05 10:45.18: Job succeeded