- github
- ocaml
- opam-repository
- f07992
- extras,ocaml-4.14-afl,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.14-afl/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.14-afl@sha256:821f8c60b91b83149cc7c42c7c8f269b29e5784fa05aafe65e722b73b725a9ed
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.14-afl@sha256:821f8c60b91b83149cc7c42c7c8f269b29e5784fa05aafe65e722b73b725a9ed-ppxlib_jane.v0.17.4-f0799223262c4ef986467fbf254d449d6d1382be"
2025-06-20 15:51.58: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14-afl@sha256:821f8c60b91b83149cc7c42c7c8f269b29e5784fa05aafe65e722b73b725a9ed)
(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.48: Got resource from pool OCluster
Building on clete.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:debian-12-ocaml-4.14-afl@sha256:821f8c60b91b83149cc7c42c7c8f269b29e5784fa05aafe65e722b73b725a9ed)
2025-06-20 15:53.09 ---> saved as "fdd48ac1bba61e6730dac5d8ce27f54489a08a519f862d5b36dffa46b329cbc8"
/: (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.09 ---> saved as "98f0c257a2ff6743cd76d235dce686e785d8fffd8481b96ebe6f5dc573f5a8e8"
/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.51 ---> saved as "8d84bb4c41b8b3d83cd25a3cbf1d2e0b5b834dc26f617a038d653670035b13e3"
/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.14
# invariant ["ocaml-options-only-afl"]
# compiler-packages ocaml-option-afl.1, ocaml-options-only-afl.1, ocaml-variants.4.14.2+options
# 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+options+afl
2025-06-20 15:53.52 ---> saved as "7229068e4c5cbae4f683228bc036c6d733ca57074caef8a5413eb36e9ba673c8"
/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:54.06 ---> saved as "3ad91b3342633d6794a80daa63bc4094aca759bcba17cddf73e64547ae543829"
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-20 15:54.31 ---> saved as "e5be216bdd4a9f81f4bb120dab75911f189800ef304da1febf95fbf747578839"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-20 15:55.04 ---> saved as "9252ddb4ce78c94e41d3c076765a9098a2082fc1ff464bcf1d86ee23b835d63f"
/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 (927 kB/s)
- Reading package lists...
-
2025-06-20 15:55.05 ---> saved as "bca197fc7ecaba5472068961b1bf12bba0f27146f8958d485b16ccbe284be4e0"
/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:55.06 ---> saved as "d3dc44aa473c5243c8a3e66fecfed0bef75911d7c273d0a3a0f62751a2682c73"
/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
* Incompatible packages:
- (invariant) -> ocaml-options-only-afl -> ocaml-option-afl
- ppxlib_jane >= v0.17.4 -> ocaml >= 5.3.0 -> ocaml-base-compiler >= 5.3.0~ -> ocaml-options-vanilla
You can temporarily relax the switch invariant with `--update-invariant'
* Missing dependency:
- ppxlib_jane >= v0.17.4 -> ocaml >= 5.3.0 -> dkml-base-compiler >= 5.5.0~ | ocaml-base-compiler >= 5.5.0 | ocaml-system >= 5.5.0~ | ocaml-variants >= 5.5.0~
no matching version
no matching version
no matching version
not available because the package is pinned to version 4.14.2+options
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:55.31: Job failed: Failed: Build failed
2025-06-20 15:55.31: Log analysis:
2025-06-20 15:55.31: >>>
No solution found, exiting
(score = 100)
2025-06-20 15:55.31: [SKIP] Package not available