- github
- ocaml
- opam-repository
- 52729b
- distributions,ubuntu-22.04-ocaml-5.4,conf-flint.3.0
(not at the head of any monitored branch or PR)
2025-12-09 21:30.52: New job: build conf-flint.3.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28935/head (52729bb8d87544615b6b51da763607debc3b5c6c)
on ubuntu-22.04-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:ubuntu-22.04-ocaml-5.4@sha256:d60b3c8c9c64203f38fdd93bff0c31603bd5312fea7999ac4c8919b50ca7e798
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 conf-flint.3.0 3.0
RUN opam reinstall conf-flint.3.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 "\"ubuntu-22.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'conf-flint.3.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-12-09 21:30.52: Using cache hint "ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:d60b3c8c9c64203f38fdd93bff0c31603bd5312fea7999ac4c8919b50ca7e798-conf-flint.3.0-52729bb8d87544615b6b51da763607debc3b5c6c"
2025-12-09 21:30.52: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:d60b3c8c9c64203f38fdd93bff0c31603bd5312fea7999ac4c8919b50ca7e798)
(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 conf-flint.3.0 3.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-flint.3.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 \"\\\"ubuntu-22.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'conf-flint.3.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-12-09 21:30.52: Waiting for resource in pool OCluster
2025-12-09 23:30.10: Waiting for worker…
2025-12-09 23:33.36: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files: 70% (13486/18999)
Updating files: 71% (13490/18999)
Updating files: 72% (13680/18999)
Updating files: 73% (13870/18999)
Updating files: 74% (14060/18999)
Updating files: 75% (14250/18999)
Updating files: 76% (14440/18999)
Updating files: 77% (14630/18999)
Updating files: 78% (14820/18999)
Updating files: 79% (15010/18999)
Updating files: 80% (15200/18999)
Updating files: 81% (15390/18999)
Updating files: 82% (15580/18999)
Updating files: 83% (15770/18999)
Updating files: 84% (15960/18999)
Updating files: 85% (16150/18999)
Updating files: 86% (16340/18999)
Updating files: 87% (16530/18999)
Updating files: 88% (16720/18999)
Updating files: 89% (16910/18999)
Updating files: 90% (17100/18999)
Updating files: 91% (17290/18999)
Updating files: 92% (17480/18999)
Updating files: 93% (17670/18999)
Updating files: 94% (17860/18999)
Updating files: 95% (18050/18999)
Updating files: 96% (18240/18999)
Updating files: 97% (18430/18999)
Updating files: 98% (18620/18999)
Updating files: 99% (18810/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:ubuntu-22.04-ocaml-5.4@sha256:d60b3c8c9c64203f38fdd93bff0c31603bd5312fea7999ac4c8919b50ca7e798)
2025-12-09 23:33.40 ---> using "b23cc54ce458d5c1ad3170c611909d36e415aa8ea2f8776d9783095948ad802c" 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-12-09 23:33.40 ---> using "f9f8eb94038cf8b8b6071779fd916877e84dba8081f639794a8ee274d42fd89a" 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
2025-12-09 23:33.40 ---> using "554331229d9c7ecf4fac8701484f43a5ab1c7ae6aa06abd8bd71e5db7f145584" 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=ubuntu os-version=22.04
# 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:33.40 ---> using "44b354688bdaee142a64e02889def0bbb6264e9ab161ba57b42f1df73de15000" 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-12-09 23:33.40 ---> using "0281c79026957d861c7db0c3d74b0892d1127a38bf6fab12f80754d405f8852d" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-09 23:34.17 ---> saved as "bfa70cab8f0a9d9332cb1e852e5f48e2e15d630c4608d4c9ad45fcafee5eba0f"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-09 23:34.36 ---> saved as "3ae44f0c89b473d553f6cb199bbf70f0ab139c9688ee35000ac0e7a107d578d9"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:4 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1287 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3573 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3904 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [6287 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1598 kB]
- Fetched 17.0 MB in 2s (8280 kB/s)
- Reading package lists...
-
2025-12-09 23:34.41 ---> saved as "8a1f8b4984c918cbee93860776f5bbddc67774e96605f54ec11d3a6d6e82fb0b"
/home/opam: (run (shell "opam pin add -k version -yn conf-flint.3.0 3.0"))
conf-flint is now pinned to version 3.0
2025-12-09 23:34.42 ---> saved as "49f39c8f83dad65026c9a622927a12b87d3877217206f6ee24068978852c3a05"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-flint.3.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 \"\\\"ubuntu-22.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'conf-flint.3.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
[ERROR] 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")'
"/usr/bin/env" "bash" "-c" "opam reinstall conf-flint.3.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 "\"ubuntu-22.04\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'conf-flint.3.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 5
2025-12-09 23:34.53: Job failed: Failed: Build failed
2025-12-09 23:34.53: Log analysis:
2025-12-09 23:34.53: >>>
[ERROR] 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")'
(score = 100)
2025-12-09 23:34.53: [SKIP] Package not available