- github
- ocaml
- opam-repository
- c7d160
- distributions,opensuse-15.6-ocaml-4.14,ochre-cli.1.0.0
(not at the head of any monitored branch or PR)
2026-04-12 18:50.46: New job: build ochre-cli.1.0.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29700/head (c7d1605439a68ff5f5d9f600bbf5faa96cbbaf3e)
on opensuse-15.6-ocaml-4.14/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:opensuse-15.6-ocaml-4.14@sha256:2ae07129c46888496420bcba6efa8abe4d433725e4417a4290c47ef02c93dafd
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 "\"opensuse-15.6\""; 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:opensuse-15.6-ocaml-4.14@sha256:2ae07129c46888496420bcba6efa8abe4d433725e4417a4290c47ef02c93dafd-ochre-cli.1.0.0-c7d1605439a68ff5f5d9f600bbf5faa96cbbaf3e"
2026-04-12 18:50.46: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:2ae07129c46888496420bcba6efa8abe4d433725e4417a4290c47ef02c93dafd)
(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 \"\\\"opensuse-15.6\\\"\"; 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 odawa.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:opensuse-15.6-ocaml-4.14@sha256:2ae07129c46888496420bcba6efa8abe4d433725e4417a4290c47ef02c93dafd)
2026-04-12 18:52.26 ---> saved as "b4669a18e29605ae46bc8a191204abce9e91a21c5670f149c22aa80c58cd9b54"
/: (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:52.26 ---> saved as "40aa64cff5a7cb5ff5832a5f01b10640e4df54cec52ac052f9a70f17835cc515"
/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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] Initialised
2026-04-12 18:52.47 ---> saved as "78ee53324f289e1c4148e46b497845ef25045fe55c4b41e540822561aa45978f"
/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=opensuse-leap os-version=15.6
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# repositories 2 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.3"}]
# compiler-packages ocaml-base-compiler.4.14.3, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.3
2026-04-12 18:52.47 ---> saved as "41b6763aa7c17e8dfa83c221eeff976d808b409526f24d130f1ae1fd7e846171"
/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:53.03 ---> saved as "675677f70fd936a37ebfb6109bbd7a502892fb42dda20b2a1f7878a3a42969ce"
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-12 18:53.12 ---> saved as "32d135f307e813b6684e63a4a6dd656b947b401c0bc1a2f92b76210d76575394"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-12 18:53.29 ---> saved as "84c1c088118094f8223ec3132a68f490cc1cd809a1a855e00f02caafcaec69c3"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [..
- Looking for gpg keys in repository Update repository of openSUSE Backports.
- gpgkey=http://download.opensuse.org/update/leap/15.6/backports/repodata/repomd.xml.key
- .....
- ....
- ....
- ....
- ....
- ....
- .....
- ..........done]
- Building repository 'Update repository of openSUSE Backports' cache [..
- ..done]
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [..
- Looking for gpg keys in repository Update repository with updates from SUSE Linux Enterprise 15.
- gpgkey=http://download.opensuse.org/update/leap/15.6/sle/repodata/repomd.xml.key
- .....
- ....
- ....
- ....
- ....
- ....
- ..............
- ..........
- ..........
- .........
- ..........
- ..........
- ..........
- ..........
- ..........
- ..........
- .........
- ..........
- ..........
- ..........
- .............
- .....done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Repository 'Main Update Repository' is up to date.
- Repository 'Update Repository (Non-Oss)' is up to date.
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- All repositories have been refreshed.
2026-04-12 18:54.13 ---> saved as "cc0bc5e5942be7b849a2903fad3b5b920993e453bb68141f075847e2656e80b9"
/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:54.13 ---> saved as "b816b7a38d02e9dbb169198b1a5cca7e18648207b41f25c4f5353636aa40d814"
/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 \"\\\"opensuse-15.6\\\"\"; 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.12.4 [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:
oniguruma-devel
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run zypper to install them (may need root/sudo access)
2. Display the recommended zypper 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 "zypper" "--non-interactive" "install" "oniguruma-devel"
- Loading repository data...
- Reading installed packages...
- Resolving package dependencies...
-
- The following 2 NEW packages are going to be installed:
- libonig4 oniguruma-devel
-
- 2 new packages to install.
-
- Package download size: 218.1 KiB
-
- Package install size change:
- | 826.2 KiB required by packages that will be installed
- 826.2 KiB | - 0 B released by packages that will be removed
-
- Backend: classic_rpmtrans
- Continue? [y/n/v/...? shows all options] (y): y
- Retrieving: libonig4-6.7.0-150000.3.6.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (1/2), 127.6 KiB
- Retrieving: libonig4-6.7.0-150000.3.6.1.x86_64.rpm [...
- ....
- ....
- ....
- ....
- ....
- ....done (15.1 KiB/s)]
- Retrieving: oniguruma-devel-6.7.0-150000.3.6.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (2/2), 90.5 KiB
- Retrieving: oniguruma-devel-6.7.0-150000.3.6.1.x86_64.rpm [.done]
-
- Checking for file conflicts: [..done]
- (1/2) Installing: libonig4-6.7.0-150000.3.6.1.x86_64 [..done]
- (2/2) Installing: oniguruma-devel-6.7.0-150000.3.6.1.x86_64 [..done]
<><> 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)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> installed cmdliner.2.1.0
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ochre.1.0.0, ochre-cli.1.0.0 (cached)
-> 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.12.4
-> 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
[ERROR] The compilation of ochre.1.0.0 failed at "dune build -p ochre -j 255 @install".
#=== ERROR while compiling ochre.1.0.0 ========================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.3 | file:///home/opam/opam-repository
# path ~/.opam/4.14/.opam-switch/build/ochre.1.0.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ochre -j 255 @install
# exit-code 1
# env-file ~/.opam/log/ochre-7-cf8c62.env
# output-file ~/.opam/log/ochre-7-cf8c62.out
### output ###
# File "vendor/ocaml-oniguruma/src/dune", line 6, characters 9-19:
# 6 | (names onig_stubs)
# ^^^^^^^^^^
# (cd _build/default/vendor/ocaml-oniguruma/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -fPIC -g -I /home/opam/.opam/4.14/lib/ocaml -o onig_stubs.o -c onig_stubs.c)
# onig_stubs.c:15:5: error: unknown type name 'OnigRegSet'
# OnigRegSet* regset;
# ^~~~~~~~~~
# onig_stubs.c: In function 'option':
# onig_stubs.c:170:16: error: 'ONIG_OPTION_NOT_BEGIN_POSITION' undeclared (first use in this function); did you mean 'ONIG_OPTION_POSIX_REGION'?
# return ONIG_OPTION_NOT_BEGIN_POSITION;
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ONIG_OPTION_POSIX_REGION
# onig_stubs.c:170:16: note: each undeclared identifier is reported only once for each function it appears in
# onig_stubs.c:172:16: error: 'ONIG_OPTION_IGNORECASE_IS_ASCII' undeclared (first use in this function); did you mean 'ONIG_OPTION_WORD_IS_ASCII'?
# return ONIG_OPTION_IGNORECASE_IS_ASCII;
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ONIG_OPTION_WORD_IS_ASCII
# onig_stubs.c:182:16: error: 'ONIG_OPTION_TEXT_SEGMENT_EXTENDED_GRAPHEME_CLUSTER' undeclared (first use in this function); did you mean 'ONIG_SYN_OP2_ESC_X_Y_GRAPHEME_CLUSTER'?
# return ONIG_OPTION_TEXT_SEGMENT_EXTENDED_GRAPHEME_CLUSTER;
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ONIG_SYN_OP2_ESC_X_Y_GRAPHEME_CLUSTER
# onig_stubs.c:184:16: error: 'ONIG_OPTION_TEXT_SEGMENT_WORD' undeclared (first use in this function); did you mean 'ONIG_OPTION_EXTEND'?
# return ONIG_OPTION_TEXT_SEGMENT_WORD;
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ONIG_OPTION_EXTEND
# onig_stubs.c:186:16: error: 'ONIG_OPTION_NOT_BEGIN_STRING' undeclared (first use in this function); did you mean 'ONIG_OPTION_NOT_BEGIN_POSITION'?
# return ONIG_OPTION_NOT_BEGIN_STRING;
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ONIG_OPTION_NOT_BEGIN_POSITION
# onig_stubs.c:188:16: error: 'ONIG_OPTION_NOT_END_STRING' undeclared (first use in this function); did you mean 'ONIG_OPTION_NOT_BEGIN_STRING'?
# return ONIG_OPTION_NOT_END_STRING;
# ^~~~~~~~~~~~~~~~~~~~~~~~~~
# ONIG_OPTION_NOT_BEGIN_STRING
# onig_stubs.c:194:16: error: 'ONIG_OPTION_CALLBACK_EACH_MATCH' undeclared (first use in this function); did you mean 'ONIG_TRAVERSE_CALLBACK_AT_BOTH'?
# return ONIG_OPTION_CALLBACK_EACH_MATCH;
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ONIG_TRAVERSE_CALLBACK_AT_BOTH
# onig_stubs.c: In function 'finalize_regset':
# onig_stubs.c:266:9: warning: implicit declaration of function 'onig_regset_free'; did you mean 'onig_region_free'? [-Wimplicit-function-declaration]
# onig_regset_free(regset->regset);
# ^~~~~~~~~~~~~~~~
# onig_region_free
# onig_stubs.c: In function 'ocaml_onig_regset_new':
# onig_stubs.c:307:5: error: unknown type name 'OnigRegSet'; did you mean 'OnigRegex'?
# OnigRegSet* regset = NULL;
# ^~~~~~~~~~
# OnigRegex
# onig_stubs.c:308:24: warning: implicit declaration of function 'onig_regset_new'; did you mean 'onig_region_new'? [-Wimplicit-function-declaration]
# const int result = onig_regset_new(®set, (int)regex_count, regs);
# ^~~~~~~~~~~~~~~
# onig_region_new
# onig_stubs.c: In function 'ocaml_onig_regset_search':
# onig_stubs.c:347:24: warning: implicit declaration of function 'onig_regset_search'; did you mean 'ocaml_onig_regset_search'? [-Wimplicit-function-declaration]
# const int result = onig_regset_search(
# ^~~~~~~~~~~~~~~~~~
# ocaml_onig_regset_search
# onig_stubs.c:353:9: error: 'ONIG_REGSET_POSITION_LEAD' undeclared (first use in this function); did you mean 'ONIG_IS_OPTION_ON'?
# ONIG_REGSET_POSITION_LEAD,
# ^~~~~~~~~~~~~~~~~~~~~~~~~
# ONIG_IS_OPTION_ON
# onig_stubs.c:373:9: warning: implicit declaration of function 'onig_regset_get_region'; did you mean 'onig_get_options'? [-Wimplicit-function-declaration]
# onig_regset_get_region(wrapped->regset, matched_regex_index);
# ^~~~~~~~~~~~~~~~~~~~~~
# onig_get_options
# onig_stubs.c:373:9: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
# onig_stubs.c: In function 'finalize_match_param':
# onig_stubs.c:552:5: error: unknown type name 'OnigMatchParam'; did you mean 'OnigUChar'?
# OnigMatchParam* const mp = MatchParam_val(v);
# ^~~~~~~~~~~~~~
# OnigUChar
# onig_stubs.c:548:31: error: 'OnigMatchParam' undeclared (first use in this function); did you mean 'OnigUChar'?
# #define MatchParam_val(v) (*((OnigMatchParam**)Data_custom_val(v)))
# ^
# onig_stubs.c:552:32: note: in expansion of macro 'MatchParam_val'
# OnigMatchParam* const mp = MatchParam_val(v);
# ^~~~~~~~~~~~~~
# onig_stubs.c:548:47: error: expected expression before ')' token
# #define MatchParam_val(v) (*((OnigMatchParam**)Data_custom_val(v)))
# ^
# onig_stubs.c:552:32: note: in expansion of macro 'MatchParam_val'
# OnigMatchParam* const mp = MatchParam_val(v);
# ^~~~~~~~~~~~~~
# onig_stubs.c:554:9: warning: implicit declaration of function 'onig_free_match_param'; did you mean 'finalize_match_param'? [-Wimplicit-function-declaration]
# onig_free_match_param(mp);
# ^~~~~~~~~~~~~~~~~~~~~
# finalize_match_param
# onig_stubs.c:548:47: error: expected expression before ')' token
# #define MatchParam_val(v) (*((OnigMatchParam**)Data_custom_val(v)))
# ^
# onig_stubs.c:555:9: note: in expansion of macro 'MatchParam_val'
# MatchParam_val(v) = NULL;
# ^~~~~~~~~~~~~~
# onig_stubs.c: In function 'ocaml_onig_new_match_param':
# onig_stubs.c:574:5: error: unknown type name 'OnigMatchParam'; did you mean 'OnigUChar'?
# OnigMatchParam* const mp = onig_new_match_param();
# ^~~~~~~~~~~~~~
# OnigUChar
# onig_stubs.c:574:32: warning: implicit declaration of function 'onig_new_match_param'; did you mean 'ocaml_onig_new_match_param'? [-Wimplicit-function-declaration]
# OnigMatchParam* const mp = onig_new_match_param();
# ^~~~~~~~~~~~~~~~~~~~
# ocaml_onig_new_match_param
# onig_stubs.c:574:32: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
# onig_stubs.c:578:5: warning: implicit declaration of function 'onig_initialize_match_param'; did you mean 'finalize_match_param'? [-Wimplicit-function-declaration]
# onig_initialize_match_param(mp);
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# finalize_match_param
# onig_stubs.c:580:52: error: 'OnigMatchParam' undeclared (first use in this function); did you mean 'OnigUChar'?
# caml_alloc_custom(&match_param_ops, sizeof(OnigMatchParam*), 0, 1);
# ^~~~~~~~~~~~~~
# OnigUChar
# onig_stubs.c:580:67: error: expected expression before ')' token
# caml_alloc_custom(&match_param_ops, sizeof(OnigMatchParam*), 0, 1);
# ^
# onig_stubs.c:548:47: error: expected expression before ')' token
# #define MatchParam_val(v) (*((OnigMatchParam**)Data_custom_val(v)))
# ^
# onig_stubs.c:581:5: note: in expansion of macro 'MatchParam_val'
# MatchParam_val(mp_val) = mp;
# ^~~~~~~~~~~~~~
# onig_stubs.c: In function 'ocaml_onig_match_param_set_match_stack_limit':
# onig_stubs.c:589:5: warning: implicit declaration of function 'onig_set_match_stack_limit_size_of_match_param'; did you mean 'onig_set_match_stack_limit_size'? [-Wimplicit-function-declaration]
# onig_set_match_stack_limit_size_of_match_param(
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# onig_set_match_stack_limit_size
# onig_stubs.c:548:31: error: 'OnigMatchParam' undeclared (first use in this function); did you mean 'OnigUChar'?
# #define MatchParam_val(v) (*((OnigMatchParam**)Data_custom_val(v)))
# ^
# onig_stubs.c:590:9: note: in expansion of macro 'MatchParam_val'
# MatchParam_val(mp_val), (unsigned int)Long_val(limit_val));
# ^~~~~~~~~~~~~~
# onig_stubs.c:548:47: error: expected expression before ')' token
# #define MatchParam_val(v) (*((OnigMatchParam**)Data_custom_val(v)))
# ^
# onig_stubs.c:590:9: note: in expansion of macro 'MatchParam_val'
# MatchParam_val(mp_val), (unsigned int)Long_val(limit_val));
# ^~~~~~~~~~~~~~
# onig_stubs.c: In function 'ocaml_onig_match_param_set_retry_limit_in_match':
# onig_stubs.c:598:5: warning: implicit declaration of function 'onig_set_retry_limit_in_match_of_match_param' [-Wimplicit-function-declaration]
# onig_set_retry_limit_in_match_of_match_param(
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# onig_stubs.c:548:31: error: 'OnigMatchParam' undeclared (first use in this function); did you mean 'OnigUChar'?
# #define MatchParam_val(v) (*((OnigMatchParam**)Data_custom_val(v)))
# ^
# onig_stubs.c:599:9: note: in expansion of macro 'MatchParam_val'
# MatchParam_val(mp_val), (unsigned long)Long_val(limit_val));
# ^~~~~~~~~~~~~~
# onig_stubs.c:548:47: error: expected expression before ')' token
# #define MatchParam_val(v) (*((OnigMatchParam**)Data_custom_val(v)))
# ^
# onig_stubs.c:599:9: note: in expansion of macro 'MatchParam_val'
# MatchParam_val(mp_val), (unsigned long)Long_val(limit_val));
# ^~~~~~~~~~~~~~
# onig_stubs.c: In function 'ocaml_onig_match_param_set_retry_limit_in_search':
# onig_stubs.c:607:5: warning: implicit declaration of function 'onig_set_retry_limit_in_search_of_match_param' [-Wimplicit-function-declaration]
# onig_set_retry_limit_in_search_of_match_param(
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# onig_stubs.c:548:31: error: 'OnigMatchParam' undeclared (first use in this function); did you mean 'OnigUChar'?
# #define MatchParam_val(v) (*((OnigMatchParam**)Data_custom_val(v)))
# ^
# onig_stubs.c:608:9: note: in expansion of macro 'MatchParam_val'
# MatchParam_val(mp_val), (unsigned long)Long_val(limit_val));
# ^~~~~~~~~~~~~~
# onig_stubs.c:548:47: error: expected expression before ')' token
# #define MatchParam_val(v) (*((OnigMatchParam**)Data_custom_val(v)))
# ^
# onig_stubs.c:608:9: note: in expansion of macro 'MatchParam_val'
# MatchParam_val(mp_val), (unsigned long)Long_val(limit_val));
# ^~~~~~~~~~~~~~
# onig_stubs.c: In function 'ocaml_onig_search_with_param':
# onig_stubs.c:634:24: warning: implicit declaration of function 'onig_search_with_param'; did you mean 'ocaml_onig_search_with_param'? [-Wimplicit-function-declaration]
# const int result = onig_search_with_param(
# ^~~~~~~~~~~~~~~~~~~~~~
# ocaml_onig_search_with_param
# onig_stubs.c:548:31: error: 'OnigMatchParam' undeclared (first use in this function); did you mean 'OnigUChar'?
# #define MatchParam_val(v) (*((OnigMatchParam**)Data_custom_val(v)))
# ^
# onig_stubs.c:642:9: note: in expansion of macro 'MatchParam_val'
# MatchParam_val(mp_val));
# ^~~~~~~~~~~~~~
# onig_stubs.c:548:47: error: expected expression before ')' token
# #define MatchParam_val(v) (*((OnigMatchParam**)Data_custom_val(v)))
# ^
# onig_stubs.c:642:9: note: in expansion of macro 'MatchParam_val'
# MatchParam_val(mp_val));
# ^~~~~~~~~~~~~~
# onig_stubs.c: In function 'ocaml_onig_match_with_param':
# onig_stubs.c:681:24: warning: implicit declaration of function 'onig_match_with_param'; did you mean 'ocaml_onig_match_with_param'? [-Wimplicit-function-declaration]
# const int result = onig_match_with_param(
# ^~~~~~~~~~~~~~~~~~~~~
# ocaml_onig_match_with_param
# onig_stubs.c:548:31: error: 'OnigMatchParam' undeclared (first use in this function); did you mean 'OnigUChar'?
# #define MatchParam_val(v) (*((OnigMatchParam**)Data_custom_val(v)))
# ^
# onig_stubs.c:688:9: note: in expansion of macro 'MatchParam_val'
# MatchParam_val(mp_val));
# ^~~~~~~~~~~~~~
# onig_stubs.c:548:47: error: expected expression before ')' token
# #define MatchParam_val(v) (*((OnigMatchParam**)Data_custom_val(v)))
# ^
# onig_stubs.c:688:9: note: in expansion of macro 'MatchParam_val'
# MatchParam_val(mp_val));
# ^~~~~~~~~~~~~~
# In file included from onig_stubs.c:6:0:
# onig_stubs.c: In function 'ocaml_onig_get_retry_limit_in_match':
# onig_stubs.c:775:25: warning: implicit declaration of function 'onig_get_retry_limit_in_match'; did you mean 'ocaml_onig_get_retry_limit_in_match'? [-Wimplicit-function-declaration]
# CAMLreturn(Val_long(onig_get_retry_limit_in_match()));
# ^
# /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT'
# type caml__temp_result = (result); \
# ^~~~~~
# onig_stubs.c:775:5: note: in expansion of macro 'CAMLreturn'
# CAMLreturn(Val_long(onig_get_retry_limit_in_match()));
# ^~~~~~~~~~
# onig_stubs.c:775:16: note: in expansion of macro 'Val_long'
# CAMLreturn(Val_long(onig_get_retry_limit_in_match()));
# ^~~~~~~~
# onig_stubs.c: In function 'ocaml_onig_set_retry_limit_in_match':
# onig_stubs.c:781:5: warning: implicit declaration of function 'onig_set_retry_limit_in_match'; did you mean 'ocaml_onig_set_retry_limit_in_match'? [-Wimplicit-function-declaration]
# onig_set_retry_limit_in_match((unsigned long)Long_val(limit_val));
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ocaml_onig_set_retry_limit_in_match
# In file included from onig_stubs.c:6:0:
# onig_stubs.c: In function 'ocaml_onig_get_retry_limit_in_search':
# onig_stubs.c:788:25: warning: implicit declaration of function 'onig_get_retry_limit_in_search'; did you mean 'ocaml_onig_get_retry_limit_in_search'? [-Wimplicit-function-declaration]
# CAMLreturn(Val_long(onig_get_retry_limit_in_search()));
# ^
# /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT'
# type caml__temp_result = (result); \
# ^~~~~~
# onig_stubs.c:788:5: note: in expansion of macro 'CAMLreturn'
# CAMLreturn(Val_long(onig_get_retry_limit_in_search()));
# ^~~~~~~~~~
# onig_stubs.c:788:16: note: in expansion of macro 'Val_long'
# CAMLreturn(Val_long(onig_get_retry_limit_in_search()));
# ^~~~~~~~
# onig_stubs.c: In function 'ocaml_onig_set_retry_limit_in_search':
# onig_stubs.c:794:5: warning: implicit declaration of function 'onig_set_retry_limit_in_search'; did you mean 'ocaml_onig_set_retry_limit_in_search'? [-Wimplicit-function-declaration]
# onig_set_retry_limit_in_search((unsigned long)Long_val(limit_val));
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ocaml_onig_set_retry_limit_in_search
# In file included from onig_stubs.c:6:0:
# onig_stubs.c: In function 'ocaml_onig_get_subexp_call_limit_in_search':
# onig_stubs.c:821:25: warning: implicit declaration of function 'onig_get_subexp_call_limit_in_search'; did you mean 'ocaml_onig_get_subexp_call_limit_in_search'? [-Wimplicit-function-declaration]
# CAMLreturn(Val_long(onig_get_subexp_call_limit_in_search()));
# ^
# /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT'
# type caml__temp_result = (result); \
# ^~~~~~
# onig_stubs.c:821:5: note: in expansion of macro 'CAMLreturn'
# CAMLreturn(Val_long(onig_get_subexp_call_limit_in_search()));
# ^~~~~~~~~~
# onig_stubs.c:821:16: note: in expansion of macro 'Val_long'
# CAMLreturn(Val_long(onig_get_subexp_call_limit_in_search()));
# ^~~~~~~~
# onig_stubs.c: In function 'ocaml_onig_set_subexp_call_limit_in_search':
# onig_stubs.c:827:5: warning: implicit declaration of function 'onig_set_subexp_call_limit_in_search'; did you mean 'ocaml_onig_set_subexp_call_limit_in_search'? [-Wimplicit-function-declaration]
# onig_set_subexp_call_limit_in_search((unsigned long)Long_val(limit_val));
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ocaml_onig_set_subexp_call_limit_in_search
# In file included from onig_stubs.c:6:0:
# onig_stubs.c: In function 'ocaml_onig_get_subexp_call_max_nest_level':
# onig_stubs.c:834:24: warning: implicit declaration of function 'onig_get_subexp_call_max_nest_level'; did you mean 'ocaml_onig_get_subexp_call_max_nest_level'? [-Wimplicit-function-declaration]
# CAMLreturn(Val_int(onig_get_subexp_call_max_nest_level()));
# ^
# /home/opam/.opam/4.14/lib/ocaml/caml/memory.h:462:29: note: in definition of macro 'CAMLreturnT'
# type caml__temp_result = (result); \
# ^~~~~~
# onig_stubs.c:834:5: note: in expansion of macro 'CAMLreturn'
# CAMLreturn(Val_int(onig_get_subexp_call_max_nest_level()));
# ^~~~~~~~~~
# /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:79:20: note: in expansion of macro 'Val_long'
# #define Val_int(x) Val_long(x)
# ^~~~~~~~
# onig_stubs.c:834:16: note: in expansion of macro 'Val_int'
# CAMLreturn(Val_int(onig_get_subexp_call_max_nest_level()));
# ^~~~~~~
# onig_stubs.c: In function 'ocaml_onig_set_subexp_call_max_nest_level':
# onig_stubs.c:840:5: warning: implicit declaration of function 'onig_set_subexp_call_max_nest_level'; did you mean 'ocaml_onig_set_subexp_call_max_nest_level'? [-Wimplicit-function-declaration]
# onig_set_subexp_call_max_nest_level(Int_val(level_val));
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ocaml_onig_set_subexp_call_max_nest_level
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ochre 1.0.0
+-
+- The following changes have been performed (the rest was aborted)
| - install base64 3.5.2
| - install cmdliner 2.1.0
| - install conf-oniguruma 1
| - install conf-pkg-config 4
| - install csexp 1.5.2
| - install dune 3.22.1
| - install dune-configurator 3.22.1
| - install ISO8601 0.2.6
| - install melange-json-native 2.0.0
| - install menhir 20260209
| - install menhirCST 20260209
| - install menhirGLR 20260209
| - install menhirLib 20260209
| - install menhirSdk 20260209
| - install ocaml-compiler-libs v0.12.4
| - install ocamlbuild 0.16.1
| - install ocamlfind 1.9.8
| - install plist-xml 0.5.1
| - install ppx_derivers 1.2.1
| - install ppxlib 0.38.0
| - install sexplib0 v0.17.0
| - install stdlib-shims 0.3.0
| - install tm-grammars 1.1.0
| - install topkg 1.1.1
| - install xmlm 1.4.0
| - install yojson 3.0.0
+-
# 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/4.14/.opam-switch/backup/state-20260412185414.export"
[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.
opam-repo-ci detected dependencies failing: ochre.1.0.0
"/usr/bin/env" "bash" "-c" "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 "\"opensuse-15.6\""; 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:55.12: Job failed: Failed: Build failed
2026-04-12 18:55.12: Log analysis:
2026-04-12 18:55.12: >>>
[ERROR] The compilation of ochre.1.0.0 failed at "dune build -p ochre -j 255 @install".
(score = 20)
2026-04-12 18:55.12: >>>
# onig_stubs.c:15:5: error: unknown type name 'OnigRegSet'
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:170:16: error: 'ONIG_OPTION_NOT_BEGIN_POSITION' undeclared (first use in this function); did you mean 'ONIG_OPTION_POSIX_REGION'?
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:172:16: error: 'ONIG_OPTION_IGNORECASE_IS_ASCII' undeclared (first use in this function); did you mean 'ONIG_OPTION_WORD_IS_ASCII'?
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:182:16: error: 'ONIG_OPTION_TEXT_SEGMENT_EXTENDED_GRAPHEME_CLUSTER' undeclared (first use in this function); did you mean 'ONIG_SYN_OP2_ESC_X_Y_GRAPHEME_CLUSTER'?
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:184:16: error: 'ONIG_OPTION_TEXT_SEGMENT_WORD' undeclared (first use in this function); did you mean 'ONIG_OPTION_EXTEND'?
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:186:16: error: 'ONIG_OPTION_NOT_BEGIN_STRING' undeclared (first use in this function); did you mean 'ONIG_OPTION_NOT_BEGIN_POSITION'?
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:188:16: error: 'ONIG_OPTION_NOT_END_STRING' undeclared (first use in this function); did you mean 'ONIG_OPTION_NOT_BEGIN_STRING'?
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:194:16: error: 'ONIG_OPTION_CALLBACK_EACH_MATCH' undeclared (first use in this function); did you mean 'ONIG_TRAVERSE_CALLBACK_AT_BOTH'?
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:307:5: error: unknown type name 'OnigRegSet'; did you mean 'OnigRegex'?
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:353:9: error: 'ONIG_REGSET_POSITION_LEAD' undeclared (first use in this function); did you mean 'ONIG_IS_OPTION_ON'?
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:552:5: error: unknown type name 'OnigMatchParam'; did you mean 'OnigUChar'?
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:548:31: error: 'OnigMatchParam' undeclared (first use in this function); did you mean 'OnigUChar'?
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:548:47: error: expected expression before ')' token
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:548:47: error: expected expression before ')' token
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:574:5: error: unknown type name 'OnigMatchParam'; did you mean 'OnigUChar'?
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:580:52: error: 'OnigMatchParam' undeclared (first use in this function); did you mean 'OnigUChar'?
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:580:67: error: expected expression before ')' token
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:548:47: error: expected expression before ')' token
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:548:31: error: 'OnigMatchParam' undeclared (first use in this function); did you mean 'OnigUChar'?
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:548:47: error: expected expression before ')' token
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:548:31: error: 'OnigMatchParam' undeclared (first use in this function); did you mean 'OnigUChar'?
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:548:47: error: expected expression before ')' token
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:548:31: error: 'OnigMatchParam' undeclared (first use in this function); did you mean 'OnigUChar'?
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:548:47: error: expected expression before ')' token
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:548:31: error: 'OnigMatchParam' undeclared (first use in this function); did you mean 'OnigUChar'?
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:548:47: error: expected expression before ')' token
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:548:31: error: 'OnigMatchParam' undeclared (first use in this function); did you mean 'OnigUChar'?
(score = 30)
2026-04-12 18:55.12: >>>
# onig_stubs.c:548:47: error: expected expression before ')' token
(score = 30)
2026-04-12 18:55.12: >>>
opam-repo-ci detected dependencies failing: ochre.1.0.0
(score = 75)
2026-04-12 18:55.12: ochre.1.0.0 failed to build