(for PR #24267)

2025-10-17 13:54.21: New job: build orsvm_e1071.2.0.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/24267/head (41de505ec8ff3637ab3cb06a41ccbc29683f566c)
                              on debian-11-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/24267/head" && git reset --hard 41de505e
git fetch origin master
git merge --no-edit 5bf570252bd9fee71938b828ca0b86573c1e3355
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-11-ocaml-5.4@sha256:52558d6b3ebee30568a21b3be189ff6fbfccdea588155ec11d8f46267d986767
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 orsvm_e1071.2.0.0 2.0.0
RUN opam reinstall orsvm_e1071.2.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-11\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'orsvm_e1071.2.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 .

2025-10-17 13:54.21: Using cache hint "ocaml/opam:debian-11-ocaml-5.4@sha256:52558d6b3ebee30568a21b3be189ff6fbfccdea588155ec11d8f46267d986767-orsvm_e1071.2.0.0-41de505ec8ff3637ab3cb06a41ccbc29683f566c"
2025-10-17 13:54.21: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-5.4@sha256:52558d6b3ebee30568a21b3be189ff6fbfccdea588155ec11d8f46267d986767)
 (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 orsvm_e1071.2.0.0 2.0.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall orsvm_e1071.2.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-11\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'orsvm_e1071.2.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"))
)

2025-10-17 13:54.21: Connecting to build cluster…
2025-10-17 13:54.21: Waiting for resource in pool OCluster
2025-10-17 14:12.28: Waiting for worker…
2025-10-17 14:15.04: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 5bf570252b Merge pull request #28700 from drjdn/opam-publish-p5scm.0.5.0
Merge made by the 'ort' strategy.
 packages/odnnr/odnnr.2.0.0/opam                   | 4 +---
 packages/oplsr/oplsr.8.0.1/opam                   | 3 +--
 packages/orrandomForest/orrandomForest.1.0.0/opam | 5 +----
 packages/orrandomForest/orrandomForest.2.0.1/opam | 7 +------
 packages/orrandomForest/orrandomForest.3.0.0/opam | 7 +------
 packages/orsvm_e1071/orsvm_e1071.2.0.0/opam       | 3 ---
 packages/orsvm_e1071/orsvm_e1071.3.0.0/opam       | 5 +----
 packages/orsvm_e1071/orsvm_e1071.3.0.1/opam       | 2 +-
 packages/orsvm_e1071/orsvm_e1071.3.0.2/opam       | 2 +-
 packages/orsvm_e1071/orsvm_e1071.4.0.0/opam       | 2 +-
 packages/orxgboost/orxgboost.1.0.1/opam           | 5 +----
 packages/orxgboost/orxgboost.1.1.0/opam           | 5 +----
 packages/orxgboost/orxgboost.1.2.0/opam           | 5 +----
 13 files changed, 12 insertions(+), 43 deletions(-)

(from ocaml/opam:debian-11-ocaml-5.4@sha256:52558d6b3ebee30568a21b3be189ff6fbfccdea588155ec11d8f46267d986767)
Unable to find image 'ocaml/opam:debian-11-ocaml-5.4@sha256:52558d6b3ebee30568a21b3be189ff6fbfccdea588155ec11d8f46267d986767' locally
docker.io/ocaml/opam@sha256:52558d6b3ebee30568a21b3be189ff6fbfccdea588155ec11d8f46267d986767: Pulling from ocaml/opam
10ffc47270cd: Pulling fs layer
fb7b830f9273: Pulling fs layer
db942f4be956: Pulling fs layer
19400b3dc631: Pulling fs layer
64f26db5ab23: Pulling fs layer
a1c9988984c5: Pulling fs layer
08134c884d95: Pulling fs layer
d1ec0d1e3240: Pulling fs layer
90c2d895970e: Pulling fs layer
8a294d84df78: Pulling fs layer
53e49dc18b62: Pulling fs layer
ed6ea05fd481: Pulling fs layer
17371f125731: Pulling fs layer
3d160e85c6c6: Pulling fs layer
61ce1ac71611: Pulling fs layer
e84500fcc1c1: Pulling fs layer
bcea18a91a53: Pulling fs layer
fdc0d4722fb4: Pulling fs layer
6f6958135bde: Pulling fs layer
d1ec0d1e3240: Waiting
dfbbf0c6781a: Pulling fs layer
434a6c33856d: Pulling fs layer
4f4fb700ef54: Pulling fs layer
90c2d895970e: Waiting
b0e6f10fa166: Pulling fs layer
8fcbf5d66f12: Pulling fs layer
8a294d84df78: Waiting
d2cf4ff8199b: Pulling fs layer
10ffc47270cd: Waiting
2c358a573c1b: Pulling fs layer
53e49dc18b62: Waiting
fb7b830f9273: Waiting
dc436ad3c00e: Pulling fs layer
ed6ea05fd481: Waiting
17371f125731: Waiting
34d141d6d28b: Pulling fs layer
19400b3dc631: Waiting
3d160e85c6c6: Waiting
8ac1bb77fbba: Pulling fs layer
db942f4be956: Waiting
61ce1ac71611: Waiting
64f26db5ab23: Waiting
abdcdd6d2cb0: Pulling fs layer
e84500fcc1c1: Waiting
f85a0321d1a8: Pulling fs layer
dfbbf0c6781a: Waiting
dc436ad3c00e: Waiting
434a6c33856d: Waiting
010e00c2825c: Pulling fs layer
4f4fb700ef54: Waiting
bcea18a91a53: Waiting
34d141d6d28b: Waiting
8fcbf5d66f12: Waiting
b0e6f10fa166: Waiting
5186f23c4361: Pulling fs layer
d2cf4ff8199b: Waiting
fdc0d4722fb4: Waiting
099f1f64ca72: Pulling fs layer
8ac1bb77fbba: Waiting
2c358a573c1b: Waiting
abdcdd6d2cb0: Waiting
c7e32cba45d7: Pulling fs layer
010e00c2825c: Waiting
f3c6018f02aa: Pulling fs layer
5186f23c4361: Waiting
099f1f64ca72: Waiting
75da8a49b929: Pulling fs layer
c7e32cba45d7: Waiting
b01e17816af1: Pulling fs layer
f3c6018f02aa: Waiting
403392b3b6d9: Pulling fs layer
75da8a49b929: Waiting
c07ccaf50151: Pulling fs layer
b01e17816af1: Waiting
403392b3b6d9: Waiting
23a3082f410f: Pulling fs layer
c07ccaf50151: Waiting
fc4ca1d9f3b7: Pulling fs layer
7df9f18fc143: Pulling fs layer
2ffe14daf16a: Pulling fs layer
0a95ea73482d: Pulling fs layer
370fda50db59: Pulling fs layer
2ffe14daf16a: Waiting
7df9f18fc143: Waiting
5f3797a7e2e2: Pulling fs layer
23a3082f410f: Waiting
0a95ea73482d: Waiting
fc4ca1d9f3b7: Waiting
5f3797a7e2e2: Waiting
10ffc47270cd: Verifying Checksum
10ffc47270cd: Download complete
fb7b830f9273: Verifying Checksum
fb7b830f9273: Download complete
db942f4be956: Download complete
19400b3dc631: Verifying Checksum
19400b3dc631: Download complete
64f26db5ab23: Verifying Checksum
64f26db5ab23: Download complete
10ffc47270cd: Pull complete
fb7b830f9273: Pull complete
db942f4be956: Pull complete
19400b3dc631: Pull complete
64f26db5ab23: Pull complete
a1c9988984c5: Download complete
08134c884d95: Verifying Checksum
08134c884d95: Download complete
d1ec0d1e3240: Verifying Checksum
d1ec0d1e3240: Download complete
90c2d895970e: Verifying Checksum
90c2d895970e: Download complete
8a294d84df78: Verifying Checksum
8a294d84df78: Download complete
53e49dc18b62: Verifying Checksum
53e49dc18b62: Download complete
ed6ea05fd481: Download complete
17371f125731: Verifying Checksum
17371f125731: Download complete
3d160e85c6c6: Verifying Checksum
3d160e85c6c6: Download complete
61ce1ac71611: Verifying Checksum
61ce1ac71611: Download complete
e84500fcc1c1: Verifying Checksum
bcea18a91a53: Verifying Checksum
bcea18a91a53: Download complete
fdc0d4722fb4: Verifying Checksum
fdc0d4722fb4: Download complete
6f6958135bde: Verifying Checksum
6f6958135bde: Download complete
dfbbf0c6781a: Verifying Checksum
dfbbf0c6781a: Download complete
434a6c33856d: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
b0e6f10fa166: Verifying Checksum
b0e6f10fa166: Download complete
8fcbf5d66f12: Verifying Checksum
8fcbf5d66f12: Download complete
d2cf4ff8199b: Verifying Checksum
d2cf4ff8199b: Download complete
2c358a573c1b: Verifying Checksum
2c358a573c1b: Download complete
dc436ad3c00e: Verifying Checksum
dc436ad3c00e: Download complete
34d141d6d28b: Verifying Checksum
34d141d6d28b: Download complete
8ac1bb77fbba: Download complete
abdcdd6d2cb0: Verifying Checksum
abdcdd6d2cb0: Download complete
f85a0321d1a8: Verifying Checksum
f85a0321d1a8: Download complete
a1c9988984c5: Pull complete
010e00c2825c: Verifying Checksum
010e00c2825c: Download complete
5186f23c4361: Verifying Checksum
5186f23c4361: Download complete
08134c884d95: Pull complete
099f1f64ca72: Download complete
f3c6018f02aa: Verifying Checksum
f3c6018f02aa: Download complete
d1ec0d1e3240: Pull complete
90c2d895970e: Pull complete
8a294d84df78: Pull complete
53e49dc18b62: Pull complete
ed6ea05fd481: Pull complete
17371f125731: Pull complete
3d160e85c6c6: Pull complete
61ce1ac71611: Pull complete
e84500fcc1c1: Pull complete
bcea18a91a53: Pull complete
fdc0d4722fb4: Pull complete
6f6958135bde: Pull complete
dfbbf0c6781a: Pull complete
434a6c33856d: Pull complete
4f4fb700ef54: Pull complete
b0e6f10fa166: Pull complete
8fcbf5d66f12: Pull complete
d2cf4ff8199b: Pull complete
2c358a573c1b: Pull complete
dc436ad3c00e: Pull complete
34d141d6d28b: Pull complete
8ac1bb77fbba: Pull complete
abdcdd6d2cb0: Pull complete
f85a0321d1a8: Pull complete
010e00c2825c: Pull complete
5186f23c4361: Pull complete
099f1f64ca72: Pull complete
75da8a49b929: Verifying Checksum
75da8a49b929: Download complete
b01e17816af1: Verifying Checksum
b01e17816af1: Download complete
403392b3b6d9: Download complete
c07ccaf50151: Download complete
23a3082f410f: Download complete
fc4ca1d9f3b7: Download complete
7df9f18fc143: Verifying Checksum
7df9f18fc143: Download complete
2ffe14daf16a: Verifying Checksum
2ffe14daf16a: Download complete
0a95ea73482d: Download complete
370fda50db59: Download complete
5f3797a7e2e2: Download complete
c7e32cba45d7: Verifying Checksum
c7e32cba45d7: Download complete
c7e32cba45d7: Pull complete
f3c6018f02aa: Pull complete
75da8a49b929: Pull complete
b01e17816af1: Pull complete
403392b3b6d9: Pull complete
c07ccaf50151: Pull complete
23a3082f410f: Pull complete
fc4ca1d9f3b7: Pull complete
7df9f18fc143: Pull complete
2ffe14daf16a: Pull complete
0a95ea73482d: Pull complete
370fda50db59: Pull complete
5f3797a7e2e2: Pull complete
Digest: sha256:52558d6b3ebee30568a21b3be189ff6fbfccdea588155ec11d8f46267d986767
Status: Downloaded newer image for ocaml/opam@sha256:52558d6b3ebee30568a21b3be189ff6fbfccdea588155ec11d8f46267d986767
2025-10-17 14:16.21 ---> using "b83f9a1b1e7058c84a0843aaccdba586253bd1f8eebf7063966ba2aacb08b1f9" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-10-17 14:16.21 ---> using "7ccdda5d35a73d1cbc31ac83020983ff6deae347cd5d71d7459b4d132e3d9b26" 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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-10-17 14:16.21 ---> using "ea55d6389860cc377e5495f8d99e21421f1fca3e6bdcfe3be20c315382404e67" 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.4.1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=11
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# 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
2025-10-17 14:16.21 ---> using "d2335deef4bcae87b60b37c52469953789c150877eb992e472a6ed40a27bc61a" 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/"))
2025-10-17 14:16.21 ---> using "a3540549e0b96946347873bc1132d964b15b9f47348f8d0d47cc8848bce1e9cf" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-10-17 14:16.22 ---> using "bbcf341014625b08999b67110d09f0d75ba2fe2a2916615d54a4a1c8cccb0656" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-10-17 14:16.30 ---> saved as "011b5e79de2c2a5796a246f506f6902200b606b8b47060ccc0e7ddc39bd84f32"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
- Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [418 kB]
- Fetched 445 kB in 1s (618 kB/s)
- Reading package lists...
- 
2025-10-17 14:16.33 ---> saved as "de0fd9147f1b96f5b3e18c33592edbeb04c417446edd9062d17b5ed2afdf8f30"

/home/opam: (run (shell "opam pin add -k version -yn orsvm_e1071.2.0.0 2.0.0"))
orsvm_e1071 is now pinned to version 2.0.0
2025-10-17 14:16.33 ---> saved as "5ee6cf74cefd026ea6ceb50b72117075b997afadb9876de139f6b4e8b06ebadc"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall orsvm_e1071.2.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-11\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'orsvm_e1071.2.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"))
orsvm_e1071.2.0.0 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler >= 5.4.0
    - orsvm_e1071 < 3.0.0 -> jbuilder -> ocaml < 5.0 -> dkml-base-compiler
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler >= 5.4.0
    - orsvm_e1071 < 3.0.0 -> jbuilder -> ocaml < 5.0 -> ocaml-variants (< 4.00.1~ | >= 4.00.1)
  * Missing dependency:
    - orsvm_e1071 < 3.0.0 -> jbuilder -> dune < 2.0 -> ocaml < 4.12 -> 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:
    - orsvm_e1071 < 3.0.0 -> jbuilder -> ocaml < 5.0 -> ocaml-variants >= 4.00.1 -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - orsvm_e1071 < 3.0.0 -> jbuilder -> ocaml < 5.0 -> ocaml-variants >= 4.00.1 -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall orsvm_e1071.2.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-11\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'orsvm_e1071.2.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
2025-10-17 14:16.50: Job failed: Failed: Build failed
2025-10-17 14:16.50: Log analysis:
2025-10-17 14:16.50: >>> 
No solution found, exiting
 (score = 100)
2025-10-17 14:16.50: [SKIP] Package not available