- github
- ocaml
- opam-repository
- a19ee4
- compilers,4.13,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.13/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.13@sha256:56926515625f1746580d5ba673ca991ee5951fd4786f933d09c2bbebfd3cb1e2
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.13@sha256:56926515625f1746580d5ba673ca991ee5951fd4786f933d09c2bbebfd3cb1e2-ppxlib-tools.0.36.0-a19ee42e4348b6aae2bdfabe198ed43d190a6365"
2025-02-28 13:52.38: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.13@sha256:56926515625f1746580d5ba673ca991ee5951fd4786f933d09c2bbebfd3cb1e2)
(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
All commits already cached
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.13@sha256:56926515625f1746580d5ba673ca991ee5951fd4786f933d09c2bbebfd3cb1e2)
2025-02-28 13:52.56 ---> using "114aebc0df831c183f0bc6e0591519784483c27acfaa72fbb21f484156fede5c" 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.56 ---> using "ccaad0890d803f0092fb2e4b73e4c615d8f7062df8a888b2391e57ed0ff6ea4b" 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.56 ---> using "85506ca78b731a36b52d1afd29337719a22ad0fe45259267d039e1af41136f2d" 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.13
# invariant ["ocaml-base-compiler" {= "4.13.1"}]
# compiler-packages ocaml-base-compiler.4.13.1, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.13/lib/ocaml/stublibs:/home/opam/.opam/4.13/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.13.1
2025-02-28 13:52.56 ---> using "2726d32f9587236972ae31520ffb8dc5a3dbd558313fa37ae714a847e6a4c184" 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.56 ---> using "f934436ccdfe9afe94e25f96755662067fe4a0a6a5c8cadcebc11047471dd010" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-28 13:53.02 ---> saved as "b4710a38cd2d2854b7daebbfbd3bd888da9a6417b62f14b97eaf62f4d8a2c546"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-28 13:53.45 ---> saved as "583f0ce6f7e02db406379708d230afbe9498186fbd65cb189359780fae696c2b"
/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 (1432 kB/s)
- Reading package lists...
2025-02-28 13:53.46 ---> saved as "000a72503c64ae81cfaecbabd542cc272df9fe2d42f5dabdce01e6a3952ee0d1"
/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.47 ---> saved as "b2a6f13daf64b215947e37c59fbc964c5f2ba3db6709ff50e3dc5e960d25f46c"
/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
The following actions will be performed:
=== install 8 packages
- install cmdliner 1.3.0 [required by ppxlib-tools]
- install dune 3.17.2 [required by ppxlib-tools]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.36.0 [required by ppxlib-tools]
- install ppxlib-tools 0.36.0 (pinned)
- install sexplib0 v0.16.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved dune.3.17.2 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppxlib.0.36.0, ppxlib-tools.0.36.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed cmdliner.1.3.0
-> installed dune.3.17.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.16.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ppxlib.0.36.0
-> installed ppxlib-tools.0.36.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-28 13:54.45 ---> saved as "276a35a1bc4628d1f55b85b30e46b7e965ee699ac4cc0891372acdbbee3c1037"
Job succeeded
2025-02-28 13:54.50: Job succeeded