- github
- ocaml
- opam-repository
- 10f9fa
- compilers,5.0,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-12-ocaml-5.0/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-12-ocaml-5.0@sha256:3639b0369c1365e5688b3318ea57c589d753f411a9a2147ec9d470eafe17aa83
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-12\""; 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-12-ocaml-5.0@sha256:3639b0369c1365e5688b3318ea57c589d753f411a9a2147ec9d470eafe17aa83-conf-mpfr.3-10f9fad9250e8b9724f84f94733080c5f8a2a4e4"
2025-06-10 17:27.19: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.0@sha256:3639b0369c1365e5688b3318ea57c589d753f411a9a2147ec9d470eafe17aa83)
(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-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\" != '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.21: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
Updating files: 95% (22230/23220)
Updating files: 96% (22292/23220)
Updating files: 97% (22524/23220)
Updating files: 98% (22756/23220)
Updating files: 99% (22988/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-12-ocaml-5.0@sha256:3639b0369c1365e5688b3318ea57c589d753f411a9a2147ec9d470eafe17aa83)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.0@sha256:3639b0369c1365e5688b3318ea57c589d753f411a9a2147ec9d470eafe17aa83' locally
docker.io/ocaml/opam@sha256:3639b0369c1365e5688b3318ea57c589d753f411a9a2147ec9d470eafe17aa83: Pulling from ocaml/opam
Digest: sha256:3639b0369c1365e5688b3318ea57c589d753f411a9a2147ec9d470eafe17aa83
Status: Downloaded newer image for ocaml/opam@sha256:3639b0369c1365e5688b3318ea57c589d753f411a9a2147ec9d470eafe17aa83
2025-06-10 17:28.10 ---> using "a2414a6f608ac4cdabf86ebfa8b29ed41ee0634b73f69fd9805c8a2dc084b158" 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.10 ---> using "91878539005aad13d557b6b4236c3fb2d6c84ada394e986b8b495864606a9195" 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 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.
Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 71 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=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-10 17:28.10 ---> using "dd458691a5633f95462e7cb627f7fc90b18275aca881f5b453e749f722e89030" 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=12
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.0
# invariant ["ocaml-base-compiler" {= "5.0.0"}]
# compiler-packages ocaml-base-compiler.5.0.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.0/lib/ocaml/stublibs:/home/opam/.opam/5.0/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.0.0
2025-06-10 17:28.10 ---> using "ca474f1362839b578c72935217e672181c81c420d98b94be48f9630b7f76bbdc" 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.10 ---> using "d37af1a5463f3674a61954d88c12aafa5bfc8221e21a16f535992d3fb5342202" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-10 17:28.17 ---> saved as "2d2b38dded3f0474782096988c728f404a19e85c0bf00150fde5b86e103aaa36"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-10 17:28.39 ---> saved as "7c579d8bff4b1d785a670f76470d55f4f424a599c6b56e4ed780287131061582"
/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 [266 kB]
- Fetched 369 kB in 0s (1325 kB/s)
- Reading package lists...
2025-06-10 17:28.40 ---> saved as "85fd58cee3b8884db13abd1e09b254386775ae480518d9a4a46c4a144c578eec"
/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:28.41 ---> saved as "d89690ffe55442964584fadb9e89a86d9528f2ef14de4d65f9ca706733d9d53f"
/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-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\" != '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 libgmpxx4ldbl: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 ... 18745 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libmpfr-dev:amd64.
- Preparing to unpack .../2-libmpfr-dev_4.2.0-1_amd64.deb ...
- Unpacking libmpfr-dev:amd64 (4.2.0-1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../3-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../4-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../5-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../6-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libmpfr-dev:amd64 (4.2.0-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...
<><> 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:28.45 ---> saved as "6141c5740fedb40ae97e73bcaf9f153a1879fc727eb6bd5865bd3e8e6def886b"
Job succeeded
2025-06-10 17:28.54: Job succeeded