(for PR #28291)

2025-08-05 10:42.00: New job: build archive-lwt.3.7.2+6, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28291/head (3e46e7fdc64d91bd792acd6d282116b1fe84d312)
                              on fedora-41-ocaml-5.3/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:fedora-41-ocaml-5.3@sha256:807e9dca7f5ba5d70cc1aaa05e7d619aec8dc85850c58f408797d1f053ed17f5
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-lwt.3.7.2+6 3.7.2+6
RUN opam reinstall archive-lwt.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 "\"fedora-41\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'archive-lwt.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:fedora-41-ocaml-5.3@sha256:807e9dca7f5ba5d70cc1aaa05e7d619aec8dc85850c58f408797d1f053ed17f5-archive-lwt.3.7.2+6-3e46e7fdc64d91bd792acd6d282116b1fe84d312"
2025-08-05 10:42.00: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.3@sha256:807e9dca7f5ba5d70cc1aaa05e7d619aec8dc85850c58f408797d1f053ed17f5)
 (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-lwt.3.7.2+6 3.7.2+6"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall archive-lwt.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 \"\\\"fedora-41\\\"\"; 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-lwt.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 toxis.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:fedora-41-ocaml-5.3@sha256:807e9dca7f5ba5d70cc1aaa05e7d619aec8dc85850c58f408797d1f053ed17f5)
Unable to find image 'ocaml/opam:fedora-41-ocaml-5.3@sha256:807e9dca7f5ba5d70cc1aaa05e7d619aec8dc85850c58f408797d1f053ed17f5' locally
docker.io/ocaml/opam@sha256:807e9dca7f5ba5d70cc1aaa05e7d619aec8dc85850c58f408797d1f053ed17f5: Pulling from ocaml/opam
2b0cc7ee804c: Already exists
c18ed2f7611b: Already exists
0e212a9ba2f6: Already exists
720686032277: Already exists
93be4d741366: Already exists
df139e1f3f46: Already exists
bee85951ecc4: Already exists
cfb7dd932d0a: Already exists
302d2b5cf94e: Already exists
744bd9676b94: Already exists
a61a2d3582bd: Pulling fs layer
a5cf4976352b: Pulling fs layer
2bc5a8b0d983: Pulling fs layer
22426805282e: Pulling fs layer
d39f24bef506: Pulling fs layer
2c18ac3ce9e5: Pulling fs layer
9d7b82e56a00: Pulling fs layer
404af7605dc7: Pulling fs layer
a5cf4976352b: Waiting
2bc5a8b0d983: Waiting
007ac776635c: Pulling fs layer
2c18ac3ce9e5: Waiting
3d6a7bcf6161: Pulling fs layer
d39f24bef506: Waiting
9d7b82e56a00: Waiting
4f4fb700ef54: Pulling fs layer
404af7605dc7: Waiting
007ac776635c: Waiting
81a2be02a786: Pulling fs layer
bd0aecc02a24: Pulling fs layer
d45fa2528917: Pulling fs layer
80de9e6990f7: Pulling fs layer
d45fa2528917: Waiting
03da6777de95: Pulling fs layer
494d5ca3df8f: Pulling fs layer
80de9e6990f7: Waiting
41c6b53a001d: Pulling fs layer
03da6777de95: Waiting
3e8b84460b11: Pulling fs layer
494d5ca3df8f: Waiting
d053d4a106fe: Pulling fs layer
3e8b84460b11: Waiting
fa7761527b70: Pulling fs layer
dcd9d9d9b709: Pulling fs layer
d9806d9e64c4: Pulling fs layer
fa7761527b70: Waiting
f876e57ff686: Pulling fs layer
dcd9d9d9b709: Waiting
d9806d9e64c4: Waiting
8bc0b3187df7: Pulling fs layer
8b9e19fd2c6f: Pulling fs layer
8bc0b3187df7: Waiting
9ba4810d75d9: Pulling fs layer
dbd14d793cc9: Pulling fs layer
42532df89f46: Pulling fs layer
8b9e19fd2c6f: Waiting
d03e76a27dce: Pulling fs layer
9ba4810d75d9: Waiting
bac3b6f3c4a9: Pulling fs layer
42532df89f46: Waiting
50215e359b55: Pulling fs layer
dbd14d793cc9: Waiting
d03e76a27dce: Waiting
27e83a79dc4e: Pulling fs layer
334ed129df98: Pulling fs layer
a61a2d3582bd: Verifying Checksum
a61a2d3582bd: Download complete
a61a2d3582bd: Pull complete
a5cf4976352b: Verifying Checksum
a5cf4976352b: Download complete
2bc5a8b0d983: Verifying Checksum
2bc5a8b0d983: Download complete
a5cf4976352b: Pull complete
2bc5a8b0d983: Pull complete
22426805282e: Verifying Checksum
22426805282e: Pull complete
d39f24bef506: Download complete
d39f24bef506: Pull complete
2c18ac3ce9e5: Verifying Checksum
2c18ac3ce9e5: Download complete
2c18ac3ce9e5: Pull complete
9d7b82e56a00: Verifying Checksum
9d7b82e56a00: Download complete
9d7b82e56a00: Pull complete
404af7605dc7: Download complete
404af7605dc7: Pull complete
3d6a7bcf6161: Verifying Checksum
3d6a7bcf6161: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
81a2be02a786: Download complete
bd0aecc02a24: Download complete
007ac776635c: Verifying Checksum
007ac776635c: Download complete
007ac776635c: Pull complete
d45fa2528917: Download complete
80de9e6990f7: Download complete
3d6a7bcf6161: Pull complete
4f4fb700ef54: Pull complete
81a2be02a786: Pull complete
03da6777de95: Verifying Checksum
03da6777de95: Download complete
bd0aecc02a24: Pull complete
494d5ca3df8f: Download complete
41c6b53a001d: Download complete
d45fa2528917: Pull complete
80de9e6990f7: Pull complete
03da6777de95: Pull complete
494d5ca3df8f: Pull complete
3e8b84460b11: Download complete
41c6b53a001d: Pull complete
fa7761527b70: Verifying Checksum
fa7761527b70: Download complete
d053d4a106fe: Verifying Checksum
d053d4a106fe: Download complete
3e8b84460b11: Pull complete
d053d4a106fe: Pull complete
fa7761527b70: Pull complete
dcd9d9d9b709: Download complete
dcd9d9d9b709: Pull complete
d9806d9e64c4: Download complete
d9806d9e64c4: Pull complete
8bc0b3187df7: Download complete
9ba4810d75d9: Verifying Checksum
9ba4810d75d9: Download complete
dbd14d793cc9: Verifying Checksum
dbd14d793cc9: Download complete
42532df89f46: Verifying Checksum
42532df89f46: Download complete
d03e76a27dce: Verifying Checksum
d03e76a27dce: Download complete
bac3b6f3c4a9: Download complete
50215e359b55: Verifying Checksum
50215e359b55: Download complete
27e83a79dc4e: Download complete
334ed129df98: Verifying Checksum
334ed129df98: Download complete
f876e57ff686: Verifying Checksum
f876e57ff686: Download complete
8b9e19fd2c6f: Verifying Checksum
8b9e19fd2c6f: Download complete
f876e57ff686: Pull complete
8bc0b3187df7: Pull complete
8b9e19fd2c6f: Pull complete
9ba4810d75d9: Pull complete
dbd14d793cc9: Pull complete
42532df89f46: Pull complete
d03e76a27dce: Pull complete
bac3b6f3c4a9: Pull complete
50215e359b55: Pull complete
27e83a79dc4e: Pull complete
334ed129df98: Pull complete
Digest: sha256:807e9dca7f5ba5d70cc1aaa05e7d619aec8dc85850c58f408797d1f053ed17f5
Status: Downloaded newer image for ocaml/opam@sha256:807e9dca7f5ba5d70cc1aaa05e7d619aec8dc85850c58f408797d1f053ed17f5
2025-08-05 10:42.42 ---> using "35acf84784bf4471d6359ee6903b64a640d608f18aa556a867466db9cbdb24a8" 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.42 ---> using "fe149cca64611613dccc0e55fcd265d7dc924e09a75ffbb084119f0cadc6ca79" 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.42 ---> using "567cf881355646787a7d7251a191a421a6c335697bd4b5f2ede4eadb9d4e7565" 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=x86_64 os=linux os-distribution=fedora os-version=41
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# 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.42 ---> using "7e59b912dc08905f7785740a17dcaa44b3d53971dfcd58dbe26cd071b3400500" 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.42 ---> using "b5e07f42411331a5c90f35ea369380b2215029ba14d645a73f1540e07f8539e2" from cache

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 41 - x86_64                     100% |  27.0 KiB/s |  25.9 KiB |  00m01s
-  Fedora 41 - x86_64 - Updates           100% |   3.4 KiB/s |   5.1 KiB |  00m01s
-  Fedora 41 - x86_64 - Updates           100% |   1.5 MiB/s |   4.7 MiB |  00m03s
- Repositories loaded.
- Metadata cache created.
2025-08-05 10:43.18 ---> saved as "55399494f2bfb4691316f491d1fb6f8bda8424e1e95a4839e58b7fb28fd7d8b0"

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall archive-lwt.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 \"\\\"fedora-41\\\"\"; 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-lwt.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-lwt.3.7.2+6 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 12 packages
  - install archive           3.7.2+6          [required by archive-lwt]
  - install archive-lwt       3.7.2+6 (pinned)
  - install base-bytes        base             [required by ocplib-endian]
  - install conf-pkg-config   4                [required by archive]
  - install cppo              1.8.0            [required by lwt]
  - install csexp             1.5.2            [required by dune-configurator]
  - install dune              3.19.1           [required by archive-lwt]
  - install dune-configurator 3.19.1           [required by archive, lwt]
  - install fileutils         0.6.6            [required by archive]
  - install lwt               5.9.1            [required by archive-lwt]
  - install ocamlfind         1.9.8            [required by base-bytes]
  - install ocplib-endian     1.2              [required by lwt]

The following system packages will first need to be installed:
    libarchive-devel

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

opam believes some required external dependencies are missing. opam can:
> 1. Run yum to install them (may need root/sudo access)
  2. Display the recommended yum 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 "yum" "install" "-y" "libarchive-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package           Arch   Version        Repository      Size
- Installing:
-  libarchive-devel x86_64 3.7.4-4.fc41   updates    178.9 KiB
- Installing dependencies:
-  openssl-devel    x86_64 1:3.2.4-2.fc41 updates      4.3 MiB
- 
- Transaction Summary:
-  Installing:         2 packages
- 
- Total size of inbound packages is 3 MiB. Need to download 3 MiB.
- After this operation, 4 MiB extra will be used (install 4 MiB, remove 0 B).
- [1/2] libarchive-devel-0:3.7.4-4.fc41.x 100% |  94.9 KiB/s | 133.4 KiB |  00m01s
- [2/2] openssl-devel-1:3.2.4-2.fc41.x86_ 100% |   1.5 MiB/s |   2.8 MiB |  00m02s
- --------------------------------------------------------------------------------
- [2/2] Total                             100% |   1.3 MiB/s |   2.9 MiB |  00m02s
- Running transaction
- [1/4] Verify package files              100% |  74.0   B/s |   2.0   B |  00m00s
- [2/4] Prepare transaction               100% |  18.0   B/s |   2.0   B |  00m00s
- [3/4] Installing openssl-devel-1:3.2.4- 100% |  81.1 MiB/s |   5.2 MiB |  00m00s
- [4/4] Installing libarchive-devel-0:3.7 100% |   2.4 MiB/s | 185.5 KiB |  00m00s
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "libarchive-devel"
- libarchive-devel-3.7.4-4.fc41.x86_64

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved archive.3.7.2+6, archive-lwt.3.7.2+6  (cached)
-> retrieved cppo.1.8.0  (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)
-> retrieved lwt.5.9.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed fileutils.0.6.6
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.19.1
-> installed archive.3.7.2+6
-> installed lwt.5.9.1
-> installed archive-lwt.3.7.2+6
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-05 10:44.03 ---> saved as "f36e7a9fd61da00c24aecdf5f0b0c9bd9779571cd60fd726e64002ae36149ea2"
Job succeeded
2025-08-05 10:44.08: Job succeeded