(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 macos-homebrew-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 macos-homebrew-ocaml-4.14
USER 1000:1000
RUN ln -f ~/local/bin/opam-2.3 ~/local/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 -k local --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 "\"macos-homebrew\""; 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 "macos-homebrew-ocaml-4.14-archive.3.7.2+6-3e46e7fdc64d91bd792acd6d282116b1fe84d312"
2025-08-05 10:42.00: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (user (uid 1000) (gid 1000))
 (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
 (run (network host)
      (shell "opam init --reinit -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 -k local --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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (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 \"\\\"macos-homebrew\\\"\"; 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:45.38: Got resource from pool OCluster
Building on i7-worker-01
All commits already cached
Updating files:  33% (6013/17977)
Updating files:  34% (6113/17977)
Updating files:  35% (6292/17977)
Updating files:  36% (6472/17977)
Updating files:  37% (6652/17977)
Updating files:  38% (6832/17977)
Updating files:  39% (7012/17977)
Updating files:  40% (7191/17977)
Updating files:  41% (7371/17977)
Updating files:  42% (7551/17977)
Updating files:  43% (7731/17977)
Updating files:  44% (7910/17977)
Updating files:  45% (8090/17977)
Updating files:  46% (8270/17977)
Updating files:  47% (8450/17977)
Updating files:  48% (8629/17977)
Updating files:  49% (8809/17977)
Updating files:  50% (8989/17977)
Updating files:  51% (9169/17977)
Updating files:  52% (9349/17977)
Updating files:  53% (9528/17977)
Updating files:  54% (9708/17977)
Updating files:  55% (9888/17977)
Updating files:  56% (10068/17977)
Updating files:  57% (10247/17977)
Updating files:  58% (10427/17977)
Updating files:  59% (10607/17977)
Updating files:  60% (10787/17977)
Updating files:  61% (10966/17977)
Updating files:  61% (11049/17977)
Updating files:  62% (11146/17977)
Updating files:  63% (11326/17977)
Updating files:  64% (11506/17977)
Updating files:  65% (11686/17977)
Updating files:  66% (11865/17977)
Updating files:  67% (12045/17977)
Updating files:  68% (12225/17977)
Updating files:  69% (12405/17977)
Updating files:  70% (12584/17977)
Updating files:  71% (12764/17977)
Updating files:  72% (12944/17977)
Updating files:  73% (13124/17977)
Updating files:  74% (13303/17977)
Updating files:  75% (13483/17977)
Updating files:  76% (13663/17977)
Updating files:  77% (13843/17977)
Updating files:  78% (14023/17977)
Updating files:  79% (14202/17977)
Updating files:  80% (14382/17977)
Updating files:  81% (14562/17977)
Updating files:  82% (14742/17977)
Updating files:  83% (14921/17977)
Updating files:  84% (15101/17977)
Updating files:  85% (15281/17977)
Updating files:  86% (15461/17977)
Updating files:  87% (15640/17977)
Updating files:  88% (15820/17977)
Updating files:  89% (16000/17977)
Updating files:  90% (16180/17977)
Updating files:  91% (16360/17977)
Updating files:  92% (16539/17977)
Updating files:  93% (16719/17977)
Updating files:  94% (16899/17977)
Updating files:  94% (17006/17977)
Updating files:  95% (17079/17977)
Updating files:  96% (17258/17977)
Updating files:  97% (17438/17977)
Updating files:  98% (17618/17977)
Updating files:  99% (17798/17977)
Updating files: 100% (17977/17977)
Updating files: 100% (17977/17977), done.
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 macos-homebrew-ocaml-4.14)
2025-08-05 10:45.44 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache

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

/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-08-05 10:45.44 ---> using "133faf6477bb7d579f4909c1f9ea81a7b33e8728123c32f7ba0f1532c2d3d002" from cache

/: (run (network host)
        (shell "opam init --reinit -ni"))
No configuration file found, using 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 /Users/mac1000/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2025-08-05 10:45.44 ---> using "ef3d87c6398c801c10cf5a6d93f8ba7a7aca8d0c6db9fa9fa49b79f0f9e94e2e" from cache

/: (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
# self-upgrade         no
# system               arch=x86_64 os=macos os-distribution=homebrew os-version=15.5
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 11
# repositories         1 (version-controlled)
# pinned               0
# current-switch       4.14.2
# invariant            ["ocaml-base-compiler" {= "4.14.2"} | "ocaml-system" {= "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       /Users/mac1000/.opam/4.14.2/lib/ocaml/stublibs:/Users/mac1000/.opam/4.14.2/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2025-08-05 10:45.45 ---> using "ac863649c8b1638b67aad7aed774fd3a3fe5d0b0e5eb7991274454937cf65d01" from cache

/: (env OPAMDOWNLOADJOBS 1)

/: (env OPAMERRLOGLEN 0)

/: (env OPAMPRECISETRACKING 1)

/: (env CI true)

/: (env OPAM_REPO_CI true)

/: (run (shell "rm -rf opam-repository/"))
2025-08-05 10:45.45 ---> using "5431cbcc658e0d18f1e86a42b7295d7baef82e74db465ab87f8a15ba49194dde" from cache

/: (copy (src .) (dst opam-repository/))
2025-08-05 10:45.47 ---> using "5155c0c7afe3ee7626ad7b8b14c39fb49f2bb83009c59ed3e908362b6a2126ce" from cache

/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
2025-08-05 10:45.47 ---> using "03bab256de8054d7a440d04e1badf106c0300a3f433906a6a04acd0aa02a96b3" from cache

/: (run (network host)
        (shell "opam update --depexts || true"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- ==> Homebrew collects anonymous analytics.
- Read the analytics documentation (and how to opt-out) here:
-   https://docs.brew.sh/Analytics
- No analytics have been recorded yet (nor will be during this `brew` run).
- 
- ==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
-   https://github.com/Homebrew/brew#donations
- 
- Already up-to-date.
2025-08-05 10:45.48 ---> using "150c7aa01953b692475e065738d63d268be7bb1c812a0d38be069011a8d31d8c" from cache

/: (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:45.50 ---> saved as "2be471b844b79e40309daa258fb086133918327e135ef17b67deae14c433ab32"

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (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 \"\\\"macos-homebrew\\\"\"; 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 pkgconf

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

opam believes some required external dependencies are missing. opam can:
> 1. Run brew to install them (may need root/sudo access)
  2. Display the recommended brew 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/local/bin/brew "install" "libarchive" "pkgconf"
- ==> Fetching downloads for: libarchive and pkgconf
- ==> Downloading https://ghcr.io/v2/homebrew/core/libarchive/manifests/3.8.1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/cdecd3708dbeb69a1dbd1da4d76cf6bd22b9daad143eb0c8daee146d791e5f29--libarchive-3.8.1.bottle_manifest.json
- ==> Downloading https://ghcr.io/v2/homebrew/core/pkgconf/manifests/2.5.1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/e0bf05fafcedcfbde9a9a488dc3a083cadd19584ac19f4cc053a9c265f841120--pkgconf-2.5.1.bottle_manifest.json
- ==> Fetching dependencies for libarchive: libb2, lz4, xz and zstd
- ==> Downloading https://ghcr.io/v2/homebrew/core/libb2/manifests/0.98.1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/9bb23dca331f0d74876fa5c769113885b92af8a741a851cdfe99f6dfd420b12d--libb2-0.98.1.bottle_manifest.json
- ==> Fetching libb2
- ==> Downloading https://ghcr.io/v2/homebrew/core/libb2/blobs/sha256:747d5e721f9fae99dbc96b9091a4e9f237919f812723d24965846523782b7381
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/ddc55a588ae7bb5d8887cf749e1b3833b5385eaf56e9101913dfd8316fae3a6f--libb2--0.98.1.sonoma.bottle.tar.gz
- ==> Downloading https://ghcr.io/v2/homebrew/core/lz4/manifests/1.10.0-1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/8e11e90eb21a06e0f199af9d80e011e3693c77dd353b2477579d95c8471a5802--lz4-1.10.0-1.bottle_manifest.json
- ==> Fetching lz4
- ==> Downloading https://ghcr.io/v2/homebrew/core/lz4/blobs/sha256:f75cb29a4d25d37e1db38d95c5970cc45de7ec63ce43cfa881a877b424154a42
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/042532902d873e5c9a0241944df9f8952f25a1befbce2f95faa3f3154161bc3a--lz4--1.10.0.sequoia.bottle.1.tar.gz
- ==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.8.1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/86a115cc1d43ff8a480fd907f812e70a403e1675d8a7223f61bbb08cbd2adc27--xz-5.8.1.bottle_manifest.json
- ==> Fetching xz
- ==> Downloading https://ghcr.io/v2/homebrew/core/xz/blobs/sha256:6558e19cb2f13893677ec1fe075d268a69ce242a064ce1dc53940234da4b2c5f
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/4b6542fb56398cfc7335831c3feeff47ff3e191a92b7c43c5e74539fe62d952c--xz--5.8.1.sequoia.bottle.tar.gz
- ==> Downloading https://ghcr.io/v2/homebrew/core/zstd/manifests/1.5.7
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/596a67b1677f62a8e24e6fdfa7c879891221cb8261242f4355fb4deff1a2ec39--zstd-1.5.7.bottle_manifest.json
- ==> Fetching zstd
- ==> Downloading https://ghcr.io/v2/homebrew/core/zstd/blobs/sha256:bcfccd14315dedf3291f77682702f80711fb8829bd14a53431d60204eb99ec32
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/a76132fb724401f16b88160ec531fdf12c8313c47b0742602edbf77816dc79e3--zstd--1.5.7.sequoia.bottle.tar.gz
- ==> Fetching libarchive
- ==> Downloading https://ghcr.io/v2/homebrew/core/libarchive/blobs/sha256:e5b8299cc88814bb13fe64e97832392aa3c7b168749cd48cd4e38effac946591
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/717f22f324cdca320e27651e7e05fd4246b3be2ea61c63adeb9bc22eeed65881--libarchive--3.8.1.sonoma.bottle.tar.gz
- ==> Fetching pkgconf
- ==> Downloading https://ghcr.io/v2/homebrew/core/pkgconf/blobs/sha256:a074f871aa476dec1101c13b4fcfbb9354a8b35bcb6e056f8411463913632071
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/2f783e65294d208e2dea96042a5edbde1c117183f409d4687d8d77c44c013470--pkgconf--2.5.1.sequoia.bottle.tar.gz
- ==> Installing dependencies for libarchive: libb2, lz4, xz and zstd
- ==> Installing libarchive dependency: libb2
- ==> Downloading https://ghcr.io/v2/homebrew/core/libb2/manifests/0.98.1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/9bb23dca331f0d74876fa5c769113885b92af8a741a851cdfe99f6dfd420b12d--libb2-0.98.1.bottle_manifest.json
- ==> Pouring libb2--0.98.1.sonoma.bottle.tar.gz
- 🍺  /usr/local/Cellar/libb2/0.98.1: 9 files, 277.2KB
- ==> Installing libarchive dependency: lz4
- ==> Downloading https://ghcr.io/v2/homebrew/core/lz4/manifests/1.10.0-1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/8e11e90eb21a06e0f199af9d80e011e3693c77dd353b2477579d95c8471a5802--lz4-1.10.0-1.bottle_manifest.json
- ==> Pouring lz4--1.10.0.sequoia.bottle.1.tar.gz
- 🍺  /usr/local/Cellar/lz4/1.10.0: 24 files, 662.3KB
- ==> Installing libarchive dependency: xz
- ==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.8.1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/86a115cc1d43ff8a480fd907f812e70a403e1675d8a7223f61bbb08cbd2adc27--xz-5.8.1.bottle_manifest.json
- ==> Pouring xz--5.8.1.sequoia.bottle.tar.gz
- 🍺  /usr/local/Cellar/xz/5.8.1: 96 files, 2.3MB
- ==> Installing libarchive dependency: zstd
- ==> Downloading https://ghcr.io/v2/homebrew/core/zstd/manifests/1.5.7
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/596a67b1677f62a8e24e6fdfa7c879891221cb8261242f4355fb4deff1a2ec39--zstd-1.5.7.bottle_manifest.json
- ==> Pouring zstd--1.5.7.sequoia.bottle.tar.gz
- 🍺  /usr/local/Cellar/zstd/1.5.7: 32 files, 2.4MB
- ==> Installing libarchive
- ==> Pouring libarchive--3.8.1.sonoma.bottle.tar.gz
- ==> Caveats
- libarchive is keg-only, which means it was not symlinked into /usr/local,
- because macOS already provides this software and installing another version in
- parallel can cause all kinds of trouble.
- 
- If you need to have libarchive first in your PATH, run:
-   echo 'export PATH="/usr/local/opt/libarchive/bin:$PATH"' >> ~/.profile
- 
- For compilers to find libarchive you may need to set:
-   export LDFLAGS="-L/usr/local/opt/libarchive/lib"
-   export CPPFLAGS="-I/usr/local/opt/libarchive/include"
- ==> Summary
- 🍺  /usr/local/Cellar/libarchive/3.8.1: 65 files, 3.7MB
- ==> Running `brew cleanup libarchive`...
- Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`.
- Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
- ==> Pouring pkgconf--2.5.1.sequoia.bottle.tar.gz
- 🍺  /usr/local/Cellar/pkgconf/2.5.1: 28 files, 374.1KB
- ==> Running `brew cleanup pkgconf`...
- ==> No outdated dependents to upgrade!
- ==> Caveats
- ==> libarchive
- libarchive is keg-only, which means it was not symlinked into /usr/local,
- because macOS already provides this software and installing another version in
- parallel can cause all kinds of trouble.
- 
- If you need to have libarchive first in your PATH, run:
-   echo 'export PATH="/usr/local/opt/libarchive/bin:$PATH"' >> ~/.profile
- 
- For compilers to find libarchive you may need to set:
-   export LDFLAGS="-L/usr/local/opt/libarchive/lib"
-   export CPPFLAGS="-I/usr/local/opt/libarchive/include"

<><> 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:46.56 ---> saved as "7eba3b34a27082ae45c001264a10bea453a14a70b1cb60c8e78f44b5d0a6b29e"
Job succeeded
2025-08-05 10:47.07: Job succeeded