- github
- ocaml
- opam-repository
- f07992
- compilers,4.09,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 debian-12-ocaml-4.09/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:debian-12-ocaml-4.09@sha256:f2e27349e866f3801347be218cb27d52afbfcb265ee52c4f632e8df71f4ecbcc
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 "\"debian-12\""; 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:debian-12-ocaml-4.09@sha256:f2e27349e866f3801347be218cb27d52afbfcb265ee52c4f632e8df71f4ecbcc-ppxlib_jane.v0.17.4-f0799223262c4ef986467fbf254d449d6d1382be"
2025-06-20 15:51.58: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.09@sha256:f2e27349e866f3801347be218cb27d52afbfcb265ee52c4f632e8df71f4ecbcc)
(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 \"\\\"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\" != '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.01: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
Updating files: 63% (11166/17607)
Updating files: 64% (11269/17607)
Updating files: 65% (11445/17607)
Updating files: 66% (11621/17607)
Updating files: 67% (11797/17607)
Updating files: 68% (11973/17607)
Updating files: 69% (12149/17607)
Updating files: 70% (12325/17607)
Updating files: 71% (12501/17607)
Updating files: 72% (12678/17607)
Updating files: 73% (12854/17607)
Updating files: 74% (13030/17607)
Updating files: 75% (13206/17607)
Updating files: 76% (13382/17607)
Updating files: 77% (13558/17607)
Updating files: 78% (13734/17607)
Updating files: 79% (13910/17607)
Updating files: 80% (14086/17607)
Updating files: 81% (14262/17607)
Updating files: 82% (14438/17607)
Updating files: 83% (14614/17607)
Updating files: 84% (14790/17607)
Updating files: 85% (14966/17607)
Updating files: 86% (15143/17607)
Updating files: 87% (15319/17607)
Updating files: 88% (15495/17607)
Updating files: 89% (15671/17607)
Updating files: 90% (15847/17607)
Updating files: 91% (16023/17607)
Updating files: 92% (16199/17607)
Updating files: 93% (16375/17607)
Updating files: 94% (16551/17607)
Updating files: 95% (16727/17607)
Updating files: 96% (16903/17607)
Updating files: 97% (17079/17607)
Updating files: 98% (17255/17607)
Updating files: 99% (17431/17607)
Updating files: 100% (17607/17607)
Updating files: 100% (17607/17607), done.
HEAD is now at 9a8fff446f Package crs.0.0.20250620
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:debian-12-ocaml-4.09@sha256:f2e27349e866f3801347be218cb27d52afbfcb265ee52c4f632e8df71f4ecbcc)
2025-06-20 15:52.42 ---> saved as "65bf5e5b63b45a457f09b3b71180edd9befa7731f8d134e69e4a7ee71fccb317"
/: (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:52.42 ---> saved as "2c2231fa2985c4962fb89a575bf54a044c57da3ba39a7adf7582ed9abd51f46d"
/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.21 ---> saved as "90eb046d06f782af831c6f8bb2308cfac69b17fd1efb1d8e288bd94c329d6346"
/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=debian os-version=12
# 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 4.09
# invariant ["ocaml-base-compiler" {= "4.09.1"}]
# compiler-packages ocaml-base-compiler.4.09.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.09/lib/ocaml/stublibs:/home/opam/.opam/4.09/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.09.1
2025-06-20 15:53.22 ---> saved as "921ebecb5bd8cbceee3ff8526dc37c5ec5a0b6878cc1ced3dbbc4823e36e04ae"
/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.31 ---> saved as "58073995b8e503c0da3079043bb09e64368f0920dda1c1ba2b7c9e6d25655c4b"
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-20 15:53.39 ---> saved as "314dedb7858bd213f936ee8c10d4641a59232175a9f8938a2947198ad745a16f"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-20 15:54.00 ---> saved as "120f02c30aa2decfa1044f14f9b56cfedc19db3a9a81366d0658f514d94dab79"
/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 [267 kB]
- Fetched 370 kB in 0s (1115 kB/s)
- Reading package lists...
-
2025-06-20 15:54.01 ---> saved as "c21e205db1a2ff0a819525014cc389685c56346464b7957bbf55775a22af43f1"
/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.02 ---> saved as "01a92c54d06a4e4377bdc0f44e605c5744961ecabf76551606ecd650b37612d8"
/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 \"\\\"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\" != '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.09.1 -> ocaml = 4.09.1
- 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.09.1
- 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 "\"debian-12\""; 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.12: Job failed: Failed: Build failed
2025-06-20 15:54.12: Log analysis:
2025-06-20 15:54.12: >>>
No solution found, exiting
(score = 100)
2025-06-20 15:54.12: [SKIP] Package not available