(for PR #24267)
2025-10-17 13:54.26: New job: build orrandomForest.1.0.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/24267/head (41de505ec8ff3637ab3cb06a41ccbc29683f566c)
on ubuntu-25.04-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:ubuntu-25.04-ocaml-5.4@sha256:aa8e01a39c106c4e36649164d30801dd46a751574d1f693167475e4dfe972f01
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 orrandomForest.1.0.0 1.0.0
RUN opam reinstall orrandomForest.1.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 "\"ubuntu-25.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'orrandomForest.1.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.26: Using cache hint "ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:aa8e01a39c106c4e36649164d30801dd46a751574d1f693167475e4dfe972f01-orrandomForest.1.0.0-41de505ec8ff3637ab3cb06a41ccbc29683f566c"
2025-10-17 13:54.26: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:aa8e01a39c106c4e36649164d30801dd46a751574d1f693167475e4dfe972f01)
(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 orrandomForest.1.0.0 1.0.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall orrandomForest.1.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 \"\\\"ubuntu-25.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'orrandomForest.1.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.26: Waiting for resource in pool OCluster
2025-10-17 14:48.46: Waiting for worker…
2025-10-17 14:51.17: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 84% (15684/18561)
Updating files: 85% (15777/18561)
Updating files: 86% (15963/18561)
Updating files: 87% (16149/18561)
Updating files: 88% (16334/18561)
Updating files: 89% (16520/18561)
Updating files: 90% (16705/18561)
Updating files: 91% (16891/18561)
Updating files: 92% (17077/18561)
Updating files: 93% (17262/18561)
Updating files: 94% (17448/18561)
Updating files: 95% (17633/18561)
Updating files: 96% (17819/18561)
Updating files: 97% (18005/18561)
Updating files: 98% (18190/18561)
Updating files: 99% (18376/18561)
Updating files: 100% (18561/18561)
Updating files: 100% (18561/18561), done.
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:ubuntu-25.04-ocaml-5.4@sha256:aa8e01a39c106c4e36649164d30801dd46a751574d1f693167475e4dfe972f01)
Unable to find image 'ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:aa8e01a39c106c4e36649164d30801dd46a751574d1f693167475e4dfe972f01' locally
docker.io/ocaml/opam@sha256:aa8e01a39c106c4e36649164d30801dd46a751574d1f693167475e4dfe972f01: Pulling from ocaml/opam
c62190a9ab61: Already exists
c985a9864739: Already exists
9ce098ab566c: Already exists
1476b197f492: Already exists
3c6ed04c0489: Already exists
6c35591422f1: Already exists
fd754953a4a4: Already exists
582f1b7eb9db: Already exists
ee0bf2b6f429: Already exists
44cfa07f70cf: Already exists
0500902e0a7f: Already exists
139102ffb691: Already exists
430dee7dbc42: Already exists
25541c62e72c: Already exists
4b45b5097190: Already exists
af6cd989f92e: Already exists
af6cd989f92e: Already exists
5715088923f1: Already exists
c5c22c361315: Already exists
a8dca298272f: Already exists
83da8bb20921: Already exists
4f4fb700ef54: Already exists
35b94e9da18a: Already exists
9cce0457fb55: Already exists
84b391c5931c: Already exists
3571da19f996: Already exists
a8d59b1dd164: Already exists
ac6586f8f005: Already exists
e3e0b0ad2e15: Already exists
ed1dc3ac7383: Already exists
fe4b5ed60893: Already exists
ac27f0f19708: Already exists
5b6754c1d1ac: Already exists
a816aa9aa995: Already exists
f732e53bb150: Already exists
a37ed6ebfa21: Already exists
5bbf7566f945: Already exists
aee8720d12b0: Already exists
74c35d6687bb: Already exists
6135e67bfcee: Already exists
50977875eeb9: Pulling fs layer
03a84bf05170: Pulling fs layer
50977875eeb9: Waiting
a7e2efc01400: Pulling fs layer
03a84bf05170: Waiting
91da380bcbc7: Pulling fs layer
da468c07c222: Pulling fs layer
a7e2efc01400: Waiting
91da380bcbc7: Waiting
e54feb2ef553: Pulling fs layer
cfbe3a87bf59: Pulling fs layer
da468c07c222: Waiting
e54feb2ef553: Waiting
cfbe3a87bf59: Waiting
50977875eeb9: Download complete
50977875eeb9: Pull complete
03a84bf05170: Download complete
03a84bf05170: Pull complete
a7e2efc01400: Verifying Checksum
a7e2efc01400: Download complete
a7e2efc01400: Pull complete
91da380bcbc7: Verifying Checksum
91da380bcbc7: Download complete
da468c07c222: Verifying Checksum
da468c07c222: Download complete
e54feb2ef553: Verifying Checksum
cfbe3a87bf59: Download complete
91da380bcbc7: Pull complete
da468c07c222: Pull complete
e54feb2ef553: Pull complete
cfbe3a87bf59: Pull complete
Digest: sha256:aa8e01a39c106c4e36649164d30801dd46a751574d1f693167475e4dfe972f01
Status: Downloaded newer image for ocaml/opam@sha256:aa8e01a39c106c4e36649164d30801dd46a751574d1f693167475e4dfe972f01
2025-10-17 14:51.20 ---> using "4634bb79db369ca459eb077bd605b0a453385ad697bc229a054890d0024b1f5d" 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:51.20 ---> using "1f9417818f458f64b0e501c5804cf7e4fe4eaa8d9ef8b43ae33e6ba98a8dbdb6" 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 255 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=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-10-17 14:51.20 ---> using "ad2929b4d95f1ad1f7df349b390a2b431af527416bf301146258fdcd7dfa2647" 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=ubuntu os-version=25.04
# 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-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:51.20 ---> using "0fb085920073739f54d58fc99f5cd47dc3e43d07564a9e894bbd5f1ec94ac0ae" 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:51.20 ---> using "2a66c90ef56a1678d472c30cf11eb52c18dbe060fb96ca0b2c469c75fd02ce38" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-10-17 14:51.37 ---> saved as "85a505bf77335316f2c2c0730294d4b0f567493874e3d2742e31335b8c03d2d9"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-10-17 14:52.02 ---> saved as "07ac2e7acb2565fe94c142a93aa6a9372eab4a7402217ccd1524ec380bfee7b7"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
- Get:2 http://security.ubuntu.com/ubuntu plucky-security/restricted amd64 Packages [301 kB]
- Get:3 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [218 kB]
- Get:4 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [315 kB]
- Hit:5 http://archive.ubuntu.com/ubuntu plucky InRelease
- Get:6 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
- Get:7 http://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:8 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [291 kB]
- Get:9 http://archive.ubuntu.com/ubuntu plucky-updates/multiverse amd64 Packages [31.6 kB]
- Get:10 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [464 kB]
- Get:11 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Packages [336 kB]
- Fetched 2335 kB in 6s (374 kB/s)
- Reading package lists...
-
2025-10-17 14:52.09 ---> saved as "4c8f92bb8956b5e967793b1e33110a46efaabc59d9bdcf3e0ac6d235af671705"
/home/opam: (run (shell "opam pin add -k version -yn orrandomForest.1.0.0 1.0.0"))
orrandomForest is now pinned to version 1.0.0
2025-10-17 14:52.11 ---> saved as "9fa008892dd7c608e4e07ded0f463578680e68d4d964c8276dda200756b3406e"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall orrandomForest.1.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 \"\\\"ubuntu-25.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'orrandomForest.1.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"))
orrandomForest.1.0.0 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.4.0
- orrandomForest < 2.0.1 -> dolog < 4.0.0 -> ocaml < 5.0.0 -> dkml-base-compiler
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.4.0
- orrandomForest < 2.0.1 -> dolog < 4.0.0 -> ocaml < 5.0.0 -> ocaml-variants (< 4.00.1~ | >= 4.00.1)
* Missing dependency:
- orrandomForest < 2.0.1 -> dolog < 4.0.0 -> ocaml < 5.0.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:
- orrandomForest < 2.0.1 -> dolog < 4.0.0 -> ocaml < 5.0.0 -> ocaml-variants >= 4.00.1 -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- orrandomForest < 2.0.1 -> dolog < 4.0.0 -> ocaml < 5.0.0 -> ocaml-variants >= 4.00.1 -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall orrandomForest.1.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 "\"ubuntu-25.04\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'orrandomForest.1.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:52.52: Job failed: Failed: Build failed
2025-10-17 14:52.52: Log analysis:
2025-10-17 14:52.52: >>>
No solution found, exiting
(score = 100)
2025-10-17 14:52.52: [SKIP] Package not available