- github
- ocaml
- opam-repository
- b8473f
- extras,opam-2.1-ocaml-5.2,js_of_ocaml.5.8.2-floats
(not at the head of any monitored branch or PR)
2024-09-23 14:11.22: New job: build js_of_ocaml.5.8.2-floats, using opam 2.1
from https://github.com/ocaml/opam-repository.git#refs/pull/26591/head (b8473f79f5a13ca0944431816df1de99d3887e69)
on debian-12-ocaml-5.2/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 b8473f79
git fetch origin master
git merge --no-edit a2d1b9539bb95e849b639d06e88de7d50397342b
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:47d7f878464fda49d7f22e6d93760441a287291b848a1caf65c8c8df2424121d
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.1 /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.5.8.2-floats 5.8.2-floats
RUN opam reinstall js_of_ocaml.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.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-09-23 14:11.22: Using cache hint "ocaml/opam:debian-12-ocaml-5.2@sha256:47d7f878464fda49d7f22e6d93760441a287291b848a1caf65c8c8df2424121d-js_of_ocaml.5.8.2-floats-b8473f79f5a13ca0944431816df1de99d3887e69"
2024-09-23 14:11.22: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:47d7f878464fda49d7f22e6d93760441a287291b848a1caf65c8c8df2424121d)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /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.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.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.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-09-23 14:11.22: Waiting for resource in pool OCluster
2024-09-23 14:32.37: Waiting for worker…
2024-09-23 14:37.39: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
All commits already cached
Updating files: 66% (21435/32292)
Updating files: 67% (21636/32292)
Updating files: 68% (21959/32292)
Updating files: 69% (22282/32292)
Updating files: 70% (22605/32292)
Updating files: 71% (22928/32292)
Updating files: 72% (23251/32292)
Updating files: 73% (23574/32292)
Updating files: 74% (23897/32292)
Updating files: 75% (24219/32292)
Updating files: 76% (24542/32292)
Updating files: 77% (24865/32292)
Updating files: 78% (25188/32292)
Updating files: 79% (25511/32292)
Updating files: 80% (25834/32292)
Updating files: 81% (26157/32292)
Updating files: 82% (26480/32292)
Updating files: 83% (26803/32292)
Updating files: 84% (27126/32292)
Updating files: 85% (27449/32292)
Updating files: 86% (27772/32292)
Updating files: 87% (28095/32292)
Updating files: 88% (28417/32292)
Updating files: 89% (28740/32292)
Updating files: 90% (29063/32292)
Updating files: 91% (29386/32292)
Updating files: 92% (29709/32292)
Updating files: 93% (30032/32292)
Updating files: 94% (30355/32292)
Updating files: 95% (30678/32292)
Updating files: 96% (31001/32292)
Updating files: 97% (31324/32292)
Updating files: 98% (31647/32292)
Updating files: 99% (31970/32292)
Updating files: 100% (32292/32292)
Updating files: 100% (32292/32292), done.
HEAD is now at a2d1b9539b Merge pull request #26601 from Khady/release-ppx_deriving_jsonschema-0.0.1
Merge made by the 'ort' strategy.
packages/async_js/async_js.v0.17.0/opam | 4 +-
packages/bonsai/bonsai.v0.17.0/opam | 4 +-
packages/incr_dom/incr_dom.v0.17.0/opam | 12 +++--
.../incr_dom_interactive.v0.17.0/opam | 4 +-
.../incr_dom_partial_render.v0.17.0/opam | 4 +-
.../incr_dom_sexp_form.v0.17.0/opam | 4 +-
.../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 ++++++++++++++++++++++
.../js_of_ocaml_patches.v0.17.0/opam | 12 +++--
packages/ppx_css/ppx_css.v0.17.0/opam | 4 +-
packages/virtual_dom/virtual_dom.v0.17.0/opam | 4 +-
.../virtual_dom_toplayer.v0.17.0/opam | 4 +-
17 files changed, 377 insertions(+), 24 deletions(-)
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-5.2@sha256:47d7f878464fda49d7f22e6d93760441a287291b848a1caf65c8c8df2424121d)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.2@sha256:47d7f878464fda49d7f22e6d93760441a287291b848a1caf65c8c8df2424121d' locally
docker.io/ocaml/opam@sha256:47d7f878464fda49d7f22e6d93760441a287291b848a1caf65c8c8df2424121d: Pulling from ocaml/opam
52f4a7a58b91: Pulling fs layer
52f4a7a58b91: Verifying Checksum
52f4a7a58b91: Download complete
52f4a7a58b91: Pull complete
Digest: sha256:47d7f878464fda49d7f22e6d93760441a287291b848a1caf65c8c8df2424121d
Status: Downloaded newer image for ocaml/opam@sha256:47d7f878464fda49d7f22e6d93760441a287291b848a1caf65c8c8df2424121d
2024-09-23 14:37.41 ---> using "95ff08169a5ad78d2b1f8a9540d48e42443d2ebd71a7d3a31ccdaf6543280937" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-09-23 14:37.41 ---> using "f2743282dcc48756e6da93384e9a36961e5565eccadd0ce1d9702b04b1891c12" 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.1, 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-09-23 14:38.41 ---> saved as "84e925d34da6f8f1050962f449d019c6be6082240d2c6b846a29d5fd816448f9"
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-121-generic
The OCaml toplevel, version 5.2.0
2.1.6
2024-09-23 14:38.41 ---> saved as "a73eec56aa4cd481cb68b91cf97ae3791d93fb97bd5f974c183428ba80b6e4ef"
/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-09-23 14:38.53 ---> saved as "d4498c5c9a6bdd5ba7b0caa3a9848c0de95f8fa1ccdce1203c20acb33b415c3e"
/home/opam: (copy (src .) (dst opam-repository/))
2024-09-23 14:39.06 ---> saved as "8b82463b759a754641694b9bfafe03a6cd84e01110d9d1d8a8a873d11b45c122"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-09-23 14:39.29 ---> saved as "9eb0e975099daf8330a5c7b6a427c0ce7e91f16b1bd089ca41bc056cda591994"
/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 [182 kB]
- Fetched 286 kB in 0s (974 kB/s)
- Reading package lists...
-
2024-09-23 14:39.31 ---> saved as "7b5332257416239586dda7d063635ca5eedea0662bfa83f6629a3eeaba73ec03"
/home/opam: (run (shell "opam pin add -k version -yn js_of_ocaml.5.8.2-floats 5.8.2-floats"))
js_of_ocaml is now pinned to version 5.8.2-floats
2024-09-23 14:39.32 ---> saved as "1424e6e8c9143f38cfc3ce71ceda518c1080ca92a9bb66c61bc15644e25da39b"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall js_of_ocaml.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.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.5.8.2-floats is not installed. Install it? [Y/n] y
The following actions will be performed:
- install cmdliner 1.3.0 [required by js_of_ocaml-compiler]
- install seq base [required by yojson]
- install dune 3.16.0 [required by js_of_ocaml]
- install yojson 2.2.2 [required by js_of_ocaml-compiler]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install sexplib0 v0.17.0 [required by ppxlib]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install menhirSdk 20230608 [required by js_of_ocaml-compiler]
- install menhirLib 20230608 [required by js_of_ocaml-compiler]
- install gen 1.1 [required by sedlex]
- install ppxlib 0.33.0 [required by js_of_ocaml]
- install menhir 20230608 [required by js_of_ocaml-compiler]
- install sedlex 3.2 [required by js_of_ocaml-compiler]
- install js_of_ocaml-compiler 5.8.2-floats [required by js_of_ocaml]
- install js_of_ocaml 5.8.2-floats*
===== 16 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved dune.3.16.0 (cached)
-> retrieved gen.1.1 (cached)
-> retrieved js_of_ocaml.5.8.2-floats (cached)
-> retrieved js_of_ocaml-compiler.5.8.2-floats (cached)
-> retrieved menhir.20230608 (cached)
-> retrieved menhirLib.20230608 (cached)
-> retrieved menhirSdk.20230608 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppxlib.0.33.0 (cached)
-> retrieved sedlex.3.2 (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 cmdliner.1.3.0
-> installed dune.3.16.0
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed menhirSdk.20230608
-> installed sexplib0.v0.17.0
-> installed gen.1.1
-> installed menhirLib.20230608
-> installed ocaml-compiler-libs.v0.17.0
-> installed yojson.2.2.2
-> installed menhir.20230608
-> installed ppxlib.0.33.0
-> installed sedlex.3.2
-> installed js_of_ocaml-compiler.5.8.2-floats
-> installed js_of_ocaml.5.8.2-floats
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-23 14:41.38 ---> saved as "3c314e7a3656c4cbce33eb8a8809ff2b592230e6ff8bdeb84cefbb73174b5165"
Job succeeded
2024-09-23 14:41.47: Job succeeded