- github
- ocaml
- opam-repository
- c7d160
- distributions,ubuntu-25.10-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-25.10-ocaml-5.4/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/29700/head" && git reset --hard c7d16054
git fetch origin master
git merge --no-edit 0404939bde256ca9d097922f265c4342b3b383b0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:a8d34e5530af35644a02fcbb12c719454b9cc262f5972928d8a99e816d11d96a
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-25.10\""; 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-25.10\""; 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-25.10-ocaml-5.4@sha256:a8d34e5530af35644a02fcbb12c719454b9cc262f5972928d8a99e816d11d96a-ochre-cli.1.0.0-c7d1605439a68ff5f5d9f600bbf5faa96cbbaf3e"
2026-04-12 18:50.46: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:a8d34e5530af35644a02fcbb12c719454b9cc262f5972928d8a99e816d11d96a)
(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-25.10\\\"\"; 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-25.10\\\"\"; 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 18:50.47: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
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-25.10-ocaml-5.4@sha256:a8d34e5530af35644a02fcbb12c719454b9cc262f5972928d8a99e816d11d96a)
Unable to find image 'ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:a8d34e5530af35644a02fcbb12c719454b9cc262f5972928d8a99e816d11d96a' locally
docker.io/ocaml/opam@sha256:a8d34e5530af35644a02fcbb12c719454b9cc262f5972928d8a99e816d11d96a: Pulling from ocaml/opam
16c195d4c5e9: Already exists
40b2b5bcae10: Pulling fs layer
58ca6f534c19: Pulling fs layer
967434dfc3c7: Pulling fs layer
87904e6b4315: Pulling fs layer
fa149d3f0e27: Pulling fs layer
73cc4fbd94d6: Pulling fs layer
f3b4b62585ec: Pulling fs layer
87904e6b4315: Waiting
fa149d3f0e27: Waiting
73cc4fbd94d6: Waiting
2dab3cdcb0f9: Pulling fs layer
f3b4b62585ec: Waiting
3b0af31afc6d: Pulling fs layer
2dab3cdcb0f9: Waiting
3b0af31afc6d: Waiting
ca22a03e7ace: Pulling fs layer
88433ae6a111: Pulling fs layer
3c60da52eefb: Pulling fs layer
bfe08b3999ff: Pulling fs layer
ca22a03e7ace: Waiting
3c60da52eefb: Waiting
88433ae6a111: Waiting
0eacf56a4a42: Pulling fs layer
bfe08b3999ff: Waiting
bccd07ccdb0d: Pulling fs layer
1857a8b60613: Pulling fs layer
fa0e1cd5a93f: Pulling fs layer
0eacf56a4a42: Waiting
bccd07ccdb0d: Waiting
1857a8b60613: Waiting
fa0e1cd5a93f: Waiting
0244bfbc218e: Pulling fs layer
b1cba53275ed: Pulling fs layer
0244bfbc218e: Waiting
520e32fe76ef: Pulling fs layer
b1cba53275ed: Waiting
258755d0a196: Pulling fs layer
4f4fb700ef54: Pulling fs layer
258755d0a196: Waiting
bdc86ba089f6: Pulling fs layer
391e28d5d960: Pulling fs layer
bdc86ba089f6: Waiting
ba94b3b0e4dc: Pulling fs layer
391e28d5d960: Waiting
fae976a39b9f: Pulling fs layer
ba94b3b0e4dc: Waiting
49086369b43b: Pulling fs layer
fae976a39b9f: Waiting
a26a0727326a: Pulling fs layer
49086369b43b: Waiting
ec9f5ae2c9af: Pulling fs layer
a26a0727326a: Waiting
1cba593bc542: Pulling fs layer
ec9f5ae2c9af: Waiting
b1ad8c160129: Pulling fs layer
1cba593bc542: Waiting
a1f71ca2d229: Pulling fs layer
b1ad8c160129: Waiting
b2e35818507b: Pulling fs layer
a1f71ca2d229: Waiting
cf7c811123f0: Pulling fs layer
b2e35818507b: Waiting
2061d9993af1: Pulling fs layer
cf7c811123f0: Waiting
049e56e84196: Pulling fs layer
2061d9993af1: Waiting
9bd5f543989d: Pulling fs layer
049e56e84196: Waiting
5e548822734c: Pulling fs layer
9bd5f543989d: Waiting
15a6ec26dc23: Pulling fs layer
f688470a7d37: Pulling fs layer
71fd445f38ef: Pulling fs layer
5e548822734c: Waiting
f688470a7d37: Waiting
f89abfe5cfc1: Pulling fs layer
71fd445f38ef: Waiting
f71c44af396b: Pulling fs layer
f89abfe5cfc1: Waiting
73193a858909: Pulling fs layer
f71c44af396b: Waiting
e8a8ecffd457: Pulling fs layer
73193a858909: Waiting
47a2b1f5ce6e: Pulling fs layer
e8a8ecffd457: Waiting
8a6b52e6d509: Pulling fs layer
47a2b1f5ce6e: Waiting
8a6b52e6d509: Waiting
40b2b5bcae10: Download complete
58ca6f534c19: Verifying Checksum
58ca6f534c19: Download complete
40b2b5bcae10: Pull complete
58ca6f534c19: Pull complete
967434dfc3c7: Verifying Checksum
967434dfc3c7: Download complete
87904e6b4315: Verifying Checksum
87904e6b4315: Download complete
73cc4fbd94d6: Download complete
f3b4b62585ec: Verifying Checksum
f3b4b62585ec: Download complete
2dab3cdcb0f9: Verifying Checksum
2dab3cdcb0f9: Download complete
967434dfc3c7: Pull complete
3b0af31afc6d: Verifying Checksum
3b0af31afc6d: Download complete
ca22a03e7ace: Verifying Checksum
ca22a03e7ace: Download complete
87904e6b4315: Pull complete
88433ae6a111: Verifying Checksum
88433ae6a111: Download complete
3c60da52eefb: Verifying Checksum
3c60da52eefb: Download complete
bfe08b3999ff: Verifying Checksum
bfe08b3999ff: Download complete
0eacf56a4a42: Verifying Checksum
0eacf56a4a42: Download complete
bccd07ccdb0d: Verifying Checksum
bccd07ccdb0d: Download complete
1857a8b60613: Verifying Checksum
1857a8b60613: Download complete
fa0e1cd5a93f: Verifying Checksum
fa0e1cd5a93f: Download complete
0244bfbc218e: Download complete
b1cba53275ed: Download complete
258755d0a196: Verifying Checksum
258755d0a196: Download complete
520e32fe76ef: Download complete
fa149d3f0e27: Verifying Checksum
fa149d3f0e27: Download complete
4f4fb700ef54: Download complete
bdc86ba089f6: Download complete
391e28d5d960: Verifying Checksum
391e28d5d960: Download complete
ba94b3b0e4dc: Verifying Checksum
ba94b3b0e4dc: Download complete
fae976a39b9f: Download complete
49086369b43b: Verifying Checksum
49086369b43b: Download complete
a26a0727326a: Verifying Checksum
a26a0727326a: Download complete
ec9f5ae2c9af: Download complete
1cba593bc542: Verifying Checksum
1cba593bc542: Download complete
b1ad8c160129: Download complete
a1f71ca2d229: Verifying Checksum
a1f71ca2d229: Download complete
b2e35818507b: Verifying Checksum
b2e35818507b: Download complete
cf7c811123f0: Verifying Checksum
cf7c811123f0: Download complete
049e56e84196: Verifying Checksum
049e56e84196: Download complete
5e548822734c: Download complete
15a6ec26dc23: Download complete
f688470a7d37: Download complete
71fd445f38ef: Verifying Checksum
71fd445f38ef: Download complete
f89abfe5cfc1: Download complete
f71c44af396b: Verifying Checksum
f71c44af396b: Download complete
9bd5f543989d: Verifying Checksum
9bd5f543989d: Download complete
e8a8ecffd457: Verifying Checksum
e8a8ecffd457: Download complete
47a2b1f5ce6e: Verifying Checksum
47a2b1f5ce6e: Download complete
73193a858909: Verifying Checksum
73193a858909: Download complete
8a6b52e6d509: Download complete
2061d9993af1: Verifying Checksum
2061d9993af1: Download complete
fa149d3f0e27: Pull complete
73cc4fbd94d6: Pull complete
f3b4b62585ec: Pull complete
2dab3cdcb0f9: Pull complete
3b0af31afc6d: Pull complete
ca22a03e7ace: Pull complete
88433ae6a111: Pull complete
3c60da52eefb: Pull complete
bfe08b3999ff: Pull complete
0eacf56a4a42: Pull complete
bccd07ccdb0d: Pull complete
1857a8b60613: Pull complete
fa0e1cd5a93f: Pull complete
0244bfbc218e: Pull complete
b1cba53275ed: Pull complete
520e32fe76ef: Pull complete
258755d0a196: Pull complete
4f4fb700ef54: Pull complete
bdc86ba089f6: Pull complete
391e28d5d960: Pull complete
ba94b3b0e4dc: Pull complete
fae976a39b9f: Pull complete
49086369b43b: Pull complete
a26a0727326a: Pull complete
ec9f5ae2c9af: Pull complete
1cba593bc542: Pull complete
b1ad8c160129: Pull complete
a1f71ca2d229: Pull complete
b2e35818507b: Pull complete
cf7c811123f0: Pull complete
2061d9993af1: Pull complete
049e56e84196: Pull complete
9bd5f543989d: Pull complete
5e548822734c: Pull complete
15a6ec26dc23: Pull complete
f688470a7d37: Pull complete
71fd445f38ef: Pull complete
f89abfe5cfc1: Pull complete
f71c44af396b: Pull complete
73193a858909: Pull complete
e8a8ecffd457: Pull complete
47a2b1f5ce6e: Pull complete
8a6b52e6d509: Pull complete
Digest: sha256:a8d34e5530af35644a02fcbb12c719454b9cc262f5972928d8a99e816d11d96a
Status: Downloaded newer image for ocaml/opam@sha256:a8d34e5530af35644a02fcbb12c719454b9cc262f5972928d8a99e816d11d96a
2026-04-12 18:51.08 ---> using "5b93bacbe0dc0dd1f39b142c2a10150143530273bdafba41ca342f9a9b8b5e8e" 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 18:51.08 ---> using "120bb74296d366605dcc915693eb19558ec2c85bbb4e3cc806bdee166ed330d9" 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 18:51.08 ---> using "21479e7b49694855c9b29c6c9aae18e315ffb1639a63c5b5349cc3ebb2ab9e59" 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=x86_64 os=linux os-distribution=ubuntu os-version=25.10
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# 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 18:51.08 ---> using "6d7e0cc3f07317d8213de3288c1720e2237126c5cd4a2ef928bfce856a9ed098" 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 18:51.08 ---> using "cd102e8c1b5064b6f9af1fa0caab1d77f4e4689dbf724544da59066862091e6f" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-12 18:51.16 ---> saved as "1a18c7a766e7b175c88a54ad3eb6f6b04826b9dc823899c9094095b66545c6fe"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-12 18:51.35 ---> saved as "c4f0618889752b80749ff4c154a1211da8f5a11c6761a8658f492255c9d8257f"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:3 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:4 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [342 kB]
- Get:5 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [268 kB]
- Get:6 http://security.ubuntu.com/ubuntu questing-security/restricted amd64 Packages [241 kB]
- Get:7 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:8 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [347 kB]
- Get:9 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [481 kB]
- Get:10 http://archive.ubuntu.com/ubuntu questing-updates/restricted amd64 Packages [251 kB]
- Fetched 2333 kB in 5s (497 kB/s)
- Reading package lists...
-
2026-04-12 18:51.41 ---> saved as "3a1030e78440a36aacc4b9ffca9d48f5d13c84b91eecb1c0d8e2dfaf85f18e05"
/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 18:51.43 ---> saved as "ff243df33b6621ee39f55338d9b8ece5384120bb68437e9d0587145c20c9b743"
/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-25.10\\\"\"; 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"
- Selecting previously unselected package libonig5:amd64.
- (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 ... 18742 files and directories currently installed.)
- Preparing to unpack .../0-libonig5_6.9.10-1_amd64.deb ...
- Unpacking libonig5:amd64 (6.9.10-1) ...
- Selecting previously unselected package libonig-dev.
- Preparing to unpack .../1-libonig-dev_6.9.10-1_amd64.deb ...
- Unpacking libonig-dev (6.9.10-1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4build1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4build1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-4build1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4build1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-4build1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4build1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-4build1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4build1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4build1) ...
- Setting up pkgconf-bin (1.8.1-4build1) ...
- Setting up libonig5:amd64 (6.9.10-1) ...
- Setting up libonig-dev (6.9.10-1) ...
- Setting up pkgconf:amd64 (1.8.1-4build1) ...
- Setting up pkg-config:amd64 (1.8.1-4build1) ...
- Processing triggers for libc-bin (2.42-0ubuntu3.1) ...
<><> 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 base64.3.5.2
-> installed csexp.1.5.2
-> installed ISO8601.0.2.6
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed menhirSdk.20260209
-> installed ocaml-compiler-libs.v0.17.0
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed yojson.3.0.0
-> installed dune-configurator.3.22.1
-> installed tm-grammars.1.1.0
-> installed menhir.20260209
-> 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 18:53.04 ---> saved as "fef10988af87df7d6dc61c30619b77b8f5b11dd7e6cbf8ac19d3579527aadd84"
/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 ocaml-syntax-shims.1.0.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed re.1.14.0
-> removed ochre-cli.1.0.0
-> installed uutf.1.0.4
-> installed cstruct.6.2.0
-> installed hex.1.5.0
-> installed alcotest.1.9.1
-> installed jsonm.1.0.2
-> installed ezjsonm.1.3.0
[ERROR] The compilation of ochre-cli.1.0.0 failed at "dune build -p ochre-cli -j 71 @install @runtest".
#=== ERROR while compiling ochre-cli.1.0.0 ====================================#
# context 2.5.0 | linux/x86_64 | 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 71 @install @runtest
# exit-code 1
# env-file ~/.opam/log/ochre-cli-7-caf0a6.env
# output-file ~/.opam/log/ochre-cli-7-caf0a6.out
### output ###
# (cd _build/.sandbox/9b903dcadeb639cf8a6d793e6a60eab0/default/vendor/ocaml-oniguruma/test && ./test_misc.exe)
# 6.9.10
# (cd _build/.sandbox/9067b66f874c64479bde10df2938c753/default/vendor/ocaml-textmate-language/test && ./test_find.exe)
# Testing `Finding'.
# This run has ID `AXX2G3VA'.
#
# [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/9067b66f874c64479bde10df2938c753/default/vendor/ocaml-textmate-language/test/_build/_tests/Finding'.
# Test Successful in 0.000s. 2 tests run.
# (cd _build/.sandbox/defbb0829805009ce720498265ab150b/default/vendor/ocaml-textmate-language/test && ./test_ocaml.exe)
# Testing `OCaml'.
# This run has ID `8ZBI988P'.
#
# [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/defbb0829805009ce720498265ab150b/default/vendor/ocaml-textmate-language/test/_build/_tests/OCaml'.
# Test Successful in 0.003s. 2 tests run.
# (cd _build/.sandbox/6efaf968e54c35c171d74c03b7b069e5/default/vendor/ocaml-textmate-language/test && ./test_csharp.exe)
# Testing `C#'.
# This run has ID `127IJPSN'.
#
# [OK] data/csharp.tmLanguage 0 Plist.
#
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/6efaf968e54c35c171d74c03b7b069e5/default/vendor/ocaml-textmate-language/test/_build/_tests/CU+0023'.
# Test Successful in 0.007s. 1 test run.
# (cd _build/.sandbox/b0401c15c693e1bcb1aae4369396056a/default/vendor/ocaml-textmate-language/test && ./test_tokenize.exe)
# Testing `Highlighting'.
# This run has ID `V0XGO98S'.
#
# [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/b0401c15c693e1bcb1aae4369396056a/default/vendor/ocaml-textmate-language/test/_build/_tests/Highlighting'.
# Test Successful in 0.005s. 25 tests run.
# (cd _build/.sandbox/d5d7738df4cb4c0b7164572ac4031f26/default/vendor/ocaml-textmate-language/test && ./test_cpp.exe)
# Testing `C++'.
# This run has ID `HLT93TWU'.
#
# [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/d5d7738df4cb4c0b7164572ac4031f26/default/vendor/ocaml-textmate-language/test/_build/_tests/CU+002BU+002B'.
# Test Successful in 0.054s. 2 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/e53515422b76811ea5f8ff255c84f6c5/default/test && ./test_ochre.exe)
# Testing `Ochre'.
# This run has ID `AGP7R1FW'.
#
# [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/e53515422b76811ea5f8ff255c84f6c5/default/test/_build/_tests/Ochre'.
# Test Successful in 0.006s. 27 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-20260412185305.export"
Or you can retry to install your package selection with:
/usr/bin/opam install --restore
2026-04-12 18:53.21 ---> saved as "3ae7ba837c1c7cf7ab0762db430c46650fdcd05aefcd5de6b4dde92e6795193a"
/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-25.10\\\"\"; 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" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0)
- (cd _build/.sandbox/9b903dcadeb639cf8a6d793e6a60eab0/default/vendor/ocaml-oniguruma/test && ./test_misc.exe)
- 6.9.10
- (cd _build/.sandbox/b0401c15c693e1bcb1aae4369396056a/default/vendor/ocaml-textmate-language/test && ./test_tokenize.exe)
- Testing `Highlighting'.
- This run has ID `PNOE7M6Q'.
-
- [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/b0401c15c693e1bcb1aae4369396056a/default/vendor/ocaml-textmate-language/test/_build/_tests/Highlighting'.
- Test Successful in 0.008s. 25 tests run.
- (cd _build/.sandbox/9067b66f874c64479bde10df2938c753/default/vendor/ocaml-textmate-language/test && ./test_find.exe)
- Testing `Finding'.
- This run has ID `O87119XL'.
-
- [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/9067b66f874c64479bde10df2938c753/default/vendor/ocaml-textmate-language/test/_build/_tests/Finding'.
- Test Successful in 0.000s. 2 tests run.
- (cd _build/.sandbox/defbb0829805009ce720498265ab150b/default/vendor/ocaml-textmate-language/test && ./test_ocaml.exe)
- Testing `OCaml'.
- This run has ID `WBI8XF22'.
-
- [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/defbb0829805009ce720498265ab150b/default/vendor/ocaml-textmate-language/test/_build/_tests/OCaml'.
- Test Successful in 0.004s. 2 tests run.
- (cd _build/.sandbox/6efaf968e54c35c171d74c03b7b069e5/default/vendor/ocaml-textmate-language/test && ./test_csharp.exe)
- Testing `C#'.
- This run has ID `W2IEHOFI'.
-
- [OK] data/csharp.tmLanguage 0 Plist.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/6efaf968e54c35c171d74c03b7b069e5/default/vendor/ocaml-textmate-language/test/_build/_tests/CU+0023'.
- Test Successful in 0.010s. 1 test 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/d5d7738df4cb4c0b7164572ac4031f26/default/vendor/ocaml-textmate-language/test && ./test_cpp.exe)
- Testing `C++'.
- This run has ID `Q1U5I91C'.
-
- [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/d5d7738df4cb4c0b7164572ac4031f26/default/vendor/ocaml-textmate-language/test/_build/_tests/CU+002BU+002B'.
- Test Successful in 0.054s. 2 tests run.
- (cd _build/.sandbox/e53515422b76811ea5f8ff255c84f6c5/default/test && ./test_ochre.exe)
- Testing `Ochre'.
- This run has ID `97B767YR'.
-
- [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/e53515422b76811ea5f8ff255c84f6c5/default/test/_build/_tests/Ochre'.
- Test Successful in 0.006s. 27 tests run.
[ERROR] The compilation of ochre-cli.1.0.0 failed at "dune build -p ochre-cli -j 71 @install @runtest".
#=== ERROR while compiling ochre-cli.1.0.0 ====================================#
# context 2.5.0 | linux/x86_64 | 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 71 @install @runtest
# exit-code 1
# env-file ~/.opam/log/ochre-cli-6-0743d5.env
# output-file ~/.opam/log/ochre-cli-6-0743d5.out
### output ###
# (cd _build/.sandbox/9b903dcadeb639cf8a6d793e6a60eab0/default/vendor/ocaml-oniguruma/test && ./test_misc.exe)
# 6.9.10
# (cd _build/.sandbox/b0401c15c693e1bcb1aae4369396056a/default/vendor/ocaml-textmate-language/test && ./test_tokenize.exe)
# Testing `Highlighting'.
# This run has ID `PNOE7M6Q'.
#
# [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/b0401c15c693e1bcb1aae4369396056a/default/vendor/ocaml-textmate-language/test/_build/_tests/Highlighting'.
# Test Successful in 0.008s. 25 tests run.
# (cd _build/.sandbox/9067b66f874c64479bde10df2938c753/default/vendor/ocaml-textmate-language/test && ./test_find.exe)
# Testing `Finding'.
# This run has ID `O87119XL'.
#
# [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/9067b66f874c64479bde10df2938c753/default/vendor/ocaml-textmate-language/test/_build/_tests/Finding'.
# Test Successful in 0.000s. 2 tests run.
# (cd _build/.sandbox/defbb0829805009ce720498265ab150b/default/vendor/ocaml-textmate-language/test && ./test_ocaml.exe)
# Testing `OCaml'.
# This run has ID `WBI8XF22'.
#
# [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/defbb0829805009ce720498265ab150b/default/vendor/ocaml-textmate-language/test/_build/_tests/OCaml'.
# Test Successful in 0.004s. 2 tests run.
# (cd _build/.sandbox/6efaf968e54c35c171d74c03b7b069e5/default/vendor/ocaml-textmate-language/test && ./test_csharp.exe)
# Testing `C#'.
# This run has ID `W2IEHOFI'.
#
# [OK] data/csharp.tmLanguage 0 Plist.
#
# Full test results in `~/.opam/5.4/.opam-switch/build/ochre-cli.1.0.0/_build/.sandbox/6efaf968e54c35c171d74c03b7b069e5/default/vendor/ocaml-textmate-language/test/_build/_tests/CU+0023'.
# Test Successful in 0.010s. 1 test 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/d5d7738df4cb4c0b7164572ac4031f26/default/vendor/ocaml-textmate-language/test && ./test_cpp.exe)
# Testing `C++'.
# This run has ID `Q1U5I91C'.
#
# [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/d5d7738df4cb4c0b7164572ac4031f26/default/vendor/ocaml-textmate-language/test/_build/_tests/CU+002BU+002B'.
# Test Successful in 0.054s. 2 tests run.
# (cd _build/.sandbox/e53515422b76811ea5f8ff255c84f6c5/default/test && ./test_ochre.exe)
# Testing `Ochre'.
# This run has ID `97B767YR'.
#
# [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/e53515422b76811ea5f8ff255c84f6c5/default/test/_build/_tests/Ochre'.
# Test Successful in 0.006s. 27 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-25.10\""; 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 18:53.45: Job failed: Failed: Build failed
2026-04-12 18:53.45: Log analysis:
2026-04-12 18:53.45: >>>
[ERROR] The compilation of ochre-cli.1.0.0 failed at "dune build -p ochre-cli -j 71 @install @runtest".
(score = 20)
2026-04-12 18:53.45: >>>
[ERROR] The compilation of ochre-cli.1.0.0 failed at "dune build -p ochre-cli -j 71 @install @runtest".
(score = 20)
2026-04-12 18:53.45: The compilation of ochre-cli.1.0.0 failed at "dune build -p ochre-cli -j 71 @install @runtest".