(for PR #29579)

2026-03-21 18:37.02: New job: build conf-mingw-w64-gmp-x86_64.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29579/head (e26ca330660bcb49f8bb8e3d37703d278be8c4bd)
                              on ubuntu-22.04-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/29579/head" && git reset --hard e26ca330
git fetch origin master
git merge --no-edit 76bf2ed9443fdee37e6f046c6295d358be3f8598
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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 conf-mingw-w64-gmp-x86_64.1 1
RUN opam reinstall conf-mingw-w64-gmp-x86_64.1; \
    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 "\"ubuntu-22.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'conf-mingw-w64-gmp-x86_64.1' && 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 .

2026-03-21 18:37.02: Using cache hint "ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9-conf-mingw-w64-gmp-x86_64.1-e26ca330660bcb49f8bb8e3d37703d278be8c4bd"
2026-03-21 18:37.02: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /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 conf-mingw-w64-gmp-x86_64.1 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-mingw-w64-gmp-x86_64.1;\
             \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 \"\\\"ubuntu-22.04\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'conf-mingw-w64-gmp-x86_64.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-03-21 18:37.02: Waiting for resource in pool OCluster
2026-03-21 18:37.31: Waiting for worker…
2026-03-21 18:39.45: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 76bf2ed944 Merge pull request #29572 from hannesm/release-letsencrypt-v2.0.0
Updating 76bf2ed944..e26ca33066
Fast-forward
 packages/conf-findutils/conf-findutils.1/opam                       | 2 ++
 packages/conf-m4/conf-m4.1/opam                                     | 1 +
 .../conf-mingw-w64-bzip2-x86_64/conf-mingw-w64-bzip2-x86_64.1/opam  | 4 ++--
 packages/conf-mingw-w64-gcc-x86_64/conf-mingw-w64-gcc-x86_64.1/opam | 4 ++--
 packages/conf-mingw-w64-gmp-x86_64/conf-mingw-w64-gmp-x86_64.1/opam | 4 ++--
 .../conf-mingw-w64-pkgconf-x86_64.1/opam                            | 6 +++---
 .../conf-mingw-w64-zlib-x86_64/conf-mingw-w64-zlib-x86_64.1/opam    | 4 ++--
 .../conf-mingw-w64-zstd-x86_64/conf-mingw-w64-zstd-x86_64.1/opam    | 4 ++--
 packages/conf-perl/conf-perl.2/opam                                 | 1 +
 9 files changed, 17 insertions(+), 13 deletions(-)

(from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9' locally
docker.io/ocaml/opam@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9: Pulling from ocaml/opam
b1cba2e842ca: Already exists
421afdaed246: Already exists
4f870a39d887: Already exists
55a213a632b1: Already exists
45b4d0733e62: Already exists
3aeb1fde2a5c: Already exists
aafef83927b6: Already exists
bcf6200713a7: Already exists
44126a1f4f31: Already exists
640d0ce4ea89: Already exists
b5d13c755b81: Already exists
d4f408980979: Already exists
a89dafa13071: Already exists
636fd786dcef: Already exists
31dae2391bd4: Already exists
8b28883ae878: Already exists
4a187d75ee24: Already exists
4a187d75ee24: Already exists
4f4fb700ef54: Already exists
15ef0a4fe052: Already exists
81aef10b7468: Already exists
8492c04426b2: Already exists
4f4fb700ef54: Already exists
931be6b45df3: Already exists
b3b41b093e1c: Already exists
c66a499f18f1: Already exists
dc859d65a979: Already exists
f9a4b7e83cbc: Already exists
8406175b74f2: Already exists
d8a867e68b39: Already exists
1b4507b9d94f: Already exists
86753f729f41: Already exists
bb1554100fd0: Already exists
79f063451047: Already exists
af19aefa8c28: Already exists
18ae77be10c6: Already exists
23748796c9e7: Already exists
8a87c1d60ed6: Already exists
f59dc0679c75: Already exists
d71672fc129c: Already exists
44dd0ab5fdef: Already exists
edadc98b94f2: Pulling fs layer
5594968993e8: Pulling fs layer
9f6b7b34fd6d: Pulling fs layer
fae525a8fdf7: Pulling fs layer
250c7a686cbe: Pulling fs layer
5230fa14e4cf: Pulling fs layer
864dff2bbd6b: Pulling fs layer
fae525a8fdf7: Waiting
250c7a686cbe: Waiting
864dff2bbd6b: Waiting
5230fa14e4cf: Waiting
5594968993e8: Verifying Checksum
5594968993e8: Download complete
edadc98b94f2: Download complete
9f6b7b34fd6d: Verifying Checksum
9f6b7b34fd6d: Download complete
edadc98b94f2: Pull complete
5594968993e8: Pull complete
9f6b7b34fd6d: Pull complete
250c7a686cbe: Download complete
5230fa14e4cf: Verifying Checksum
5230fa14e4cf: Download complete
864dff2bbd6b: Verifying Checksum
fae525a8fdf7: Verifying Checksum
fae525a8fdf7: Download complete
fae525a8fdf7: Pull complete
250c7a686cbe: Pull complete
5230fa14e4cf: Pull complete
864dff2bbd6b: Pull complete
Digest: sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9
Status: Downloaded newer image for ocaml/opam@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9
2026-03-21 18:40.42 ---> saved as "a494baecbb94e7af4729d4c2ae860efde3ac6b3dc163dcb8423239dae5deadc4"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-21 18:40.42 ---> saved as "6f2639a5564351e69f4f40c6c894e606e177ccae6e98ecabff0cad933b576055"

/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 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
2026-03-21 18:41.06 ---> saved as "43265c4572944c82427162f15ebbccd25ab722131f4adf4abfdfd12224670816"

/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.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=ubuntu os-version=22.04
# 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.4
# invariant            ["ocaml-base-compiler" {= "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       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2026-03-21 18:41.07 ---> saved as "48e6eff73b2ea30793b4fb9be93fb662b27dfe06de97dc8dbac91023200c9e4e"

/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/"))
2026-03-21 18:41.21 ---> saved as "3025014d1a6a5c6d705fcf0d6762d698b02dee2a4e77830e395f8c4720c05ac5"

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-21 18:41.32 ---> saved as "23a872771faed49dd2998641e9ece34fff50185c1a26a89c05a8fe8911488643"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-21 18:41.49 ---> saved as "82e854dc4c7b6f465b51c8265afabaec4e8b27e0bd819af2b002f382df750f54"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:2 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [6794 kB]
- Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1615 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [7002 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4170 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [84.0 kB]
- Get:10 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.6 kB]
- Get:11 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1303 kB]
- Get:12 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3836 kB]
- Fetched 25.2 MB in 4s (5709 kB/s)
- Reading package lists...
- 
2026-03-21 18:41.56 ---> saved as "8693cd16f2b3b2881268008a27c6811978c7313bc5fe5eb491dd945ca3363363"

/home/opam: (run (shell "opam pin add -k version -yn conf-mingw-w64-gmp-x86_64.1 1"))
conf-mingw-w64-gmp-x86_64 is now pinned to version 1
2026-03-21 18:41.57 ---> saved as "55833ea57cb97feecabf53c84a4e1b2b01856c5f6602a3a740978728fc64651d"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall conf-mingw-w64-gmp-x86_64.1;\
                        \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 \"\\\"ubuntu-22.04\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'conf-mingw-w64-gmp-x86_64.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
[ERROR] conf-mingw-w64-gmp-x86_64 = 1: unmet availability conditions: 'os = "win32"'
"/usr/bin/env" "bash" "-c" "opam reinstall conf-mingw-w64-gmp-x86_64.1;
        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 "\"ubuntu-22.04\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'conf-mingw-w64-gmp-x86_64.1' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 5
2026-03-21 18:42.06: Job failed: Failed: Build failed
2026-03-21 18:42.06: Log analysis:
2026-03-21 18:42.06: >>> 
[ERROR] conf-mingw-w64-gmp-x86_64 = 1: unmet availability conditions: 'os = "win32"'
 (score = 100)
2026-03-21 18:42.06: [SKIP] Package not available