- github
- ocaml
- opam-repository
- 840d56
- distributions,centos-10-ocaml-4.14,ocgtk.0.1~preview0
(not at the head of any monitored branch or PR)
2026-04-05 06:24.23: New job: build ocgtk.0.1~preview0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29623/head (840d56c72781bfe3e8253de0d7b9dbc81365b87c)
on centos-10-ocaml-4.14/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/29623/head" && git reset --hard 840d56c7
git fetch origin master
git merge --no-edit 58be49813ccd4678f5762ae269409e93bce1ce7c
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-10-ocaml-4.14@sha256:32422050db692ac71f553498139a751b7c5df8376d557ce5b54d88b8d620c228
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 ocgtk.0.1~preview0 0.1~preview0
RUN opam reinstall ocgtk.0.1~preview0; \
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" != 'ocgtk.0.1~preview0' && 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-04-05 06:24.23: Using cache hint "ocaml/opam:centos-10-ocaml-4.14@sha256:32422050db692ac71f553498139a751b7c5df8376d557ce5b54d88b8d620c228-ocgtk.0.1~preview0-840d56c72781bfe3e8253de0d7b9dbc81365b87c"
2026-04-05 06:24.23: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-4.14@sha256:32422050db692ac71f553498139a751b7c5df8376d557ce5b54d88b8d620c228)
(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 ocgtk.0.1~preview0 0.1~preview0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocgtk.0.1~preview0;\
\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\" != 'ocgtk.0.1~preview0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-04-05 06:24.23: Waiting for resource in pool OCluster
2026-04-05 06:24.24: Waiting for worker…
2026-04-05 06:24.25: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 58be49813c Merge pull request #29649 from jmid/add-binsec-ocaml-bounds
Merge made by the 'ort' strategy.
packages/conf-gtk4/conf-gtk4.1/opam | 49 ++++++++++++++++++++++++++++++++++
packages/ocgtk/ocgtk.0.1~preview0/opam | 48 +++++++++++++++++++++++++++++++++
2 files changed, 97 insertions(+)
create mode 100644 packages/conf-gtk4/conf-gtk4.1/opam
create mode 100644 packages/ocgtk/ocgtk.0.1~preview0/opam
(from ocaml/opam:centos-10-ocaml-4.14@sha256:32422050db692ac71f553498139a751b7c5df8376d557ce5b54d88b8d620c228)
2026-04-05 06:25.33 ---> using "ad16e668c2ffe629eb6ea704ed29389fb1003e7005f3338f79755e622cb88b34" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-05 06:25.33 ---> using "3f51d1a777e82d6cb79e8421e451c59a85eccc40b3d811a7b95aecf7c7bf06f5" 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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-05 06:25.33 ---> using "b17a65944bfd864438a222a5f1c7cdd405dc651f1b66548ca1c953a5f0443c9b" 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
# 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 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.3"}]
# compiler-packages ocaml-base-compiler.4.14.3, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.3
2026-04-05 06:25.33 ---> using "528670d9dedccc44ff9c9d6593d3c132808a23015ea1d1b1a91f900c66bca9bb" 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/"))
2026-04-05 06:25.33 ---> using "bd0c52de7db744f190256fb776466fcc054ff8c2ce38ab7cb4a20794f1f8a572" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-05 06:25.44 ---> saved as "078158c7b4aa8b91b07affdd453af7b961794331bb55b004994083c1134db385"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-05 06:26.00 ---> saved as "4bca932f5b0166cb16e7a1fceb760e84efff260a0610d99fa37c2e9461082312"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS 83 kB/s | 15 kB 00:00
- CentOS Stream 10 - BaseOS 199 kB/s | 6.9 MB 00:35
- CentOS Stream 10 - AppStream 9.5 kB/s | 15 kB 00:01
- CentOS Stream 10 - AppStream 236 kB/s | 3.6 MB 00:15
- CentOS Stream 10 - CRB 92 kB/s | 15 kB 00:00
- CentOS Stream 10 - CRB 142 kB/s | 834 kB 00:05
- CentOS Stream 10 - Extras packages 121 kB/s | 17 kB 00:00
- Metadata cache created.
2026-04-05 06:27.03 ---> saved as "1a3ea02ed2775d585314b134ae50762ba140059d37e945542bbfa7bfe153cbf8"
/home/opam: (run (shell "opam pin add -k version -yn ocgtk.0.1~preview0 0.1~preview0"))
ocgtk is now pinned to version 0.1~preview0
2026-04-05 06:27.04 ---> saved as "be80f5bbb974fb8678b2b74090fc2c5a54e3ec7a8185c165ee3b8d8619343c25"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocgtk.0.1~preview0;\
\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\" != 'ocgtk.0.1~preview0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocgtk.0.1~preview0 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 4.14.3
- ocgtk -> ocaml >= 5.3 -> ocaml-variants < 5.6.1~
You can temporarily relax the switch invariant with `--update-invariant'
* Missing dependency:
- ocgtk -> ocaml >= 5.3 -> ocaml-variants < 5.3.1~ -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- ocgtk -> ocaml >= 5.3 -> ocaml-variants < 5.3.1~ -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall ocgtk.0.1~preview0;
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" != 'ocgtk.0.1~preview0' && 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-04-05 06:27.18: Job failed: Failed: Build failed
2026-04-05 06:27.18: Log analysis:
2026-04-05 06:27.18: >>>
No solution found, exiting
(score = 100)
2026-04-05 06:27.18: [SKIP] Package not available