(for PR #29613)

2026-04-04 05:22.56: New job: build conf-perl.3, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29613/head (5f64e545c42823195503816088208e2d89a257c4)
                              on archlinux-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/29613/head" && git reset --hard 5f64e545
git fetch origin master
git merge --no-edit d28e8bf13a73691f040f863e87466580aa116aff
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-5.4@sha256:6d7334abafe784c3e655ed0d14224ccbb2df4ae88ad970c3a32f2301986941a6
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-perl.3 3
RUN opam reinstall conf-perl.3; \
    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 "\"archlinux\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'conf-perl.3' && 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-04-04 05:22.56: Using cache hint "ocaml/opam:archlinux-ocaml-5.4@sha256:6d7334abafe784c3e655ed0d14224ccbb2df4ae88ad970c3a32f2301986941a6-conf-perl.3-5f64e545c42823195503816088208e2d89a257c4"
2026-04-04 05:22.56: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.4@sha256:6d7334abafe784c3e655ed0d14224ccbb2df4ae88ad970c3a32f2301986941a6)
 (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-perl.3 3"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-perl.3;\
             \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 \"\\\"archlinux\\\"\"; 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-perl.3' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-04-04 05:22.56: Waiting for resource in pool OCluster
2026-04-04 05:22.59: Waiting for worker…
2026-04-04 05:22.59: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at d28e8bf13a Merge pull request #29642 from talex5/release-lwt_eio-v0.6
Updating d28e8bf13a..5f64e545c4
Fast-forward
 .../conf-perl-ipc-system-simple.4/opam             | 39 ++++++++++
 .../conf-perl-string-shellquote.4/opam             | 36 +++++++++
 packages/conf-perl/conf-perl.3/opam                | 91 ++++++++++++++++++++++
 3 files changed, 166 insertions(+)
 create mode 100644 packages/conf-perl-ipc-system-simple/conf-perl-ipc-system-simple.4/opam
 create mode 100644 packages/conf-perl-string-shellquote/conf-perl-string-shellquote.4/opam
 create mode 100644 packages/conf-perl/conf-perl.3/opam

(from ocaml/opam:archlinux-ocaml-5.4@sha256:6d7334abafe784c3e655ed0d14224ccbb2df4ae88ad970c3a32f2301986941a6)
2026-04-04 05:24.35 ---> saved as "b154aaca01a6b094bda620005a4dae9c9c090b7778dd32a048d28a5b810c2521"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-04 05:24.36 ---> saved as "faa2147b4a12fba2a0334c1c8b958c130f9260c1231072a8849d733fca59c9a7"

/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-04-04 05:25.03 ---> saved as "7d7e3024c8458dae210f76d64bd2f76df7bd5054b3285e1052c2ecc74959cd52"

/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=arch os-version=20260322.0.504324
# 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.1"}]
# compiler-packages    ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, 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.1
2026-04-04 05:25.04 ---> saved as "db8959fa6576e98e02a1c125475ec4cd9292d1b2d9facb5a0c8afd5383226215"

/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-04-04 05:25.26 ---> saved as "c77260faaa529203fc4e4c1b7cf81a7dbfc465a6e648fb382bcc469694e31079"

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-04 05:26.23 ---> saved as "c2c96a84f260d05d6b42e67ef50368db791133d7e51eda2a800ceeba7a2058d3"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-04 05:26.48 ---> saved as "56ac211e02e1f93aafca7164a2fa543f85ee730ac297ff6cea756c4a88bd7dd8"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
-  core downloading...
-  extra downloading...
2026-04-04 05:26.49 ---> saved as "ece5869fb91481622ed4928da5f0d45c37a66e641f25c53f5e908e9bcd9209a6"

/home/opam: (run (shell "opam pin add -k version -yn conf-perl.3 3"))
conf-perl is now pinned to version 3
2026-04-04 05:26.49 ---> saved as "2ed80e3468f582a84e077daf42562ce1bb5b5042704090df378591fcf9ab06c7"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
∗ installed conf-perl.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-04 05:26.54 ---> saved as "4e16104e99a2d04d47c5857769c07c4ae0bf0d30f0c05b74a2ccdb43a2fef5cd"
Job succeeded
2026-04-04 05:27.08: Job succeeded