(for PR #29235)

2026-01-17 17:39.21: New job: build liquidsoap-mode.2.4.2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29235/head (8f131cf5ec9475fd996105017aee31dd5ccdd419)
                              on debian-13-ocaml-5.4/i386

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29235/head" && git reset --hard 8f131cf5
git fetch origin master
git merge --no-edit 6bda456f941d6c1e0773fcb1fd57c0eb54b8a2c1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:1f0f0b1e5ea28bca67235e7935a96cf2a510dbd39b2c072948a15a41fe7b8913
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 liquidsoap-mode.2.4.2 2.4.2
RUN opam reinstall liquidsoap-mode.2.4.2; \
    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" != 'liquidsoap-mode.2.4.2' && 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-01-17 17:39.21: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:1f0f0b1e5ea28bca67235e7935a96cf2a510dbd39b2c072948a15a41fe7b8913-liquidsoap-mode.2.4.2-8f131cf5ec9475fd996105017aee31dd5ccdd419"
2026-01-17 17:39.21: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:1f0f0b1e5ea28bca67235e7935a96cf2a510dbd39b2c072948a15a41fe7b8913)
 (shell /usr/bin/linux32 /bin/sh -c)
 (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 liquidsoap-mode.2.4.2 2.4.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall liquidsoap-mode.2.4.2;\
             \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\" != 'liquidsoap-mode.2.4.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-01-17 17:39.21: Waiting for resource in pool OCluster
2026-01-17 17:40.23: Waiting for worker…
2026-01-17 17:44.59: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at 6bda456f94 Merge pull request #29229 from elias-utf8/opam-publish-qcaml.0.1.7
Updating 6bda456f94..8f131cf5ec
Fast-forward
 packages/liquidsoap-js/liquidsoap-js.2.4.2/opam    |  44 ++++++
 .../liquidsoap-lang/liquidsoap-lang.2.4.2/opam     |  46 ++++++
 .../liquidsoap-mode/liquidsoap-mode.2.4.2/opam     |  47 ++++++
 packages/liquidsoap/liquidsoap.2.4.2/opam          | 163 +++++++++++++++++++++
 4 files changed, 300 insertions(+)
 create mode 100644 packages/liquidsoap-js/liquidsoap-js.2.4.2/opam
 create mode 100644 packages/liquidsoap-lang/liquidsoap-lang.2.4.2/opam
 create mode 100644 packages/liquidsoap-mode/liquidsoap-mode.2.4.2/opam
 create mode 100644 packages/liquidsoap/liquidsoap.2.4.2/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:1f0f0b1e5ea28bca67235e7935a96cf2a510dbd39b2c072948a15a41fe7b8913)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:1f0f0b1e5ea28bca67235e7935a96cf2a510dbd39b2c072948a15a41fe7b8913' locally
docker.io/ocaml/opam@sha256:1f0f0b1e5ea28bca67235e7935a96cf2a510dbd39b2c072948a15a41fe7b8913: Pulling from ocaml/opam
7ba68d5e03a0: Already exists
07b8ed5c5fc7: Already exists
58593d382636: Already exists
0ac347eff7cb: Already exists
9e0dce827f6c: Already exists
59412abebd11: Already exists
6f40c6b8e49d: Already exists
d425252fe4ce: Already exists
d2fd5628395f: Already exists
1afdf15deb97: Already exists
b0f895c507c7: Already exists
008ad3ebfa79: Already exists
2c2f57579aeb: Already exists
d53c2fa82d21: Already exists
e4d849d21609: Already exists
105c7911a399: Already exists
cffce0974ee5: Already exists
2592e9c0b5c6: Already exists
e781106bd8eb: Already exists
a92c4ad367c1: Already exists
a5032c647546: Already exists
db024d7ceed7: Already exists
4f4fb700ef54: Already exists
b736586eae86: Already exists
0793122c5463: Already exists
d43d7e0d3789: Already exists
524f31350c16: Already exists
834542d0184a: Already exists
92a1bdddbb21: Already exists
db8f6f57c096: Already exists
8b21ba328ac8: Already exists
b62a644fd3ae: Already exists
74df08082153: Already exists
4544a2d99dec: Already exists
f1c2491fd607: Already exists
b65b8b420dec: Already exists
b7d2dd83e3d1: Already exists
2705612c6e82: Already exists
296f4af8d4cd: Already exists
6858402c6fe2: Already exists
a04f04ce7fcc: Already exists
91d4a726377c: Already exists
d00b82ade35e: Already exists
a0753987c7c1: Already exists
fe4e08258b65: Already exists
810890259cc3: Already exists
a8378ff06e69: Already exists
995a6beb057b: Already exists
Digest: sha256:1f0f0b1e5ea28bca67235e7935a96cf2a510dbd39b2c072948a15a41fe7b8913
Status: Downloaded newer image for ocaml/opam@sha256:1f0f0b1e5ea28bca67235e7935a96cf2a510dbd39b2c072948a15a41fe7b8913
2026-01-17 17:45.05 ---> using "69cdc841404901a469c1696bcc1bb4860cfbf93d8bb71cbd8d79aded069cd577" from cache

/: (shell /usr/bin/linux32 /bin/sh -c)

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-17 17:45.05 ---> using "a9640ab6e956dadbc2b4f50518c76b75157570311b174afe3a7482467ab94293" 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-01-17 17:45.05 ---> using "da528fc5c4b75980b700d0790ce5ebcf71e7563267bed96a09df9d5ccd003d9b" 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_32 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       5.4
# invariant            ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-option-bytecode-only.1, ocaml-options-vanilla.1
# ocaml:native         false
# ocaml:native-tools   false
# ocaml:native-dynlink false
# 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+bytecode-only
2026-01-17 17:45.05 ---> using "1b08a0d9137210c542b156b6f82a5915a8568eeef98e03fd7d8a429d1903acfb" 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-01-17 17:45.05 ---> using "c9588b84fd43367de35112dc3ff507b0bbddedb502eb55070fe49451d4cf70d8" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-17 17:45.15 ---> saved as "a856a77b1b0265f9ef39a1217a8704ba9f0617120303607c71d715332132808c"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-17 17:45.54 ---> saved as "a288f2f0b744cb932f8162e8e168df6327ab4efff6509a3efd4bdadc281bb439"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- 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 trixie/main i386 Packages [9429 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main i386 Packages [87.8 kB]
- Fetched 9748 kB in 2s (4470 kB/s)
- Reading package lists...
- 
2026-01-17 17:45.58 ---> saved as "b84138e42257d850603b473f8d8bbd2a5d44c194c95f2784de7384be041aa772"

/home/opam: (run (shell "opam pin add -k version -yn liquidsoap-mode.2.4.2 2.4.2"))
liquidsoap-mode is now pinned to version 2.4.2
2026-01-17 17:45.59 ---> saved as "e4b2449066953fc748e8756e5b3fff261fe4b5d0e3cd6e40138f07e7f9239bd6"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall liquidsoap-mode.2.4.2;\
                        \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\" != 'liquidsoap-mode.2.4.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
liquidsoap-mode.2.4.2 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler >= 5.4.0
    - liquidsoap-mode >= 2.4.2 -> liquidsoap >= 2.4.2 -> liquidsoap-lang >= 2.4.2 -> ppx_hash -> base < v0.13 -> ocaml < 4.10.0 -> ocaml-variants (< 4.05.2~ | >= 4.06.0)
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler >= 5.4.0
    - liquidsoap-mode >= 2.4.2 -> liquidsoap >= 2.4.2 -> liquidsoap-lang >= 2.4.2 -> ppx_hash -> ppx_sexp_conv < v0.15 -> ppxlib < 0.25.0 -> ocaml < 4.13 -> dkml-base-compiler
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler >= 5.4.0 -> ocaml-compiler = 5.4.0 -> base-effects
    - liquidsoap-mode >= 2.4.2 -> liquidsoap >= 2.4.2 -> liquidsoap-lang >= 2.4.2 -> ppx_hash -> ppx_sexp_conv < v0.15 -> ppxlib < 0.36.0
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler >= 5.4.0 -> ocaml-compiler = 5.4.0 -> base-effects
    - liquidsoap-mode >= 2.4.2 -> liquidsoap >= 2.4.2 -> liquidsoap-lang >= 2.4.2 -> ppx_hash -> ppx_sexp_conv < v0.15 -> ppxlib < 0.25.0 -> ocaml-migrate-parsetree >= 1.3.1
  * Missing dependency:
    - liquidsoap-mode >= 2.4.2 -> liquidsoap >= 2.4.2 -> liquidsoap-lang >= 2.4.2 -> ppx_hash -> base < v0.13 -> ocaml < 4.10.0 -> ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.08.4 | = 3.09.0) | ocaml-system (<= 3.07+1 | = 3.07+2 | >= 3.08.0) | ocaml-variants < 3.09.1~
    not available because the package is pinned to version 5.4.0
    unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.0" & (os != "win32" | sys-ocaml-libc = "msvc")'
    no matching version
  * Missing dependency:
    - liquidsoap-mode >= 2.4.2 -> liquidsoap >= 2.4.2 -> liquidsoap-lang >= 2.4.2 -> ppx_hash -> base < v0.13 -> ocaml < 4.10.0 -> ocaml-variants >= 4.06.0 -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - liquidsoap-mode >= 2.4.2 -> liquidsoap >= 2.4.2 -> liquidsoap-lang >= 2.4.2 -> ppx_hash -> base < v0.13 -> ocaml < 4.10.0 -> ocaml-variants >= 4.06.0 -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/linux32" "/bin/sh" "-c" "opam reinstall liquidsoap-mode.2.4.2;
        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" != 'liquidsoap-mode.2.4.2' && 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-01-17 17:46.21: Job failed: Failed: Build failed
2026-01-17 17:46.21: Log analysis:
2026-01-17 17:46.21: >>> 
No solution found, exiting
 (score = 100)
2026-01-17 17:46.21: [SKIP] Package not available