- github
- ocaml
- opam-repository
- f4910a
- distributions,centos-9-ocaml-5.4,textmate-language.0.6.0
(not at the head of any monitored branch or PR)
2026-04-11 03:27.49: New job: build textmate-language.0.6.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29706/head (f4910a2531bcca68d1611b3dcfca297d68fec1a0)
on centos-9-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/29706/head" && git reset --hard f4910a25
git fetch origin master
git merge --no-edit 42844088d70eed10b276d49691b1cbd714fa56a9
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-9-ocaml-5.4@sha256:0006bfe3e73e34ca6671131cc6ce6c8347abaa92b27c80a06070b1e5bc106bac
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 textmate-language.0.6.0 0.6.0
RUN opam reinstall textmate-language.0.6.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 "\"centos-9\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'textmate-language.0.6.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-11 03:27.49: Using cache hint "ocaml/opam:centos-9-ocaml-5.4@sha256:0006bfe3e73e34ca6671131cc6ce6c8347abaa92b27c80a06070b1e5bc106bac-textmate-language.0.6.0-f4910a2531bcca68d1611b3dcfca297d68fec1a0"
2026-04-11 03:27.49: Using OBuilder spec:
((from ocaml/opam:centos-9-ocaml-5.4@sha256:0006bfe3e73e34ca6671131cc6ce6c8347abaa92b27c80a06070b1e5bc106bac)
(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 textmate-language.0.6.0 0.6.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall textmate-language.0.6.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 \"\\\"centos-9\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'textmate-language.0.6.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-11 03:27.49: Waiting for resource in pool OCluster
2026-04-11 04:24.08: Waiting for worker…
2026-04-11 04:27.39: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 42844088d7 Merge pull request #29664 from YuriyKrasilnikov/opam-publish-jsonschema-core.0.1.0
Updating 42844088d7..f4910a2531
Fast-forward
.../textmate-language/textmate-language.0.6.0/opam | 47 ++++++++++++++++++++++
1 file changed, 47 insertions(+)
create mode 100644 packages/textmate-language/textmate-language.0.6.0/opam
(from ocaml/opam:centos-9-ocaml-5.4@sha256:0006bfe3e73e34ca6671131cc6ce6c8347abaa92b27c80a06070b1e5bc106bac)
2026-04-11 04:34.01 ---> saved as "5a483e8f384c1537bd6414fb1d6ecd3225b81ddae6fbf219b83d309e284e23ed"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-11 04:34.02 ---> saved as "cc866741f68ba0820027f959034bbac9d8ed1b253b6a4b890ea810e0febc9293"
/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-11 04:34.21 ---> saved as "1abe7714bd7ebb3bddf5c6252090e0b09511e9f875ff9d165571f697a60e2a4b"
/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=centos os-version=9
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# 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-11 04:34.21 ---> saved as "1ebab396bbda61aacd87e5f6925a5a09c28010175ae84fbb33f76e9b036f5623"
/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-11 04:34.30 ---> saved as "ffe25c3850d1bb9516372defcb6239181e7b51ce707e83406dcc6ff2a0e9b32b"
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-11 04:34.35 ---> saved as "7b8faba69da27becf8fb1f1e962d5dbd50d53f01efc49bc05f272a291c7c091d"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-11 04:34.51 ---> saved as "a6e8d0cfe6e846c49654068c0ee3166f22fb93678401900fbc95a87cb2b09198"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 9 - BaseOS 61 kB/s | 14 kB 00:00
- CentOS Stream 9 - BaseOS 504 kB/s | 8.9 MB 00:18
- CentOS Stream 9 - AppStream 103 kB/s | 15 kB 00:00
- CentOS Stream 9 - AppStream 471 kB/s | 27 MB 00:59
- CentOS Stream 9 - CRB 43 kB/s | 14 kB 00:00
- CentOS Stream 9 - CRB 622 kB/s | 8.0 MB 00:13
- CentOS Stream 9 - Extras packages 129 kB/s | 16 kB 00:00
- Metadata cache created.
2026-04-11 04:36.30 ---> saved as "29e3897bb4836e112be62f74df213181efde0a3ba73dd92ea7a3a7087df2f976"
/home/opam: (run (shell "opam pin add -k version -yn textmate-language.0.6.0 0.6.0"))
textmate-language is now pinned to version 0.6.0
2026-04-11 04:36.31 ---> saved as "78a4961697a796a7a1297ab1b762032fe4e1147982b8f38d05f713279ffaebb9"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall textmate-language.0.6.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 \"\\\"centos-9\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'textmate-language.0.6.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
textmate-language.0.6.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 7 packages
- install conf-oniguruma 1 [required by oniguruma]
- 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 textmate-language]
- install dune-configurator 3.22.1 [required by oniguruma]
- install oniguruma 0.2.0 [required by textmate-language]
- install textmate-language 0.6.0 (pinned)
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 yum to install them (may need root/sudo access)
2. Display the recommended yum 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 "yum" "install" "-y" "oniguruma-devel"
- Last metadata expiration check: 0:00:04 ago on Sat Apr 11 04:36:29 2026.
- Dependencies resolved.
- ================================================================================
- Package Architecture Version Repository Size
- ================================================================================
- Installing:
- oniguruma-devel x86_64 6.9.6-1.el9.6 crb 66 k
- Installing dependencies:
- oniguruma x86_64 6.9.6-1.el9.6 baseos 218 k
-
- Transaction Summary
- ================================================================================
- Install 2 Packages
-
- Total download size: 284 k
- Installed size: 999 k
- Downloading Packages:
- (1/2): oniguruma-devel-6.9.6-1.el9.6.x86_64.rpm 950 kB/s | 66 kB 00:00
- (2/2): oniguruma-6.9.6-1.el9.6.x86_64.rpm 1.9 MB/s | 218 kB 00:00
- --------------------------------------------------------------------------------
- Total 744 kB/s | 284 kB 00:00
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
- Preparing : 1/1
- Installing : oniguruma-6.9.6-1.el9.6.x86_64 1/2
- Installing : oniguruma-devel-6.9.6-1.el9.6.x86_64 2/2
- Running scriptlet: oniguruma-devel-6.9.6-1.el9.6.x86_64 2/2
- Verifying : oniguruma-6.9.6-1.el9.6.x86_64 1/2
- Verifying : oniguruma-devel-6.9.6-1.el9.6.x86_64 2/2
-
- Installed:
- oniguruma-6.9.6-1.el9.6.x86_64 oniguruma-devel-6.9.6-1.el9.6.x86_64
-
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "oniguruma-devel"
- oniguruma-devel-6.9.6-1.el9.6.x86_64
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> 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 oniguruma.0.2.0 (cached)
-> retrieved textmate-language.0.6.0 (cached)
-> installed dune.3.22.1
-> installed csexp.1.5.2
-> installed dune-configurator.3.22.1
[ERROR] The compilation of oniguruma.0.2.0 failed at "dune build -p oniguruma -j 255 @install".
#=== ERROR while compiling oniguruma.0.2.0 ====================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.1 | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/oniguruma.0.2.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p oniguruma -j 255 @install
# exit-code 1
# env-file ~/.opam/log/oniguruma-7-12e15d.env
# output-file ~/.opam/log/oniguruma-7-12e15d.out
### output ###
# File "src/dune", line 6, characters 9-19:
# 6 | (names onig_stubs)
# ^^^^^^^^^^
# (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -g -I /home/opam/.opam/5.4/lib/ocaml -o onig_stubs.o -c onig_stubs.c)
# onig_stubs.c: In function 'ocaml_get_onig_syntax_python':
# onig_stubs.c:88:36: error: 'ONIG_SYNTAX_PYTHON' undeclared (first use in this function); did you mean 'ONIG_SYNTAX_PERL'?
# 88 | WRAP(ocaml_get_onig_syntax_python, ONIG_SYNTAX_PYTHON)
# | ^~~~~~~~~~~~~~~~~~
# onig_stubs.c:22:30: note: in definition of macro 'WRAP'
# 22 | Field(v, 0) = (value)wrapped; \
# | ^~~~~~~
# onig_stubs.c:88:36: note: each undeclared identifier is reported only once for each function it appears in
# 88 | WRAP(ocaml_get_onig_syntax_python, ONIG_SYNTAX_PYTHON)
# | ^~~~~~~~~~~~~~~~~~
# onig_stubs.c:22:30: note: in definition of macro 'WRAP'
# 22 | Field(v, 0) = (value)wrapped; \
# | ^~~~~~~
# onig_stubs.c: In function 'option':
# onig_stubs.c:161:16: error: 'ONIG_OPTION_IGNORECASE_IS_ASCII' undeclared (first use in this function); did you mean 'ONIG_OPTION_WORD_IS_ASCII'?
# 161 | return ONIG_OPTION_IGNORECASE_IS_ASCII;
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | ONIG_OPTION_WORD_IS_ASCII
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build oniguruma 0.2.0
+-
+- The following changes have been performed (the rest was aborted)
| - 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
+-
# 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-20260411043631.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.
A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.
opam-repo-ci detected dependencies failing: oniguruma.0.2.0
"/usr/bin/env" "bash" "-c" "opam reinstall textmate-language.0.6.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 "\"centos-9\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'textmate-language.0.6.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-11 04:37.05: Job failed: Failed: Build failed
2026-04-11 04:37.05: Log analysis:
2026-04-11 04:37.05: >>>
[ERROR] The compilation of oniguruma.0.2.0 failed at "dune build -p oniguruma -j 255 @install".
(score = 20)
2026-04-11 04:37.05: >>>
# onig_stubs.c:88:36: error: 'ONIG_SYNTAX_PYTHON' undeclared (first use in this function); did you mean 'ONIG_SYNTAX_PERL'?
(score = 30)
2026-04-11 04:37.05: >>>
# onig_stubs.c:161: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-11 04:37.05: >>>
A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.
(score = 100)
2026-04-11 04:37.05: [SKIP] Failure ignored