(for PR #29700)

2026-04-13 12:45.07: New job: build ochre-cli.1.0.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29700/head (92e909f657262642472253e8e4d15ffb656911dc)
                              on debian-13-ocaml-4.11/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/29700/head" && git reset --hard 92e909f6
git fetch origin master
git merge --no-edit 0404939bde256ca9d097922f265c4342b3b383b0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.11@sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30
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 ochre-cli.1.0.0 1.0.0
RUN opam reinstall ochre-cli.1.0.0; \
    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 "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ochre-cli.1.0.0' && 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-13 12:45.07: Using cache hint "ocaml/opam:debian-13-ocaml-4.11@sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30-ochre-cli.1.0.0-92e909f657262642472253e8e4d15ffb656911dc"
2026-04-13 12:45.07: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.11@sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30)
 (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 ochre-cli.1.0.0 1.0.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ochre-cli.1.0.0;\
             \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 \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'ochre-cli.1.0.0' && 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-13 12:45.07: Waiting for resource in pool OCluster
2026-04-13 12:45.09: Waiting for worker…
2026-04-13 12:45.17: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
Updating files:  71% (13264/18674)
Updating files:  72% (13446/18674)
Updating files:  73% (13633/18674)
Updating files:  74% (13819/18674)
Updating files:  75% (14006/18674)
Updating files:  76% (14193/18674)
Updating files:  77% (14379/18674)
Updating files:  78% (14566/18674)
Updating files:  79% (14753/18674)
Updating files:  80% (14940/18674)
Updating files:  81% (15126/18674)
Updating files:  82% (15313/18674)
Updating files:  83% (15500/18674)
Updating files:  84% (15687/18674)
Updating files:  85% (15873/18674)
Updating files:  86% (16060/18674)
Updating files:  87% (16247/18674)
Updating files:  88% (16434/18674)
Updating files:  89% (16620/18674)
Updating files:  90% (16807/18674)
Updating files:  91% (16994/18674)
Updating files:  92% (17181/18674)
Updating files:  93% (17367/18674)
Updating files:  94% (17554/18674)
Updating files:  95% (17741/18674)
Updating files:  96% (17928/18674)
Updating files:  97% (18114/18674)
Updating files:  98% (18301/18674)
Updating files:  99% (18488/18674)
Updating files: 100% (18674/18674)
Updating files: 100% (18674/18674), done.
HEAD is now at bb2f24618a [new release] duration (0.3.0)
HEAD is now at 0404939bde Merge pull request #29648 from sanette/opam-publish-tsdl-ttf.0.7
Updating 0404939bde..92e909f657
Fast-forward
 packages/ochre-cli/ochre-cli.1.0.0/opam | 44 +++++++++++++++++++++++++++
 packages/ochre/ochre.1.0.0/opam         | 54 +++++++++++++++++++++++++++++++++
 2 files changed, 98 insertions(+)
 create mode 100644 packages/ochre-cli/ochre-cli.1.0.0/opam
 create mode 100644 packages/ochre/ochre.1.0.0/opam

(from ocaml/opam:debian-13-ocaml-4.11@sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.11@sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30' locally
docker.io/ocaml/opam@sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30: Pulling from ocaml/opam
a7730063fcfe: Already exists
1a27fd2181de: Already exists
c29591c91388: Already exists
356a64daa753: Already exists
ac02f8f2062b: Already exists
aaa2f390e4c8: Already exists
b668811757f6: Already exists
32fd4e1a774f: Already exists
b1d486fb8fdf: Already exists
cf8a2024f299: Already exists
8c4a5dac67c3: Already exists
6adfe24d7b40: Already exists
dccd6e3c0589: Already exists
2ee4bcb55cd4: Already exists
2dc3b58478d7: Already exists
daf15e5c44c6: Already exists
564e978a8088: Already exists
564e978a8088: Already exists
25a652a8c456: Already exists
b3bfea7bff3f: Already exists
a00f2937f570: Already exists
78bd1737ebff: Already exists
4f4fb700ef54: Already exists
4291a055edd7: Already exists
3c2b2836d59a: Already exists
7b3e96544a52: Already exists
c72503effb14: Already exists
bca08df11a10: Already exists
2ab0829b2daf: Already exists
1d246d4da211: Already exists
a09cb4870027: Already exists
2ce07b4fe7c0: Already exists
6b96f28d505e: Already exists
b6ad36bba9bf: Already exists
56d62791a0f9: Already exists
4d60780055d1: Already exists
43f57a7c44cb: Already exists
f21057dc4e85: Already exists
e0d2ca1300ed: Already exists
9da2f7598f8e: Already exists
cb569bb28593: Already exists
19466215109a: Pulling fs layer
63fa251d3f94: Pulling fs layer
f78c0985c35f: Pulling fs layer
24c8eb25f40f: Pulling fs layer
24c8eb25f40f: Waiting
f78c0985c35f: Verifying Checksum
f78c0985c35f: Download complete
63fa251d3f94: Verifying Checksum
63fa251d3f94: Download complete
24c8eb25f40f: Download complete
19466215109a: Verifying Checksum
19466215109a: Download complete
19466215109a: Pull complete
63fa251d3f94: Pull complete
f78c0985c35f: Pull complete
24c8eb25f40f: Pull complete
Digest: sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30
Status: Downloaded newer image for ocaml/opam@sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30
2026-04-13 12:45.25 ---> using "6e90916465a21bba0f6244811c28283c9f28721d32ae7c6c05a01c201d3a411c" 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-04-13 12:45.25 ---> using "e728ff78ae2e41ae90ecea085263e301123ea425df82e0d4f584289f83cf4bc9" 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-04-13 12:45.25 ---> using "1ba5506a4fca5b28822c5095237ddd190ed81948d782bef1688bbb47c5db110c" 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=debian os-version=13
# 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       4.11
# invariant            ["ocaml-base-compiler" {= "4.11.2"}]
# compiler-packages    ocaml-base-compiler.4.11.2
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.11/lib/ocaml/stublibs:/home/opam/.opam/4.11/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.11.2
2026-04-13 12:45.25 ---> using "82f3dd2b5ee35e91656a25ce177f63c3bddd0e92ea96349fc544daa1583bd1f6" 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-04-13 12:45.25 ---> using "d1a5d1be79104d0f23f94cd88a6371916c7a38bab1efe941a3ff473682d36b60" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-13 12:45.40 ---> saved as "4a7e77222942a5e209312dc923e9380a625859f72cae60ad4767c0a96f3e5d3e"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-13 12:46.07 ---> saved as "ef74978770c0b4df17eb298f77cce26bbf548c89198322ed9778b0da6205389b"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [122 kB]
- Fetched 213 kB in 0s (796 kB/s)
- Reading package lists...
- 
2026-04-13 12:46.10 ---> saved as "67a330347351fe5a65a25d1d8ccb3718c96011ffd516fe942f8946a16d45d4e6"

/home/opam: (run (shell "opam pin add -k version -yn ochre-cli.1.0.0 1.0.0"))
ochre-cli is now pinned to version 1.0.0
2026-04-13 12:46.11 ---> saved as "52da9fdf50df0ef42e9fb354546a9d238feb46f390608c59867ec8fe3e9137a1"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ochre-cli.1.0.0;\
                        \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 \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'ochre-cli.1.0.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ochre-cli.1.0.0 is not installed. Install it? [Y/n] y
  * No agreement on the version of ocaml:
    - (invariant) -> ocaml-base-compiler = 4.11.2 -> ocaml = 4.11.2
    - ochre-cli -> ocaml >= 4.14.0
    You can temporarily relax the switch invariant with `--update-invariant'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall ochre-cli.1.0.0;
        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 "\"debian-13\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'ochre-cli.1.0.0' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 20
2026-04-13 12:46.46: Job failed: Failed: Build failed
2026-04-13 12:46.46: Log analysis:
2026-04-13 12:46.46: >>> 
No solution found, exiting
 (score = 100)
2026-04-13 12:46.46: [SKIP] Package not available