cvise не может найти clang-format, хотя он и установлен в системе: $ which clang-format /usr/bin/clang-format $ cvise test.sh test.c 00:00:00 ERROR cannot find external program clang-format 00:00:00 ERROR Prereqs not found for pass IndentPass::regular 00:00:00 ERROR cannot find external program clang-format 00:00:00 ERROR Prereqs not found for pass IndentPass::final [...]
$ rpm -q cvise cvise-2.12.0-alt1.x86_64 $ rpm -ql cvise | xargs grep CLANG_FORMAT 2>/dev/null /usr/share/cvise/utils/externalprograms.py: programs['clang-format'] = 'CLANG_FORMAT_PATH-NOTFOUND' По такому пути clang-format действительно не находится. По хорошему, нужно исправить cvise/CMakeLists.txt в апстриме, займусь на досуге. А для пакета проще всего, мне кажется, добавить /usr/bin/clang-format в BuildRequires -- должно помочь.
> По хорошему, нужно исправить cvise/CMakeLists.txt в апстриме https://github.com/marxin/cvise/pull/475 > Проще всего, мне кажется, добавить /usr/bin/clang-format в BuildRequires -- должно помочь. помогло: https://git.altlinux.org/tasks/405743/
cvise-2.12.0-alt2 -> sisyphus: Wed Jan 21 2026 Ivan A. Melnikov <iv@altlinux> 2.12.0-alt2 - NMU: add clang-tools (for clang-format) to BR and package requires (ALT#57584).