Build:
  1. 0
2026-03-02 22:27.27: New job: build conf-mingw-w64-bzip2-x86_64.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29485/head (05129752edef67816511a437891384e37ac16023)
                              on centos-9-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/29485/head" && git reset --hard 05129752
git fetch origin master
git merge --no-edit 4d2d05075ed20338fa6af3429fc5c18858025bd3
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-9-ocaml-5.4@sha256:bf988e22cb03e89f6103668a85dd4ab055e17fca22fac46e4df529b6da65cbfa
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-bzip2-x86_64.1 1
RUN opam reinstall conf-mingw-w64-bzip2-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 "\"centos-9\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'conf-mingw-w64-bzip2-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-02 22:27.27: Using cache hint "ocaml/opam:centos-9-ocaml-5.4@sha256:bf988e22cb03e89f6103668a85dd4ab055e17fca22fac46e4df529b6da65cbfa-conf-mingw-w64-bzip2-x86_64.1-05129752edef67816511a437891384e37ac16023"
2026-03-02 22:27.27: Using OBuilder spec:
((from ocaml/opam:centos-9-ocaml-5.4@sha256:bf988e22cb03e89f6103668a85dd4ab055e17fca22fac46e4df529b6da65cbfa)
 (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-bzip2-x86_64.1 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-mingw-w64-bzip2-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 \"\\\"centos-9\\\"\"; 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-bzip2-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-02 22:27.27: Waiting for resource in pool OCluster
2026-03-03 10:03.42: Waiting for worker…
2026-03-03 10:06.12: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  62% (11558/18348)
Updating files:  63% (11560/18348)
Updating files:  64% (11743/18348)
Updating files:  65% (11927/18348)
Updating files:  66% (12110/18348)
Updating files:  67% (12294/18348)
Updating files:  68% (12477/18348)
Updating files:  69% (12661/18348)
Updating files:  70% (12844/18348)
Updating files:  71% (13028/18348)
Updating files:  72% (13211/18348)
Updating files:  73% (13395/18348)
Updating files:  74% (13578/18348)
Updating files:  75% (13761/18348)
Updating files:  76% (13945/18348)
Updating files:  77% (14128/18348)
Updating files:  78% (14312/18348)
Updating files:  79% (14495/18348)
Updating files:  80% (14679/18348)
Updating files:  81% (14862/18348)
Updating files:  82% (15046/18348)
Updating files:  83% (15229/18348)
Updating files:  84% (15413/18348)
Updating files:  85% (15596/18348)
Updating files:  86% (15780/18348)
Updating files:  87% (15963/18348)
Updating files:  88% (16147/18348)
Updating files:  89% (16330/18348)
Updating files:  90% (16514/18348)
Updating files:  91% (16697/18348)
Updating files:  92% (16881/18348)
Updating files:  93% (17064/18348)
Updating files:  94% (17248/18348)
Updating files:  95% (17431/18348)
Updating files:  96% (17615/18348)
Updating files:  97% (17798/18348)
Updating files:  98% (17982/18348)
Updating files:  99% (18165/18348)
Updating files: 100% (18348/18348)
Updating files: 100% (18348/18348), done.
HEAD is now at 4d2d05075e Merge pull request #29493 from filipeom/opam-publish-smtml.0.22.0
Merge made by the 'ort' strategy.
 .../conf-mingw-w64-bzip2-x86_64.1/opam                           | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

(from ocaml/opam:centos-9-ocaml-5.4@sha256:bf988e22cb03e89f6103668a85dd4ab055e17fca22fac46e4df529b6da65cbfa)
2026-03-03 10:06.15 ---> using "982b9b449879431cfd6e21cb20da7f548adfd87363b657166c4c0e39cb975323" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-03 10:06.15 ---> using "2358748a918b427a433582ddd4cc6a5ac452d4b01c9d2fb5fb383c9690de40e9" 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 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-03 10:06.15 ---> using "297e91fb627c5121d31d820cf45ced329ca4cb66f18b3e2c263ec7bf6d005357" 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.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=centos os-version=9
# 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-03 10:06.15 ---> using "e6c0f1891b6e23c6922bf167151a6c605d65f7cfbc2bce2c55369893bde0a663" 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/"))
2026-03-03 10:06.15 ---> using "557c42356b517e7156d13868ffb599cc71cfb43e2bf02e857f1a20e9ea08fc2f" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-03 10:06.48 ---> saved as "da232ac84650af5293dea7674483c57ba6093e28b7deedfa7fb9fa9ff9e52962"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-03 10:07.13 ---> saved as "8c22468f2652ca34b75d3c0af621c4819dae63af13b8f5808993dfed2add3597"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 9 - BaseOS                         46 kB/s | 6.2 kB     00:00    
- CentOS Stream 9 - BaseOS                        8.0 MB/s | 8.9 MB     00:01    
- CentOS Stream 9 - AppStream                      50 kB/s | 6.6 kB     00:00    
- CentOS Stream 9 - AppStream                     8.6 MB/s |  27 MB     00:03    
- CentOS Stream 9 - CRB                            51 kB/s | 6.1 kB     00:00    
- CentOS Stream 9 - CRB                            11 MB/s | 8.0 MB     00:00    
- CentOS Stream 9 - Extras packages               113 kB/s |  17 kB     00:00    
- Metadata cache created.
2026-03-03 10:07.35 ---> saved as "ffc7581ff43a40bff09f1b696f12be07e9feaa3d05f62787670523b4f1ab57ed"

/home/opam: (run (shell "opam pin add -k version -yn conf-mingw-w64-bzip2-x86_64.1 1"))
conf-mingw-w64-bzip2-x86_64 is now pinned to version 1
2026-03-03 10:07.36 ---> saved as "dcd7825f3f6fd8acb4e812164b0b8662a59ee189acb79b699987c8cb0c26ee6e"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall conf-mingw-w64-bzip2-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 \"\\\"centos-9\\\"\"; 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-bzip2-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-bzip2-x86_64 = 1: unmet availability conditions: 'os = "win32"'
"/usr/bin/env" "bash" "-c" "opam reinstall conf-mingw-w64-bzip2-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 "\"centos-9\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'conf-mingw-w64-bzip2-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-03 10:08.11: Job failed: Failed: Build failed
2026-03-03 10:08.11: Log analysis:
2026-03-03 10:08.11: >>> 
[ERROR] conf-mingw-w64-bzip2-x86_64 = 1: unmet availability conditions: 'os = "win32"'
 (score = 100)
2026-03-03 10:08.11: [SKIP] Package not available