- github
- ocaml
- opam-repository
- 24be28
- distributions,debian-11-ocaml-4.14,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.39: 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-11-ocaml-4.14/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-11-ocaml-4.14@sha256:390b605be5641079df07b4124f6d406736af200cc992c29d3d1cbdbf1ed5f13e
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-11\""; 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.39: Using cache hint "ocaml/opam:debian-11-ocaml-4.14@sha256:390b605be5641079df07b4124f6d406736af200cc992c29d3d1cbdbf1ed5f13e-js_of_ocaml-ppx_deriving_json.5.8.2-floats-24be28ca82f90d7175046d734a9c3e19765ec02b"
2024-11-25 16:14.39: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-4.14@sha256:390b605be5641079df07b4124f6d406736af200cc992c29d3d1cbdbf1ed5f13e)
(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-11\\\"\"; 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.39: Connecting to build cluster…
2024-11-25 16:14.39: Waiting for resource in pool OCluster
2024-11-25 16:25.04: Waiting for worker…
2024-11-25 16:29.13: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
Updating files: 60% (19906/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: 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-11-ocaml-4.14@sha256:390b605be5641079df07b4124f6d406736af200cc992c29d3d1cbdbf1ed5f13e)
Unable to find image 'ocaml/opam:debian-11-ocaml-4.14@sha256:390b605be5641079df07b4124f6d406736af200cc992c29d3d1cbdbf1ed5f13e' locally
docker.io/ocaml/opam@sha256:390b605be5641079df07b4124f6d406736af200cc992c29d3d1cbdbf1ed5f13e: Pulling from ocaml/opam
032588403f6c: Pulling fs layer
032588403f6c: Verifying Checksum
032588403f6c: Download complete
032588403f6c: Pull complete
Digest: sha256:390b605be5641079df07b4124f6d406736af200cc992c29d3d1cbdbf1ed5f13e
Status: Downloaded newer image for ocaml/opam@sha256:390b605be5641079df07b4124f6d406736af200cc992c29d3d1cbdbf1ed5f13e
2024-11-25 16:32.10 ---> saved as "42f79f17a088ee075163a899a9a621efc30938633fe9389362b1b81f5ac545f6"
/: (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:32.11 ---> saved as "ed52c870627a4f0ca0b1880709b9ae6487357b836f255c0d74df10d88b850dd8"
/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.
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=255 --global
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-11-25 16:34.05 ---> saved as "d70f3dd669ae440d8836a4fc1b3ddd4f842d1fae51f83f5feb903fc8554d3c90"
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.14.2
2.4.0~alpha1~dev
2024-11-25 16:34.05 ---> saved as "a520213826ab03c4961ae4fa0ff5f976229e678e5cfe8abafbcc820dae637aab"
/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:34.19 ---> saved as "01f9101ba4511446fafbe85890a11c7b347ce4444480b5860b0e6a0cefe3df51"
/home/opam: (copy (src .) (dst opam-repository/))
2024-11-25 16:34.46 ---> saved as "c203dd18865531896b26407cb31a2fbb9390e03bd557ff88c99abcc4653fcacc"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-25 16:36.02 ---> saved as "1d5c85b0b2d60dbfb27239e8aa0d310de0087d02834f000ad55ab9d3d9198b93"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
- Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [309 kB]
- Fetched 380 kB in 1s (497 kB/s)
- Reading package lists...
-
2024-11-25 16:36.05 ---> saved as "0743d12d63f9367190a5abd8c8af47f272960932f1c6c25f3f0226673e6dee89"
/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:36.05 ---> saved as "5d7c9dda311eb2a5f27c749ddfd708fe64ac3bb95dde305917f42ed2b75561ac"
/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-11\\\"\"; 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
The following actions will be performed:
=== install 18 packages
- install cmdliner 1.3.0 [required by js_of_ocaml-compiler]
- install dune 3.16.1 [required by js_of_ocaml-ppx_deriving_json]
- install gen 1.1 [required by sedlex]
- install js_of_ocaml 5.8.2-floats [required by js_of_ocaml-ppx_deriving_json]
- install js_of_ocaml-compiler 5.8.2-floats [required by js_of_ocaml]
- install js_of_ocaml-ppx_deriving_json 5.8.2-floats (pinned)
- install menhir 20240715 [required by js_of_ocaml-compiler]
- install menhirCST 20240715 [required by menhir]
- install menhirLib 20240715 [required by js_of_ocaml-compiler]
- install menhirSdk 20240715 [required by js_of_ocaml-compiler]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.33.0 [required by js_of_ocaml-ppx_deriving_json]
- install sedlex 3.3 [required by js_of_ocaml-compiler]
- install seq base [required by yojson]
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install yojson 2.2.2 [required by js_of_ocaml-compiler]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved dune.3.16.1 (cached)
-> retrieved gen.1.1 (cached)
-> retrieved js_of_ocaml.5.8.2-floats, js_of_ocaml-compiler.5.8.2-floats, js_of_ocaml-ppx_deriving_json.5.8.2-floats (https://github.com/ocsigen/js_of_ocaml/archive/refs/tags/5.8.2-floats.tar.gz)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> installed cmdliner.1.3.0
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppxlib.0.33.0 (cached)
-> retrieved sedlex.3.3 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved yojson.2.2.2 (cached)
-> installed dune.3.16.1
-> installed menhirCST.20240715
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed menhirSdk.20240715
-> installed gen.1.1
-> installed sexplib0.v0.17.0
-> installed menhirLib.20240715
-> installed ocaml-compiler-libs.v0.12.4
-> installed yojson.2.2.2
-> installed menhir.20240715
-> installed ppxlib.0.33.0
-> installed sedlex.3.3
-> installed js_of_ocaml-compiler.5.8.2-floats
-> installed js_of_ocaml.5.8.2-floats
-> installed js_of_ocaml-ppx_deriving_json.5.8.2-floats
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-25 16:38.06 ---> saved as "15855d479ba656b7f37d28217ef43940aa921852ca851309a3b85e15407e3500"
Job succeeded
2024-11-25 16:38.13: Job succeeded