- github
- ocaml
- opam-repository
- 24be28
- compilers,4.02,js_of_ocaml-ppx_deriving_json.5.8.2-floats
(not at the head of any monitored branch or PR)
2024-11-25 16:14.37: New job: build js_of_ocaml-ppx_deriving_json.5.8.2-floats, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26591/head (24be28ca82f90d7175046d734a9c3e19765ec02b)
on debian-12-ocaml-4.02/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/26591/head" && git reset --hard 24be28ca
git fetch origin master
git merge --no-edit e62e88dccc1d1181b3fa83b78e2bf462598afb92
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.02@sha256:22890c762ded7d3080875d91576770773078cabe55d318488c30fe5ae1ffd52a
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="1000"
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 js_of_ocaml-ppx_deriving_json.5.8.2-floats 5.8.2-floats
RUN opam reinstall js_of_ocaml-ppx_deriving_json.5.8.2-floats; \
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" != 'js_of_ocaml-ppx_deriving_json.5.8.2-floats' && 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 .
2024-11-25 16:14.37: Using cache hint "ocaml/opam:debian-12-ocaml-4.02@sha256:22890c762ded7d3080875d91576770773078cabe55d318488c30fe5ae1ffd52a-js_of_ocaml-ppx_deriving_json.5.8.2-floats-24be28ca82f90d7175046d734a9c3e19765ec02b"
2024-11-25 16:14.37: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.02@sha256:22890c762ded7d3080875d91576770773078cabe55d318488c30fe5ae1ffd52a)
(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 "uname -rs && opam exec -- ocaml -version && opam --version"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMSOLVERTIMEOUT 1000)
(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 js_of_ocaml-ppx_deriving_json.5.8.2-floats 5.8.2-floats"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall js_of_ocaml-ppx_deriving_json.5.8.2-floats;\
\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\" != 'js_of_ocaml-ppx_deriving_json.5.8.2-floats' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2024-11-25 16:14.37: Connecting to build cluster…
2024-11-25 16:14.37: Waiting for resource in pool OCluster
2024-11-25 16:39.06: Waiting for worker…
2024-11-25 16:42.41: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
Updating files: 45% (15043/32730)
Updating files: 46% (15056/32730)
Updating files: 47% (15384/32730)
Updating files: 48% (15711/32730)
Updating files: 49% (16038/32730)
Updating files: 50% (16365/32730)
Updating files: 51% (16693/32730)
Updating files: 52% (17020/32730)
Updating files: 53% (17347/32730)
Updating files: 54% (17675/32730)
Updating files: 55% (18002/32730)
Updating files: 56% (18329/32730)
Updating files: 57% (18657/32730)
Updating files: 58% (18984/32730)
Updating files: 59% (19311/32730)
Updating files: 60% (19638/32730)
Updating files: 61% (19966/32730)
Updating files: 62% (20293/32730)
Updating files: 63% (20620/32730)
Updating files: 64% (20948/32730)
Updating files: 65% (21275/32730)
Updating files: 66% (21602/32730)
Updating files: 67% (21930/32730)
Updating files: 68% (22257/32730)
Updating files: 69% (22584/32730)
Updating files: 70% (22911/32730)
Updating files: 71% (23239/32730)
Updating files: 72% (23566/32730)
Updating files: 73% (23893/32730)
Updating files: 74% (24221/32730)
Updating files: 75% (24548/32730)
Updating files: 76% (24875/32730)
Updating files: 77% (25203/32730)
Updating files: 78% (25530/32730)
Updating files: 79% (25857/32730)
Updating files: 80% (26184/32730)
Updating files: 81% (26512/32730)
Updating files: 82% (26839/32730)
Updating files: 83% (27166/32730)
Updating files: 84% (27494/32730)
Updating files: 85% (27821/32730)
Updating files: 86% (28148/32730)
Updating files: 86% (28268/32730)
Updating files: 87% (28476/32730)
Updating files: 88% (28803/32730)
Updating files: 89% (29130/32730)
Updating files: 90% (29457/32730)
Updating files: 91% (29785/32730)
Updating files: 92% (30112/32730)
Updating files: 93% (30439/32730)
Updating files: 94% (30767/32730)
Updating files: 95% (31094/32730)
Updating files: 96% (31421/32730)
Updating files: 97% (31749/32730)
Updating files: 98% (32076/32730)
Updating files: 99% (32403/32730)
Updating files: 100% (32730/32730)
Updating files: 100% (32730/32730), done.
HEAD is now at e62e88dccc Merge pull request #26953 from shonfeder/revert-color-0.3.0
Merge made by the 'ort' strategy.
.../js_of_ocaml-compiler.5.8.2-floats/opam | 55 ++++++++++++++++++++++
.../js_of_ocaml-lwt.5.8.2-floats/opam | 48 +++++++++++++++++++
.../js_of_ocaml-ppx.5.8.2-floats/opam | 45 ++++++++++++++++++
.../opam | 45 ++++++++++++++++++
.../js_of_ocaml-toplevel.5.8.2-floats/opam | 48 +++++++++++++++++++
.../js_of_ocaml-tyxml.5.8.2-floats/opam | 49 +++++++++++++++++++
packages/js_of_ocaml/js_of_ocaml.5.8.2-floats/opam | 55 ++++++++++++++++++++++
7 files changed, 345 insertions(+)
create mode 100644 packages/js_of_ocaml-compiler/js_of_ocaml-compiler.5.8.2-floats/opam
create mode 100644 packages/js_of_ocaml-lwt/js_of_ocaml-lwt.5.8.2-floats/opam
create mode 100644 packages/js_of_ocaml-ppx/js_of_ocaml-ppx.5.8.2-floats/opam
create mode 100644 packages/js_of_ocaml-ppx_deriving_json/js_of_ocaml-ppx_deriving_json.5.8.2-floats/opam
create mode 100644 packages/js_of_ocaml-toplevel/js_of_ocaml-toplevel.5.8.2-floats/opam
create mode 100644 packages/js_of_ocaml-tyxml/js_of_ocaml-tyxml.5.8.2-floats/opam
create mode 100644 packages/js_of_ocaml/js_of_ocaml.5.8.2-floats/opam
(from ocaml/opam:debian-12-ocaml-4.02@sha256:22890c762ded7d3080875d91576770773078cabe55d318488c30fe5ae1ffd52a)
2024-11-25 16:42.48 ---> using "66db15a17fd9d4c0c592b8e1f462864d8b97fdcd777d8938235ff4d0428679a7" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-11-25 16:42.48 ---> using "12a558f852282cab5869b7fa6a4dc636ee6a8f9256a07d26a48d46f033d7f8b3" 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.
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] synchronised from file:///home/opam/opam-repository
2024-11-25 16:42.48 ---> using "95a4ec6a1c0f3ce6c5d8a5eca10529753204a6197317614d7b3c2d12b701b9df" from cache
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.02.3
2.4.0~alpha1~dev
2024-11-25 16:42.48 ---> using "3db67fdb0d2357346379087f881854ed1e08f8878a3af434ada13510a71d7254" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMSOLVERTIMEOUT 1000)
/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/"))
2024-11-25 16:42.48 ---> using "a5b3d1fececbd7e7edb3b3e0655b2d63f46bd03e1b9316ad1cd2ebc83578ca29" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2024-11-25 16:42.52 ---> saved as "0791f4565b33f124a33a314a6a8ccc46c3e5bd01e89d2983f1e26692c13a622a"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-25 16:43.47 ---> saved as "1eab5bd67428a88fd238231b94d9227d752a61610e76462c587ddaaaa127a2d2"
/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 [205 kB]
- Fetched 309 kB in 0s (852 kB/s)
- Reading package lists...
-
2024-11-25 16:43.49 ---> saved as "95b92edbd0988f6f166ea27cf080eab114ba741f15fdedaebc43cf88064c4fd4"
/home/opam: (run (shell "opam pin add -k version -yn js_of_ocaml-ppx_deriving_json.5.8.2-floats 5.8.2-floats"))
js_of_ocaml-ppx_deriving_json is now pinned to version 5.8.2-floats
2024-11-25 16:43.50 ---> saved as "8989a5d2b22e1135199b9e07c1ce4655b8dfda4219addacf5aa6467c8f60a7a2"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall js_of_ocaml-ppx_deriving_json.5.8.2-floats;\
\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\" != 'js_of_ocaml-ppx_deriving_json.5.8.2-floats' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
js_of_ocaml-ppx_deriving_json.5.8.2-floats is not installed. Install it? [Y/n] y
* No agreement on the version of ocaml:
- (invariant) -> ocaml-base-compiler = 4.02.3 -> ocaml = 4.02.3
- js_of_ocaml-ppx_deriving_json >= 5.8.2-floats -> ocaml >= 4.08
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 4.02.3
- js_of_ocaml-ppx_deriving_json >= 5.8.2-floats -> ocaml >= 4.08 -> ocaml-variants >= 5.1.1~
* Missing dependency:
- js_of_ocaml-ppx_deriving_json >= 5.8.2-floats -> ocaml >= 4.08 -> ocaml-variants >= 5.1.1~ -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall js_of_ocaml-ppx_deriving_json.5.8.2-floats;
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" != 'js_of_ocaml-ppx_deriving_json.5.8.2-floats' && 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
2024-11-25 16:44.16: Job failed: Failed: Build failed
2024-11-25 16:44.16: Log analysis:
2024-11-25 16:44.16: >>>
No solution found, exiting
(score = 100)
2024-11-25 16:44.16: [SKIP] Package not available