- github
- ocaml
- opam-repository
- f93a3f
- extras,opam-2.0-ocaml-5.3,conf-hg.1.0
(not at the head of any monitored branch or PR)
2025-06-09 12:17.16: New job: build conf-hg.1.0, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/27999/head (f93a3ffeb845659b4f803b7842e0460504e39b82)
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/27999/head" && git reset --hard f93a3ffe
git fetch origin master
git merge --no-edit 0cf4ef69228d3f272dad03ba2fb74d186d65c751
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:0cdf63dc41dff0c0494301e36537dc505c8709574e9f469e1007cdcda10d9885
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn conf-hg.1.0 1.0
RUN opam depext conf-hg.1.0 && opam reinstall conf-hg.1.0; \
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-hg.1.0' && 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-09 12:17.16: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:0cdf63dc41dff0c0494301e36537dc505c8709574e9f469e1007cdcda10d9885-conf-hg.1.0-f93a3ffeb845659b4f803b7842e0460504e39b82"
2025-06-09 12:17.16: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:0cdf63dc41dff0c0494301e36537dc505c8709574e9f469e1007cdcda10d9885)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "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 depext -u || true"))
(run (shell "opam pin add -k version -yn conf-hg.1.0 1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext conf-hg.1.0 && opam reinstall conf-hg.1.0;\
\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-hg.1.0' && 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-09 12:17.16: Waiting for resource in pool OCluster
2025-06-09 12:17.16: Waiting for worker…
2025-06-09 12:17.17: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 0cf4ef6922 Merge pull request #27978 from psafont/release-qcow-0.12.1
Merge made by the 'ort' strategy.
packages/conf-hg/conf-hg.1.0/opam | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 packages/conf-hg/conf-hg.1.0/opam
(from ocaml/opam:debian-12-ocaml-5.3@sha256:0cdf63dc41dff0c0494301e36537dc505c8709574e9f469e1007cdcda10d9885)
2025-06-09 12:18.48 ---> using "0d6009597d4cd5c6e2fc2f171b02a7d6489a864d448f83a5732d0b3910a8b64d" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-06-09 12:18.48 ---> using "58f46c1e95eed2de973a59ce00b98e9e2b252456887fc16762ef5fecc5d5a326" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.
[WARNING] Recommended dependencies -- most packages rely on these:
- m4
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-06-09 12:18.48 ---> using "f7ffa6e9cc5201a1352216738210480d73c6343faef1d208689c8983b482d517" from cache
/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version 2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-mccs+glpk
# install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria -removed,-count[version-lag,solution],-new
# jobs 39
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
2025-06-09 12:18.48 ---> using "fffb0137d1e2161f79e4342a5e5618041faece92203b000d3d0fcba1aa2eb04f" 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-09 12:18.48 ---> using "d1856f21e21a5c883fecbbcfd6bb8a15791794e8d7f2db2de742fbcac6bf9c5c" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-09 12:18.54 ---> saved as "7fa2ddddacabd74c6c4de7a51d62876e0fc93be7974256240fd341702be447b7"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-06-09 12:19.07 ---> saved as "f8ea0a80490da250971bcd9cc9acebd2473589b6d6c57d432a1fdfeac314755d"
/home/opam: (run (network host)
(shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 (1348 kB/s)
Reading package lists...
# OS package update successful
2025-06-09 12:19.08 ---> saved as "4ea3cd6a38fa20bfc04fa106aa0d6606e0fb11ca7b222cb34ceae625af301f61"
/home/opam: (run (shell "opam pin add -k version -yn conf-hg.1.0 1.0"))
conf-hg is now pinned to version 1.0
2025-06-09 12:19.09 ---> saved as "bb8622ef3a31b626788b6b8702d943f84333ab59f73070e215c1c3e350053c56"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext conf-hg.1.0 && opam reinstall conf-hg.1.0;\
\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-hg.1.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
mercurial
The following command needs to be run through "sudo":
apt-get install -qq -yy mercurial
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libpython3.11-minimal: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 .../libpython3.11-minimal_3.11.2-6+deb12u6_amd64.deb ...
Unpacking libpython3.11-minimal:amd64 (3.11.2-6+deb12u6) ...
Selecting previously unselected package python3.11-minimal.
Preparing to unpack .../python3.11-minimal_3.11.2-6+deb12u6_amd64.deb ...
Unpacking python3.11-minimal (3.11.2-6+deb12u6) ...
Setting up libpython3.11-minimal:amd64 (3.11.2-6+deb12u6) ...
Setting up python3.11-minimal (3.11.2-6+deb12u6) ...
Selecting previously unselected package python3-minimal.
(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 ... 19083 files and directories currently installed.)
Preparing to unpack .../python3-minimal_3.11.2-1+b1_amd64.deb ...
Unpacking python3-minimal (3.11.2-1+b1) ...
Selecting previously unselected package media-types.
Preparing to unpack .../media-types_10.0.0_all.deb ...
Unpacking media-types (10.0.0) ...
Selecting previously unselected package libpython3.11-stdlib:amd64.
Preparing to unpack .../libpython3.11-stdlib_3.11.2-6+deb12u6_amd64.deb ...
Unpacking libpython3.11-stdlib:amd64 (3.11.2-6+deb12u6) ...
Selecting previously unselected package python3.11.
Preparing to unpack .../python3.11_3.11.2-6+deb12u6_amd64.deb ...
Unpacking python3.11 (3.11.2-6+deb12u6) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../libpython3-stdlib_3.11.2-1+b1_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.11.2-1+b1) ...
Setting up python3-minimal (3.11.2-1+b1) ...
Selecting previously unselected package python3.
(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 ... 19493 files and directories currently installed.)
Preparing to unpack .../python3_3.11.2-1+b1_amd64.deb ...
Unpacking python3 (3.11.2-1+b1) ...
Selecting previously unselected package sensible-utils.
Preparing to unpack .../sensible-utils_0.0.17+nmu1_all.deb ...
Unpacking sensible-utils (0.0.17+nmu1) ...
Selecting previously unselected package ucf.
Preparing to unpack .../ucf_3.0043+nmu1+deb12u1_all.deb ...
Moving old data out of the way
Unpacking ucf (3.0043+nmu1+deb12u1) ...
Selecting previously unselected package mercurial-common.
Preparing to unpack .../mercurial-common_6.3.2-1+deb12u1_all.deb ...
Unpacking mercurial-common (6.3.2-1+deb12u1) ...
Selecting previously unselected package mercurial.
Preparing to unpack .../mercurial_6.3.2-1+deb12u1_amd64.deb ...
Unpacking mercurial (6.3.2-1+deb12u1) ...
Setting up media-types (10.0.0) ...
Setting up libpython3.11-stdlib:amd64 (3.11.2-6+deb12u6) ...
Setting up sensible-utils (0.0.17+nmu1) ...
Setting up libpython3-stdlib:amd64 (3.11.2-1+b1) ...
Setting up python3.11 (3.11.2-6+deb12u6) ...
Setting up python3 (3.11.2-1+b1) ...
running python rtupdate hooks for python3.11...
running python post-rtupdate hooks for python3.11...
Setting up ucf (3.0043+nmu1+deb12u1) ...
Setting up mercurial-common (6.3.2-1+deb12u1) ...
Setting up mercurial (6.3.2-1+deb12u1) ...
Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version
# OS packages installation successful
conf-hg.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install conf-hg 1.0*
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-hg.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-06-09 12:19.22 ---> saved as "0c045b581b173440210be8a65792d35ce45569c4474ebb0b2ba3f7101d755877"
Job succeeded
2025-06-09 12:19.29: Job succeeded