- github
- ocaml
- opam-repository
- f93a3f
- distributions,archlinux-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 dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27999/head (f93a3ffeb845659b4f803b7842e0460504e39b82)
on archlinux-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:archlinux-ocaml-5.3@sha256:56be3069a7c0fca308449e164ff448638d118cea589092bfd1d233a3059ab453
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 conf-hg.1.0 1.0
RUN 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 "\"archlinux\""; 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:archlinux-ocaml-5.3@sha256:56be3069a7c0fca308449e164ff448638d118cea589092bfd1d233a3059ab453-conf-hg.1.0-f93a3ffeb845659b4f803b7842e0460504e39b82"
2025-06-09 12:17.16: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.3@sha256:56be3069a7c0fca308449e164ff448638d118cea589092bfd1d233a3059ab453)
(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 conf-hg.1.0 1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "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 \"\\\"archlinux\\\"\"; 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 laodoke.caelum.ci.dev
All commits already cached
Updating files: 86% (19990/23219)
Updating files: 87% (20201/23219)
Updating files: 88% (20433/23219)
Updating files: 89% (20665/23219)
Updating files: 90% (20898/23219)
Updating files: 91% (21130/23219)
Updating files: 92% (21362/23219)
Updating files: 93% (21594/23219)
Updating files: 94% (21826/23219)
Updating files: 95% (22059/23219)
Updating files: 96% (22291/23219)
Updating files: 97% (22523/23219)
Updating files: 98% (22755/23219)
Updating files: 99% (22987/23219)
Updating files: 100% (23219/23219)
Updating files: 100% (23219/23219), done.
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:archlinux-ocaml-5.3@sha256:56be3069a7c0fca308449e164ff448638d118cea589092bfd1d233a3059ab453)
2025-06-09 12:18.00 ---> using "87dadbc5c7e3c15e51b48b824a3c68b8b534d3b511685241e59ab86629dcd26a" 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-06-09 12:18.00 ---> using "096c05ef55beb006387b84d7e27fa47516d2d661aaa422b056293a0e06ca66aa" 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.
Continue? [Y/n] y
This 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.
[NOTE] The 'jobs' option was reset, its value was 31 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=31 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-09 12:18.00 ---> using "d4b02818a7e1fdad8742b281d8691ca5387378a756b1c314eacb2cc4e56356a8" 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~alpha2
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=arch os-version=20250525.0.354646
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
# invariant ["ocaml-base-compiler" {= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# 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-09 12:18.00 ---> using "650669458fe6214b23b36013752b813298a57bad57b1b665586e2595edf00b3c" 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.00 ---> using "42999cdd3b18b0359aebc56a80799969a926e733278ba9bdfd6ab2a1241d6663" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-09 12:18.11 ---> saved as "8eb45aa88cb8f55f3290def0aa3f3ff06d5c4c7691cf5c2e36761d9a4d033e7f"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-09 12:18.37 ---> saved as "f24682770e3aace4f5fe5c9114fbb7dd95aa12af796d6bf9e0b816675947ad90"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
- core downloading...
- extra downloading...
2025-06-09 12:18.38 ---> saved as "f6e5e89ff5342e23b9dd2eec67ae95c7d92f67c7771221047d3dab53a66f3058"
/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:18.39 ---> saved as "3feb3a08a11d2d9192ad11897991577b5124af097a7be6bf99d837fc288c4742"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "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 \"\\\"archlinux\\\"\"; 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"))
conf-hg.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
∗ conf-hg 1.0 (pinned)
The following system packages will first need to be installed:
mercurial
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run pacman to install them (may need root/sudo access)
2. Display the recommended pacman 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/sbin/sudo "pacman" "-Su" "--noconfirm" "mercurial"
- :: Starting full system upgrade...
- resolving dependencies...
- looking for conflicting packages...
-
- Package (16) Old Version New Version Net Change Download Size
-
- core/audit 4.0.3-1 4.0.5-1 0.02 MiB 0.40 MiB
- core/curl 8.14.0-2 8.14.1-1 0.00 MiB 1.18 MiB
- core/gnupg 2.4.7-2 2.4.7-3 0.00 MiB 2.78 MiB
- core/gpgme 1.24.3-2 2.0.0-1 -0.56 MiB 0.31 MiB
- core/hwdata 0.395-1 0.396-1 0.04 MiB 1.64 MiB
- core/iputils 20240905-1 20250605-1 0.08 MiB 0.14 MiB
- core/kbd 2.7.1-2 2.8.0-1 0.01 MiB 1.23 MiB
- core/leancrypto 1.3.0-1 1.4.0-1 0.99 MiB 1.28 MiB
- core/libarchive 3.8.0-1 3.8.1-1 0.00 MiB 0.55 MiB
- core/libusb 1.0.28-1 1.0.29-1 0.00 MiB 0.07 MiB
- core/mpdecimal 4.0.1-1 0.33 MiB 0.10 MiB
- core/pacman 7.0.0.r6.gc685ae6-2 7.0.0.r6.gc685ae6-6 0.00 MiB 0.90 MiB
- core/python 3.13.3-1 67.42 MiB 12.25 MiB
- core/readline 8.2.013-1 8.2.013-2 0.00 MiB 0.32 MiB
- core/sqlite 3.50.0-1 3.50.1-1 0.00 MiB 2.23 MiB
- extra/mercurial 7.0.2-1 33.74 MiB 6.00 MiB
-
- Total Download Size: 31.36 MiB
- Total Installed Size: 157.28 MiB
- Net Upgrade Size: 102.08 MiB
-
- :: Proceed with installation? [Y/n]
- :: Retrieving packages...
- python-3.13.3-1-x86_64 downloading...
- mercurial-7.0.2-1-x86_64 downloading...
- gnupg-2.4.7-3-x86_64 downloading...
- sqlite-3.50.1-1-x86_64 downloading...
- hwdata-0.396-1-any downloading...
- leancrypto-1.4.0-1-x86_64 downloading...
- kbd-2.8.0-1-x86_64 downloading...
- curl-8.14.1-1-x86_64 downloading...
- pacman-7.0.0.r6.gc685ae6-6-x86_64 downloading...
- libarchive-3.8.1-1-x86_64 downloading...
- audit-4.0.5-1-x86_64 downloading...
- readline-8.2.013-2-x86_64 downloading...
- gpgme-2.0.0-1-x86_64 downloading...
- iputils-20250605-1-x86_64 downloading...
- mpdecimal-4.0.1-1-x86_64 downloading...
- libusb-1.0.29-1-x86_64 downloading...
- checking keyring...
- checking package integrity...
- loading package files...
- checking for file conflicts...
- :: Processing package changes...
- installing mpdecimal...
- upgrading readline...
- upgrading sqlite...
- installing python...
- Optional dependencies for python
- python-setuptools: for building Python packages using tooling that is usually bundled with Python
- python-pip: for installing Python packages using tooling that is usually bundled with Python
- python-pipx: for installing Python software not packaged on Arch Linux
- sqlite: for a default database integration [installed]
- xz: for lzma [installed]
- tk: for tkinter
- installing mercurial...
- Optional dependencies for mercurial
- tk: for the hgk GUI
- upgrading audit...
- upgrading curl...
- upgrading libusb...
- upgrading leancrypto...
- upgrading gnupg...
- upgrading gpgme...
- upgrading hwdata...
- upgrading iputils...
- upgrading kbd...
- upgrading libarchive...
- upgrading pacman...
- :: Running post-transaction hooks...
- (1/6) Creating system user accounts...
- (2/6) Reloading system manager configuration...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- (3/6) Reloading user manager configuration...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- (4/6) Restarting marked services...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- (5/6) Creating temporary files...
- /usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc/ detected, skipping.
- All rules containing unresolvable specifiers will be skipped.
- (6/6) Arming ConditionNeedsUpdate...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
∗ installed conf-hg.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-09 12:18.50 ---> saved as "cb39afc5dbbb15d8375b2f4ea85245bbd110ae6a27c0145f3e19eee80fdb711c"
Job succeeded
2025-06-09 12:18.59: Job succeeded