Build:
- 1
- 0
2026-02-18 22:29.03: New job: build gen_js_api.1.1.7, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29403/head (829773ec91471924ba0f213baa894be2e0ae3e20)
on ubuntu-24.04-ocaml-5.4/riscv64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29403/head" && git reset --hard 829773ec
git fetch origin master
git merge --no-edit b3916862df97a4ea9ceabf38dee5b51d7dabfadc
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:705890ca65fe646d8e26c7b170e25fbb764742d3d3cac1c1981e8abe89feaad5
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 gen_js_api.1.1.7 1.1.7
RUN opam reinstall gen_js_api.1.1.7; \
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 "\"ubuntu-24.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'gen_js_api.1.1.7' && 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 .
2026-02-18 22:29.03: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:705890ca65fe646d8e26c7b170e25fbb764742d3d3cac1c1981e8abe89feaad5-gen_js_api.1.1.7-829773ec91471924ba0f213baa894be2e0ae3e20"
2026-02-18 22:29.03: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:705890ca65fe646d8e26c7b170e25fbb764742d3d3cac1c1981e8abe89feaad5)
(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 gen_js_api.1.1.7 1.1.7"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall gen_js_api.1.1.7;\
\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 \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'gen_js_api.1.1.7' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-02-18 22:29.03: Waiting for resource in pool OCluster
2026-02-18 22:29.03: Waiting for worker…
2026-02-19 01:51.18: Got resource from pool OCluster
Building on riscv-bm-02.sw.ci.dev
Updating files: 13% (2400/18237)
Updating files: 14% (2554/18237)
Updating files: 15% (2736/18237)
Updating files: 16% (2918/18237)
Updating files: 17% (3101/18237)
Updating files: 18% (3283/18237)
Updating files: 19% (3466/18237)
Updating files: 20% (3648/18237)
Updating files: 21% (3830/18237)
Updating files: 22% (4013/18237)
Updating files: 23% (4195/18237)
Updating files: 24% (4377/18237)
Updating files: 25% (4560/18237)
Updating files: 26% (4742/18237)
Updating files: 26% (4802/18237)
Updating files: 27% (4924/18237)
Updating files: 28% (5107/18237)
Updating files: 29% (5289/18237)
Updating files: 30% (5472/18237)
Updating files: 31% (5654/18237)
Updating files: 32% (5836/18237)
Updating files: 33% (6019/18237)
Updating files: 34% (6201/18237)
Updating files: 35% (6383/18237)
Updating files: 36% (6566/18237)
Updating files: 37% (6748/18237)
Updating files: 38% (6931/18237)
Updating files: 39% (7113/18237)
Updating files: 40% (7295/18237)
Updating files: 40% (7472/18237)
Updating files: 41% (7478/18237)
Updating files: 42% (7660/18237)
Updating files: 43% (7842/18237)
Updating files: 44% (8025/18237)
Updating files: 45% (8207/18237)
Updating files: 46% (8390/18237)
Updating files: 47% (8572/18237)
Updating files: 48% (8754/18237)
Updating files: 49% (8937/18237)
Updating files: 50% (9119/18237)
Updating files: 51% (9301/18237)
Updating files: 52% (9484/18237)
Updating files: 53% (9666/18237)
Updating files: 53% (9809/18237)
Updating files: 54% (9848/18237)
Updating files: 55% (10031/18237)
Updating files: 56% (10213/18237)
Updating files: 57% (10396/18237)
Updating files: 58% (10578/18237)
Updating files: 59% (10760/18237)
Updating files: 60% (10943/18237)
Updating files: 61% (11125/18237)
Updating files: 62% (11307/18237)
Updating files: 63% (11490/18237)
Updating files: 64% (11672/18237)
Updating files: 65% (11855/18237)
Updating files: 65% (11953/18237)
Updating files: 66% (12037/18237)
Updating files: 67% (12219/18237)
Updating files: 68% (12402/18237)
Updating files: 69% (12584/18237)
Updating files: 70% (12766/18237)
Updating files: 71% (12949/18237)
Updating files: 72% (13131/18237)
Updating files: 73% (13314/18237)
Updating files: 74% (13496/18237)
Updating files: 75% (13678/18237)
Updating files: 76% (13861/18237)
Updating files: 77% (14043/18237)
Updating files: 77% (14210/18237)
Updating files: 78% (14225/18237)
Updating files: 79% (14408/18237)
Updating files: 80% (14590/18237)
Updating files: 81% (14772/18237)
Updating files: 82% (14955/18237)
Updating files: 83% (15137/18237)
Updating files: 84% (15320/18237)
Updating files: 85% (15502/18237)
Updating files: 86% (15684/18237)
Updating files: 87% (15867/18237)
Updating files: 88% (16049/18237)
Updating files: 89% (16231/18237)
Updating files: 90% (16414/18237)
Updating files: 90% (16506/18237)
Updating files: 91% (16596/18237)
Updating files: 92% (16779/18237)
Updating files: 93% (16961/18237)
Updating files: 94% (17143/18237)
Updating files: 95% (17326/18237)
Updating files: 96% (17508/18237)
Updating files: 97% (17690/18237)
Updating files: 98% (17873/18237)
Updating files: 99% (18055/18237)
Updating files: 100% (18237/18237)
Updating files: 100% (18237/18237), done.
HEAD is now at 56393c852e add ocaml-solo5 1.2.1
HEAD is now at b3916862df Merge pull request #29393 from hhugo/release-js_of_ocaml-6.3.2
Merge made by the 'ort' strategy.
packages/gen_js_api/gen_js_api.1.1.7/opam | 53 +++++++++++++++++++++++++++++++
packages/ojs/ojs.1.1.7/opam | 30 +++++++++++++++++
2 files changed, 83 insertions(+)
create mode 100644 packages/gen_js_api/gen_js_api.1.1.7/opam
create mode 100644 packages/ojs/ojs.1.1.7/opam
(from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:705890ca65fe646d8e26c7b170e25fbb764742d3d3cac1c1981e8abe89feaad5)
2026-02-19 01:51.41 ---> using "19fd5310986077fc9698037d8848c513269f88343bf50236940dc6e2d3c6d7c0" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-02-19 01:51.41 ---> using "fcef2120c5f3b76d7ad6eb4a94105ff487a50e3d65e1b1520aabfbd775aafd28" 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 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] Initialised
2026-02-19 01:51.41 ---> using "2cee530e5308139ef61cecd0969942b0aab34ec3c8bdb86a0df0549004741f23" from cache
/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.5.0
# self-upgrade no
# system arch=riscv64 os=linux os-distribution=ubuntu os-version=24.04
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 3
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2026-02-19 01:51.41 ---> using "15720d4f339b54afb0578f6c93315afa93902017b3d501aa7f9717ac9490344c" from cache
/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/"))
2026-02-19 01:51.41 ---> using "889653886c1aae366b15ac5c93e5bc4f64353d8e8ea26b1f0bd74d2778241f15" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-02-19 01:52.07 ---> saved as "6d9ac5da56977651a8b628fa5f1f17d00d48949d3091b0416cd4d8cb39def2fe"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-19 01:53.41 ---> saved as "3f5fcecf3840094f91a9d148907b2176b82e3d63c15e2f099d708a703bb0de50"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease [126 kB]
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1513 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [931 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [940 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [602 kB]
- Fetched 4364 kB in 2s (1784 kB/s)
- Reading package lists...
-
2026-02-19 01:53.50 ---> saved as "be3279ea0f90869405cb4ff12d8d0ba5794afb26717254cdc8fbb7ba8c24942b"
/home/opam: (run (shell "opam pin add -k version -yn gen_js_api.1.1.7 1.1.7"))
gen_js_api is now pinned to version 1.1.7
2026-02-19 01:53.53 ---> saved as "db8d27fda760146381b336360b23038cc58e9c8f119bcde3b1265cb3f614cca1"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall gen_js_api.1.1.7;\
\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 \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'gen_js_api.1.1.7' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
gen_js_api.1.1.7 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 19 packages
- install cmdliner 2.1.0 [required by js_of_ocaml-compiler]
- install dune 3.21.1 [required by gen_js_api]
- install gen 1.1 [required by sedlex]
- install gen_js_api 1.1.7 (pinned)
- install js_of_ocaml-compiler 6.3.2 [required by ojs]
- install menhir 20260209 [required by js_of_ocaml-compiler]
- install menhirCST 20260209 [required by menhir]
- install menhirGLR 20260209 [required by menhir]
- install menhirLib 20260209 [required by js_of_ocaml-compiler]
- install menhirSdk 20260209 [required by js_of_ocaml-compiler]
- install ocaml-compiler-libs v0.17.0 [required by js_of_ocaml-compiler]
- install ojs 1.1.7 [required by gen_js_api]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.37.0 [required by gen_js_api]
- install sedlex 3.7 [required by js_of_ocaml-compiler]
- install seq base [required by gen]
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install yojson 3.0.0 [required by js_of_ocaml-compiler]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.1.0 (cached)
-> retrieved dune.3.21.1 (cached)
-> retrieved gen.1.1 (cached)
-> retrieved gen_js_api.1.1.7, ojs.1.1.7 (https://github.com/LexiFi/gen_js_api/archive/refs/tags/v1.1.7.tar.gz)
-> retrieved js_of_ocaml-compiler.6.3.2 (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> installed cmdliner.2.1.0
-> retrieved ppxlib.0.37.0 (cached)
-> retrieved sedlex.3.7 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved yojson.3.0.0 (cached)
-> installed dune.3.21.1
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed gen.1.1
-> installed menhirLib.20260209
-> installed ppx_derivers.1.2.1
-> installed menhirSdk.20260209
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed yojson.3.0.0
-> installed menhir.20260209
-> installed ppxlib.0.37.0
-> installed sedlex.3.7
-> installed js_of_ocaml-compiler.6.3.2
-> installed ojs.1.1.7
-> installed gen_js_api.1.1.7
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-19 02:05.37 ---> saved as "4a6d24fdbd3b2d91896f28e5f281351df653b8a5050f32c09200ddd5f26162cf"
Job succeeded
2026-02-19 02:06.11: Job succeeded