(for PR #28222)

2025-08-21 14:13.39: New job: build ocurl.0.9.2, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28222/head (a14b2680809606d7e55ae7ed410b73438cb77bd0)
                              on fedora-42-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/28222/head" && git reset --hard a14b2680
git fetch origin master
git merge --no-edit 4bae7ec4df49df4454ea492c8d7a1196aeae04e0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-4.14@sha256:ffa00b5c01c8fca9e25a329c8ce9e9459e1a8eeaa97027f4eb50800d23a473d5
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 ocurl.0.9.2 0.9.2
RUN opam reinstall ocurl.0.9.2; \
    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-42\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ocurl.0.9.2' && 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-21 14:13.39: Using cache hint "ocaml/opam:fedora-42-ocaml-4.14@sha256:ffa00b5c01c8fca9e25a329c8ce9e9459e1a8eeaa97027f4eb50800d23a473d5-ocurl.0.9.2-a14b2680809606d7e55ae7ed410b73438cb77bd0"
2025-08-21 14:13.39: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-4.14@sha256:ffa00b5c01c8fca9e25a329c8ce9e9459e1a8eeaa97027f4eb50800d23a473d5)
 (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 ocurl.0.9.2 0.9.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ocurl.0.9.2;\
             \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-42\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'ocurl.0.9.2' && 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-21 14:13.39: Waiting for resource in pool OCluster
2025-08-21 14:19.57: Waiting for worker…
2025-08-21 14:21.12: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at 4bae7ec4df Merge pull request #28375 from jmid/opam-compiler-re-bounds
Merge made by the 'ort' strategy.
 packages/curl_lwt/curl_lwt.0.10.0/opam            |  2 +-
 packages/lwt/lwt.6.0.0~alpha01/opam               | 69 +++++++++++++++++++++++
 packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam | 44 +++++++++++++++
 packages/lwt_glib/lwt_glib.1.0.1/opam             |  2 +-
 packages/lwt_glib/lwt_glib.1.1.0/opam             |  2 +-
 packages/lwt_glib/lwt_glib.1.1.1/opam             |  2 +-
 packages/lwt_log/lwt_log.1.1.0/opam               |  2 +-
 packages/lwt_log/lwt_log.1.1.1/opam               |  2 +-
 packages/lwt_log/lwt_log.1.1.2/opam               |  2 +-
 packages/ocurl/ocurl.0.7.6/opam                   |  1 +
 packages/ocurl/ocurl.0.7.7/opam                   |  1 +
 packages/ocurl/ocurl.0.7.8/opam                   |  1 +
 packages/ocurl/ocurl.0.7.9/opam                   |  1 +
 packages/ocurl/ocurl.0.8.1/opam                   |  1 +
 packages/ocurl/ocurl.0.8.2/opam                   |  1 +
 packages/ocurl/ocurl.0.9.0/opam                   |  1 +
 packages/ocurl/ocurl.0.9.1/opam                   |  1 +
 packages/ocurl/ocurl.0.9.2/opam                   |  1 +
 18 files changed, 129 insertions(+), 7 deletions(-)
 create mode 100644 packages/lwt/lwt.6.0.0~alpha01/opam
 create mode 100644 packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam

(from ocaml/opam:fedora-42-ocaml-4.14@sha256:ffa00b5c01c8fca9e25a329c8ce9e9459e1a8eeaa97027f4eb50800d23a473d5)
2025-08-21 14:22.20 ---> saved as "733b89cac63934bae5b7e997d7134390b88899a9e93eb766835935aee2cc97a1"

/: (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-21 14:22.20 ---> saved as "e4630bbc608da3c7eff8331bccd9cf741c8afb90c83545208f78d329af715ed1"

/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-21 14:22.46 ---> saved as "916f80e7477795d02a10709675f9038bc1aa75f4f62c9de5ad965f8cc9089951"

/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=42
# 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       4.14
# invariant            ["ocaml-base-compiler" {= "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       /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-21 14:22.47 ---> saved as "9aea1ac7b0fc1e2ff7b50766c16c2995097fe5c24e8f860bac193b660e8b54b3"

/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-21 14:22.57 ---> saved as "0bc610d29af4537ecb9e98a90eae50c6875446f583b83ce0d082c41cdf756669"

/home/opam: (copy (src .) (dst opam-repository/))
2025-08-21 14:23.14 ---> saved as "a2640df19a7bbc0ffe4c15e57c994e954432a16a8809f089fd1a492d279de4c0"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-21 14:23.34 ---> saved as "95a19f4efe3151bb237a0d3bdac530f9616baeb0c7fc6853ff24b5d9444d9501"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 42 - x86_64 - Updates           100% | 127.0 KiB/s |  21.8 KiB |  00m00s
- Repositories loaded.
- Metadata cache created.
2025-08-21 14:23.38 ---> saved as "a310aa5b27f17523fc543c3b15abe53eb0949518d4f1d34d407ae456be595528"

/home/opam: (run (shell "opam pin add -k version -yn ocurl.0.9.2 0.9.2"))
ocurl is now pinned to version 0.9.2
2025-08-21 14:23.40 ---> saved as "bc364a9c2962e0a471407a29904985a6c24f85e610705bf8580567d566599989"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ocurl.0.9.2;\
                        \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-42\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'ocurl.0.9.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ocurl.0.9.2 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 3 packages
  - install conf-libcurl 2              [required by ocurl]
  - install ocamlfind    1.9.8          [required by ocurl]
  - install ocurl        0.9.2 (pinned)

The following system packages will first need to be installed:
    libcurl-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/sbin/sudo "yum" "install" "-y" "libcurl-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package                     Arch   Version         Repository                            Size
- Upgrading:
-  zlib-ng-compat             x86_64 2.2.5-2.fc42    updates                          137.6 KiB
-    replacing zlib-ng-compat x86_64 2.2.4-3.fc42    fe51869e3eca4ddfae9b7e2ec5a60d51 137.6 KiB
- Installing:
-  libcurl-devel              x86_64 8.11.1-5.fc42   updates                            1.3 MiB
- Installing dependencies:
-  brotli                     x86_64 1.1.0-6.fc42    fedora                            31.6 KiB
-  brotli-devel               x86_64 1.1.0-6.fc42    fedora                            65.6 KiB
-  cmake-filesystem           x86_64 3.31.6-2.fc42   fedora                             0.0   B
-  keyutils-libs-devel        x86_64 1.6.3-5.fc42    fedora                            48.2 KiB
-  krb5-devel                 x86_64 1.21.3-6.fc42   updates                          705.9 KiB
-  libcom_err-devel           x86_64 1.47.2-3.fc42   fedora                            16.7 KiB
-  libidn2-devel              x86_64 2.3.8-1.fc42    fedora                           149.1 KiB
-  libkadm5                   x86_64 1.21.3-6.fc42   updates                          213.9 KiB
-  libnghttp2-devel           x86_64 1.64.0-3.fc42   fedora                           295.4 KiB
-  libpsl-devel               x86_64 0.21.5-5.fc42   fedora                           110.3 KiB
-  libselinux-devel           x86_64 3.8-2.fc42      updates                          126.8 KiB
-  libsepol-devel             x86_64 3.8-1.fc42      fedora                           120.8 KiB
-  libssh-devel               x86_64 0.11.2-1.fc42   updates                          178.0 KiB
-  libverto-devel             x86_64 0.3.2-10.fc42   fedora                            25.7 KiB
-  openssl-devel              x86_64 1:3.2.4-4.fc42  updates                            4.3 MiB
-  pcre2-devel                x86_64 10.45-1.fc42    fedora                             2.1 MiB
-  pcre2-utf16                x86_64 10.45-1.fc42    fedora                           626.3 KiB
-  pcre2-utf32                x86_64 10.45-1.fc42    fedora                           598.2 KiB
-  publicsuffix-list          noarch 20250616-1.fc42 updates                          332.8 KiB
-  zlib-ng-compat-devel       x86_64 2.2.5-2.fc42    updates                          107.0 KiB
- 
- Transaction Summary:
-  Installing:        21 packages
-  Upgrading:          1 package
-  Replacing:          1 package
- 
- Total size of inbound packages is 6 MiB. Need to download 6 MiB.
- After this operation, 11 MiB extra will be used (install 11 MiB, remove 138 KiB).
- [ 1/22] libkadm5-0:1.21.3-6.fc42.x86_64 100% | 325.0 KiB/s |  76.4 KiB |  00m00s
- [ 2/22] krb5-devel-0:1.21.3-6.fc42.x86_ 100% | 565.5 KiB/s | 142.5 KiB |  00m00s
- [ 3/22] libssh-devel-0:0.11.2-1.fc42.x8 100% | 728.1 KiB/s |  41.5 KiB |  00m00s
- [ 4/22] cmake-filesystem-0:3.31.6-2.fc4 100% | 382.4 KiB/s |  17.6 KiB |  00m00s
- [ 5/22] zlib-ng-compat-devel-0:2.2.5-2. 100% |   1.9 MiB/s |  38.3 KiB |  00m00s
- [ 6/22] brotli-devel-0:1.1.0-6.fc42.x86 100% |   2.8 MiB/s |  33.9 KiB |  00m00s
- [ 7/22] brotli-0:1.1.0-6.fc42.x86_64    100% |   2.2 MiB/s |  19.9 KiB |  00m00s
- [ 8/22] libidn2-devel-0:2.3.8-1.fc42.x8 100% |   4.8 MiB/s |  64.0 KiB |  00m00s
- [ 9/22] libnghttp2-devel-0:1.64.0-3.fc4 100% |   4.2 MiB/s |  55.7 KiB |  00m00s
- [10/22] libpsl-devel-0:0.21.5-5.fc42.x8 100% |   2.5 MiB/s |  33.2 KiB |  00m00s
- [11/22] libselinux-devel-0:3.8-2.fc42.x 100% |   2.2 MiB/s | 151.5 KiB |  00m00s
- [12/22] libsepol-devel-0:3.8-1.fc42.x86 100% |   1.0 MiB/s |  48.4 KiB |  00m00s
- [13/22] libcurl-devel-0:8.11.1-5.fc42.x 100% |   1.7 MiB/s | 881.9 KiB |  00m01s
- [14/22] keyutils-libs-devel-0:1.6.3-5.f 100% |   1.2 MiB/s |  59.9 KiB |  00m00s
- [15/22] libcom_err-devel-0:1.47.2-3.fc4 100% | 315.8 KiB/s |  16.7 KiB |  00m00s
- [16/22] libverto-devel-0:0.3.2-10.fc42. 100% | 299.9 KiB/s |  14.4 KiB |  00m00s
- [17/22] publicsuffix-list-0:20250616-1. 100% |   1.8 MiB/s |  89.9 KiB |  00m00s
- [18/22] pcre2-utf16-0:10.45-1.fc42.x86_ 100% |   1.6 MiB/s | 241.9 KiB |  00m00s
- [19/22] pcre2-devel-0:10.45-1.fc42.x86_ 100% |   2.0 MiB/s | 543.4 KiB |  00m00s
- [20/22] zlib-ng-compat-0:2.2.5-2.fc42.x 100% |   7.7 MiB/s |  79.2 KiB |  00m00s
- [21/22] pcre2-utf32-0:10.45-1.fc42.x86_ 100% |   2.0 MiB/s | 228.7 KiB |  00m00s
- [22/22] openssl-devel-1:3.2.4-4.fc42.x8 100% |   4.3 MiB/s |   2.8 MiB |  00m01s
- --------------------------------------------------------------------------------
- [22/22] Total                           100% |   4.7 MiB/s |   5.6 MiB |  00m01s
- Running transaction
- [ 1/25] Verify package files            100% | 400.0   B/s |  22.0   B |  00m00s
- [ 2/25] Prepare transaction             100% | 163.0   B/s |  23.0   B |  00m00s
- [ 3/25] Installing cmake-filesystem-0:3 100% |   1.5 MiB/s |   7.6 KiB |  00m00s
- [ 4/25] Installing libssh-devel-0:0.11. 100% |  58.8 MiB/s | 180.6 KiB |  00m00s
- [ 5/25] Upgrading zlib-ng-compat-0:2.2. 100% |  67.6 MiB/s | 138.4 KiB |  00m00s
- [ 6/25] Installing zlib-ng-compat-devel 100% |  53.0 MiB/s | 108.5 KiB |  00m00s
- [ 7/25] Installing pcre2-utf32-0:10.45- 100% | 117.0 MiB/s | 599.1 KiB |  00m00s
- [ 8/25] Installing pcre2-utf16-0:10.45- 100% | 102.1 MiB/s | 627.1 KiB |  00m00s
- [ 9/25] Installing pcre2-devel-0:10.45- 100% |  69.8 MiB/s |   2.1 MiB |  00m00s
- [10/25] Installing publicsuffix-list-0: 100% | 108.7 MiB/s | 333.8 KiB |  00m00s
- [11/25] Installing libpsl-devel-0:0.21. 100% |  55.5 MiB/s | 113.6 KiB |  00m00s
- [12/25] Installing libverto-devel-0:0.3 100% |  25.7 MiB/s |  26.4 KiB |  00m00s
- [13/25] Installing libcom_err-devel-0:1 100% | 794.5 KiB/s |  18.3 KiB |  00m00s
- [14/25] Installing keyutils-libs-devel- 100% |  27.0 MiB/s |  55.2 KiB |  00m00s
- [15/25] Installing libsepol-devel-0:3.8 100% |  20.9 MiB/s | 128.3 KiB |  00m00s
- [16/25] Installing libselinux-devel-0:3 100% |  39.5 MiB/s | 161.6 KiB |  00m00s
- [17/25] Installing libnghttp2-devel-0:1 100% |  96.5 MiB/s | 296.5 KiB |  00m00s
- [18/25] Installing libidn2-devel-0:2.3. 100% |  76.5 MiB/s | 156.7 KiB |  00m00s
- [19/25] Installing brotli-0:1.1.0-6.fc4 100% |   1.4 MiB/s |  32.3 KiB |  00m00s
- [20/25] Installing brotli-devel-0:1.1.0 100% |   4.2 MiB/s |  68.0 KiB |  00m00s
- [21/25] Installing openssl-devel-1:3.2. 100% |  85.1 MiB/s |   5.2 MiB |  00m00s
- [22/25] Installing libkadm5-0:1.21.3-6. 100% |  52.7 MiB/s | 215.9 KiB |  00m00s
- [23/25] Installing krb5-devel-0:1.21.3- 100% |  21.2 MiB/s | 715.2 KiB |  00m00s
- [24/25] Installing libcurl-devel-0:8.11 100% |  41.2 MiB/s |   1.4 MiB |  00m00s
- [25/25] Removing zlib-ng-compat-0:2.2.4 100% |  58.0   B/s |   5.0   B |  00m00s
- Complete!
+ /usr/sbin/rpm "-q" "--whatprovides" "libcurl-devel"
- libcurl-devel-8.11.1-5.fc42.x86_64

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.8  (cached)
-> installed conf-libcurl.2
-> retrieved ocurl.0.9.2  (cached)
-> installed ocamlfind.1.9.8
-> installed ocurl.0.9.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 14:24.19 ---> saved as "6ab592bc5a3cb5b11cc6ffd3d579f4edcd7e52e56e8ba5cb714ab8b0b42c3895"
Job succeeded
2025-08-21 14:24.32: Job succeeded