Build:
- 0
2026-04-15 11:18.49: New job: build elpi.3.7.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29728/head (6cf2401cf5a21217f75f463c942e4c17ce2a57cb)
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/29728/head" && git reset --hard 6cf2401c
git fetch origin master
git merge --no-edit d1c96c8e211dddd369fb445f0e7348fb9cffad4a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:ec771a126c2b447df23d6119fb7bf59e63f805db15ead4c8564888b5feb15192
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 elpi.3.7.0 3.7.0
RUN opam reinstall elpi.3.7.0; \
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" != 'elpi.3.7.0' && 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-04-15 11:18.49: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:ec771a126c2b447df23d6119fb7bf59e63f805db15ead4c8564888b5feb15192-elpi.3.7.0-6cf2401cf5a21217f75f463c942e4c17ce2a57cb"
2026-04-15 11:18.49: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:ec771a126c2b447df23d6119fb7bf59e63f805db15ead4c8564888b5feb15192)
(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 elpi.3.7.0 3.7.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall elpi.3.7.0;\
\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\" != 'elpi.3.7.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-04-15 11:18.49: Waiting for resource in pool OCluster
2026-04-15 11:18.49: Waiting for worker…
2026-04-15 11:21.57: Got resource from pool OCluster
Building on riscv-bm-01.sw.ci.dev
Updating files: 13% (2451/18735)
Updating files: 14% (2623/18735)
Updating files: 15% (2811/18735)
Updating files: 16% (2998/18735)
Updating files: 17% (3185/18735)
Updating files: 18% (3373/18735)
Updating files: 19% (3560/18735)
Updating files: 20% (3747/18735)
Updating files: 21% (3935/18735)
Updating files: 22% (4122/18735)
Updating files: 23% (4310/18735)
Updating files: 24% (4497/18735)
Updating files: 25% (4684/18735)
Updating files: 26% (4872/18735)
Updating files: 26% (4901/18735)
Updating files: 27% (5059/18735)
Updating files: 28% (5246/18735)
Updating files: 29% (5434/18735)
Updating files: 30% (5621/18735)
Updating files: 31% (5808/18735)
Updating files: 32% (5996/18735)
Updating files: 33% (6183/18735)
Updating files: 34% (6370/18735)
Updating files: 35% (6558/18735)
Updating files: 36% (6745/18735)
Updating files: 37% (6932/18735)
Updating files: 38% (7120/18735)
Updating files: 39% (7307/18735)
Updating files: 40% (7494/18735)
Updating files: 40% (7577/18735)
Updating files: 41% (7682/18735)
Updating files: 42% (7869/18735)
Updating files: 43% (8057/18735)
Updating files: 44% (8244/18735)
Updating files: 45% (8431/18735)
Updating files: 46% (8619/18735)
Updating files: 47% (8806/18735)
Updating files: 48% (8993/18735)
Updating files: 49% (9181/18735)
Updating files: 50% (9368/18735)
Updating files: 51% (9555/18735)
Updating files: 52% (9743/18735)
Updating files: 52% (9809/18735)
Updating files: 53% (9930/18735)
Updating files: 54% (10117/18735)
Updating files: 55% (10305/18735)
Updating files: 56% (10492/18735)
Updating files: 57% (10679/18735)
Updating files: 58% (10867/18735)
Updating files: 59% (11054/18735)
Updating files: 60% (11241/18735)
Updating files: 61% (11429/18735)
Updating files: 62% (11616/18735)
Updating files: 63% (11804/18735)
Updating files: 64% (11991/18735)
Updating files: 64% (12116/18735)
Updating files: 65% (12178/18735)
Updating files: 66% (12366/18735)
Updating files: 67% (12553/18735)
Updating files: 68% (12740/18735)
Updating files: 69% (12928/18735)
Updating files: 70% (13115/18735)
Updating files: 71% (13302/18735)
Updating files: 72% (13490/18735)
Updating files: 73% (13677/18735)
Updating files: 74% (13864/18735)
Updating files: 75% (14052/18735)
Updating files: 76% (14239/18735)
Updating files: 76% (14379/18735)
Updating files: 77% (14426/18735)
Updating files: 78% (14614/18735)
Updating files: 79% (14801/18735)
Updating files: 80% (14988/18735)
Updating files: 81% (15176/18735)
Updating files: 82% (15363/18735)
Updating files: 83% (15551/18735)
Updating files: 84% (15738/18735)
Updating files: 85% (15925/18735)
Updating files: 86% (16113/18735)
Updating files: 87% (16300/18735)
Updating files: 88% (16487/18735)
Updating files: 89% (16675/18735)
Updating files: 89% (16800/18735)
Updating files: 90% (16862/18735)
Updating files: 91% (17049/18735)
Updating files: 92% (17237/18735)
Updating files: 93% (17424/18735)
Updating files: 94% (17611/18735)
Updating files: 95% (17799/18735)
Updating files: 96% (17986/18735)
Updating files: 97% (18173/18735)
Updating files: 98% (18361/18735)
Updating files: 99% (18548/18735)
Updating files: 100% (18735/18735)
Updating files: 100% (18735/18735), done.
HEAD is now at 8fdf174cff [new release] tm-grammars (2.0.0)
HEAD is now at d1c96c8e21 Merge pull request #29725 from kit-ty-kate/fix-conf-clang-alpine
Updating d1c96c8e21..6cf2401cf5
Fast-forward
packages/elpi/elpi.3.7.0/opam | 92 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 92 insertions(+)
create mode 100644 packages/elpi/elpi.3.7.0/opam
(from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:ec771a126c2b447df23d6119fb7bf59e63f805db15ead4c8564888b5feb15192)
2026-04-15 11:22.19 ---> using "98e1ebe640ade2855b2e23d5ab917d0bb2466b4fb598632f632a51fbf3fd76a8" 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-04-15 11:22.19 ---> using "49568afaca6af61333e88cb4a99b993250f5ee5cfdef9487f460683408d767cd" 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-04-15 11:22.19 ---> using "6dce35579b2ff5dbce84d99269192c213d0d28ad08ff28df9af64e796d14d94f" 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.1"}]
# compiler-packages ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, 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.1
2026-04-15 11:22.19 ---> using "4ada98359e75122a50c548632af3d0e10ac44b68f89a9508658806a51f379760" 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-04-15 11:22.19 ---> using "c74ff9e35eddd5b8db71a6617a88269883dfad655555da26b395be62fbdf76fa" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-15 11:22.46 ---> saved as "2ba7db8ac9f3846e58ff6657bc8a0d798f5a8876d1a8db836a833d0e1bbef240"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-15 11:24.20 ---> saved as "a1caccf9331c82b49c1b0b45bc79ee9f01e49f9f6cd617b76e345b2f302c5556"
/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 [1606 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse riscv64 Packages [5176 B]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [961 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe riscv64 Packages [29.5 kB]
- Get:9 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [1123 kB]
- Get:10 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [637 kB]
- Fetched 4740 kB in 3s (1792 kB/s)
- Reading package lists...
-
2026-04-15 11:24.30 ---> saved as "f61543348425848851c9ca1101a07682b7430b26c016ee2765cb4168cedccd6c"
/home/opam: (run (shell "opam pin add -k version -yn elpi.3.7.0 3.7.0"))
elpi is now pinned to version 3.7.0
2026-04-15 11:24.32 ---> saved as "d9a76ef365ebbe6792fc900d2884cec8fd61178882d5a2c173a02331c9f3a2a7"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall elpi.3.7.0;\
\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\" != 'elpi.3.7.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
elpi.3.7.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 31 packages
- install atd 4.1.0 [required by atdgen, atdts]
- install atdgen 4.1.0 [required by elpi]
- install atdgen-runtime 4.1.0 [required by atdgen]
- install atdts 4.1.0 [required by elpi]
- install base v0.17.3 [required by ppx_optcomp]
- install biniou 1.2.2 [required by atdgen]
- install camlp-streams 5.0.1 [required by biniou]
- install cmdliner 2.1.0 [required by atdts]
- install cppo 1.8.0 [required by ppx_deriving]
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.22.2 [required by elpi]
- install dune-configurator 3.22.2 [required by base]
- install easy-format 1.3.4 [required by atd]
- install elpi 3.7.0 (pinned)
- install menhir 20260209 [required by elpi]
- install menhirCST 20260209 [required by menhir]
- install menhirGLR 20260209 [required by menhir]
- install menhirLib 20260209 [required by menhir]
- install menhirSdk 20260209 [required by menhir]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ocaml_intrinsics_kernel v0.17.1 [required by base]
- install ocamlfind 1.9.8 [required by ppx_deriving]
- install ppx_derivers 1.2.1 [required by ppx_deriving]
- install ppx_deriving 6.1.1 [required by elpi]
- install ppx_optcomp v0.17.1 [required by elpi]
- install ppxlib 0.38.0 [required by elpi]
- install re 1.14.0 [required by elpi]
- install sexplib0 v0.17.0 [required by ppxlib, base]
- install stdio v0.17.0 [required by ppx_optcomp]
- install stdlib-shims 0.3.0 [required by elpi]
- install yojson 3.0.0 [required by atdgen]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved atd.4.1.0, atdgen.4.1.0, atdgen-runtime.4.1.0, atdts.4.1.0 (cached)
-> retrieved base.v0.17.3 (cached)
-> retrieved biniou.1.2.2 (cached)
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cmdliner.2.1.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.22.2, dune-configurator.3.22.2 (cached)
-> retrieved easy-format.1.3.4 (cached)
-> installed cmdliner.2.1.0
-> retrieved elpi.3.7.0 (https://github.com/LPCIC/elpi/releases/download/v3.7.0/elpi-3.7.0.tbz)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_deriving.6.1.1 (cached)
-> retrieved ppx_optcomp.v0.17.1 (cached)
-> retrieved ppxlib.0.38.0 (cached)
-> retrieved re.1.14.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdio.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved yojson.3.0.0 (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.22.2
-> installed csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed cppo.1.8.0
-> installed easy-format.1.3.4
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed biniou.1.2.2
-> installed dune-configurator.3.22.2
-> installed menhirSdk.20260209
-> installed menhirLib.20260209
-> installed ppx_derivers.1.2.1
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ocaml-compiler-libs.v0.17.0
-> installed re.1.14.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed yojson.3.0.0
-> installed menhir.20260209
-> installed atdgen-runtime.4.1.0
-> installed base.v0.17.3
-> installed stdio.v0.17.0
-> installed atd.4.1.0
-> installed atdts.4.1.0
-> installed atdgen.4.1.0
-> installed ppxlib.0.38.0
-> installed ppx_optcomp.v0.17.1
-> installed ppx_deriving.6.1.1
-> installed elpi.3.7.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-15 11:37.15 ---> saved as "54f9f22d561b5a01b52e9f8f49ce0039a4cff086e3efc8aa911424e7999e137f"
Job succeeded
2026-04-15 11:37.49: Job succeeded