(for PR #28291)
2025-11-10 16:57.15: New job: test archive.3.7.2+6, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28291/head (3e46e7fdc64d91bd792acd6d282116b1fe84d312)
on macos-homebrew-ocaml-5.4/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 b6a264c784afa1e19f7a926fc10d49010ad12be4
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.4
USER 1000:1000
RUN ln -f ~/local/bin/opam-dev ~/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
RUN (opam reinstall --with-test archive.3.7.2+6) || true
RUN opam reinstall --with-test --verbose 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-11-10 16:57.15: Using cache hint "macos-homebrew-ocaml-5.4-archive.3.7.2+6-3e46e7fdc64d91bd792acd6d282116b1fe84d312"
2025-11-10 16:57.15: Using OBuilder spec:
((from macos-homebrew-ocaml-5.4)
(user (uid 1000) (gid 1000))
(run (shell "ln -f ~/local/bin/opam-dev ~/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"))
(run (network host)
(shell "(opam reinstall --with-test archive.3.7.2+6) || true"))
(run (shell "opam reinstall --with-test --verbose 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-11-10 16:57.15: Waiting for resource in pool OCluster
2025-11-10 16:57.15: Waiting for worker…
2025-11-10 18:39.41: Got resource from pool OCluster
Building on i7-worker-04
All commits already cached
Updating files: 34% (6397/18707)
Updating files: 35% (6548/18707)
Updating files: 36% (6735/18707)
Updating files: 37% (6922/18707)
Updating files: 38% (7109/18707)
Updating files: 39% (7296/18707)
Updating files: 40% (7483/18707)
Updating files: 41% (7670/18707)
Updating files: 42% (7857/18707)
Updating files: 43% (8045/18707)
Updating files: 44% (8232/18707)
Updating files: 45% (8419/18707)
Updating files: 46% (8606/18707)
Updating files: 47% (8793/18707)
Updating files: 48% (8980/18707)
Updating files: 49% (9167/18707)
Updating files: 50% (9354/18707)
Updating files: 51% (9541/18707)
Updating files: 52% (9728/18707)
Updating files: 53% (9915/18707)
Updating files: 54% (10102/18707)
Updating files: 55% (10289/18707)
Updating files: 56% (10476/18707)
Updating files: 57% (10663/18707)
Updating files: 58% (10851/18707)
Updating files: 59% (11038/18707)
Updating files: 60% (11225/18707)
Updating files: 61% (11412/18707)
Updating files: 61% (11446/18707)
Updating files: 62% (11599/18707)
Updating files: 63% (11786/18707)
Updating files: 64% (11973/18707)
Updating files: 65% (12160/18707)
Updating files: 66% (12347/18707)
Updating files: 67% (12534/18707)
Updating files: 68% (12721/18707)
Updating files: 69% (12908/18707)
Updating files: 70% (13095/18707)
Updating files: 71% (13282/18707)
Updating files: 72% (13470/18707)
Updating files: 73% (13657/18707)
Updating files: 74% (13844/18707)
Updating files: 75% (14031/18707)
Updating files: 76% (14218/18707)
Updating files: 77% (14405/18707)
Updating files: 78% (14592/18707)
Updating files: 79% (14779/18707)
Updating files: 80% (14966/18707)
Updating files: 81% (15153/18707)
Updating files: 82% (15340/18707)
Updating files: 83% (15527/18707)
Updating files: 84% (15714/18707)
Updating files: 85% (15901/18707)
Updating files: 86% (16089/18707)
Updating files: 87% (16276/18707)
Updating files: 88% (16463/18707)
Updating files: 89% (16650/18707)
Updating files: 90% (16837/18707)
Updating files: 90% (17009/18707)
Updating files: 91% (17024/18707)
Updating files: 92% (17211/18707)
Updating files: 93% (17398/18707)
Updating files: 94% (17585/18707)
Updating files: 95% (17772/18707)
Updating files: 96% (17959/18707)
Updating files: 97% (18146/18707)
Updating files: 98% (18333/18707)
Updating files: 99% (18520/18707)
Updating files: 100% (18707/18707)
Updating files: 100% (18707/18707), done.
HEAD is now at b6a264c784 Merge pull request #28853 from AltGr/catala100
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-5.4)
2025-11-10 18:39.47 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache
/: (user (uid 1000) (gid 1000))
/: (run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
2025-11-10 18:39.47 ---> using "7aa34524ca0a69b4a488c30909f7495a04a243f9066091b1dfe73b446b0dfcd3" 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-11-10 18:39.47 ---> using "91dcaa513ca3161d91620d0583acdea5310cd52ccab1dfbdd183600da37afdb2" 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.4.1
# 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 5.4.0
# invariant ["ocaml-base-compiler" {= "5.4.0"} | "ocaml-system" {= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /Users/mac1000/.opam/5.4.0/lib/ocaml/stublibs:/Users/mac1000/.opam/5.4.0/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2025-11-10 18:39.48 ---> using "cea1bfc0b1cda73d964aa2fc69cc828a6e6d8edd86f991754707e8b004a3cb09" 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-11-10 18:39.48 ---> using "e3eba35b672d86e69268bbb9214f23a1f9d1fb0787b4d803840af8d45829b222" from cache
/: (copy (src .) (dst opam-repository/))
2025-11-10 18:39.50 ---> using "4c571315ef9306aaefc87885e566c1d39596d65ab2703911c67069ceaa982b01" from cache
/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
2025-11-10 18:39.51 ---> using "f3e1346edb246b851bf91d15cc5ea81c5dcce3637938dfe1eb29d25f03621adf" 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-11-10 18:39.51 ---> using "b01b21fc2f182650f1cbba194299e75d35023dcc473319a3ab2210da2b6412ec" 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-11-10 18:39.52 ---> using "d25aad9591aca06bb1e57f081b0188dc271c40c3f904920a0e314b995697040e" from cache
/: (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.20.2 [required by archive]
- install dune-configurator 3.20.2 [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.2
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/b74bcb9bd37271a5233033447f5403cf35acaf06eb6c17502646a4545c73d8c9--libarchive-3.8.2.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-1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/14f45413747fef87558cd195b1104e55d9739f9574f146051dbd6569ded74a94--zstd-1.5.7-1.bottle_manifest.json
- ==> Fetching zstd
- ==> Downloading https://ghcr.io/v2/homebrew/core/zstd/blobs/sha256:342e64c01287a716615d14d4a71770fc5930871dc0a965fbdda6062f80dc1952
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/526ee0bcc5dbf4b6f0ca556d34954a7267d57322b268645072b5e0bd8e908c44--zstd--1.5.7.sequoia.bottle.1.tar.gz
- ==> Fetching libarchive
- ==> Downloading https://ghcr.io/v2/homebrew/core/libarchive/blobs/sha256:93a051b1fc9b0bb44b2cec5f4af61659b51c349bb24b95dfeacf9a3c4a1850b5
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/722dc5b699fdd255f31826cd0e92a2e8f9715158abaf03c72c7d21ff1c9e4e94--libarchive--3.8.2.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.3KB
- ==> 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-1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/14f45413747fef87558cd195b1104e55d9739f9574f146051dbd6569ded74a94--zstd-1.5.7-1.bottle_manifest.json
- ==> Pouring zstd--1.5.7.sequoia.bottle.1.tar.gz
- 🍺 /usr/local/Cellar/zstd/1.5.7: 32 files, 2.4MB
- ==> Installing libarchive
- ==> Pouring libarchive--3.8.2.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.2: 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.2KB
- ==> Running `brew cleanup pkgconf`...
- ==> 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.20.2, dune-configurator.3.20.2 (cached)
-> retrieved fileutils.0.6.6 (cached)
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed fileutils.0.6.6
-> installed dune-configurator.3.20.2
-> installed archive.3.7.2+6
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-10 18:39.52 ---> using "f1ac40544b8c2f550f54b170c3f68140f7ff4800af1704216e301b9d64d44e47" from cache
/: (run (network host)
(shell "(opam reinstall --with-test archive.3.7.2+6) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile archive 3.7.2+6 (pinned)
=== install 10 packages
- install archive-lwt 3.7.2+6
- install base-bytes base
- install cppo 1.8.0 [required by extlib]
- install extlib 1.8.0 [required by archive]
- install lwt 5.9.2
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
- install ounit2 2.2.7 [required by archive]
- install seq base [required by ounit2]
- install stdlib-shims 0.3.0 [required by ounit2]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved archive.3.7.2+6, archive-lwt.3.7.2+6 (https://github.com/gildor478/ocaml-archive/releases/download/v3.7.2%2B6/archive-3.7.2.6.tbz)
-> retrieved cppo.1.8.0 (https://github.com/ocaml-community/cppo/archive/v1.8.0.tar.gz)
-> retrieved extlib.1.8.0 (https://github.com/ygrek/ocaml-extlib/releases/download/1.8.0/extlib-1.8.0.tar.gz)
-> retrieved lwt.5.9.2 (https://github.com/ocsigen/lwt/archive/refs/tags/5.9.2.tar.gz)
-> installed cppo.1.8.0
-> retrieved ocamlfind.1.9.8 (https://github.com/ocaml/ocamlfind/archive/refs/tags/findlib-1.9.8.tar.gz)
-> retrieved ocplib-endian.1.2 (https://github.com/OCamlPro/ocplib-endian/archive/refs/tags/1.2.tar.gz)
-> retrieved ounit2.2.2.7 (https://github.com/gildor478/ounit/releases/download/v2.2.7/ounit-2.2.7.tbz)
-> retrieved seq.base (2 extra sources)
-> retrieved seq.base (2 extra sources)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0 (https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz)
-> installed extlib.1.8.0
-> removed archive.3.7.2+6
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
[ERROR] The compilation of archive.3.7.2+6 failed at "dune build -p archive -j 11 @install @runtest".
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocplib-endian.1.2
-> installed lwt.5.9.2
#=== ERROR while compiling archive.3.7.2+6 ====================================#
# context 2.4.1 | macos/x86_64 | ocaml-base-compiler.5.4.0 | pinned(https://github.com/gildor478/ocaml-archive/releases/download/v3.7.2%2B6/archive-3.7.2.6.tbz)
# path ~/.opam/5.4.0/.opam-switch/build/archive.3.7.2+6
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p archive -j 11 @install @runtest
# exit-code 1
# env-file ~/.opam/log/archive-50418-2d1cd4.env
# output-file ~/.opam/log/archive-50418-2d1cd4.out
### output ###
# File "test/dune", line 4, characters 20-31:
# 4 | (libraries archive archive-lwt ounit2 extlib))
# ^^^^^^^^^^^
# Error: Library "archive-lwt" not found.
# -> required by _build/default/test/test.exe
# -> required by alias test/runtest-test in test/dune:2
# -> required by alias test/runtest
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build archive 3.7.2+6
+-
+- The following changes have been performed (the rest was aborted)
| - remove archive 3.7.2+6
| - install base-bytes base
| - install cppo 1.8.0
| - install extlib 1.8.0
| - install lwt 5.9.2
| - install ocamlfind 1.9.8
| - install ocplib-endian 1.2
| - install ounit2 2.2.7
| - install seq base
| - install stdlib-shims 0.3.0
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/local/bin/opam switch import "/Users/mac1000/.opam/5.4.0/.opam-switch/backup/state-20251110183954.export"
Or you can retry to install your package selection with:
/usr/local/bin/opam install --restore
2025-11-10 18:40.15 ---> saved as "7ad61d356e190e572a9dab4a38ae22db35ddf7fce6526de1cda750b99ad74e78"
/: (run (shell "opam reinstall --with-test --verbose 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 2 packages
- install archive 3.7.2+6 (pinned)
- install archive-lwt 3.7.2+6
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/5: [archive-lwt.3.7.2+6: extract]
-> retrieved archive.3.7.2+6, archive-lwt.3.7.2+6 (cached)
Processing 2/5: [archive: dune build]
+ /Users/mac1000/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "archive" "-j" "11" "@install" "@runtest" (CWD=/Users/mac1000/.opam/5.4.0/.opam-switch/build/archive.3.7.2+6)
- File "test/dune", line 4, characters 20-31:
- 4 | (libraries archive archive-lwt ounit2 extlib))
- ^^^^^^^^^^^
- Error: Library "archive-lwt" not found.
- -> required by _build/default/test/test.exe
- -> required by alias test/runtest-test in test/dune:2
- -> required by alias test/runtest
[ERROR] The compilation of archive.3.7.2+6 failed at "dune build -p archive -j 11 @install @runtest".
#=== ERROR while compiling archive.3.7.2+6 ====================================#
# context 2.4.1 | macos/x86_64 | ocaml-base-compiler.5.4.0 | pinned(https://github.com/gildor478/ocaml-archive/releases/download/v3.7.2%2B6/archive-3.7.2.6.tbz)
# path ~/.opam/5.4.0/.opam-switch/build/archive.3.7.2+6
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p archive -j 11 @install @runtest
# exit-code 1
# env-file ~/.opam/log/archive-52348-8557c0.env
# output-file ~/.opam/log/archive-52348-8557c0.out
### output ###
# File "test/dune", line 4, characters 20-31:
# 4 | (libraries archive archive-lwt ounit2 extlib))
# ^^^^^^^^^^^
# Error: Library "archive-lwt" not found.
# -> required by _build/default/test/test.exe
# -> required by alias test/runtest-test in test/dune:2
# -> required by alias test/runtest
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions were aborted
| - install archive-lwt 3.7.2+6
+-
+- The following actions failed
| - build archive 3.7.2+6
+-
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
'opam reinstall --with-test --verbose archive.3.7.2+6' failed.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall --with-test --verbose 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" failed with exit status 1
2025-11-10 18:40.34: Job failed: Failed: Build failed
2025-11-10 18:40.34: Log analysis:
2025-11-10 18:40.34: >>>
[ERROR] The compilation of archive.3.7.2+6 failed at "dune build -p archive -j 11 @install @runtest".
(score = 20)
2025-11-10 18:40.34: >>>
# Error: Library "archive-lwt" not found.
(score = 48)
2025-11-10 18:40.34: >>>
[ERROR] The compilation of archive.3.7.2+6 failed at "dune build -p archive -j 11 @install @runtest".
(score = 20)
2025-11-10 18:40.34: >>>
# Error: Library "archive-lwt" not found.
(score = 48)
2025-11-10 18:40.34: Library "archive-lwt" not found.