(for PR #24267)

2025-10-17 13:54.21: New job: build orsvm_e1071.3.0.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/24267/head (41de505ec8ff3637ab3cb06a41ccbc29683f566c)
                              on archlinux-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:archlinux-ocaml-5.4@sha256:d4ffd98f11eadb9ab8657e2ee8375c8ad84888a645ee39f80beaa9d357b23b82
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.3.0.0 3.0.0
RUN opam reinstall orsvm_e1071.3.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 "\"archlinux\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'orsvm_e1071.3.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:archlinux-ocaml-5.4@sha256:d4ffd98f11eadb9ab8657e2ee8375c8ad84888a645ee39f80beaa9d357b23b82-orsvm_e1071.3.0.0-41de505ec8ff3637ab3cb06a41ccbc29683f566c"
2025-10-17 13:54.21: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.4@sha256:d4ffd98f11eadb9ab8657e2ee8375c8ad84888a645ee39f80beaa9d357b23b82)
 (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.3.0.0 3.0.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall orsvm_e1071.3.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 \"\\\"archlinux\\\"\"; 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.3.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:11.55: Waiting for worker…
2025-10-17 14:14.29: 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:archlinux-ocaml-5.4@sha256:d4ffd98f11eadb9ab8657e2ee8375c8ad84888a645ee39f80beaa9d357b23b82)
Unable to find image 'ocaml/opam:archlinux-ocaml-5.4@sha256:d4ffd98f11eadb9ab8657e2ee8375c8ad84888a645ee39f80beaa9d357b23b82' locally
docker.io/ocaml/opam@sha256:d4ffd98f11eadb9ab8657e2ee8375c8ad84888a645ee39f80beaa9d357b23b82: Pulling from ocaml/opam
f76ba238a84a: Pulling fs layer
5433a31b7d4e: Pulling fs layer
74ee6b24ca8e: Pulling fs layer
ac3ca215bcb1: Pulling fs layer
b91f57add277: Pulling fs layer
2c371071f498: Pulling fs layer
aa2833e3dbcd: Pulling fs layer
e2fa589b4a39: Pulling fs layer
db0ed6ae016a: Pulling fs layer
335f086c4198: Pulling fs layer
125843ae028e: Pulling fs layer
efc0d19fab1a: Pulling fs layer
16882f03d959: Pulling fs layer
4f4fb700ef54: Pulling fs layer
62623adbdce2: Pulling fs layer
b08d2b88a6d3: Pulling fs layer
85a7f2b1a287: Pulling fs layer
0be113b21ba7: Pulling fs layer
f8d53774465a: Pulling fs layer
1cd4763127f1: Pulling fs layer
08e93daa6985: Pulling fs layer
f8421f095cc0: Pulling fs layer
2593972bca85: Pulling fs layer
4d062722bcb2: Pulling fs layer
1a8ef7361fab: Pulling fs layer
8492fb6808a6: Pulling fs layer
04940e95ee73: Pulling fs layer
05a4def49bfb: Pulling fs layer
4d38ca90dc2a: Pulling fs layer
a7dbfb5e3636: Pulling fs layer
ff352db01faa: Pulling fs layer
d6eacb2b901a: Pulling fs layer
8be997b57637: Pulling fs layer
621fe3389b59: Pulling fs layer
ebb91cc3f718: Pulling fs layer
eec2b0b04ccc: Pulling fs layer
33c20e68ace1: Pulling fs layer
f76ba238a84a: Waiting
125843ae028e: Waiting
efc0d19fab1a: Waiting
2c371071f498: Waiting
16882f03d959: Waiting
5433a31b7d4e: Waiting
aa2833e3dbcd: Waiting
4f4fb700ef54: Waiting
335f086c4198: Waiting
e2fa589b4a39: Waiting
b08d2b88a6d3: Waiting
f8d53774465a: Waiting
0be113b21ba7: Waiting
62623adbdce2: Waiting
1cd4763127f1: Waiting
85a7f2b1a287: Waiting
08e93daa6985: Waiting
b91f57add277: Waiting
db0ed6ae016a: Waiting
ac3ca215bcb1: Waiting
ff352db01faa: Waiting
74ee6b24ca8e: Waiting
d6eacb2b901a: Waiting
4d38ca90dc2a: Waiting
2593972bca85: Waiting
eec2b0b04ccc: Waiting
05a4def49bfb: Waiting
33c20e68ace1: Waiting
04940e95ee73: Waiting
8be997b57637: Waiting
ebb91cc3f718: Waiting
621fe3389b59: Waiting
1a8ef7361fab: Waiting
f76ba238a84a: Verifying Checksum
f76ba238a84a: Download complete
5433a31b7d4e: Verifying Checksum
5433a31b7d4e: Download complete
74ee6b24ca8e: Verifying Checksum
74ee6b24ca8e: Download complete
ac3ca215bcb1: Verifying Checksum
ac3ca215bcb1: Download complete
b91f57add277: Verifying Checksum
b91f57add277: Download complete
2c371071f498: Verifying Checksum
2c371071f498: Download complete
aa2833e3dbcd: Verifying Checksum
aa2833e3dbcd: Download complete
f76ba238a84a: Pull complete
e2fa589b4a39: Verifying Checksum
e2fa589b4a39: Download complete
5433a31b7d4e: Pull complete
db0ed6ae016a: Verifying Checksum
db0ed6ae016a: Download complete
335f086c4198: Verifying Checksum
335f086c4198: Download complete
125843ae028e: Verifying Checksum
125843ae028e: Download complete
efc0d19fab1a: Download complete
16882f03d959: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
62623adbdce2: Download complete
b08d2b88a6d3: Verifying Checksum
b08d2b88a6d3: Download complete
74ee6b24ca8e: Pull complete
ac3ca215bcb1: Pull complete
b91f57add277: Pull complete
85a7f2b1a287: Download complete
2c371071f498: Pull complete
aa2833e3dbcd: Pull complete
e2fa589b4a39: Pull complete
db0ed6ae016a: Pull complete
0be113b21ba7: Download complete
335f086c4198: Pull complete
125843ae028e: Pull complete
efc0d19fab1a: Pull complete
16882f03d959: Pull complete
4f4fb700ef54: Pull complete
62623adbdce2: Pull complete
b08d2b88a6d3: Pull complete
85a7f2b1a287: Pull complete
0be113b21ba7: Pull complete
f8d53774465a: Verifying Checksum
f8d53774465a: Download complete
f8d53774465a: Pull complete
1cd4763127f1: Download complete
1cd4763127f1: Pull complete
08e93daa6985: Download complete
08e93daa6985: Pull complete
f8421f095cc0: Download complete
f8421f095cc0: Pull complete
2593972bca85: Verifying Checksum
2593972bca85: Download complete
2593972bca85: Pull complete
4d062722bcb2: Verifying Checksum
4d062722bcb2: Download complete
4d062722bcb2: Pull complete
1a8ef7361fab: Download complete
1a8ef7361fab: Pull complete
8492fb6808a6: Download complete
8492fb6808a6: Pull complete
04940e95ee73: Verifying Checksum
04940e95ee73: Download complete
05a4def49bfb: Verifying Checksum
05a4def49bfb: Download complete
a7dbfb5e3636: Download complete
ff352db01faa: Download complete
d6eacb2b901a: Verifying Checksum
d6eacb2b901a: Download complete
8be997b57637: Verifying Checksum
8be997b57637: Download complete
04940e95ee73: Pull complete
05a4def49bfb: Pull complete
621fe3389b59: Verifying Checksum
621fe3389b59: Download complete
ebb91cc3f718: Verifying Checksum
ebb91cc3f718: Download complete
eec2b0b04ccc: Verifying Checksum
eec2b0b04ccc: Download complete
33c20e68ace1: Verifying Checksum
33c20e68ace1: Download complete
4d38ca90dc2a: Verifying Checksum
4d38ca90dc2a: Download complete
4d38ca90dc2a: Pull complete
a7dbfb5e3636: Pull complete
ff352db01faa: Pull complete
d6eacb2b901a: Pull complete
8be997b57637: Pull complete
621fe3389b59: Pull complete
ebb91cc3f718: Pull complete
eec2b0b04ccc: Pull complete
33c20e68ace1: Pull complete
Digest: sha256:d4ffd98f11eadb9ab8657e2ee8375c8ad84888a645ee39f80beaa9d357b23b82
Status: Downloaded newer image for ocaml/opam@sha256:d4ffd98f11eadb9ab8657e2ee8375c8ad84888a645ee39f80beaa9d357b23b82
2025-10-17 14:15.20 ---> using "acf6cad112877b425fc39c9b8b50e4c6a9e4911fbec36729199dccc5e03b4e82" 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:15.20 ---> using "b91464d55aa8f1234d2fe052e5a4daf16c5e1ffe2b2071c0fb111e19a495c77c" 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:15.20 ---> using "e0e03b5fe42030728add0e26bd621599f540847cdf625ecc9bbe33f31b3013f0" 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=arch os-version=20251005.0.430597
# 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:15.20 ---> using "721251b59d6fa78da598f53a9c9c38fb7e6ae6a7c2dad2fbe619077acfe9a5a9" 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:15.20 ---> using "34b0287d0d012abd1913a0ff8a18f73aba165ace41d995acd22544ba8442c876" from cache

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
-  core downloading...
-  extra downloading...
2025-10-17 14:17.04 ---> saved as "9fbc9b44fcd50ce88ab651529358400b99a1e49049ee8185ddd6b02384e9c436"

/home/opam: (run (shell "opam pin add -k version -yn orsvm_e1071.3.0.0 3.0.0"))
orsvm_e1071 is now pinned to version 3.0.0
2025-10-17 14:17.05 ---> saved as "1d1be2c664c170a07e6aa60f3372907716ec856b1211e9bc0086e73b35ee2197"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall orsvm_e1071.3.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 \"\\\"archlinux\\\"\"; 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.3.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.3.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.3.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 "\"archlinux\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'orsvm_e1071.3.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:17.25: Job failed: Failed: Build failed
2025-10-17 14:17.25: Log analysis:
2025-10-17 14:17.25: >>> 
No solution found, exiting
 (score = 100)
2025-10-17 14:17.25: [SKIP] Package not available