- github
- ocaml
- opam-repository
- f07992
- distributions,archlinux-ocaml-4.14,ppxlib_jane.v0.17.4
(not at the head of any monitored branch or PR)
2025-06-20 15:51.58: New job: build ppxlib_jane.v0.17.4, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/28055/head (f0799223262c4ef986467fbf254d449d6d1382be)
on archlinux-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/28055/head" && git reset --hard f0799223
git fetch origin master
git merge --no-edit 2c7fa9dbb65d0f6a3ff5378154183146e08fd36d
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-4.14@sha256:27d7773b156a8068ae474f5bbbfe78c546624a52215069c402592464de013dcf
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 ppxlib_jane.v0.17.4 v0.17.4
RUN opam reinstall ppxlib_jane.v0.17.4; \
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" != 'ppxlib_jane.v0.17.4' && 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-20 15:51.58: Using cache hint "ocaml/opam:archlinux-ocaml-4.14@sha256:27d7773b156a8068ae474f5bbbfe78c546624a52215069c402592464de013dcf-ppxlib_jane.v0.17.4-f0799223262c4ef986467fbf254d449d6d1382be"
2025-06-20 15:51.58: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-4.14@sha256:27d7773b156a8068ae474f5bbbfe78c546624a52215069c402592464de013dcf)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 ppxlib_jane.v0.17.4 v0.17.4"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppxlib_jane.v0.17.4;\
\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\" != 'ppxlib_jane.v0.17.4' && 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-20 15:51.58: Waiting for resource in pool OCluster
2025-06-20 15:51.58: Waiting for worker…
2025-06-20 15:52.39: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 2c7fa9dbb6 Merge pull request #27977 from hannesm/maintenance-intent
Updating 2c7fa9dbb6..f079922326
Fast-forward
packages/ppxlib_jane/ppxlib_jane.v0.17.4/opam | 29 +++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
create mode 100644 packages/ppxlib_jane/ppxlib_jane.v0.17.4/opam
(from ocaml/opam:archlinux-ocaml-4.14@sha256:27d7773b156a8068ae474f5bbbfe78c546624a52215069c402592464de013dcf)
2025-06-20 15:53.05 ---> saved as "27b6594ed3770e0bb8cd26553ec984547bc0c075aea60da5a44905de6beb050a"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-20 15:53.05 ---> saved as "5e81111310d391612a169deceb977b30e742b4c475668a609ea77a2820de403e"
/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-20 15:53.37 ---> saved as "839b60b9507db835551bc7afa1af3e109d01b0d8c69d1c436577eb570bcf7209"
/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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=arch os-version=20250608.0.361578
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# 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-20 15:53.38 ---> saved as "3bbf3833d8e80ff532c9958d28e66c9d0ae64eab74da9958b66607f65e6220cc"
/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-20 15:53.48 ---> saved as "79ce8e367b32d40cf91b25c842b60d8baf567bad474566084e955dd7e57a13cc"
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-20 15:53.55 ---> saved as "085778ccbd5e5f895508dea378d4cd5b6fff03b6c056533de5ef72aafb071126"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-20 15:54.13 ---> saved as "11cdb41431d70a5091a9930555233b952c916002a0b0a4a30517b1fc1fc178d5"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
- core downloading...
- extra downloading...
2025-06-20 15:54.15 ---> saved as "942ae38521d36fc6a57892cdc49cbbedfd4ddbedf4c3e3bfcd3cc9682f67db9e"
/home/opam: (run (shell "opam pin add -k version -yn ppxlib_jane.v0.17.4 v0.17.4"))
ppxlib_jane is now pinned to version v0.17.4
2025-06-20 15:54.15 ---> saved as "cb2495f5aa920d17cbb632135ed21faae5f3a5da399f56d15f14196fb42384e4"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppxlib_jane.v0.17.4;\
\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\" != 'ppxlib_jane.v0.17.4' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ppxlib_jane.v0.17.4 is not installed. Install it? [y/n] y
* No agreement on the version of ocaml:
- (invariant) → ocaml-base-compiler = 4.14.2 → ocaml = 4.14.2
- ppxlib_jane >= v0.17.4 → ocaml >= 5.3.0
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) → ocaml-base-compiler = 4.14.2
- ppxlib_jane >= v0.17.4 → ocaml >= 5.3.0 → ocaml-variants >= 5.5.0~
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall ppxlib_jane.v0.17.4;
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" != 'ppxlib_jane.v0.17.4' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 20
2025-06-20 15:54.25: Job failed: Failed: Build failed
2025-06-20 15:54.25: Log analysis:
2025-06-20 15:54.25: >>>
No solution found, exiting
(score = 100)
2025-06-20 15:54.25: [SKIP] Package not available