- github
- ocaml
- opam-repository
- a19ee4
- distributions,opensuse-tumbleweed-ocaml-5.3,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 opensuse-tumbleweed-ocaml-5.3/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:opensuse-tumbleweed-ocaml-5.3@sha256:33d1d8767322ba0dc141009b7c9c3e15ac67eb088d83dcf98454d1ba533e2bbd
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 "\"opensuse-tumbleweed\""; 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:opensuse-tumbleweed-ocaml-5.3@sha256:33d1d8767322ba0dc141009b7c9c3e15ac67eb088d83dcf98454d1ba533e2bbd-ppxlib-tools.0.36.0-a19ee42e4348b6aae2bdfabe198ed43d190a6365"
2025-02-28 13:52.38: Using OBuilder spec:
((from ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:33d1d8767322ba0dc141009b7c9c3e15ac67eb088d83dcf98454d1ba533e2bbd)
(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 \"\\\"opensuse-tumbleweed\\\"\"; 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.40: Got resource from pool OCluster
Building on x86-bm-c6.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:opensuse-tumbleweed-ocaml-5.3@sha256:33d1d8767322ba0dc141009b7c9c3e15ac67eb088d83dcf98454d1ba533e2bbd)
Unable to find image 'ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:33d1d8767322ba0dc141009b7c9c3e15ac67eb088d83dcf98454d1ba533e2bbd' locally
docker.io/ocaml/opam@sha256:33d1d8767322ba0dc141009b7c9c3e15ac67eb088d83dcf98454d1ba533e2bbd: Pulling from ocaml/opam
302d26eb2967: Pulling fs layer
302d26eb2967: Verifying Checksum
302d26eb2967: Download complete
302d26eb2967: Pull complete
Digest: sha256:33d1d8767322ba0dc141009b7c9c3e15ac67eb088d83dcf98454d1ba533e2bbd
Status: Downloaded newer image for ocaml/opam@sha256:33d1d8767322ba0dc141009b7c9c3e15ac67eb088d83dcf98454d1ba533e2bbd
2025-02-28 13:54.53 ---> saved as "5c86bf390bddc4124e61e580f511cf7fe37dbb399e5e15480204a67b818b2dcc"
/: (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:54.53 ---> saved as "6279a019d61948d5fd60c8b232ca16b7b121af075b38ae82baaaa540edd95214"
/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:56.00 ---> saved as "5b6c82c393871568a0d2cda6bea81c81bac95b9d3e370e37e490ff1575c643d3"
/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 (7f62f012239c88b3ce08e800578ca1d88e602f8a)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=opensuse-tumbleweed os-version=20250222
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 31
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
# invariant ["ocaml-base-compiler" {>= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0
2025-02-28 13:56.03 ---> saved as "3dab773c058dedca12018262a6c25dcede92f3687fbee41074e5aeec0504c759"
/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:56.09 ---> saved as "27f7f2ee9fefc18b8dcda24cfcbb5b2d3f6a54a28f76a5a62b1906cd55aeac87"
/home/opam: (copy (src .) (dst opam-repository/))
2025-02-28 13:56.15 ---> saved as "42d8eb386c0ffc13af31ccfd618d30fa2a578a78ceef4b5401816f7f0fd372a1"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-28 13:56.56 ---> saved as "0b2b3fad19db51d09b20620ec5aa897eef91283da699494090e2b60906cd34b5"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Retrieving repository 'openSUSE-Tumbleweed-Update' metadata [......
- ....done]
- Building repository 'openSUSE-Tumbleweed-Update' cache [....done]
- Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata [......
- ...done]
- Building repository 'openSUSE-Tumbleweed-Non-Oss' cache [....done]
- Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata [.........
- .........done]
- Building repository 'openSUSE-Tumbleweed-Oss' cache [..
- ..done]
- All repositories have been refreshed.
2025-02-28 13:57.06 ---> saved as "94e984f6fc5e3c04943e7a598966e5a9d4185f69b730b35ebb506a092e5ef0b6"
/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:57.08 ---> saved as "615e6943bc31389765c65de1d7fc9ff9fef733e522b24c72d7cbce44e3e76e7e"
/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 \"\\\"opensuse-tumbleweed\\\"\"; 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.17.0 [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.17.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.17.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppxlib.0.36.0, ppxlib-tools.0.36.0 (cached)
-> retrieved sexplib0.v0.17.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.17.0
-> installed ocaml-compiler-libs.v0.17.0
-> 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:58.05 ---> saved as "f4bbff68f87a20ed3e72c03a6770cb4a5dfc3c315ef7903a9e83c264027b6c7b"
Job succeeded
2025-02-28 13:58.10: Job succeeded