(for PR #29579)

2026-03-21 18:37.02: New job: build conf-m4.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29579/head (e26ca330660bcb49f8bb8e3d37703d278be8c4bd)
                              on opensuse-16.0-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:opensuse-16.0-ocaml-5.4@sha256:2a63bf3c9f8ff4299191871fefcd9982b4c89def6f90e84b18808a2e78dba91d
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-m4.1 1
RUN opam reinstall conf-m4.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 "\"opensuse-16.0\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'conf-m4.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:opensuse-16.0-ocaml-5.4@sha256:2a63bf3c9f8ff4299191871fefcd9982b4c89def6f90e84b18808a2e78dba91d-conf-m4.1-e26ca330660bcb49f8bb8e3d37703d278be8c4bd"
2026-03-21 18:37.02: Using OBuilder spec:
((from ocaml/opam:opensuse-16.0-ocaml-5.4@sha256:2a63bf3c9f8ff4299191871fefcd9982b4c89def6f90e84b18808a2e78dba91d)
 (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-m4.1 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-m4.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 \"\\\"opensuse-16.0\\\"\"; 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-m4.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:38.46: Waiting for worker…
2026-03-21 18:40.23: Got resource from pool OCluster
Building on asteria.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:opensuse-16.0-ocaml-5.4@sha256:2a63bf3c9f8ff4299191871fefcd9982b4c89def6f90e84b18808a2e78dba91d)
2026-03-21 19:03.24 ---> using "a84bee05f589564fb24f9acffdadcc84028641a9678370b03cb69ffcc1a9f2cc" 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-21 19:03.24 ---> using "ec88b90d133de0be1fa13846857b9e9ac739b6ed53f2cfb2986982b3b9eec935" 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-21 19:03.24 ---> using "819b83edfe592b8b1ca0691321260f94b68dddfe28cde8030b0c2eb0b9e82468" 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=opensuse-leap os-version=16.0
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# 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 19:03.24 ---> using "4d67c6ab7e52994330b2727652bc6a877ea1730ad5eef32184aab1683000d5a4" 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-21 19:03.24 ---> using "a59924c86b73a7a6d3b0b57770801d628d7a393d0687cd9df216d8ac6bec8344" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-21 19:03.25 ---> using "6a2e29ff7965bf32251f28a48bfb0cad144dc39b9e8226b952edf125c3b71809" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-21 19:03.25 ---> using "20f899e8aa7b27e60179f156a191aa21cc950f9697017b33497d4f6623608f2b" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Repository 'repo-openh264 (16.0)' is up to date.
- Retrieving repository 'repo-oss (16.0)' metadata [..
- Looking for gpg keys in repository repo-oss (16.0).
-   gpgkey=http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/x86_64/repodata/repomd.xml.key
- ...
- ....
- ........
- ......
- ......
- .......
- ........
- ........
- ......
- .........
- .........
- .........
- ........
- ..
- .......
- .......
- .........
- .........
- .........
- ........
- ......
- .......
- ......
- ........
- .........
- .........
- ........
- ........
- .....
- .........
- ........
- ........
- .........
- ...done]
- Building repository 'repo-oss (16.0)' cache [..
- ..done]
- All repositories have been refreshed.
2026-03-21 19:03.25 ---> using "61ccdabb3125d92fff6a9549988208aac6b947d19057675b0da63bf3b499ed5a" from cache

/home/opam: (run (shell "opam pin add -k version -yn conf-m4.1 1"))
conf-m4 is now pinned to version 1
2026-03-21 19:03.25 ---> saved as "cf80f6cc2f80a05791f4b4d260c1e26942dabbd2d2ced8e54aba1ceeadf88793"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall conf-m4.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 \"\\\"opensuse-16.0\\\"\"; 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-m4.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
conf-m4.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install conf-m4 1 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-m4.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-21 19:03.28 ---> saved as "97db9bc0418c97676169fca6be93e2dd36cbfc926f7169541685eeb140db4e73"
Job succeeded
2026-03-21 19:03.34: Job succeeded