- github
- ocaml
- opam-repository
- 10f9fa
- distributions,debian-11-ocaml-5.3,conf-mpfr.3
(not at the head of any monitored branch or PR)
2025-06-10 17:27.19: New job: build conf-mpfr.3, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/28011/head (10f9fad9250e8b9724f84f94733080c5f8a2a4e4)
on debian-11-ocaml-5.3/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/28011/head" && git reset --hard 10f9fad9
git fetch origin master
git merge --no-edit 6db96b377f993aa0c7ffb5c06737929e583f3305
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-11-ocaml-5.3@sha256:bb9ff64fc0a30e6efc4bba2533e68fcfe1fdcbcca0b32765c1a0a4dc2592c933
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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-mpfr.3 3
RUN opam reinstall conf-mpfr.3; \
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-11\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'conf-mpfr.3' && 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-06-10 17:27.19: Using cache hint "ocaml/opam:debian-11-ocaml-5.3@sha256:bb9ff64fc0a30e6efc4bba2533e68fcfe1fdcbcca0b32765c1a0a4dc2592c933-conf-mpfr.3-10f9fad9250e8b9724f84f94733080c5f8a2a4e4"
2025-06-10 17:27.19: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-5.3@sha256:bb9ff64fc0a30e6efc4bba2533e68fcfe1fdcbcca0b32765c1a0a4dc2592c933)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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-mpfr.3 3"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-mpfr.3;\
\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-11\\\"\"; 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-mpfr.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-06-10 17:27.19: Waiting for resource in pool OCluster
2025-06-10 17:27.21: Waiting for worker…
2025-06-10 17:27.25: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files: 99% (23136/23220)
Updating files: 100% (23220/23220)
Updating files: 100% (23220/23220), done.
HEAD is now at 6db96b377f Merge pull request #28003 from punchagan/opam-publish-opam-ci-check-lint.0.1
Updating 6db96b377f..10f9fad925
Fast-forward
packages/conf-cairo/conf-cairo.1/opam | 2 +-
packages/conf-clang/conf-clang.1/opam | 1 +
packages/conf-gtk3/conf-gtk3.18/opam | 7 +++++--
packages/conf-libev/conf-libev.4-11/opam | 1 +
packages/conf-mpfr/conf-mpfr.3/opam | 1 +
packages/omake/omake.0.10.3/opam | 2 +-
packages/omake/omake.0.10.5/opam | 2 +-
packages/omake/omake.0.10.6/opam | 2 +-
packages/omake/omake.0.10.7/opam | 2 +-
9 files changed, 13 insertions(+), 7 deletions(-)
(from ocaml/opam:debian-11-ocaml-5.3@sha256:bb9ff64fc0a30e6efc4bba2533e68fcfe1fdcbcca0b32765c1a0a4dc2592c933)
Unable to find image 'ocaml/opam:debian-11-ocaml-5.3@sha256:bb9ff64fc0a30e6efc4bba2533e68fcfe1fdcbcca0b32765c1a0a4dc2592c933' locally
docker.io/ocaml/opam@sha256:bb9ff64fc0a30e6efc4bba2533e68fcfe1fdcbcca0b32765c1a0a4dc2592c933: Pulling from ocaml/opam
056895620c2b: Pulling fs layer
6143800e639f: Pulling fs layer
5bd0dc830042: Pulling fs layer
9f5ac25905fa: Pulling fs layer
40be7d10be5e: Pulling fs layer
15287d89be19: Pulling fs layer
b0da01b27760: Pulling fs layer
31680ecc01a4: Pulling fs layer
40be7d10be5e: Waiting
b0da01b27760: Waiting
15287d89be19: Waiting
31680ecc01a4: Waiting
9f5ac25905fa: Waiting
6143800e639f: Verifying Checksum
6143800e639f: Download complete
5bd0dc830042: Verifying Checksum
5bd0dc830042: Download complete
9f5ac25905fa: Verifying Checksum
9f5ac25905fa: Download complete
b0da01b27760: Verifying Checksum
b0da01b27760: Download complete
31680ecc01a4: Download complete
40be7d10be5e: Verifying Checksum
40be7d10be5e: Download complete
056895620c2b: Verifying Checksum
056895620c2b: Download complete
056895620c2b: Pull complete
6143800e639f: Pull complete
5bd0dc830042: Pull complete
9f5ac25905fa: Pull complete
40be7d10be5e: Pull complete
15287d89be19: Pull complete
b0da01b27760: Pull complete
31680ecc01a4: Pull complete
Digest: sha256:bb9ff64fc0a30e6efc4bba2533e68fcfe1fdcbcca0b32765c1a0a4dc2592c933
Status: Downloaded newer image for ocaml/opam@sha256:bb9ff64fc0a30e6efc4bba2533e68fcfe1fdcbcca0b32765c1a0a4dc2592c933
2025-06-10 17:28.59 ---> using "923794cf071481968755bca5f8fb939ba638f0e5adc3039ce330be9e7e13b9de" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-10 17:28.59 ---> using "719dd79556829b382c003aba2ddbc5e70238823a05fe05564cd272e5908ca173" 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.
Continue? [y/n] y
This development 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.
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-10 17:28.59 ---> using "538fc044e5fb25da06472b6267527414b9a29731dace714385b9cf6352a40f10" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=11
# 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.3
# invariant ["ocaml-base-compiler" {= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0
2025-06-10 17:28.59 ---> using "d5456cce79427814d78e2a51b3a370aa7a724aded7f4134d2c8db1326b014434" 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-06-10 17:28.59 ---> using "a39cf218d3506bad31b3424b75ce396fea740c2f33cfbb7885384cdaa9ee53eb" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-10 17:29.13 ---> saved as "31b729c1a61766d5e9784af6ce6f4a6e611c4994c20424818d0d36211901b03c"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-10 17:29.38 ---> saved as "88e9f5b3a58a7cf7c4255aecaabb98f1ec503f100148e9b77eea6b2cc6a900fe"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
- Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [380 kB]
- Fetched 452 kB in 1s (706 kB/s)
- Reading package lists...
-
2025-06-10 17:29.40 ---> saved as "8c6ed05959a5c222204769f2bc0ae16ca5aebcb24d953c53d672583a53a857ff"
/home/opam: (run (shell "opam pin add -k version -yn conf-mpfr.3 3"))
conf-mpfr is now pinned to version 3
2025-06-10 17:29.42 ---> saved as "d8b207d21404d8b42ae313f4a77d5828bb72ab931958bd6b71c41f268ef7a92d"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-mpfr.3;\
\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-11\\\"\"; 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-mpfr.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
conf-mpfr.3 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 3 packages
- install conf-gmp 5 [required by conf-mpfr]
- install conf-mpfr 3 (pinned)
- install conf-pkg-config 4 [required by conf-mpfr]
The following system packages will first need to be installed:
libgmp-dev libmpfr-dev pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "libmpfr-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0:amd64.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18367 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.66.8-1+deb11u6_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.66.8-1+deb11u6) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.66.8-1+deb11u6_all.deb ...
- Unpacking libglib2.0-data (2.66.8-1+deb11u6) ...
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- Preparing to unpack .../2-libgmpxx4ldbl_2%3a6.2.1+dfsg-1+deb11u1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-1+deb11u1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../3-libgmp-dev_2%3a6.2.1+dfsg-1+deb11u1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg-1+deb11u1) ...
- Selecting previously unselected package libicu67:amd64.
- Preparing to unpack .../4-libicu67_67.1-7_amd64.deb ...
- Unpacking libicu67:amd64 (67.1-7) ...
- Selecting previously unselected package libmpfr-dev:amd64.
- Preparing to unpack .../5-libmpfr-dev_4.1.0-3_amd64.deb ...
- Unpacking libmpfr-dev:amd64 (4.1.0-3) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../6-libxml2_2.9.10+dfsg-6.7+deb11u7_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u7) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../7-pkg-config_0.29.2-1_amd64.deb ...
- Unpacking pkg-config (0.29.2-1) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../8-shared-mime-info_2.0-1_amd64.deb ...
- Unpacking shared-mime-info (2.0-1) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../9-xdg-user-dirs_0.17-2_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2) ...
- Setting up libicu67:amd64 (67.1-7) ...
- Setting up xdg-user-dirs (0.17-2) ...
- Setting up libglib2.0-0:amd64 (2.66.8-1+deb11u6) ...
- No schema files found: doing nothing.
- Setting up libglib2.0-data (2.66.8-1+deb11u6) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-1+deb11u1) ...
- Setting up pkg-config (0.29.2-1) ...
- Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u7) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg-1+deb11u1) ...
- Setting up libmpfr-dev:amd64 (4.1.0-3) ...
- Setting up shared-mime-info (2.0-1) ...
- Processing triggers for libc-bin (2.31-13+deb11u13) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.5 (cached)
-> retrieved conf-mpfr.3 (cached)
-> installed conf-pkg-config.4
-> installed conf-gmp.5
-> installed conf-mpfr.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-10 17:29.56 ---> saved as "023822961d693f93b52fbf7bacc7305f1488802dc1069450829c2fda779bd732"
Job succeeded
2025-06-10 17:30.09: Job succeeded