(for PR #24267)
2025-11-10 11:02.17: New job: build orxgboost.1.2.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/24267/head (41de505ec8ff3637ab3cb06a41ccbc29683f566c)
on alpine-3.22-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 21f97b2e6d7c617fc0a79cc8e59b2e10690960e1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-5.4@sha256:efaaa7bdef3b3dc866784204a02682c18285d19896cfb3b2122ed1e824ce683c
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 orxgboost.1.2.0 1.2.0
RUN opam reinstall orxgboost.1.2.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 "\"alpine-3.22\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'orxgboost.1.2.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-11-10 11:02.17: Using cache hint "ocaml/opam:alpine-3.22-ocaml-5.4@sha256:efaaa7bdef3b3dc866784204a02682c18285d19896cfb3b2122ed1e824ce683c-orxgboost.1.2.0-41de505ec8ff3637ab3cb06a41ccbc29683f566c"
2025-11-10 11:02.17: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:efaaa7bdef3b3dc866784204a02682c18285d19896cfb3b2122ed1e824ce683c)
(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 orxgboost.1.2.0 1.2.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall orxgboost.1.2.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 \"\\\"alpine-3.22\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'orxgboost.1.2.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-11-10 11:02.17: Waiting for resource in pool OCluster
2025-11-10 12:35.50: Waiting for worker…
2025-11-10 12:40.36: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files: 68% (12777/18702)
Updating files: 69% (12905/18702)
Updating files: 70% (13092/18702)
Updating files: 71% (13279/18702)
Updating files: 72% (13466/18702)
Updating files: 73% (13653/18702)
Updating files: 74% (13840/18702)
Updating files: 75% (14027/18702)
Updating files: 76% (14214/18702)
Updating files: 77% (14401/18702)
Updating files: 78% (14588/18702)
Updating files: 79% (14775/18702)
Updating files: 80% (14962/18702)
Updating files: 81% (15149/18702)
Updating files: 82% (15336/18702)
Updating files: 83% (15523/18702)
Updating files: 84% (15710/18702)
Updating files: 85% (15897/18702)
Updating files: 86% (16084/18702)
Updating files: 87% (16271/18702)
Updating files: 88% (16458/18702)
Updating files: 89% (16645/18702)
Updating files: 90% (16832/18702)
Updating files: 91% (17019/18702)
Updating files: 92% (17206/18702)
Updating files: 93% (17393/18702)
Updating files: 94% (17580/18702)
Updating files: 95% (17767/18702)
Updating files: 96% (17954/18702)
Updating files: 97% (18141/18702)
Updating files: 98% (18328/18702)
Updating files: 99% (18515/18702)
Updating files: 100% (18702/18702)
Updating files: 100% (18702/18702), done.
HEAD is now at 21f97b2e6d Merge pull request #28836 from dbuenzli/b0-publish-bytesrw.0.3.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:alpine-3.22-ocaml-5.4@sha256:efaaa7bdef3b3dc866784204a02682c18285d19896cfb3b2122ed1e824ce683c)
Unable to find image 'ocaml/opam:alpine-3.22-ocaml-5.4@sha256:efaaa7bdef3b3dc866784204a02682c18285d19896cfb3b2122ed1e824ce683c' locally
docker.io/ocaml/opam@sha256:efaaa7bdef3b3dc866784204a02682c18285d19896cfb3b2122ed1e824ce683c: Pulling from ocaml/opam
2c9a24bd0ce4: Already exists
0c236c5e7457: Pulling fs layer
a29438dfdd1c: Pulling fs layer
b45b8f11a859: Pulling fs layer
9e78e28ec2b4: Pulling fs layer
13993310a8e3: Pulling fs layer
eb1b3aaf663d: Pulling fs layer
eb1b3aaf663d: Waiting
9e78e28ec2b4: Waiting
13993310a8e3: Waiting
a29438dfdd1c: Verifying Checksum
a29438dfdd1c: Download complete
0c236c5e7457: Verifying Checksum
0c236c5e7457: Download complete
0c236c5e7457: Pull complete
a29438dfdd1c: Pull complete
13993310a8e3: Download complete
eb1b3aaf663d: Verifying Checksum
eb1b3aaf663d: Download complete
9e78e28ec2b4: Verifying Checksum
9e78e28ec2b4: Download complete
b45b8f11a859: Download complete
b45b8f11a859: Pull complete
9e78e28ec2b4: Pull complete
13993310a8e3: Pull complete
eb1b3aaf663d: Pull complete
Digest: sha256:efaaa7bdef3b3dc866784204a02682c18285d19896cfb3b2122ed1e824ce683c
Status: Downloaded newer image for ocaml/opam@sha256:efaaa7bdef3b3dc866784204a02682c18285d19896cfb3b2122ed1e824ce683c
2025-11-10 12:41.14 ---> using "eb37ed49d03fa61aa0ddffe0b03ea2c7c83b5e9312dd9850b4959e1b60563649" 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-11-10 12:41.14 ---> using "48e8f38d7eb31e04f9abf0b362f9da2ffc22e869187b9493b127e038174573f8" 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-11-10 12:41.14 ---> using "2779c071b3aa0a1158bc6438dda07bfed076e4610af11b960ac88cc7e7d051bd" 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~alpha1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=alpine os-version=3.22.2
# 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-11-10 12:41.14 ---> using "a239afba405d972e10f1966d85e4b0d16c79afa239d2634712eec448ca5c4d16" 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-11-10 12:41.14 ---> using "435068515ab1586e1786de67048bb5b6c9acc0cba6d3c6e5e570b4e4ab8c9984" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-10 12:41.43 ---> saved as "a7710e8a43c6ba82e156ab041a67b378ddc3795975c1c161c549a55a32205b87"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-10 12:42.16 ---> saved as "6f923fdc5a3627974e2b04badca46efca00f67fa2b4b1f4bda9655e96fa4ce6b"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.22.2-172-ge6bdca47b2e [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-166-gebde2617572 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v20251016-1927-g48290b09546 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20251016-1931-ga4a370d28f6 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20251016-1924-g65079a05d5b [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 60029 distinct packages available
2025-11-10 12:42.25 ---> saved as "bbeb96f23458baba2278b2c5fce001e85ffd222e196e723c20bbc9752ba11077"
/home/opam: (run (shell "opam pin add -k version -yn orxgboost.1.2.0 1.2.0"))
orxgboost is now pinned to version 1.2.0
2025-11-10 12:42.28 ---> saved as "c9f7580e66861a5babfd458db57b3b309fa4ead39631bb97cf18104197284042"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall orxgboost.1.2.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 \"\\\"alpine-3.22\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'orxgboost.1.2.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
orxgboost.1.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 3 packages
- install conf-r 1.0.0 [required by orxgboost]
- install dune 3.20.2 [required by orxgboost]
- install orxgboost 1.2.0 (pinned)
The following system packages will first need to be installed:
R
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run apk to install them (may need root/sudo access)
2. Display the recommended apk command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "apk" "add" "R"
- (1/37) Installing R-mathlib (4.5.0-r0)
- (2/37) Installing tzdata (2025b-r0)
- (3/37) Installing libquadmath (14.2.0-r6)
- (4/37) Installing libgfortran (14.2.0-r6)
- (5/37) Installing openblas (0.3.28-r0)
- (6/37) Installing libxext (1.3.6-r2)
- (7/37) Installing libice (1.1.2-r0)
- (8/37) Installing libuuid (2.41-r9)
- (9/37) Installing libsm (1.2.5-r0)
- (10/37) Installing libxt (1.3.1-r0)
- (11/37) Installing libxmu (1.2.1-r0)
- (12/37) Installing libxrender (0.9.12-r0)
- (13/37) Installing libpng (1.6.47-r0)
- (14/37) Installing freetype (2.13.3-r0)
- (15/37) Installing fontconfig (2.15.0-r3)
- (16/37) Installing pixman (0.46.4-r0)
- (17/37) Installing cairo (1.18.4-r0)
- (18/37) Installing libdeflate (1.23-r0)
- (19/37) Installing libintl (0.24.1-r0)
- (20/37) Installing libeconf (0.6.3-r0)
- (21/37) Installing libblkid (2.41-r9)
- (22/37) Installing libmount (2.41-r9)
- (23/37) Installing glib (2.84.4-r0)
- (24/37) Installing icu-data-en (76.1-r1)
- Executing icu-data-en-76.1-r1.post-install
- *
- * If you need ICU with non-English locales and legacy charset support, install
- * package icu-data-full.
- *
- (25/37) Installing icu-libs (76.1-r1)
- (26/37) Installing libjpeg-turbo (3.1.0-r0)
- (27/37) Installing libxft (2.3.8-r3)
- (28/37) Installing fribidi (1.0.16-r1)
- (29/37) Installing graphite2 (1.3.14-r6)
- (30/37) Installing harfbuzz (11.2.1-r0)
- (31/37) Installing pango (1.56.3-r0)
- (32/37) Installing tcl (8.6.16-r0)
- (33/37) Installing libsharpyuv (1.5.0-r0)
- (34/37) Installing libwebp (1.5.0-r0)
- (35/37) Installing tiff (4.7.1-r0)
- (36/37) Installing tk (8.6.16-r0)
- (37/37) Installing R (4.5.0-r0)
- Executing R-4.5.0-r0.post-install
- *
- * If you want to install R packages from CRAN that contains native extensions,
- * then you must also install R-dev.
- *
- * To avoid warnings about R.css when installing R extensions also install R-doc.
- *
- Executing busybox-1.37.0-r19.trigger
- Executing glib-2.84.4-r0.trigger
- OK: 405 MiB in 140 packages
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-r.1.0.0 (cached)
-> installed conf-r.1.0.0
-> retrieved dune.3.20.2 (cached)
-> retrieved orxgboost.1.2.0 (cached)
-> installed dune.3.20.2
[ERROR] The compilation of orxgboost.1.2.0 failed at "dune build -p orxgboost -j 71".
#=== ERROR while compiling orxgboost.1.2.0 ====================================#
# context 2.5.0~alpha1 | linux/x86_64 | ocaml-base-compiler.5.4.0 | pinned(https://github.com/UnixJunkie/orxgboost/archive/v1.2.0.tar.gz)
# path ~/.opam/5.4/.opam-switch/build/orxgboost.1.2.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p orxgboost -j 71
# exit-code 1
# env-file ~/.opam/log/orxgboost-7-34310d.env
# output-file ~/.opam/log/orxgboost-7-34310d.out
### output ###
# File "src/dune", line 5, characters 23-28:
# 5 | (libraries batteries dolog))
# ^^^^^
# Error: Library "dolog" not found.
# -> required by library "orxgboost" in _build/default/src
# -> required by _build/default/META.orxgboost
# -> required by _build/install/default/lib/orxgboost/META
# -> required by _build/default/orxgboost.install
# -> required by alias install
# File "src/dune", line 16, characters 51-57:
# 16 | (libraries minicli dolog batteries cpm orxgboost parany))
# ^^^^^^
# Error: Library "parany" not found.
# -> required by _build/default/src/model.exe
# -> required by _build/install/default/bin/orxgboost_model
# -> required by _build/default/orxgboost.install
# -> required by alias install
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build orxgboost 1.2.0
+-
+- The following changes have been performed
| - install conf-r 1.0.0
| - install dune 3.20.2
+-
<><> orxgboost.1.2.0 troubleshooting ><><><><><><><><><><><><><><><><><><><><><>
=> Please interact with R to install needed things in user-space:
R
install.packages('Marix', repos='http://cran.r-project.org')
install.packages('xgboost', repos='http://cran.r-project.org')
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/5.4/.opam-switch/backup/state-20251110124229.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall orxgboost.1.2.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 "\"alpine-3.22\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'orxgboost.1.2.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 1
2025-11-10 12:49.05: Job failed: Failed: Build failed
2025-11-10 12:49.05: Log analysis:
2025-11-10 12:49.05: >>>
[ERROR] The compilation of orxgboost.1.2.0 failed at "dune build -p orxgboost -j 71".
(score = 20)
2025-11-10 12:49.05: >>>
# Error: Library "dolog" not found.
(score = 48)
2025-11-10 12:49.05: >>>
# Error: Library "parany" not found.
(score = 48)
2025-11-10 12:49.05: Library "dolog" not found.