- github
- ocaml
- opam-repository
- 10f9fa
- extras,opam-2.1-ocaml-4.14,conf-mpfr.3
(not at the head of any monitored branch or PR)
2025-06-10 17:27.20: New job: build conf-mpfr.3, using opam 2.1
from https://github.com/ocaml/opam-repository.git#refs/pull/28011/head (10f9fad9250e8b9724f84f94733080c5f8a2a4e4)
on debian-12-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/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-4.14@sha256:483ad21d779c01615f15084a5f82173baaa47820587729faca9fb7ad645f50be
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.1 /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.20: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:483ad21d779c01615f15084a5f82173baaa47820587729faca9fb7ad645f50be-conf-mpfr.3-10f9fad9250e8b9724f84f94733080c5f8a2a4e4"
2025-06-10 17:27.20: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:483ad21d779c01615f15084a5f82173baaa47820587729faca9fb7ad645f50be)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /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.20: Waiting for resource in pool OCluster
2025-06-10 17:27.28: Waiting for worker…
2025-06-10 17:30.15: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files: 76% (17745/23220)
Updating files: 77% (17880/23220)
Updating files: 78% (18112/23220)
Updating files: 79% (18344/23220)
Updating files: 80% (18576/23220)
Updating files: 81% (18809/23220)
Updating files: 82% (19041/23220)
Updating files: 83% (19273/23220)
Updating files: 84% (19505/23220)
Updating files: 85% (19737/23220)
Updating files: 86% (19970/23220)
Updating files: 87% (20202/23220)
Updating files: 88% (20434/23220)
Updating files: 89% (20666/23220)
Updating files: 90% (20898/23220)
Updating files: 91% (21131/23220)
Updating files: 92% (21363/23220)
Updating files: 93% (21595/23220)
Updating files: 94% (21827/23220)
Updating files: 95% (22059/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-4.14@sha256:483ad21d779c01615f15084a5f82173baaa47820587729faca9fb7ad645f50be)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:483ad21d779c01615f15084a5f82173baaa47820587729faca9fb7ad645f50be' locally
docker.io/ocaml/opam@sha256:483ad21d779c01615f15084a5f82173baaa47820587729faca9fb7ad645f50be: Pulling from ocaml/opam
2f15651b245f: Already exists
fc0daf3d8315: Already exists
402a2d69c44b: Already exists
ba638ec86666: Already exists
f3600031dd65: Already exists
Digest: sha256:483ad21d779c01615f15084a5f82173baaa47820587729faca9fb7ad645f50be
Status: Downloaded newer image for ocaml/opam@sha256:483ad21d779c01615f15084a5f82173baaa47820587729faca9fb7ad645f50be
2025-06-10 17:30.52 ---> using "d2a5d53d37f66f6f5c7aad091614b30735c874c67d8308d229ed194879752021" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2025-06-10 17:30.52 ---> using "f705527fb8641e9165c822e689ef05845f103ae8715c0df521c4e57589719663" 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.1, 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-06-10 17:30.52 ---> using "3119d3159772550ef840b745b4014e8d2747c112e50555d75b555ebd717f849d" 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.1.6 (263921263e1f745613e2882745114b7b08f3608b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-0install
# install-criteria
# upgrade-criteria
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# 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-06-10 17:30.52 ---> using "d8885c7847bd921cef731667b8e52b15af932a8b8adace351666162824d41795" 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:30.52 ---> using "369ae6de739f5df20e992ebf7ee63268116b9bfe270183138a562a8b720bc1f5" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-10 17:31.10 ---> saved as "a11380c6dec54d46276890dd7fec2600be2ee96af86ad3d2ffaa7532668eb9e9"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-10 17:31.27 ---> saved as "7448bbc553d81e87cef9eebb6a1d4294caf7262f3af931b7d52ca461b727ff39"
/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 1s (667 kB/s)
- Reading package lists...
-
2025-06-10 17:31.29 ---> saved as "efb2511c343510aafe3a4d920b908e1fde56fd046f5d3649e4fb5f62a4ec7572"
/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:31.30 ---> saved as "fdc44ff9bdcad1202f68340cb165f89d97e1139beae24696cc290e4200d64ea6"
/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 conf-pkg-config 4 [required by conf-mpfr]
- install conf-gmp 5 [required by conf-mpfr]
- install conf-mpfr 3*
===== 3 to install =====
The following system packages will first need to be installed:
libgmp-dev libmpfr-dev pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /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-gmp.5
-> installed conf-pkg-config.4
-> installed conf-mpfr.3
Done.
# Run eval $(opam env) to update the current shell environment
2025-06-10 17:31.45 ---> saved as "8d34b858fa5fc743ca519f2631ea857a77a80c82a9a0e9cebd982a50a2d8a311"
Job succeeded
2025-06-10 17:31.54: Job succeeded