- github
- ocaml
- opam-repository
- a19ee4
- compilers,4.03,ppxlib-tools.0.36.0
(not at the head of any monitored branch or PR)
2025-02-28 13:52.38: New job: build ppxlib-tools.0.36.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27478/head (a19ee42e4348b6aae2bdfabe198ed43d190a6365)
on debian-12-ocaml-4.03/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/27478/head" && git reset --hard a19ee42e
git fetch origin master
git merge --no-edit c27f09fa9e7c90f754413780e15d13ba8c13d377
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.03@sha256:88f97e8c3bd5da02f8c84e9be025445ea31ac3a7ffa4cef2cc1692ac0a23df42
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 ppxlib-tools.0.36.0 0.36.0
RUN opam reinstall ppxlib-tools.0.36.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" != 'ppxlib-tools.0.36.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-02-28 13:52.38: Using cache hint "ocaml/opam:debian-12-ocaml-4.03@sha256:88f97e8c3bd5da02f8c84e9be025445ea31ac3a7ffa4cef2cc1692ac0a23df42-ppxlib-tools.0.36.0-a19ee42e4348b6aae2bdfabe198ed43d190a6365"
2025-02-28 13:52.38: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.03@sha256:88f97e8c3bd5da02f8c84e9be025445ea31ac3a7ffa4cef2cc1692ac0a23df42)
(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 ppxlib-tools.0.36.0 0.36.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppxlib-tools.0.36.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\" != 'ppxlib-tools.0.36.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-02-28 13:52.38: Waiting for resource in pool OCluster
2025-02-28 13:52.39: Waiting for worker…
2025-02-28 13:52.39: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
HEAD is now at f00faee58a Add climate.0.5.0
HEAD is now at c27f09fa9e Merge pull request #27515 from xavierleroy/Xft
Updating c27f09fa9e..a19ee42e43
Fast-forward
packages/ppxlib-tools/ppxlib-tools.0.36.0/opam | 44 ++++++++++++++++++
packages/ppxlib/ppxlib.0.36.0/opam | 62 ++++++++++++++++++++++++++
2 files changed, 106 insertions(+)
create mode 100644 packages/ppxlib-tools/ppxlib-tools.0.36.0/opam
create mode 100644 packages/ppxlib/ppxlib.0.36.0/opam
(from ocaml/opam:debian-12-ocaml-4.03@sha256:88f97e8c3bd5da02f8c84e9be025445ea31ac3a7ffa4cef2cc1692ac0a23df42)
2025-02-28 13:52.44 ---> using "50028533309a9b30b5e358b5046f0fe98e9d068fc76790dbf31ebe94498a6d14" 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-02-28 13:52.44 ---> using "629e091df5c822fc0bf83d1454cafee3d06212167899f725154e973e24a8afbc" 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 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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-02-28 13:52.44 ---> using "e7754d03b257ac97d660f6b3d5357ead98b529c68ca331200671d37b24a3458c" 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~alpha1~dev (34b7b4ec4af0ebd3c8fc4aee8088471be2ad48c7)
# 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 39
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.03
# invariant ["ocaml-base-compiler" {= "4.03.0"}]
# compiler-packages ocaml-base-compiler.4.03.0
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.03/lib/ocaml/stublibs:/home/opam/.opam/4.03/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.03.0
2025-02-28 13:52.44 ---> using "9036711b2bd12740079619ee41fda5a8501890d3efa7696518e0c49b21d0a573" 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-02-28 13:52.44 ---> using "41d9df9b05d2b629884b2c631b8989bb4b665b429913bd5c24c007e943722382" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-28 13:52.51 ---> saved as "20fae1ec819dbc37d7cd116cf8bbb317f3f47bba59e47d1d996994ad534280ac"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-28 13:53.31 ---> saved as "aab606a2947fa05ed90d9dac3fc3de66574c90cc61b8cfff5689a950e6afb478"
/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 [246 kB]
- Fetched 349 kB in 0s (1463 kB/s)
- Reading package lists...
2025-02-28 13:53.32 ---> saved as "6151514d99d095d1692f6fdf4811e7f6d7baa11dab41bfdc74c7d107c1732269"
/home/opam: (run (shell "opam pin add -k version -yn ppxlib-tools.0.36.0 0.36.0"))
ppxlib-tools is now pinned to version 0.36.0
2025-02-28 13:53.33 ---> saved as "4ba9d36b53dc62796f77736bb180609766dfc378f44ede10e6461f01e4c967ed"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppxlib-tools.0.36.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\" != 'ppxlib-tools.0.36.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ppxlib-tools.0.36.0 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 4.03.0
- ppxlib-tools >= 0.36.0 -> ocaml >= 4.08.0 -> dkml-base-compiler
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 4.03.0
- ppxlib-tools >= 0.36.0 -> ocaml >= 4.08.0 -> ocaml-variants (< 5.2.3~ | >= 5.3.0~)
* Missing dependency:
- ppxlib-tools >= 0.36.0 -> ocaml >= 4.08.0 -> ocaml-variants < 4.11.1~ -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- ppxlib-tools >= 0.36.0 -> ocaml >= 4.08.0 -> ocaml-variants < 5.2.1~ -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall ppxlib-tools.0.36.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" != 'ppxlib-tools.0.36.0' && 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-02-28 13:54.03: Job failed: Failed: Build failed
2025-02-28 13:54.03: Log analysis:
2025-02-28 13:54.03: >>>
No solution found, exiting
(score = 100)
2025-02-28 13:54.03: [SKIP] Package not available