(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 ubuntu-24.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-24.04-ocaml-5.4@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035
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 "\"ubuntu-24.04\""; 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:ubuntu-24.04-ocaml-5.4@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035-conf-m4.1-e26ca330660bcb49f8bb8e3d37703d278be8c4bd"
2026-03-21 18:37.02: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035)
 (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 \"\\\"ubuntu-24.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-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:37.05: Waiting for worker…
2026-03-21 18:39.39: Got resource from pool OCluster
Building on phoebe
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-24.04-ocaml-5.4@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035' locally
docker.io/ocaml/opam@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035: Pulling from ocaml/opam
ffddc5d3d4f8: Already exists
afacea7da6fc: Already exists
02993a114a9c: Already exists
f728466b937f: Already exists
2a09ea00dab5: Already exists
c9d563a716c5: Already exists
f9e94867f93d: Already exists
93f3d8d164b7: Already exists
Digest: sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035
Status: Downloaded newer image for ocaml/opam@sha256:dd146440c079badd35a3a93925c46eb5393069563dd7a6048de35ff37c28c035
2026-03-21 18:50.34 ---> using "ae7ae9e61981f1895c6e0ec22a30eff69b90ad3e8d19cfdae29e77ec9a401a19" 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 18:50.34 ---> using "75609719660d5af5f14c622d123218c377ddc413c107d01a47e293812f2f8923" 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.

Continue? [Y/n] y
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.

Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-21 18:50.34 ---> using "b4a19bc086a862a79529cd032c470440c63c6d5dd7620cf7b312dcd96e2c1f4c" 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=ubuntu os-version=24.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:50.34 ---> using "092c9c37a9d4dc74b97cdc52695d296ff53013c37a8e46c72caacd52a2f59a25" 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 18:50.34 ---> using "80ffd13aacc88f532745228c9bf1c68a7af34a4d476e92d627b1962787ba9acf" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-21 18:50.35 ---> using "5170392e8d1b50dd5aff96050847ef09df0ddb51f98ab6b888994b1aff981e93" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-21 18:50.35 ---> using "f32b4e177499848401d60ad24322fed05fcfb238519f1b878eb1fa5b76e125df" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2327 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [2030 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [3585 kB]
- Get:8 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [3414 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Packages [695 B]
- Get:10 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [49.5 kB]
- Get:11 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [36.1 kB]
- Get:12 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1946 kB]
- Get:13 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1262 kB]
- Fetched 15.0 MB in 2s (6449 kB/s)
- Reading package lists...
- 
2026-03-21 18:50.35 ---> using "5fcda616b977d654d03d277621712a22e3396d649c5fd7245615e0d52e5e4941" 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 18:50.36 ---> saved as "0442c226b42095fbb6912d890d83cda12ce53ee3d43f3e497f0639487f43c5b4"

/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 \"\\\"ubuntu-24.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-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)

The following system packages will first need to be installed:
    m4

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

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get 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 "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package m4.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 16365 files and directories currently installed.)
- Preparing to unpack .../m4_1.4.19-4build1_amd64.deb ...
- Unpacking m4 (1.4.19-4build1) ...
- Setting up m4 (1.4.19-4build1) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-m4.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-21 18:50.44 ---> saved as "36f91fb435e482ae9cd026ecc210d7d8780b481a6cb4ec42dc3801d5742f9ea4"
Job succeeded
2026-03-21 18:50.50: Job succeeded