(for PR #29367)

2026-02-10 16:19.30: New job: build multipart_form-miou.0.8.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29367/head (41132ad3bb08c1323eb53af67d50a84e89be1763)
                              on debian-13-ocaml-4.10/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/29367/head" && git reset --hard 41132ad3
git fetch origin master
git merge --no-edit 6a35634d6446e6151b438792d64cc32db88a1a2e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.10@sha256:f02908211a1832379314699c74a3ace7d619a308e0b9b6f0b77ba1cccfc19e88
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 multipart_form-miou.0.8.0 0.8.0
RUN opam reinstall multipart_form-miou.0.8.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" != 'multipart_form-miou.0.8.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-02-10 16:19.30: Using cache hint "ocaml/opam:debian-13-ocaml-4.10@sha256:f02908211a1832379314699c74a3ace7d619a308e0b9b6f0b77ba1cccfc19e88-multipart_form-miou.0.8.0-41132ad3bb08c1323eb53af67d50a84e89be1763"
2026-02-10 16:19.30: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.10@sha256:f02908211a1832379314699c74a3ace7d619a308e0b9b6f0b77ba1cccfc19e88)
 (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 multipart_form-miou.0.8.0 0.8.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall multipart_form-miou.0.8.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\" != 'multipart_form-miou.0.8.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-02-10 16:19.30: Waiting for resource in pool OCluster
2026-02-10 19:05.25: Waiting for worker…
2026-02-10 19:09.39: Got resource from pool OCluster
Building on eumache
All commits already cached
Updating files:  75% (13795/18158)
Updating files:  76% (13801/18158)
Updating files:  77% (13982/18158)
Updating files:  78% (14164/18158)
Updating files:  79% (14345/18158)
Updating files:  80% (14527/18158)
Updating files:  81% (14708/18158)
Updating files:  82% (14890/18158)
Updating files:  83% (15072/18158)
Updating files:  84% (15253/18158)
Updating files:  85% (15435/18158)
Updating files:  86% (15616/18158)
Updating files:  87% (15798/18158)
Updating files:  88% (15980/18158)
Updating files:  89% (16161/18158)
Updating files:  90% (16343/18158)
Updating files:  91% (16524/18158)
Updating files:  92% (16706/18158)
Updating files:  93% (16887/18158)
Updating files:  94% (17069/18158)
Updating files:  95% (17251/18158)
Updating files:  96% (17432/18158)
Updating files:  97% (17614/18158)
Updating files:  98% (17795/18158)
Updating files:  99% (17977/18158)
Updating files: 100% (18158/18158)
Updating files: 100% (18158/18158), done.
HEAD is now at 6a35634d64 Merge pull request #29363 from hannesm/maint-none-feb-2026
Merge made by the 'ort' strategy.
 .../multipart_form-cohttp-lwt.0.8.0/opam           | 29 ++++++++++++++
 .../multipart_form-eio.0.8.0/opam                  | 42 +++++++++++++++++++++
 .../multipart_form-lwt.0.8.0/opam                  | 42 +++++++++++++++++++++
 .../multipart_form-miou.0.8.0/opam                 | 42 +++++++++++++++++++++
 packages/multipart_form/multipart_form.0.8.0/opam  | 44 ++++++++++++++++++++++
 5 files changed, 199 insertions(+)
 create mode 100644 packages/multipart_form-cohttp-lwt/multipart_form-cohttp-lwt.0.8.0/opam
 create mode 100644 packages/multipart_form-eio/multipart_form-eio.0.8.0/opam
 create mode 100644 packages/multipart_form-lwt/multipart_form-lwt.0.8.0/opam
 create mode 100644 packages/multipart_form-miou/multipart_form-miou.0.8.0/opam
 create mode 100644 packages/multipart_form/multipart_form.0.8.0/opam

(from ocaml/opam:debian-13-ocaml-4.10@sha256:f02908211a1832379314699c74a3ace7d619a308e0b9b6f0b77ba1cccfc19e88)
2026-02-10 19:09.56 ---> saved as "bc65e7d3b248082bab94cc4f683bf9bd96455c930379d5a48addf9c22e8c7a22"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-02-10 19:09.56 ---> saved as "e5e08625a680212245d585cfbc1e9f525aee9c07d8da7377a4e4d36febe657d7"

/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-02-10 19:10.26 ---> saved as "ef4b663e05f3add7274b3df899463171c3eeccdc5209e354512c7505c3c7cdde"

/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.10
# invariant            ["ocaml-base-compiler" {= "4.10.2"}]
# compiler-packages    ocaml-base-compiler.4.10.2
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.10/lib/ocaml/stublibs:/home/opam/.opam/4.10/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.10.2
2026-02-10 19:10.27 ---> saved as "d2b18e277a481cc99daac2f89acfeddfa752a183a79bdc32842b9b34878908a9"

/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-02-10 19:10.35 ---> saved as "74505e40362c225b59949c1b9a6983e8e255ccd0107ed5271cdc0c2d88daeab6"

/home/opam: (copy (src .) (dst opam-repository/))
2026-02-10 19:10.52 ---> saved as "2f13380492f811a46428413523332d9e80f8d1bc843dd9aede87238780696db8"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-10 19:11.12 ---> saved as "a35bfbfae3aa6a5acf3804d5b1f8a4d217630763a511a11f0e192c0b3d91e635"

/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 [104 kB]
- Fetched 195 kB in 0s (1786 kB/s)
- Reading package lists...
2026-02-10 19:11.13 ---> saved as "cea9d1c6cba21305fbd45d31a2b7e98affcfba7742eb9a8fb4db3b1809e20474"

/home/opam: (run (shell "opam pin add -k version -yn multipart_form-miou.0.8.0 0.8.0"))
multipart_form-miou is now pinned to version 0.8.0
2026-02-10 19:11.14 ---> saved as "8ce7db7430b3ee02114f066b66eea22d818e210dcc1b5987615ef973355aa677"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall multipart_form-miou.0.8.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\" != 'multipart_form-miou.0.8.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
multipart_form-miou.0.8.0 is not installed. Install it? [Y/n] y
  * No agreement on the version of ocaml:
    - (invariant) -> ocaml-base-compiler = 4.10.2 -> ocaml = 4.10.2
    - multipart_form-miou >= 0.8.0 -> miou -> ocaml >= 5.0.0
    You can temporarily relax the switch invariant with `--update-invariant'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall multipart_form-miou.0.8.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" != 'multipart_form-miou.0.8.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-02-10 19:11.33: Job failed: Failed: Build failed
2026-02-10 19:11.33: Log analysis:
2026-02-10 19:11.33: >>> 
No solution found, exiting
 (score = 100)
2026-02-10 19:11.33: [SKIP] Package not available