(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 centos-9-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:centos-9-ocaml-4.14@sha256:c88a8dd5557c6e7de3112fb0a71c6e479a9463c7d7db04b91ba60e34082cc73d
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 "\"centos-9\""; 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:centos-9-ocaml-4.14@sha256:c88a8dd5557c6e7de3112fb0a71c6e479a9463c7d7db04b91ba60e34082cc73d-ochre-cli.1.0.0-c7d1605439a68ff5f5d9f600bbf5faa96cbbaf3e"
2026-04-12 18:50.46: Using OBuilder spec:
((from ocaml/opam:centos-9-ocaml-4.14@sha256:c88a8dd5557c6e7de3112fb0a71c6e479a9463c7d7db04b91ba60e34082cc73d)
 (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 \"\\\"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\" != '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 clete.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:centos-9-ocaml-4.14@sha256:c88a8dd5557c6e7de3112fb0a71c6e479a9463c7d7db04b91ba60e34082cc73d)
2026-04-12 18:51.58 ---> using "c12e2683b1b7ccfd4c3fbeab718f9187e348fe216065f1494d2140dffddc01a2" 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.58 ---> using "65280ae944a3d789bae6518b368f1a8da0d261ce83bde3bd2773b24ed5890349" 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.58 ---> using "007fe2a6ea8fcb5134e6a455038f453f7754a6e2eff6e9c589467dbeb25d6310" 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=centos os-version=9
# 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       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:51.58 ---> using "6ea348567818f3efd15ff5914a3401c33c88366492ac7386bd5ac8f5a9d132b4" 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.58 ---> using "0876e5deec9e4a9f153239abfebbb2b346abbfef9264a5b4b6f414be496cc668" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-12 18:52.10 ---> saved as "7b27e9aff5eb07fd2e548a0236adf947591d29a153b821ac62c8a8a6d1d274a4"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-12 18:52.32 ---> saved as "fc4cab260c4ed115df42a9fa6218c812349c4dd544d6c2f4144045a733894769"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 9 - BaseOS                         33 kB/s |  14 kB     00:00    
- CentOS Stream 9 - BaseOS                         11 MB/s | 8.9 MB     00:00    
- CentOS Stream 9 - AppStream                     112 kB/s |  15 kB     00:00    
- CentOS Stream 9 - AppStream                     8.4 MB/s |  27 MB     00:03    
- CentOS Stream 9 - CRB                           102 kB/s |  14 kB     00:00    
- CentOS Stream 9 - CRB                           6.2 MB/s | 8.0 MB     00:01    
- CentOS Stream 9 - Extras packages               104 kB/s |  16 kB     00:00    
- Metadata cache created.
2026-04-12 18:52.55 ---> saved as "3d7739a6f0dfa22028864c4e89747d11de742eec20885b571e35b89773eb05e0"

/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:52.57 ---> saved as "e56320123a95e66c0289dbe95177be27f18669888056b3de71eb5c4fb17c25c1"

/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 \"\\\"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\" != '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 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:10 ago on Sun Apr 12 18:52:53 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 467 kB/s |  66 kB     00:00    
- (2/2): oniguruma-6.9.6-1.el9.6.x86_64.rpm       1.2 MB/s | 218 kB     00:00    
- --------------------------------------------------------------------------------
- Total                                           621 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 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 71 @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 71 @install
# exit-code            1
# env-file             ~/.opam/log/ochre-7-c35517.env
# output-file          ~/.opam/log/ochre-7-c35517.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: In function 'option':
# 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'?
#   172 |         return ONIG_OPTION_IGNORECASE_IS_ASCII;
#       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#       |                ONIG_OPTION_WORD_IS_ASCII
# onig_stubs.c:172:16: note: each undeclared identifier is reported only once for each function it appears in
# onig_stubs.c:194:16: error: 'ONIG_OPTION_CALLBACK_EACH_MATCH' undeclared (first use in this function)
#   194 |         return ONIG_OPTION_CALLBACK_EACH_MATCH;
#       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



<><> 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-20260412185257.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 "\"centos-9\""; 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:54.32: Job failed: Failed: Build failed
2026-04-12 18:54.32: Log analysis:
2026-04-12 18:54.32: >>> 
[ERROR] The compilation of ochre.1.0.0 failed at "dune build -p ochre -j 71 @install".
 (score = 20)
2026-04-12 18:54.32: >>> 
# 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:54.32: >>> 
# onig_stubs.c:194:16: error: 'ONIG_OPTION_CALLBACK_EACH_MATCH' undeclared (first use in this function)
 (score = 30)
2026-04-12 18:54.32: >>> 
opam-repo-ci detected dependencies failing:  ochre.1.0.0
 (score = 75)
2026-04-12 18:54.32:  ochre.1.0.0 failed to build