(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 centos-10-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:centos-10-ocaml-5.4@sha256:7ef0a1d298ce77a2d95d8844154b42bfb37463958adc486d16ef6fb4acaeb1ba
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 "\"centos-10\""; 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:centos-10-ocaml-5.4@sha256:7ef0a1d298ce77a2d95d8844154b42bfb37463958adc486d16ef6fb4acaeb1ba-orsvm_e1071.2.0.0-41de505ec8ff3637ab3cb06a41ccbc29683f566c"
2025-10-17 13:54.21: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-5.4@sha256:7ef0a1d298ce77a2d95d8844154b42bfb37463958adc486d16ef6fb4acaeb1ba)
 (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 \"\\\"centos-10\\\"\"; 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.11: Waiting for worker…
2025-10-17 14:14.48: Got resource from pool OCluster
Building on doris.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:centos-10-ocaml-5.4@sha256:7ef0a1d298ce77a2d95d8844154b42bfb37463958adc486d16ef6fb4acaeb1ba)
Unable to find image 'ocaml/opam:centos-10-ocaml-5.4@sha256:7ef0a1d298ce77a2d95d8844154b42bfb37463958adc486d16ef6fb4acaeb1ba' locally
docker.io/ocaml/opam@sha256:7ef0a1d298ce77a2d95d8844154b42bfb37463958adc486d16ef6fb4acaeb1ba: Pulling from ocaml/opam
85f3a87fa233: Pulling fs layer
b61f57534da6: Pulling fs layer
43ce5c39bfcf: Pulling fs layer
2f58d0a08a8a: Pulling fs layer
cfaf95ee1a1d: Pulling fs layer
85f3a87fa233: Waiting
5beced422a47: Pulling fs layer
5574a155bb0a: Pulling fs layer
43ce5c39bfcf: Waiting
6034d6d17b4f: Pulling fs layer
2f58d0a08a8a: Waiting
b3e7fea154ea: Pulling fs layer
5beced422a47: Waiting
cfaf95ee1a1d: Waiting
f7d7acf23d2c: Pulling fs layer
5574a155bb0a: Waiting
b26050606a08: Pulling fs layer
6034d6d17b4f: Waiting
1f4f242d53ee: Pulling fs layer
6896856f5174: Pulling fs layer
b3e7fea154ea: Waiting
87cf83d0e5d1: Pulling fs layer
87e0f1c019ce: Pulling fs layer
1f4f242d53ee: Waiting
b949f80c15af: Pulling fs layer
87cf83d0e5d1: Waiting
5a2eec5f2590: Pulling fs layer
b949f80c15af: Waiting
87e0f1c019ce: Waiting
b390dbb566a8: Pulling fs layer
65317da64f23: Pulling fs layer
d99c11df0ab0: Pulling fs layer
5a2eec5f2590: Waiting
acb6bba1af9c: Pulling fs layer
4f4fb700ef54: Pulling fs layer
65317da64f23: Waiting
263d77d2ded7: Pulling fs layer
f244dde9df06: Pulling fs layer
acb6bba1af9c: Waiting
e9de9534edb0: Pulling fs layer
4d0efc4619d4: Pulling fs layer
4f4fb700ef54: Waiting
cdcf0a601cb6: Pulling fs layer
263d77d2ded7: Waiting
e9de9534edb0: Waiting
cc7ba9aa5bfe: Pulling fs layer
412c626e4c38: Pulling fs layer
afe90964a3a1: Pulling fs layer
5f780e76cd58: Pulling fs layer
f40c46e7bf5f: Pulling fs layer
4d0efc4619d4: Waiting
412c626e4c38: Waiting
afe90964a3a1: Waiting
116520cb9312: Pulling fs layer
7902cec4e062: Pulling fs layer
cc2f0f4c8608: Pulling fs layer
384fd0ba2919: Pulling fs layer
7902cec4e062: Waiting
af5f2b58d23e: Pulling fs layer
ee7ebbb64200: Pulling fs layer
cc7ba9aa5bfe: Waiting
ca1f9a029f57: Pulling fs layer
af5f2b58d23e: Waiting
e68c08a01ec5: Pulling fs layer
bba30497c14d: Pulling fs layer
ca1f9a029f57: Waiting
2d1715fecc3b: Pulling fs layer
116520cb9312: Waiting
7d5d2f975e1f: Pulling fs layer
b526224365db: Pulling fs layer
b10cce61e8a1: Pulling fs layer
bba30497c14d: Waiting
b526224365db: Waiting
b10cce61e8a1: Waiting
384fd0ba2919: Waiting
ee7ebbb64200: Waiting
85f3a87fa233: Verifying Checksum
85f3a87fa233: Download complete
b61f57534da6: Download complete
43ce5c39bfcf: Verifying Checksum
43ce5c39bfcf: Download complete
85f3a87fa233: Pull complete
b61f57534da6: Pull complete
43ce5c39bfcf: Pull complete
2f58d0a08a8a: Verifying Checksum
2f58d0a08a8a: Download complete
cfaf95ee1a1d: Verifying Checksum
cfaf95ee1a1d: Download complete
5beced422a47: Verifying Checksum
5beced422a47: Download complete
5574a155bb0a: Verifying Checksum
5574a155bb0a: Download complete
6034d6d17b4f: Verifying Checksum
6034d6d17b4f: Download complete
b3e7fea154ea: Verifying Checksum
b3e7fea154ea: Download complete
f7d7acf23d2c: Verifying Checksum
f7d7acf23d2c: Download complete
b26050606a08: Download complete
6896856f5174: Download complete
1f4f242d53ee: Verifying Checksum
1f4f242d53ee: Download complete
87cf83d0e5d1: Verifying Checksum
87e0f1c019ce: Download complete
b949f80c15af: Verifying Checksum
b949f80c15af: Download complete
5a2eec5f2590: Verifying Checksum
5a2eec5f2590: Download complete
b390dbb566a8: Verifying Checksum
b390dbb566a8: Download complete
65317da64f23: Download complete
d99c11df0ab0: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
acb6bba1af9c: Download complete
f244dde9df06: Verifying Checksum
f244dde9df06: Download complete
263d77d2ded7: Verifying Checksum
263d77d2ded7: Download complete
e9de9534edb0: Verifying Checksum
e9de9534edb0: Download complete
4d0efc4619d4: Verifying Checksum
cdcf0a601cb6: Download complete
cc7ba9aa5bfe: Verifying Checksum
cc7ba9aa5bfe: Download complete
412c626e4c38: Verifying Checksum
412c626e4c38: Download complete
afe90964a3a1: Verifying Checksum
afe90964a3a1: Download complete
2f58d0a08a8a: Pull complete
5f780e76cd58: Verifying Checksum
5f780e76cd58: Download complete
f40c46e7bf5f: Verifying Checksum
f40c46e7bf5f: Download complete
7902cec4e062: Download complete
116520cb9312: Download complete
384fd0ba2919: Download complete
cfaf95ee1a1d: Pull complete
5beced422a47: Pull complete
5574a155bb0a: Pull complete
6034d6d17b4f: Pull complete
b3e7fea154ea: Pull complete
f7d7acf23d2c: Pull complete
b26050606a08: Pull complete
1f4f242d53ee: Pull complete
6896856f5174: Pull complete
87cf83d0e5d1: Pull complete
87e0f1c019ce: Pull complete
b949f80c15af: Pull complete
5a2eec5f2590: Pull complete
b390dbb566a8: Pull complete
65317da64f23: Pull complete
d99c11df0ab0: Pull complete
acb6bba1af9c: Pull complete
4f4fb700ef54: Pull complete
263d77d2ded7: Pull complete
f244dde9df06: Pull complete
e9de9534edb0: Pull complete
4d0efc4619d4: Pull complete
af5f2b58d23e: Verifying Checksum
af5f2b58d23e: Download complete
cdcf0a601cb6: Pull complete
cc7ba9aa5bfe: Pull complete
412c626e4c38: Pull complete
afe90964a3a1: Pull complete
5f780e76cd58: Pull complete
f40c46e7bf5f: Pull complete
116520cb9312: Pull complete
7902cec4e062: Pull complete
ee7ebbb64200: Verifying Checksum
ee7ebbb64200: Download complete
ca1f9a029f57: Verifying Checksum
ca1f9a029f57: Download complete
e68c08a01ec5: Download complete
bba30497c14d: Verifying Checksum
bba30497c14d: Download complete
2d1715fecc3b: Verifying Checksum
2d1715fecc3b: Download complete
7d5d2f975e1f: Verifying Checksum
7d5d2f975e1f: Download complete
b526224365db: Verifying Checksum
b526224365db: Download complete
b10cce61e8a1: Download complete
cc2f0f4c8608: Download complete
cc2f0f4c8608: Pull complete
384fd0ba2919: Pull complete
af5f2b58d23e: Pull complete
ee7ebbb64200: Pull complete
ca1f9a029f57: Pull complete
e68c08a01ec5: Pull complete
bba30497c14d: Pull complete
2d1715fecc3b: Pull complete
7d5d2f975e1f: Pull complete
b526224365db: Pull complete
b10cce61e8a1: Pull complete
Digest: sha256:7ef0a1d298ce77a2d95d8844154b42bfb37463958adc486d16ef6fb4acaeb1ba
Status: Downloaded newer image for ocaml/opam@sha256:7ef0a1d298ce77a2d95d8844154b42bfb37463958adc486d16ef6fb4acaeb1ba
2025-10-17 14:16.01 ---> using "357e770fb63181f18e51e8cd827ee09ced1c74c7f7b6728690f91a362ed358e6" 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.01 ---> using "612d918297a54115668c17144c61b423769977e3e0b7d98362f3e8854127765d" 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.01 ---> using "66856b48e6f07fee074b1d72a6c5c8496f8a61f2f5963b96f25451698a040808" 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=centos os-version=10
# 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.01 ---> using "c04ca15b1d81c3385ea3e8be6a8a06cf750e6e24968924e2e5f77acbda9ea253" 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.01 ---> using "e2637ac153b39ff91c6e74b72e6bbd302ff79132bbc38c412726c72babab0a04" from cache

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS                       2.7 kB/s |  15 kB     00:05    
- CentOS Stream 10 - AppStream                     16 kB/s |  15 kB     00:00    
- CentOS Stream 10 - CRB                           27 kB/s |  15 kB     00:00    
- CentOS Stream 10 - Extras packages               30 kB/s |  17 kB     00:00    
- Metadata cache created.
2025-10-17 14:16.20 ---> saved as "38e8616cd2f4141b9b1f67281bbb3accd59a979070da8ff1bd23d7cdf2613553"

/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.21 ---> saved as "f9217de5805ef3940af819698422d4621cdec86223c73c2dda615555f759748c"

/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 \"\\\"centos-10\\\"\"; 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
  * 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 -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - orsvm_e1071 < 3.0.0 -> jbuilder -> ocaml < 5.0 -> ocaml-variants -> 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 "\"centos-10\""; 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.36: Job failed: Failed: Build failed
2025-10-17 14:16.36: Log analysis:
2025-10-17 14:16.36: >>> 
No solution found, exiting
 (score = 100)
2025-10-17 14:16.36: [SKIP] Package not available