- github
- ocaml
- opam-repository
- 10f9fa
- extras,opam-2.1-ocaml-5.3,conf-libev.4-11
(not at the head of any monitored branch or PR)
2025-06-10 17:27.19: New job: build conf-libev.4-11, using opam 2.1
from https://github.com/ocaml/opam-repository.git#refs/pull/28011/head (10f9fad9250e8b9724f84f94733080c5f8a2a4e4)
on debian-12-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-12-ocaml-5.3@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e
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-libev.4-11 4-11
RUN opam reinstall conf-libev.4-11; \
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-libev.4-11' && 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.3@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e-conf-libev.4-11-10f9fad9250e8b9724f84f94733080c5f8a2a4e4"
2025-06-10 17:27.19: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e)
(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-libev.4-11 4-11"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-libev.4-11;\
\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-libev.4-11' && 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.23: Waiting for worker…
2025-06-10 17:29.54: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 91% (21146/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-5.3@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e' locally
docker.io/ocaml/opam@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e: Pulling from ocaml/opam
Digest: sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e
Status: Downloaded newer image for ocaml/opam@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e
2025-06-10 17:29.59 ---> using "96697d8e79983291d560edbf731c893ea129e422e8dda14986eae24c3f7015ce" 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:29.59 ---> using "dfd5c3f586dfab0f2ba16ff75096b1aeeaa844782b385f4638c33eead4dcde2d" 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:29.59 ---> using "5eb0ebb42f249593a29bb29268c1ac7d88771a3aadb715d0ac0fc91e0eb08578" 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 5.3
# 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:29.59 ---> using "1d021b7f6022890487c232f98c59a6506db97d0eeaf859ecd9b220adce269576" 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:29.59 ---> using "40096cb0a65a693784f76ec92095201691ad381467d67e696ceaf2b5369bdaba" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-10 17:30.24 ---> saved as "6cffb1bbcb85f60c943d00dfee4e4aa840f9d3534c3061ed54b243c3c1b56eca"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-10 17:30.40 ---> saved as "8e0ce473d7f764b5b5a163b594ed0e47f7c0686fbf014a4fb0686c0869796365"
/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 (333 kB/s)
- Reading package lists...
2025-06-10 17:30.42 ---> saved as "538d8afcac34b02d5b448a2374f239f74a658625b1d890dd3841848f29237219"
/home/opam: (run (shell "opam pin add -k version -yn conf-libev.4-11 4-11"))
conf-libev is now pinned to version 4-11
2025-06-10 17:30.42 ---> saved as "fb658a504c2881161a4aa07d08edb0ddc0106da144da29e61c2e7f52631398ca"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-libev.4-11;\
\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-libev.4-11' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
conf-libev.4-11 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install conf-libev 4-11*
The following system packages will first need to be installed:
libev-dev
<><> 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" "libev-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libev4: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 .../libev4_1%3a4.33-1_amd64.deb ...
- Unpacking libev4:amd64 (1:4.33-1) ...
- Selecting previously unselected package libev-dev:amd64.
- Preparing to unpack .../libev-dev_1%3a4.33-1_amd64.deb ...
- Unpacking libev-dev:amd64 (1:4.33-1) ...
- Setting up libev4:amd64 (1:4.33-1) ...
- Setting up libev-dev:amd64 (1:4.33-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-libev.4-11 (cached)
-> installed conf-libev.4-11
Done.
# Run eval $(opam env) to update the current shell environment
2025-06-10 17:30.58 ---> saved as "3353582d0458d2392f18ea671ed232c936d3f9470a4afb73b979ad8983cb1847"
Job succeeded
2025-06-10 17:31.09: Job succeeded