- github
- ocaml
- opam-repository
- 24be28
- freebsd,freebsd-ocaml-5.2-amd64,js_of_ocaml-compiler.5.8.2-floats
(not at the head of any monitored branch or PR)
2024-11-25 13:26.31: New job: build js_of_ocaml-compiler.5.8.2-floats, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26591/head (24be28ca82f90d7175046d734a9c3e19765ec02b)
on freebsd-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 24be28ca
git fetch origin master
git merge --no-edit 727427c1e71db673d70869c8df4d678bf322632b
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-ocaml-5.2
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/local/bin/opam-dev /usr/local/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-compiler.5.8.2-floats 5.8.2-floats
RUN opam reinstall js_of_ocaml-compiler.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 "\"freebsd\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'js_of_ocaml-compiler.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 13:26.31: Using cache hint "freebsd-ocaml-5.2-js_of_ocaml-compiler.5.8.2-floats-24be28ca82f90d7175046d734a9c3e19765ec02b"
2024-11-25 13:26.31: Using OBuilder spec:
((from freebsd-ocaml-5.2)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
(run (network host)
(shell "opam init --reinit -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-compiler.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-compiler.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 \"\\\"freebsd\\\"\"; 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-compiler.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 13:26.31: Waiting for resource in pool OCluster
2024-11-25 13:26.32: Waiting for worker…
2024-11-25 15:59.56: Got resource from pool OCluster
Building on summer
All commits already cached
Updating files: 100% (32722/32722), done.
HEAD is now at 727427c1e7 Merge pull request #26934 from hhugo/alcotest-js
Updating 727427c1e7..24be28ca82
Fast-forward
.../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 freebsd-ocaml-5.2)
2024-11-25 15:49.15 ---> using "3515bf58445883216685df527c06fc8b9b7799700694ffa335d1401da4433261" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
2024-11-25 15:49.15 ---> using "48364e1fb8dbbd4caee612726b7c964e49452f03ec1f9b0526466ab1c963a289" from cache
/home/opam: (run (network host)
(shell "opam init --reinit -ni"))
No configuration file found, using 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 version of opam requires an update to the layout of /home/opam/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 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=1 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2024-11-25 15:49.16 ---> using "c9405311363be335bd03604ec044c083a65810c936d9b87d54c115ba23ec633d" from cache
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.1-RELEASE-p5
The OCaml toplevel, version 5.2.0
2.3.0~rc1
2024-11-25 15:49.16 ---> using "75c557dc5616766214d486bbd9740aad9cf3f41b1975f9eaa3f67179722364a2" 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 15:49.16 ---> using "92e493e78a5cd5883fb758a776bfa39b25e6510ac546ef720b01153101f881bc" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2024-11-25 15:49.20 ---> using "04b8a5281eeb63a44ce127ae31fd4e213193fcd28c972dee7d1b9264368c4f75" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)
2024-11-25 15:49.21 ---> using "b045f8ce11ddadd8d78dd51a948c7d3136e11c35e412063cb6082e1814c764e6" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
[WARNING] Unknown update command for bsd, skipping system update
2024-11-25 15:49.21 ---> using "029fc424922237769904770c9d3b5ee2a5619ed48415a693c665866684d60cf5" from cache
/home/opam: (run (shell "opam pin add -k version -yn js_of_ocaml-compiler.5.8.2-floats 5.8.2-floats"))
js_of_ocaml-compiler is now pinned to version 5.8.2-floats
2024-11-25 15:49.33 ---> saved as "a4666f89410064f7e9f6e8ef421c3012ea9362b05af12aee9755257284f5eb0c"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall js_of_ocaml-compiler.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 \"\\\"freebsd\\\"\"; 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-compiler.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-compiler.5.8.2-floats is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 16 packages
∗ cmdliner 1.3.0 [required by js_of_ocaml-compiler]
∗ dune 3.16.1 [required by js_of_ocaml-compiler]
∗ gen 1.1 [required by sedlex]
∗ js_of_ocaml-compiler 5.8.2-floats (pinned)
∗ menhir 20240715 [required by js_of_ocaml-compiler]
∗ menhirCST 20240715 [required by menhir]
∗ menhirLib 20240715 [required by js_of_ocaml-compiler]
∗ menhirSdk 20240715 [required by js_of_ocaml-compiler]
∗ ocaml-compiler-libs v0.17.0 [required by ppxlib]
∗ ppx_derivers 1.2.1 [required by ppxlib]
∗ ppxlib 0.33.0 [required by js_of_ocaml-compiler]
∗ sedlex 3.3 [required by js_of_ocaml-compiler]
∗ seq base [required by yojson]
∗ sexplib0 v0.17.0 [required by ppxlib]
∗ stdlib-shims 0.3.0 [required by ppxlib]
∗ 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-compiler.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)
⬇ retrieved ocaml-compiler-libs.v0.17.0 (cached)
⬇ retrieved ppx_derivers.1.2.1 (cached)
⬇ retrieved ppxlib.0.33.0 (cached)
⬇ retrieved sedlex.3.3 (cached)
⬇ retrieved seq.base (cached)
⬇ 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 seq.base
∗ installed dune.3.16.1
∗ installed ppx_derivers.1.2.1
∗ installed menhirCST.20240715
∗ installed stdlib-shims.0.3.0
∗ installed menhirSdk.20240715
∗ installed menhirLib.20240715
∗ installed ocaml-compiler-libs.v0.17.0
∗ installed sexplib0.v0.17.0
∗ installed gen.1.1
∗ 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
Done.
2024-11-25 15:52.26 ---> saved as "b485652b17fdc99c78a898b436edf61726b7bf2cf58799a1bce57ae5a94686d3"
Job succeeded
2024-11-25 16:03.35: Job succeeded