- github
- ocaml
- opam-repository
- 52729b
- distributions,ubuntu-22.04-ocaml-4.14,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 ubuntu-22.04-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/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-4.14@sha256:59440b767af440d0ca70443b4994e0a307f95c73f3422d16f0b3daed57649351
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 "\"ubuntu-22.04\""; 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:ubuntu-22.04-ocaml-4.14@sha256:59440b767af440d0ca70443b4994e0a307f95c73f3422d16f0b3daed57649351-flint.0.4.2-52729bb8d87544615b6b51da763607debc3b5c6c"
2025-12-09 21:30.52: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:59440b767af440d0ca70443b4994e0a307f95c73f3422d16f0b3daed57649351)
(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 \"\\\"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\" != '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.59: Waiting for worker…
2025-12-09 23:34.43: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files: 95% (18238/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-4.14@sha256:59440b767af440d0ca70443b4994e0a307f95c73f3422d16f0b3daed57649351)
2025-12-09 23:35.06 ---> saved as "03248b153d70cc5fd232ca0045c61032e924c8422ca3d60d054124edec9fe717"
/: (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.06 ---> saved as "7b6ab2fb7e127ab03b05798f10f4775792842395441ae4c90f3d26d523620388"
/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.35 ---> saved as "fbb6066b3682ffe03a92363371ea2728d2a221a965a05fe5712106e5e07fc63b"
/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 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, 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.2
2025-12-09 23:35.36 ---> saved as "f1535a529e230b923a442cfa11fbc89e940236d117efaa386506b54448a031ab"
/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.48 ---> saved as "48e27a6ccf73f24ae5492ce59e0a2900cfcd800d09bf66784127a6e5b626be42"
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-09 23:35.59 ---> saved as "36aa062d0f349a3f7cd5c29747dac6b6957333df9442e660fedd4530095c23e3"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-09 23:36.21 ---> saved as "59b23954c0e69707ca85c484b861f0cc1cfcae2b7cfbd2861a5874f20225a136"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:4 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3573 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1287 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1598 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [6287 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3904 kB]
- Fetched 17.0 MB in 3s (5569 kB/s)
- Reading package lists...
-
2025-12-09 23:36.26 ---> saved as "ae08af47ef77f1597f72c95e71d5db43eed70c5f0be4c5173ad07ee141a342a6"
/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.27 ---> saved as "a91b97962e061ceba2afe4e94ed4ab5f13400924910d90103caad6543c764397"
/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 \"\\\"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\" != '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 "\"ubuntu-22.04\""; 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:36.51: Job failed: Failed: Build failed
2025-12-09 23:36.51: Log analysis:
2025-12-09 23:36.51: >>>
No solution found, exiting
(score = 100)
2025-12-09 23:36.51: [SKIP] Package not available