- github
- ocaml
- opam-repository
- 840d56
- compilers,4.08,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 debian-13-ocaml-4.08/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:debian-13-ocaml-4.08@sha256:a510550c23009b33e34238c8a828793dfe7f6b8bb66ec4f467d25d4a1acab682
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 "\"debian-13\""; 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:debian-13-ocaml-4.08@sha256:a510550c23009b33e34238c8a828793dfe7f6b8bb66ec4f467d25d4a1acab682-ocgtk.0.1~preview0-840d56c72781bfe3e8253de0d7b9dbc81365b87c"
2026-04-05 06:24.23: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:a510550c23009b33e34238c8a828793dfe7f6b8bb66ec4f467d25d4a1acab682)
(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 \"\\\"debian-13\\\"\"; 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.24: Got resource from pool OCluster
Building on clete.caelum.ci.dev
HEAD is now at 6fe655b1b5 Merge commit '4b172f8fb04e73775fb03ade1369a3fe5802d19c'
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:debian-13-ocaml-4.08@sha256:a510550c23009b33e34238c8a828793dfe7f6b8bb66ec4f467d25d4a1acab682)
2026-04-05 06:24.27 ---> using "03661d444d68d7e21e2debd0ea2fe998a0fc94f201dcaaaf503cf475d16580fa" 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:24.27 ---> using "64ae95efc96b72042dd664bb970750e0fdb249afbd4a8eddd8e7e94b027cbfa4" 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:24.27 ---> using "a800abd05d327c3caa04f5dd53334bdc94208777d8d5d02ee4a60d42e9515fdc" 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=debian os-version=13
# 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.08
# invariant ["ocaml-base-compiler" {= "4.08.1"}]
# compiler-packages ocaml-base-compiler.4.08.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.08/lib/ocaml/stublibs:/home/opam/.opam/4.08/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.08.1
2026-04-05 06:24.27 ---> using "c24c814b6322b141aa177077414f315779ebdb03111e19adc3e8db833838fa9b" 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:24.27 ---> using "08c72bef81a0638f1f86074444fee41df943539d213f2800b1fa1fe4e0b364ee" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-05 06:24.40 ---> saved as "7236258f33dfee19eab65d676c1377169087c5b3d123024bad739d071968e2ec"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-05 06:24.56 ---> saved as "6faad22e5dbc84d6176770b5b31ef7ea16df62c1d0d2b69bd664cfa47bc6f1ec"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [119 kB]
- Fetched 210 kB in 0s (2121 kB/s)
- Reading package lists...
2026-04-05 06:24.57 ---> saved as "69538d6514533b507c755e82aa3977e3f9b45eb48c47146a9e69fb14d099e424"
/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:24.59 ---> saved as "1e7cf90a6f6e5dd870129de7d448381fca8ff9901311beccd0874c5692e1d882"
/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 \"\\\"debian-13\\\"\"; 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
* No agreement on the version of ocaml:
- (invariant) -> ocaml-base-compiler = 4.08.1 -> ocaml = 4.08.1
- ocgtk -> ocaml >= 5.3
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 4.08.1
- ocgtk -> ocaml >= 5.3 -> ocaml-variants >= 5.3.0~
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 "\"debian-13\""; 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:25.15: Job failed: Failed: Build failed
2026-04-05 06:25.15: Log analysis:
2026-04-05 06:25.15: >>>
No solution found, exiting
(score = 100)
2026-04-05 06:25.15: [SKIP] Package not available