- github
- ocaml
- opam-repository
- c2749f
- compilers,5.2,lem.2025-03-13,lower-bounds
(not at the head of any monitored branch or PR)
2025-03-13 14:19.12: New job: build lem.2025-03-13, lower-bounds, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27619/head (c2749f906dc47b8393bd361121c04d0fea91e450)
on debian-12-ocaml-5.2/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/27619/head" && git reset --hard c2749f90
git fetch origin master
git merge --no-edit 906fb78ee221e4b7676dcd2285fb6d40cbdc59f2
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:77476874e94d3d5824f2fa1ec6ec286816653ab05d3ff42ae39ebaf9e357a7c9
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 lem.2025-03-13 2025-03-13
RUN opam reinstall lem.2025-03-13; \
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" != 'lem.2025-03-13' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
ENV OPAMCRITERIA="+removed,+count[version-lag,solution]"
ENV OPAMFIXUPCRITERIA="+removed,+count[version-lag,solution]"
ENV OPAMUPGRADECRITERIA="+removed,+count[version-lag,solution]"
RUN opam reinstall lem.2025-03-13; \
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" != 'lem.2025-03-13' && 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-03-13 14:19.12: Using cache hint "ocaml/opam:debian-12-ocaml-5.2@sha256:77476874e94d3d5824f2fa1ec6ec286816653ab05d3ff42ae39ebaf9e357a7c9-lem.2025-03-13-c2749f906dc47b8393bd361121c04d0fea91e450"
2025-03-13 14:19.12: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:77476874e94d3d5824f2fa1ec6ec286816653ab05d3ff42ae39ebaf9e357a7c9)
(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 lem.2025-03-13 2025-03-13"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lem.2025-03-13;\
\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\" != 'lem.2025-03-13' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(env OPAMCRITERIA +removed,+count[version-lag,solution])
(env OPAMFIXUPCRITERIA +removed,+count[version-lag,solution])
(env OPAMUPGRADECRITERIA +removed,+count[version-lag,solution])
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lem.2025-03-13;\
\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\" != 'lem.2025-03-13' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-03-13 14:19.12: Waiting for resource in pool OCluster
2025-03-13 14:19.13: Waiting for worker…
2025-03-13 14:24.18: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at 906fb78ee2 Merge pull request #27594 from mbarbin/dunolint
Updating 906fb78ee2..c2749f906d
Fast-forward
packages/lem/lem.2025-03-13/opam | 52 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
create mode 100644 packages/lem/lem.2025-03-13/opam
(from ocaml/opam:debian-12-ocaml-5.2@sha256:77476874e94d3d5824f2fa1ec6ec286816653ab05d3ff42ae39ebaf9e357a7c9)
2025-03-13 14:24.21 ---> using "bbe7b62ae6618a9b4d70d0f83675c299f0901f586901fca7a5e0d866f6d2a455" 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-03-13 14:24.21 ---> using "00ceeed35976b016ab14327c3a0ec076aab0180a9c25f940d7c9b80e6fd3c51c" 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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-03-13 14:24.21 ---> using "3577f5b80d491127537e7e51fcb00d93ed4d7583626ba7d2c6cd72817dfb3abb" 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.4.0~alpha1~dev (f1cf50f2711981a605f81a80c68b73774d5841ff)
# 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 39
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.2
# invariant ["ocaml-base-compiler" {= "5.2.1"}]
# compiler-packages ocaml-base-compiler.5.2.1, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.2/lib/ocaml/stublibs:/home/opam/.opam/5.2/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.2.1
2025-03-13 14:24.21 ---> using "ff51256eb5a0b24a5aca48c112bdddaec68fb2c478fd05fba685eb813312d3a8" 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-03-13 14:24.26 ---> saved as "2c893d70bd6444280ff6bb1f5cec764ea67710eea30beaa9b2febe20f30a303b"
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-13 14:24.33 ---> saved as "48530bb1d222d795eb30e461d024f72102e0b0157a5e011c98370c1d2211c9c9"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-13 14:25.16 ---> saved as "8a75c579f375f2edc2cb4c9a62552ddde0b71c7945d7efa4caf8fced574d2a5d"
/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 [246 kB]
- Fetched 349 kB in 0s (1189 kB/s)
- Reading package lists...
-
2025-03-13 14:25.17 ---> saved as "54f81ce681cebc9f416bf6cdcaf1c0fb4a1ae39fa370da2867185299c51a97c0"
/home/opam: (run (shell "opam pin add -k version -yn lem.2025-03-13 2025-03-13"))
lem is now pinned to version 2025-03-13
2025-03-13 14:25.18 ---> saved as "855e7d52da65502fd19290b4ef42a00ff50f4254412063ee742f197eb088f9d1"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lem.2025-03-13;\
\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\" != 'lem.2025-03-13' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
lem.2025-03-13 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 8 packages
- install conf-findutils 1 [required by lem]
- install conf-gmp 4 [required by zarith]
- install conf-pkg-config 4 [required by zarith]
- install lem 2025-03-13 (pinned)
- install num 1.5-1 [required by lem]
- install ocamlbuild 0.16.1 [required by lem]
- install ocamlfind 1.9.8 [required by lem]
- install zarith 1.14 [required by lem]
The following system packages will first need to be installed:
libgmp-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" "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 ... 18776 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 libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-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 pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.4 (cached)
-> retrieved lem.2025-03-13 (cached)
-> installed conf-findutils.1
-> installed conf-gmp.4
-> installed conf-pkg-config.4
-> retrieved num.1.5-1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved zarith.1.14 (cached)
-> installed num.1.5-1
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed lem.2025-03-13
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-13 14:26.39 ---> saved as "c9417845c0e28e6cccc2537a8e6414c64d8edf9cc434cfc330e4a0470fbdc1b1"
/home/opam: (env OPAMCRITERIA +removed,+count[version-lag,solution])
/home/opam: (env OPAMFIXUPCRITERIA +removed,+count[version-lag,solution])
/home/opam: (env OPAMUPGRADECRITERIA +removed,+count[version-lag,solution])
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lem.2025-03-13;\
\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\" != 'lem.2025-03-13' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
=== remove 1 package
- remove conf-pkg-config 4
=== downgrade 5 packages
- downgrade conf-gmp 4 to 1 [required by zarith]
- downgrade num 1.5-1 to 1.0 [required by lem]
- downgrade ocamlbuild 0.16.1 to 0.14.3 [required by lem]
- downgrade ocamlfind 1.9.8 to 1.9.5 [required by lem]
- downgrade zarith 1.14 to 1.4 [required by lem]
=== recompile 1 package
- recompile lem 2025-03-13 (pinned)
=== install 1 package
- install conf-perl 1 [required by zarith]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.1 (cached)
-> retrieved num.1.0 (cached)
-> installed conf-perl.1
-> retrieved ocamlbuild.0.14.3 (cached)
-> retrieved ocamlfind.1.9.5 (cached)
-> retrieved zarith.1.4 (cached)
-> removed lem.2025-03-13
-> removed num.1.5-1
-> removed ocamlbuild.0.16.1
-> removed zarith.1.14
-> removed conf-gmp.4
-> removed conf-pkg-config.4
-> removed ocamlfind.1.9.8
-> installed conf-gmp.1
-> installed ocamlbuild.0.14.3
-> installed ocamlfind.1.9.5
-> installed num.1.0
-> installed zarith.1.4
-> installed lem.2025-03-13
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-13 14:27.59 ---> saved as "d849eb966f4eb20bbf3ca2b2ca6e4cfd865e8630ae3212eb513d3d89f6b9a0c4"
Job succeeded
2025-03-13 14:28.04: Job succeeded