- github
- ocaml
- opam-repository
- c7d160
- extras,riscv64-ocaml-5.4,ochre-cli.1.0.0,tests
(not at the head of any monitored branch or PR)
2026-04-12 18:50.46: New job: test ochre-cli.1.0.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29700/head (c7d1605439a68ff5f5d9f600bbf5faa96cbbaf3e)
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/29700/head" && git reset --hard c7d16054
git fetch origin master
git merge --no-edit 0404939bde256ca9d097922f265c4342b3b383b0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:db117072c7c4e333c4bbebd64086f61a6041c264211df9d20a6cd5bfe5b2fce0
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 ochre-cli.1.0.0 1.0.0
RUN opam reinstall ochre-cli.1.0.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" != 'ochre-cli.1.0.0' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test ochre-cli.1.0.0) || true
RUN opam reinstall --with-test --verbose ochre-cli.1.0.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" != 'ochre-cli.1.0.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-12 18:50.46: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:db117072c7c4e333c4bbebd64086f61a6041c264211df9d20a6cd5bfe5b2fce0-ochre-cli.1.0.0-c7d1605439a68ff5f5d9f600bbf5faa96cbbaf3e"
2026-04-12 18:50.46: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:db117072c7c4e333c4bbebd64086f61a6041c264211df9d20a6cd5bfe5b2fce0)
(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 ochre-cli.1.0.0 1.0.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ochre-cli.1.0.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\" != 'ochre-cli.1.0.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test ochre-cli.1.0.0) || true"))
(run (shell "opam reinstall --with-test --verbose ochre-cli.1.0.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\" != 'ochre-cli.1.0.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-12 18:50.46: Waiting for resource in pool OCluster
2026-04-12 18:50.47: Waiting for worker…
2026-04-12 19:05.09: Got resource from pool OCluster
Building on riscv-bm-01.sw.ci.dev
All commits already cached
Updating files: 12% (2279/18675)
Updating files: 13% (2428/18675)
Updating files: 14% (2615/18675)
Updating files: 15% (2802/18675)
Updating files: 16% (2988/18675)
Updating files: 17% (3175/18675)
Updating files: 18% (3362/18675)
Updating files: 19% (3549/18675)
Updating files: 20% (3735/18675)
Updating files: 21% (3922/18675)
Updating files: 22% (4109/18675)
Updating files: 23% (4296/18675)
Updating files: 24% (4482/18675)
Updating files: 24% (4603/18675)
Updating files: 25% (4669/18675)
Updating files: 26% (4856/18675)
Updating files: 27% (5043/18675)
Updating files: 28% (5229/18675)
Updating files: 29% (5416/18675)
Updating files: 30% (5603/18675)
Updating files: 31% (5790/18675)
Updating files: 32% (5976/18675)
Updating files: 33% (6163/18675)
Updating files: 34% (6350/18675)
Updating files: 35% (6537/18675)
Updating files: 36% (6723/18675)
Updating files: 37% (6910/18675)
Updating files: 38% (7097/18675)
Updating files: 38% (7116/18675)
Updating files: 39% (7284/18675)
Updating files: 40% (7470/18675)
Updating files: 41% (7657/18675)
Updating files: 42% (7844/18675)
Updating files: 43% (8031/18675)
Updating files: 44% (8217/18675)
Updating files: 45% (8404/18675)
Updating files: 46% (8591/18675)
Updating files: 47% (8778/18675)
Updating files: 48% (8964/18675)
Updating files: 49% (9151/18675)
Updating files: 50% (9338/18675)
Updating files: 50% (9408/18675)
Updating files: 51% (9525/18675)
Updating files: 52% (9711/18675)
Updating files: 53% (9898/18675)
Updating files: 54% (10085/18675)
Updating files: 55% (10272/18675)
Updating files: 56% (10458/18675)
Updating files: 57% (10645/18675)
Updating files: 58% (10832/18675)
Updating files: 59% (11019/18675)
Updating files: 60% (11205/18675)
Updating files: 61% (11392/18675)
Updating files: 61% (11561/18675)
Updating files: 62% (11579/18675)
Updating files: 63% (11766/18675)
Updating files: 64% (11952/18675)
Updating files: 65% (12139/18675)
Updating files: 66% (12326/18675)
Updating files: 67% (12513/18675)
Updating files: 68% (12699/18675)
Updating files: 69% (12886/18675)
Updating files: 70% (13073/18675)
Updating files: 71% (13260/18675)
Updating files: 72% (13446/18675)
Updating files: 73% (13633/18675)
Updating files: 73% (13774/18675)
Updating files: 74% (13820/18675)
Updating files: 75% (14007/18675)
Updating files: 76% (14193/18675)
Updating files: 77% (14380/18675)
Updating files: 78% (14567/18675)
Updating files: 79% (14754/18675)
Updating files: 80% (14940/18675)
Updating files: 81% (15127/18675)
Updating files: 82% (15314/18675)
Updating files: 83% (15501/18675)
Updating files: 84% (15687/18675)
Updating files: 85% (15874/18675)
Updating files: 86% (16061/18675)
Updating files: 86% (16157/18675)
Updating files: 87% (16248/18675)
Updating files: 88% (16434/18675)
Updating files: 89% (16621/18675)
Updating files: 90% (16808/18675)
Updating files: 91% (16995/18675)
Updating files: 92% (17181/18675)
Updating files: 93% (17368/18675)
Updating files: 94% (17555/18675)
Updating files: 95% (17742/18675)
Updating files: 96% (17928/18675)
Updating files: 97% (18115/18675)
Updating files: 98% (18302/18675)
Updating files: 99% (18489/18675)
Updating files: 99% (18516/18675)
Updating files: 100% (18675/18675)
Updating files: 100% (18675/18675), done.
HEAD is now at 0404939bde Merge pull request #29648 from sanette/opam-publish-tsdl-ttf.0.7
Updating 0404939bde..c7d1605439
Fast-forward
packages/ochre-cli/ochre-cli.1.0.0/opam | 44 +++++++++++++++++++++++++++++
packages/ochre/ochre.1.0.0/opam | 49 +++++++++++++++++++++++++++++++++
2 files changed, 93 insertions(+)
create mode 100644 packages/ochre-cli/ochre-cli.1.0.0/opam
create mode 100644 packages/ochre/ochre.1.0.0/opam
(from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:db117072c7c4e333c4bbebd64086f61a6041c264211df9d20a6cd5bfe5b2fce0)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:db117072c7c4e333c4bbebd64086f61a6041c264211df9d20a6cd5bfe5b2fce0' locally
docker.io/ocaml/opam@sha256:db117072c7c4e333c4bbebd64086f61a6041c264211df9d20a6cd5bfe5b2fce0: Pulling from ocaml/opam
866473980fd7: Already exists
68944697ad4d: Already exists
593f7aa85813: Already exists
1bba36de2c28: Already exists
ae8ee7d823d4: Already exists
802dffff3a07: Already exists
45b403b3385b: Already exists
7953af5391f7: Already exists
8eecefc0147e: Already exists
c5b0a3f5ed74: Already exists
cdff2801df5e: Already exists
93cf55dc9f94: Already exists
a28595b6da8d: Already exists
b02e05a70bb1: Already exists
fc97d4a67def: Already exists
4057b567c63f: Already exists
57e10e7e8870: Already exists
57e10e7e8870: Already exists
a44f2aef790d: Already exists
00fdf8a8fe1a: Already exists
eec89b1928b5: Already exists
d29756dae49d: Already exists
4f4fb700ef54: Already exists
d05880e78c73: Already exists
73fc09136d84: Already exists
d076de08a4db: Already exists
9aca9bdf068b: Already exists
7b476383f593: Already exists
d53a104e59b9: Already exists
62aed5a8fcfd: Already exists
7d50906bd92b: Already exists
c104ff5b36d5: Already exists
c648104242b4: Already exists
c2a8d0c6ffad: Already exists
b005870b0c86: Already exists
a932ebd86caf: Already exists
036c7b5597ce: Already exists
3d45eadf48e0: Already exists
1842387ed358: Already exists
3e9ffbea956f: Already exists
81dd1e481adf: Already exists
ab027b218dc6: Pulling fs layer
c0bcf2057a9b: Pulling fs layer
dbd609f1eb1b: Pulling fs layer
b5e0ef43ba47: Pulling fs layer
49cfdf644a5f: Pulling fs layer
069e9f268cd6: Pulling fs layer
8bd3f8d1edde: Pulling fs layer
b5e0ef43ba47: Waiting
49cfdf644a5f: Waiting
8bd3f8d1edde: Waiting
c0bcf2057a9b: Verifying Checksum
c0bcf2057a9b: Download complete
dbd609f1eb1b: Verifying Checksum
dbd609f1eb1b: Download complete
ab027b218dc6: Verifying Checksum
ab027b218dc6: Download complete
49cfdf644a5f: Download complete
8bd3f8d1edde: Verifying Checksum
8bd3f8d1edde: Download complete
ab027b218dc6: Pull complete
069e9f268cd6: Download complete
c0bcf2057a9b: Pull complete
dbd609f1eb1b: Pull complete
b5e0ef43ba47: Verifying Checksum
b5e0ef43ba47: Download complete
b5e0ef43ba47: Pull complete
49cfdf644a5f: Pull complete
069e9f268cd6: Pull complete
8bd3f8d1edde: Pull complete
Digest: sha256:db117072c7c4e333c4bbebd64086f61a6041c264211df9d20a6cd5bfe5b2fce0
Status: Downloaded newer image for ocaml/opam@sha256:db117072c7c4e333c4bbebd64086f61a6041c264211df9d20a6cd5bfe5b2fce0
2026-04-12 19:05.20 ---> using "1afbf1c3817e9b9dd6c849f18c81cd54a70004b6185886ebbe0968654155dfcc" 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-12 19:05.20 ---> using "9b74c082db0c46a9fca1dadff78b3c50d84e0e944eee3374d82cf17f17770155" 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-12 19:05.20 ---> using "95de59af29bdd834715db31461a90e98c4d9e8936809b86c1714c103dc64821f" 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-12 19:05.20 ---> using "d9f9a4ef15dc79d85792d5e2bea1311b6ab8722163a614575e3ca995c2c1650f" 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-12 19:05.20 ---> using "5c1f7c0b9beb70c056f5e09479f03e7e0c5b8cc27d9ce59673ca7abc913b9344" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-12 19:05.26 ---> using "16859d41fcc79e8f036e3c6fd3c6f341c2b97d5725d508cc4d1e9561c490d4f6" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-12 19:05.26 ---> using "dd97a540c4fb014d6cfd8f669992839efcdcf77ed4cf184ed54285eab16df915" from cache
/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/main riscv64 Packages [958 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1605 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [1122 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [633 kB]
- Fetched 4697 kB in 2s (2129 kB/s)
- Reading package lists...
-
2026-04-12 19:05.26 ---> using "7b1d4db5a25ce079467759d9849fb64eb023d204e4b47006db903b32ba475ec7" from cache
/home/opam: (run (shell "opam pin add -k version -yn ochre-cli.1.0.0 1.0.0"))
ochre-cli is now pinned to version 1.0.0
2026-04-12 19:05.26 ---> using "82eefe9bc5cab3a0e3ed5d0af95d79bbc170fc4863ea92e24b561156ad3557ac" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ochre-cli.1.0.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\" != 'ochre-cli.1.0.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ochre-cli.1.0.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 28 packages
- install base64 3.5.2 [required by plist-xml]
- install cmdliner 2.1.0 [required by ochre-cli]
- install conf-oniguruma 1 [required by ochre]
- install conf-pkg-config 4 [required by conf-oniguruma]
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.22.1 [required by ochre-cli]
- install dune-configurator 3.22.1 [required by ochre]
- install ISO8601 0.2.6 [required by plist-xml]
- install melange-json-native 2.0.0 [required by ochre]
- install menhir 20260209 [required by plist-xml]
- 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 ocamlbuild 0.16.1 [required by xmlm]
- install ocamlfind 1.9.8 [required by xmlm]
- install ochre 1.0.0 [required by ochre-cli]
- install ochre-cli 1.0.0 (pinned)
- install plist-xml 0.5.1 [required by ochre]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.38.0 [required by melange-json-native]
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install tm-grammars 1.1.0 [required by ochre-cli]
- install topkg 1.1.1 [required by xmlm]
- install xmlm 1.4.0 [required by plist-xml]
- install yojson 3.0.0 [required by ochre]
The following system packages will first need to be installed:
libonig-dev pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libonig-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libonig5:riscv64.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 16279 files and directories currently installed.)
- Preparing to unpack .../0-libonig5_6.9.9-1build1_riscv64.deb ...
- Unpacking libonig5:riscv64 (6.9.9-1build1) ...
- Selecting previously unselected package libonig-dev.
- Preparing to unpack .../1-libonig-dev_6.9.9-1build1_riscv64.deb ...
- Unpacking libonig-dev (6.9.9-1build1) ...
- Selecting previously unselected package libpkgconf3:riscv64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-2build1_riscv64.deb ...
- Unpacking libpkgconf3:riscv64 (1.8.1-2build1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-2build1_riscv64.deb ...
- Unpacking pkgconf-bin (1.8.1-2build1) ...
- Selecting previously unselected package pkgconf:riscv64.
- Preparing to unpack .../4-pkgconf_1.8.1-2build1_riscv64.deb ...
- Unpacking pkgconf:riscv64 (1.8.1-2build1) ...
- Selecting previously unselected package pkg-config:riscv64.
- Preparing to unpack .../5-pkg-config_1.8.1-2build1_riscv64.deb ...
- Unpacking pkg-config:riscv64 (1.8.1-2build1) ...
- Setting up libpkgconf3:riscv64 (1.8.1-2build1) ...
- Setting up pkgconf-bin (1.8.1-2build1) ...
- Setting up libonig5:riscv64 (6.9.9-1build1) ...
- Setting up libonig-dev (6.9.9-1build1) ...
- Setting up pkgconf:riscv64 (1.8.1-2build1) ...
- Setting up pkg-config:riscv64 (1.8.1-2build1) ...
- Processing triggers for libc-bin (2.39-0ubuntu8.7) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.2 (cached)
-> retrieved cmdliner.2.1.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-pkg-config.4
-> installed conf-oniguruma.1
-> retrieved dune.3.22.1, dune-configurator.3.22.1 (cached)
-> retrieved ISO8601.0.2.6 (cached)
-> retrieved melange-json-native.2.0.0 (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209 (cached)
-> installed cmdliner.2.1.0
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ochre.1.0.0, ochre-cli.1.0.0 (https://github.com/davesnx/ochre/releases/download/1.0.0/ochre-1.0.0.tbz)
-> retrieved plist-xml.0.5.1 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppxlib.0.38.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved tm-grammars.1.1.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> retrieved xmlm.1.4.0 (cached)
-> retrieved yojson.3.0.0 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed xmlm.1.4.0
-> installed dune.3.22.1
-> installed csexp.1.5.2
-> installed base64.3.5.2
-> installed ISO8601.0.2.6
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed menhirSdk.20260209
-> installed dune-configurator.3.22.1
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed yojson.3.0.0
-> installed menhir.20260209
-> installed tm-grammars.1.1.0
-> installed plist-xml.0.5.1
-> installed ppxlib.0.38.0
-> installed melange-json-native.2.0.0
-> installed ochre.1.0.0
-> installed ochre-cli.1.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-12 19:05.26 ---> using "96a38a4c9c1e05d637c98c8498f9066494404fcec727b4920acc719e1db42468" from cache
/home/opam: (run (network host)
(shell "(opam reinstall --with-test ochre-cli.1.0.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile ochre-cli 1.0.0 (pinned)
=== install 10 packages
- install alcotest 1.9.1 [required by ochre-cli]
- install astring 0.8.5 [required by alcotest]
- install cstruct 6.2.0 [required by hex]
- install ezjsonm 1.3.0 [required by ochre-cli]
- install fmt 0.11.0 [required by alcotest]
- install hex 1.5.0 [required by ezjsonm]
- install jsonm 1.0.2 [required by ezjsonm]
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
- install re 1.14.0 [required by alcotest]
- install uutf 1.0.4 [required by alcotest, ezjsonm]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1 (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5 (https://opam.ocaml.org/cache)
-> retrieved cstruct.6.2.0 (https://opam.ocaml.org/cache)
-> retrieved ezjsonm.1.3.0 (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0 (https://opam.ocaml.org/cache)
-> retrieved hex.1.5.0 (https://opam.ocaml.org/cache)
-> retrieved jsonm.1.0.2 (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0 (https://opam.ocaml.org/cache)
-> retrieved re.1.14.0 (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4 (https://opam.ocaml.org/cache)
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed cstruct.6.2.0
-> installed ocaml-syntax-shims.1.0.0
-> installed hex.1.5.0
-> installed re.1.14.0
-> removed ochre-cli.1.0.0
-> installed uutf.1.0.4
-> installed jsonm.1.0.2
-> installed alcotest.1.9.1
-> installed ezjsonm.1.3.0
[ERROR] The compilation of ochre-cli.1.0.0 failed at "dune build -p ochre-cli -j 3 @install @runtest".
#=== ERROR while compiling ochre-cli.1.0.0 ====================================#
# context 2.5.0 | linux/riscv64 | ocaml-base-compiler.5.4.1 | pinned(https://github.com/davesnx/ochre/releases/download/1.0.0/ochre-1.0.0.tbz)
# path ~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ochre-cli -j 3 @install @runtest
# exit-code 1
# env-file ~/.opam/log/ochre-cli-8-16c584.env
# output-file ~/.opam/log/ochre-cli-8-16c584.out
### output ###
# (cd _build/.sandbox/f984e6bec3cf55dd3fe0445921b26e8b/default/vendor/ocaml-oniguruma/test && ./test_misc.exe)
# 6.9.9
# File "test/cram/cli_reason.t", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/cram/cli_reason.t _build/default/test/cram/cli_reason.t.corrected
# diff --git a/_build/default/test/cram/cli_reason.t b/_build/default/test/cram/cli_reason.t.corrected
# index 1070df1..fda56fb 100644
# --- a/_build/default/test/cram/cli_reason.t
# +++ b/_build/default/test/cram/cli_reason.t.corrected
# @@ -1,12 +1,5 @@
# Reason bundled grammar works through the CLI
# $ printf 'let x = 1;\n' | ochre reason --format tokens
# - line 1:
# - "let" storage.type, source.reason
# - " " source.reason
# - "x" entity.name.function, source.reason
# - " " source.reason
# - "=" keyword.control.less, source.reason
# - " " source.reason
# - "1" constant.numeric, source.reason
# - ";" message.error, keyword.control, keyword.operator, variable.interpolation, variable.other.class.js, source.reason
# - "\n" source.reason
# + ochre: No bundled grammar for 'reason'. Available: . Use --grammar to provide
# + one.
# + [124]
# (cd _build/.sandbox/706423845f40ec3f4e402ac261155606/default/vendor/ocaml-textmate-language/test && ./test_find.exe)
# Testing `Finding'.
# This run has ID `P514QTK0'.
#
# [OK] data/multiwhile.json 0 Yojson.
# [OK] data/multiwhile.json 1 Ezjsonm.
#
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/706423845f40ec3f4e402ac261155606/default/vendor/ocaml-textmate-language/test/_build/_tests/Finding'.
# Test Successful in 0.004s. 2 tests run.
# (cd _build/.sandbox/44988e546ac6fe0cf61b0eac9d3fb3a0/default/vendor/ocaml-textmate-language/test && ./test_cpp.exe)
# Testing `C++'.
# This run has ID `MR8EUVDO'.
#
# [OK] data/cpp.tmLanguage.json 0 Yojson.
# [OK] data/cpp.tmLanguage.json 1 Ezjsonm.
#
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/44988e546ac6fe0cf61b0eac9d3fb3a0/default/vendor/ocaml-textmate-language/test/_build/_tests/CU+002BU+002B'.
# Test Successful in 0.167s. 2 tests run.
# (cd _build/.sandbox/a4b32223e9f4d7d54e17a1e9cb963ddc/default/test && ./test_ochre.exe)
# Testing `Ochre'.
# This run has ID `96O5XEZ9'.
#
# [OK] theme 0 Load theme from string.
# [OK] theme 1 Make raw theme.
# [OK] scope 0 Scope matching via tokens.
# [OK] scope 1 Scope properties merge by rule.
# [OK] grammar 0 Accept capture arrays.
# [OK] transform 0 Empty transforms passthrough.
# [OK] transform 1 Transform ordering (last wins).
# [OK] transform 2 Transform determinism.
# [OK] transform 3 Line highlight builtin.
# [OK] transform 4 Hook execution order.
# [OK] notation-transform 0 Notation highlight basic.
# [OK] notation-transform 1 Notation highlight no match.
# [OK] notation-transform 2 Notation diff add.
# [OK] notation-transform 3 Notation diff remove.
# [OK] notation-transform 4 Notation diff no match.
# [OK] notation-transform 5 Notation word highlight basic.
# [OK] notation-transform 6 Notation word highlight no ma...
# [OK] notation-transform 7 Notation highlight with highl...
# [OK] decoration 0 Empty decorations passthrough.
# [OK] decoration 1 Whole token decoration.
# [OK] decoration 2 Token splitting at boundary.
# [OK] decoration 3 Mid-token split.
# [OK] decoration 4 Multi-token decoration.
# [OK] decoration 5 Negative character position.
# [OK] decoration 6 Overlapping decorations.
# [OK] decoration 7 Multiline decoration.
# [OK] decoration 8 Decoration with highlighter.
#
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/a4b32223e9f4d7d54e17a1e9cb963ddc/default/test/_build/_tests/Ochre'.
# Test Successful in 0.026s. 27 tests run.
# (cd _build/.sandbox/59c70630fc0d30db59d310e9ec48da0c/default/vendor/ocaml-textmate-language/test && ./test_csharp.exe)
# Testing `C#'.
# This run has ID `LHR9ASN4'.
#
# [OK] data/csharp.tmLanguage 0 Plist.
#
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/59c70630fc0d30db59d310e9ec48da0c/default/vendor/ocaml-textmate-language/test/_build/_tests/CU+0023'.
# Test Successful in 0.015s. 1 test run.
# (cd _build/.sandbox/07324dbd10f926fe1726a8b2e5f494b4/default/vendor/ocaml-textmate-language/test && ./test_ocaml.exe)
# Testing `OCaml'.
# This run has ID `REVUHJUN'.
#
# [OK] data/ocaml.tmLanguage.json 0 Yojson.
# [OK] data/ocaml.tmLanguage.json 1 Ezjsonm.
#
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/07324dbd10f926fe1726a8b2e5f494b4/default/vendor/ocaml-textmate-language/test/_build/_tests/OCaml'.
# Test Successful in 0.007s. 2 tests run.
# (cd _build/.sandbox/ea0145cfbd164f566e0a6521c4daf439/default/vendor/ocaml-textmate-language/test && ./test_tokenize.exe)
# Testing `Highlighting'.
# This run has ID `P5OV1IW5'.
#
# [OK] data/a.json 0 Yojson.
# [OK] data/a.json 1 Ezjsonm.
# [OK] data/while.json 0 Yojson.
# [OK] data/while.json 1 Ezjsonm.
# [OK] data/multiwhile.json 0 Yojson.
# [OK] data/multiwhile.json 1 Ezjsonm.
# [OK] data/groups.json 0 Yojson.
# [OK] data/groups.json 1 Ezjsonm.
# [OK] data/zero_width_loop.json 0 Yojson.
# [OK] data/zero_width_loop.json 1 Ezjsonm.
# [OK] data/zero_width_end_loop.json 0 Yojson.
# [OK] data/zero_width_end_loop.json 1 Ezjsonm.
# [OK] data/zero_width_match_loop.json 0 Yojson.
# [OK] data/zero_width_match_loop.json 1 Ezjsonm.
# [OK] g-anchor-end-pattern 0 Closes quoted sc...
# [OK] g-anchor-end-pattern 1 Positive \G end ...
# [OK] g-anchor-end-pattern 2 Negative \G end ...
# [OK] g-anchor-parent-and-while 0 Nested patterns ...
# [OK] g-anchor-parent-and-while 1 Empty content cl...
# [OK] g-anchor-parent-and-while 2 Positive \G whil...
# [OK] g-anchor-parent-and-while 3 Negative \G whil...
# [OK] overlapping-begin-captures 0 Keeps string sco...
# [OK] injections 0 Right-priority i...
# [OK] injections 1 Left-priority in...
# [OK] injections 2 Injection does n...
#
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/ea0145cfbd164f566e0a6521c4daf439/default/vendor/ocaml-textmate-language/test/_build/_tests/Highlighting'.
# Test Successful in 0.016s. 25 tests run.
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ochre-cli 1.0.0
+-
+- The following changes have been performed
| - remove ochre-cli 1.0.0
| - install alcotest 1.9.1
| - install astring 0.8.5
| - install cstruct 6.2.0
| - install ezjsonm 1.3.0
| - install fmt 0.11.0
| - install hex 1.5.0
| - install jsonm 1.0.2
| - install ocaml-syntax-shims 1.0.0
| - install re 1.14.0
| - install uutf 1.0.4
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/5.4/.opam-switch/backup/state-20260412190528.export"
Or you can retry to install your package selection with:
/usr/bin/opam install --restore
2026-04-12 19:06.50 ---> saved as "47c9b5167a3f013d4c86aaebdc9ef87e123655aaf8e164153a894a26dd708b8e"
/home/opam: (run (shell "opam reinstall --with-test --verbose ochre-cli.1.0.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\" != 'ochre-cli.1.0.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ochre-cli.1.0.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install ochre-cli 1.0.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/3: [ochre-cli: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ochre-cli" "-j" "3" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0)
- (cd _build/.sandbox/f984e6bec3cf55dd3fe0445921b26e8b/default/vendor/ocaml-oniguruma/test && ./test_misc.exe)
- 6.9.9
- (cd _build/.sandbox/706423845f40ec3f4e402ac261155606/default/vendor/ocaml-textmate-language/test && ./test_find.exe)
- Testing `Finding'.
- This run has ID `AE2ZF3SL'.
-
- [OK] data/multiwhile.json 0 Yojson.
- [OK] data/multiwhile.json 1 Ezjsonm.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/706423845f40ec3f4e402ac261155606/default/vendor/ocaml-textmate-language/test/_build/_tests/Finding'.
- Test Successful in 0.002s. 2 tests run.
- (cd _build/.sandbox/a4b32223e9f4d7d54e17a1e9cb963ddc/default/test && ./test_ochre.exe)
- Testing `Ochre'.
- This run has ID `4TADY49M'.
-
- [OK] theme 0 Load theme from string.
- [OK] theme 1 Make raw theme.
- [OK] scope 0 Scope matching via tokens.
- [OK] scope 1 Scope properties merge by rule.
- [OK] grammar 0 Accept capture arrays.
- [OK] transform 0 Empty transforms passthrough.
- [OK] transform 1 Transform ordering (last wins).
- [OK] transform 2 Transform determinism.
- [OK] transform 3 Line highlight builtin.
- [OK] transform 4 Hook execution order.
- [OK] notation-transform 0 Notation highlight basic.
- [OK] notation-transform 1 Notation highlight no match.
- [OK] notation-transform 2 Notation diff add.
- [OK] notation-transform 3 Notation diff remove.
- [OK] notation-transform 4 Notation diff no match.
- [OK] notation-transform 5 Notation word highlight basic.
- [OK] notation-transform 6 Notation word highlight no ma...
- [OK] notation-transform 7 Notation highlight with highl...
- [OK] decoration 0 Empty decorations passthrough.
- [OK] decoration 1 Whole token decoration.
- [OK] decoration 2 Token splitting at boundary.
- [OK] decoration 3 Mid-token split.
- [OK] decoration 4 Multi-token decoration.
- [OK] decoration 5 Negative character position.
- [OK] decoration 6 Overlapping decorations.
- [OK] decoration 7 Multiline decoration.
- [OK] decoration 8 Decoration with highlighter.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/a4b32223e9f4d7d54e17a1e9cb963ddc/default/test/_build/_tests/Ochre'.
- Test Successful in 0.025s. 27 tests run.
- (cd _build/.sandbox/ea0145cfbd164f566e0a6521c4daf439/default/vendor/ocaml-textmate-language/test && ./test_tokenize.exe)
- Testing `Highlighting'.
- This run has ID `YYDPFWRW'.
-
- [OK] data/a.json 0 Yojson.
- [OK] data/a.json 1 Ezjsonm.
- [OK] data/while.json 0 Yojson.
- [OK] data/while.json 1 Ezjsonm.
- [OK] data/multiwhile.json 0 Yojson.
- [OK] data/multiwhile.json 1 Ezjsonm.
- [OK] data/groups.json 0 Yojson.
- [OK] data/groups.json 1 Ezjsonm.
- [OK] data/zero_width_loop.json 0 Yojson.
- [OK] data/zero_width_loop.json 1 Ezjsonm.
- [OK] data/zero_width_end_loop.json 0 Yojson.
- [OK] data/zero_width_end_loop.json 1 Ezjsonm.
- [OK] data/zero_width_match_loop.json 0 Yojson.
- [OK] data/zero_width_match_loop.json 1 Ezjsonm.
- [OK] g-anchor-end-pattern 0 Closes quoted sc...
- [OK] g-anchor-end-pattern 1 Positive \G end ...
- [OK] g-anchor-end-pattern 2 Negative \G end ...
- [OK] g-anchor-parent-and-while 0 Nested patterns ...
- [OK] g-anchor-parent-and-while 1 Empty content cl...
- [OK] g-anchor-parent-and-while 2 Positive \G whil...
- [OK] g-anchor-parent-and-while 3 Negative \G whil...
- [OK] overlapping-begin-captures 0 Keeps string sco...
- [OK] injections 0 Right-priority i...
- [OK] injections 1 Left-priority in...
- [OK] injections 2 Injection does n...
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/ea0145cfbd164f566e0a6521c4daf439/default/vendor/ocaml-textmate-language/test/_build/_tests/Highlighting'.
- Test Successful in 0.023s. 25 tests run.
- File "test/cram/cli_reason.t", line 1, characters 0-0:
- /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/cram/cli_reason.t _build/default/test/cram/cli_reason.t.corrected
- diff --git a/_build/default/test/cram/cli_reason.t b/_build/default/test/cram/cli_reason.t.corrected
- index 1070df1..fda56fb 100644
- --- a/_build/default/test/cram/cli_reason.t
- +++ b/_build/default/test/cram/cli_reason.t.corrected
- @@ -1,12 +1,5 @@
- Reason bundled grammar works through the CLI
- $ printf 'let x = 1;\n' | ochre reason --format tokens
- - line 1:
- - "let" storage.type, source.reason
- - " " source.reason
- - "x" entity.name.function, source.reason
- - " " source.reason
- - "=" keyword.control.less, source.reason
- - " " source.reason
- - "1" constant.numeric, source.reason
- - ";" message.error, keyword.control, keyword.operator, variable.interpolation, variable.other.class.js, source.reason
- - "\n" source.reason
- + ochre: No bundled grammar for 'reason'. Available: . Use --grammar to provide
- + one.
- + [124]
- (cd _build/.sandbox/07324dbd10f926fe1726a8b2e5f494b4/default/vendor/ocaml-textmate-language/test && ./test_ocaml.exe)
- Testing `OCaml'.
- This run has ID `F6GSP3ZD'.
-
- [OK] data/ocaml.tmLanguage.json 0 Yojson.
- [OK] data/ocaml.tmLanguage.json 1 Ezjsonm.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/07324dbd10f926fe1726a8b2e5f494b4/default/vendor/ocaml-textmate-language/test/_build/_tests/OCaml'.
- Test Successful in 0.007s. 2 tests run.
- (cd _build/.sandbox/59c70630fc0d30db59d310e9ec48da0c/default/vendor/ocaml-textmate-language/test && ./test_csharp.exe)
- Testing `C#'.
- This run has ID `NNLZOZXA'.
-
- [OK] data/csharp.tmLanguage 0 Plist.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/59c70630fc0d30db59d310e9ec48da0c/default/vendor/ocaml-textmate-language/test/_build/_tests/CU+0023'.
- Test Successful in 0.013s. 1 test run.
- (cd _build/.sandbox/44988e546ac6fe0cf61b0eac9d3fb3a0/default/vendor/ocaml-textmate-language/test && ./test_cpp.exe)
- Testing `C++'.
- This run has ID `GWCUK6UD'.
-
- [OK] data/cpp.tmLanguage.json 0 Yojson.
- [OK] data/cpp.tmLanguage.json 1 Ezjsonm.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/44988e546ac6fe0cf61b0eac9d3fb3a0/default/vendor/ocaml-textmate-language/test/_build/_tests/CU+002BU+002B'.
- Test Successful in 0.115s. 2 tests run.
[ERROR] The compilation of ochre-cli.1.0.0 failed at "dune build -p ochre-cli -j 3 @install @runtest".
#=== ERROR while compiling ochre-cli.1.0.0 ====================================#
# context 2.5.0 | linux/riscv64 | ocaml-base-compiler.5.4.1 | pinned(https://github.com/davesnx/ochre/releases/download/1.0.0/ochre-1.0.0.tbz)
# path ~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ochre-cli -j 3 @install @runtest
# exit-code 1
# env-file ~/.opam/log/ochre-cli-7-c74ee1.env
# output-file ~/.opam/log/ochre-cli-7-c74ee1.out
### output ###
# (cd _build/.sandbox/f984e6bec3cf55dd3fe0445921b26e8b/default/vendor/ocaml-oniguruma/test && ./test_misc.exe)
# 6.9.9
# (cd _build/.sandbox/706423845f40ec3f4e402ac261155606/default/vendor/ocaml-textmate-language/test && ./test_find.exe)
# Testing `Finding'.
# This run has ID `AE2ZF3SL'.
#
# [OK] data/multiwhile.json 0 Yojson.
# [OK] data/multiwhile.json 1 Ezjsonm.
#
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/706423845f40ec3f4e402ac261155606/default/vendor/ocaml-textmate-language/test/_build/_tests/Finding'.
# Test Successful in 0.002s. 2 tests run.
# (cd _build/.sandbox/a4b32223e9f4d7d54e17a1e9cb963ddc/default/test && ./test_ochre.exe)
# Testing `Ochre'.
# This run has ID `4TADY49M'.
#
# [OK] theme 0 Load theme from string.
# [OK] theme 1 Make raw theme.
# [OK] scope 0 Scope matching via tokens.
# [OK] scope 1 Scope properties merge by rule.
# [OK] grammar 0 Accept capture arrays.
# [OK] transform 0 Empty transforms passthrough.
# [OK] transform 1 Transform ordering (last wins).
# [OK] transform 2 Transform determinism.
# [OK] transform 3 Line highlight builtin.
# [OK] transform 4 Hook execution order.
# [OK] notation-transform 0 Notation highlight basic.
# [OK] notation-transform 1 Notation highlight no match.
# [OK] notation-transform 2 Notation diff add.
# [OK] notation-transform 3 Notation diff remove.
# [OK] notation-transform 4 Notation diff no match.
# [OK] notation-transform 5 Notation word highlight basic.
# [OK] notation-transform 6 Notation word highlight no ma...
# [OK] notation-transform 7 Notation highlight with highl...
# [OK] decoration 0 Empty decorations passthrough.
# [OK] decoration 1 Whole token decoration.
# [OK] decoration 2 Token splitting at boundary.
# [OK] decoration 3 Mid-token split.
# [OK] decoration 4 Multi-token decoration.
# [OK] decoration 5 Negative character position.
# [OK] decoration 6 Overlapping decorations.
# [OK] decoration 7 Multiline decoration.
# [OK] decoration 8 Decoration with highlighter.
#
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/a4b32223e9f4d7d54e17a1e9cb963ddc/default/test/_build/_tests/Ochre'.
# Test Successful in 0.025s. 27 tests run.
# (cd _build/.sandbox/ea0145cfbd164f566e0a6521c4daf439/default/vendor/ocaml-textmate-language/test && ./test_tokenize.exe)
# Testing `Highlighting'.
# This run has ID `YYDPFWRW'.
#
# [OK] data/a.json 0 Yojson.
# [OK] data/a.json 1 Ezjsonm.
# [OK] data/while.json 0 Yojson.
# [OK] data/while.json 1 Ezjsonm.
# [OK] data/multiwhile.json 0 Yojson.
# [OK] data/multiwhile.json 1 Ezjsonm.
# [OK] data/groups.json 0 Yojson.
# [OK] data/groups.json 1 Ezjsonm.
# [OK] data/zero_width_loop.json 0 Yojson.
# [OK] data/zero_width_loop.json 1 Ezjsonm.
# [OK] data/zero_width_end_loop.json 0 Yojson.
# [OK] data/zero_width_end_loop.json 1 Ezjsonm.
# [OK] data/zero_width_match_loop.json 0 Yojson.
# [OK] data/zero_width_match_loop.json 1 Ezjsonm.
# [OK] g-anchor-end-pattern 0 Closes quoted sc...
# [OK] g-anchor-end-pattern 1 Positive \G end ...
# [OK] g-anchor-end-pattern 2 Negative \G end ...
# [OK] g-anchor-parent-and-while 0 Nested patterns ...
# [OK] g-anchor-parent-and-while 1 Empty content cl...
# [OK] g-anchor-parent-and-while 2 Positive \G whil...
# [OK] g-anchor-parent-and-while 3 Negative \G whil...
# [OK] overlapping-begin-captures 0 Keeps string sco...
# [OK] injections 0 Right-priority i...
# [OK] injections 1 Left-priority in...
# [OK] injections 2 Injection does n...
#
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/ea0145cfbd164f566e0a6521c4daf439/default/vendor/ocaml-textmate-language/test/_build/_tests/Highlighting'.
# Test Successful in 0.023s. 25 tests run.
# File "test/cram/cli_reason.t", line 1, characters 0-0:
# /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/cram/cli_reason.t _build/default/test/cram/cli_reason.t.corrected
# diff --git a/_build/default/test/cram/cli_reason.t b/_build/default/test/cram/cli_reason.t.corrected
# index 1070df1..fda56fb 100644
# --- a/_build/default/test/cram/cli_reason.t
# +++ b/_build/default/test/cram/cli_reason.t.corrected
# @@ -1,12 +1,5 @@
# Reason bundled grammar works through the CLI
# $ printf 'let x = 1;\n' | ochre reason --format tokens
# - line 1:
# - "let" storage.type, source.reason
# - " " source.reason
# - "x" entity.name.function, source.reason
# - " " source.reason
# - "=" keyword.control.less, source.reason
# - " " source.reason
# - "1" constant.numeric, source.reason
# - ";" message.error, keyword.control, keyword.operator, variable.interpolation, variable.other.class.js, source.reason
# - "\n" source.reason
# + ochre: No bundled grammar for 'reason'. Available: . Use --grammar to provide
# + one.
# + [124]
# (cd _build/.sandbox/07324dbd10f926fe1726a8b2e5f494b4/default/vendor/ocaml-textmate-language/test && ./test_ocaml.exe)
# Testing `OCaml'.
# This run has ID `F6GSP3ZD'.
#
# [OK] data/ocaml.tmLanguage.json 0 Yojson.
# [OK] data/ocaml.tmLanguage.json 1 Ezjsonm.
#
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/07324dbd10f926fe1726a8b2e5f494b4/default/vendor/ocaml-textmate-language/test/_build/_tests/OCaml'.
# Test Successful in 0.007s. 2 tests run.
# (cd _build/.sandbox/59c70630fc0d30db59d310e9ec48da0c/default/vendor/ocaml-textmate-language/test && ./test_csharp.exe)
# Testing `C#'.
# This run has ID `NNLZOZXA'.
#
# [OK] data/csharp.tmLanguage 0 Plist.
#
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/59c70630fc0d30db59d310e9ec48da0c/default/vendor/ocaml-textmate-language/test/_build/_tests/CU+0023'.
# Test Successful in 0.013s. 1 test run.
# (cd _build/.sandbox/44988e546ac6fe0cf61b0eac9d3fb3a0/default/vendor/ocaml-textmate-language/test && ./test_cpp.exe)
# Testing `C++'.
# This run has ID `GWCUK6UD'.
#
# [OK] data/cpp.tmLanguage.json 0 Yojson.
# [OK] data/cpp.tmLanguage.json 1 Ezjsonm.
#
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/44988e546ac6fe0cf61b0eac9d3fb3a0/default/vendor/ocaml-textmate-language/test/_build/_tests/CU+002BU+002B'.
# Test Successful in 0.115s. 2 tests run.
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ochre-cli 1.0.0
+-
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
'opam reinstall --with-test --verbose ochre-cli.1.0.0' failed.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall --with-test --verbose ochre-cli.1.0.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" != 'ochre-cli.1.0.0' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 1
2026-04-12 19:08.14: Job failed: Failed: Build failed
2026-04-12 19:08.14: Log analysis:
2026-04-12 19:08.14: >>>
[ERROR] The compilation of ochre-cli.1.0.0 failed at "dune build -p ochre-cli -j 3 @install @runtest".
(score = 20)
2026-04-12 19:08.14: >>>
[ERROR] The compilation of ochre-cli.1.0.0 failed at "dune build -p ochre-cli -j 3 @install @runtest".
(score = 20)
2026-04-12 19:08.14: The compilation of ochre-cli.1.0.0 failed at "dune build -p ochre-cli -j 3 @install @runtest".