- github
- ocaml
- opam-repository
- 52729b
- distributions,debian-12-ocaml-5.4,flint.0.4.2
(not at the head of any monitored branch or PR)
2025-12-09 21:30.52: New job: build flint.0.4.2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28935/head (52729bb8d87544615b6b51da763607debc3b5c6c)
on debian-12-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/28935/head" && git reset --hard 52729bb8
git fetch origin master
git merge --no-edit d684c896eb6f7e6030d6ee65338d9db22a612f01
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.4@sha256:bd8d663a0c66570edf0ca5c57e4577998662299f20d3c4cc8a83c1863670a8ea
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 flint.0.4.2 0.4.2
RUN opam reinstall flint.0.4.2; \
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-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'flint.0.4.2' && 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-12-09 21:30.52: Using cache hint "ocaml/opam:debian-12-ocaml-5.4@sha256:bd8d663a0c66570edf0ca5c57e4577998662299f20d3c4cc8a83c1863670a8ea-flint.0.4.2-52729bb8d87544615b6b51da763607debc3b5c6c"
2025-12-09 21:30.52: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.4@sha256:bd8d663a0c66570edf0ca5c57e4577998662299f20d3c4cc8a83c1863670a8ea)
(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 flint.0.4.2 0.4.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall flint.0.4.2;\
\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-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'flint.0.4.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-12-09 21:30.52: Waiting for resource in pool OCluster
2025-12-09 23:30.27: Waiting for worker…
2025-12-09 23:34.20: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 99% (18824/18999)
Updating files: 100% (18999/18999)
Updating files: 100% (18999/18999), done.
HEAD is now at d684c896eb Merge pull request #29052 from balat/maintenance
Merge made by the 'ort' strategy.
packages/conf-flint/conf-flint.3.0/opam | 15 ++++++++---
packages/flint/flint.0.4.2/opam | 48 +++++++++++++++++++++++++++++++++
2 files changed, 59 insertions(+), 4 deletions(-)
create mode 100644 packages/flint/flint.0.4.2/opam
(from ocaml/opam:debian-12-ocaml-5.4@sha256:bd8d663a0c66570edf0ca5c57e4577998662299f20d3c4cc8a83c1863670a8ea)
2025-12-09 23:35.20 ---> saved as "5849b108cfe0492ddf16e3dd1a95b9407cb5aae44058d2c54c8faee309371d93"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-09 23:35.20 ---> saved as "5a30dfc6b8c8b4378880c2d4cd1530275610c11f8dbaba9ccb947accd39b6af7"
/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
2025-12-09 23:35.47 ---> saved as "56ab269e97070e7467f9c5701cbc260429fd63e2c89eb24adddd2d12b902be79"
/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=12
# 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-12-09 23:35.48 ---> saved as "89f818f5dc4ef92d30e6d3b8ce724ae046226fac0163a38c918111f15aeffd09"
/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-12-09 23:35.57 ---> saved as "c3c46ee002440a743dc60d9726f2528ad52f93ca39115694867fcbecf6156bee"
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-09 23:36.18 ---> saved as "1452fb50f71590ac9bddd954d48ce7abdc70f238f0dc29a977f60a8ada6e4495"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-09 23:36.41 ---> saved as "774976c6f2014461819841821999bf63b0f899c794c34fdc0c82568312f6727e"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [289 kB]
- Fetched 393 kB in 0s (1106 kB/s)
- Reading package lists...
-
2025-12-09 23:36.42 ---> saved as "7f134d2b5aee7e1f9dbe8b1c5a409db8f8f16461efc9d3438181f96e3d2cb8d3"
/home/opam: (run (shell "opam pin add -k version -yn flint.0.4.2 0.4.2"))
flint is now pinned to version 0.4.2
2025-12-09 23:36.43 ---> saved as "69a4bfbe99cb5fcdf1deff7a8929a8ac243973f23b9b372b1a8ed9e3620be2b3"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall flint.0.4.2;\
\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-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'flint.0.4.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
flint.0.4.2 is not installed. Install it? [Y/n] y
* Missing dependency:
- flint >= 0.4.2 -> conf-flint >= 3.0
unmet availability conditions: '!(os-distribution = "ubuntu" & os-version < "24.04") & !(os-distribution = "debian" & os-version <= "12") & !(os-family = "fedora" & os-version <= "39") & !(os-family = "suse")'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall flint.0.4.2;
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-12\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'flint.0.4.2' && 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-12-09 23:37.36: Job failed: Failed: Build failed
2025-12-09 23:37.36: Log analysis:
2025-12-09 23:37.36: >>>
No solution found, exiting
(score = 100)
2025-12-09 23:37.36: [SKIP] Package not available