Build:
- 1
- 0
2026-02-20 12:07.39: New job: build ocaml-solo5.1.2.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29425/head (56393c852ecc97bd2af91ac2eb29f999c7a71fca)
on centos-9-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/29425/head" && git reset --hard 56393c85
git fetch origin master
git merge --no-edit b820e8c25e0dea7a5ce86f961c182a44938fa39a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-9-ocaml-5.4@sha256:1d0e03393907db1226cc0ea7778476df31215fefcce1a784cee6b1314ff4aef4
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 ocaml-solo5.1.2.1 1.2.1
RUN opam reinstall ocaml-solo5.1.2.1; \
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-9\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocaml-solo5.1.2.1' && 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 .
2026-02-20 12:07.39: Using cache hint "ocaml/opam:centos-9-ocaml-5.4@sha256:1d0e03393907db1226cc0ea7778476df31215fefcce1a784cee6b1314ff4aef4-ocaml-solo5.1.2.1-56393c852ecc97bd2af91ac2eb29f999c7a71fca"
2026-02-20 12:07.39: Using OBuilder spec:
((from ocaml/opam:centos-9-ocaml-5.4@sha256:1d0e03393907db1226cc0ea7778476df31215fefcce1a784cee6b1314ff4aef4)
(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 ocaml-solo5.1.2.1 1.2.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-solo5.1.2.1;\
\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-9\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocaml-solo5.1.2.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-02-20 12:07.39: Waiting for resource in pool OCluster
2026-02-20 12:07.39: Waiting for worker…
2026-02-20 12:09.21: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 64% (11763/18293)
Updating files: 65% (11891/18293)
Updating files: 66% (12074/18293)
Updating files: 67% (12257/18293)
Updating files: 68% (12440/18293)
Updating files: 69% (12623/18293)
Updating files: 70% (12806/18293)
Updating files: 71% (12989/18293)
Updating files: 72% (13171/18293)
Updating files: 73% (13354/18293)
Updating files: 74% (13537/18293)
Updating files: 75% (13720/18293)
Updating files: 76% (13903/18293)
Updating files: 77% (14086/18293)
Updating files: 78% (14269/18293)
Updating files: 79% (14452/18293)
Updating files: 80% (14635/18293)
Updating files: 81% (14818/18293)
Updating files: 82% (15001/18293)
Updating files: 83% (15184/18293)
Updating files: 84% (15367/18293)
Updating files: 85% (15550/18293)
Updating files: 86% (15732/18293)
Updating files: 87% (15915/18293)
Updating files: 88% (16098/18293)
Updating files: 89% (16281/18293)
Updating files: 90% (16464/18293)
Updating files: 91% (16647/18293)
Updating files: 92% (16830/18293)
Updating files: 93% (17013/18293)
Updating files: 94% (17196/18293)
Updating files: 95% (17379/18293)
Updating files: 96% (17562/18293)
Updating files: 97% (17745/18293)
Updating files: 98% (17928/18293)
Updating files: 99% (18111/18293)
Updating files: 100% (18293/18293)
Updating files: 100% (18293/18293), done.
HEAD is now at b820e8c25e Merge pull request #29435 from dx3mod/opam-publish-serialport.0.3
Merge made by the 'ort' strategy.
.../ocaml-solo5-cross-aarch64.1.2.1/opam | 60 ++++++++++++++++++++++
packages/ocaml-solo5/ocaml-solo5.1.2.1/opam | 58 +++++++++++++++++++++
2 files changed, 118 insertions(+)
create mode 100644 packages/ocaml-solo5-cross-aarch64/ocaml-solo5-cross-aarch64.1.2.1/opam
create mode 100644 packages/ocaml-solo5/ocaml-solo5.1.2.1/opam
(from ocaml/opam:centos-9-ocaml-5.4@sha256:1d0e03393907db1226cc0ea7778476df31215fefcce1a784cee6b1314ff4aef4)
2026-02-20 12:13.33 ---> saved as "6b9c97e711dabae625cc3a32c76a9c3630dca4e76e67a48fba29926ff2883818"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-02-20 12:13.33 ---> saved as "6bc9fce4825f21661f56afef60a7a69724e0161e954a0a755a6c808869baf673"
/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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-02-20 12:14.04 ---> saved as "b2fbb9941cbe3ea40b29c07586a39cf15dda80c4fa3963d757ac9f390dbc7076"
/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
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=centos os-version=9
# 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
2026-02-20 12:14.05 ---> saved as "26b47f2515a84467e19979548d65cd111ac9dfd92ee9829e8fde07f161763db6"
/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/"))
2026-02-20 12:14.17 ---> saved as "a233ef4f6350559f02ebb20aae675127d2f90e0ae9995a3c34b1bdf81a2d7c44"
/home/opam: (copy (src .) (dst opam-repository/))
2026-02-20 12:14.39 ---> saved as "4191927377e71b95f523aa14ed85ce7ce5f9c160ebadb94b210bb18891b30b33"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-20 12:14.59 ---> saved as "77caa618690f7d5cbe1cf98383ec19974c1eb142125a408ec50fcbe9f3f1866f"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 9 - BaseOS 104 kB/s | 15 kB 00:00
- CentOS Stream 9 - BaseOS 13 MB/s | 8.9 MB 00:00
- CentOS Stream 9 - AppStream 107 kB/s | 15 kB 00:00
- CentOS Stream 9 - AppStream 7.9 MB/s | 27 MB 00:03
- CentOS Stream 9 - CRB 102 kB/s | 14 kB 00:00
- CentOS Stream 9 - CRB 9.2 MB/s | 7.8 MB 00:00
- CentOS Stream 9 - Extras packages 114 kB/s | 16 kB 00:00
- Metadata cache created.
2026-02-20 12:15.22 ---> saved as "e724c4459416ee1e3493471256d20d773b00639a32bc124107eb37d0b0ea4bfb"
/home/opam: (run (shell "opam pin add -k version -yn ocaml-solo5.1.2.1 1.2.1"))
ocaml-solo5 is now pinned to version 1.2.1
2026-02-20 12:15.22 ---> saved as "29a89387e5e87fd9f6d14bb962374b2fc89570cc7fbc282cef75ea81f24aed3d"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-solo5.1.2.1;\
\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-9\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocaml-solo5.1.2.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocaml-solo5.1.2.1 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 5.4.0
- ocaml-solo5 >= 1.2.1 -> ocaml = 5.4.1 -> ocaml-variants < 5.4.2~
You can temporarily relax the switch invariant with `--update-invariant'
* Missing dependency:
- ocaml-solo5 >= 1.2.1 -> ocaml = 5.4.1 -> ocaml-variants < 5.4.2~ -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- ocaml-solo5 >= 1.2.1 -> ocaml = 5.4.1 -> ocaml-variants < 5.4.2~ -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall ocaml-solo5.1.2.1;
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-9\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'ocaml-solo5.1.2.1' && 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
2026-02-20 12:15.44: Job failed: Failed: Build failed
2026-02-20 12:15.44: Log analysis:
2026-02-20 12:15.44: >>>
No solution found, exiting
(score = 100)
2026-02-20 12:15.44: [SKIP] Package not available