kdevelop plugin tries to find indent at startup: /bin/sh: line 1: indent: command not found kdevelop.plugins.customscript: indent returned empty text for style "GNU_indent_GNU" "indent" Maybe it is a good idea to add dev-util/indent to dependencies. Reproducible: Always
Seems to be other commands customscript can use (like clang-format), maybe it'd make sense as yet more optfeatures.
(In reply to Ionen Wolkens from comment #1) > (like clang-format) Well, that one was a bad example given it already depend on clang for other reasons.
It was even called the 'indentplugin' once upon a time: https://invent.kde.org/kdevelop/kdevelop/-/commit/d0c8234bc693c7b2054d9e95014b01f57ec0fd46 Curiously, no other distribution is listing this as a dependency, and even though the description makes it seem as if this is only used to be able to run external scripts (for which the user is very much responsible on their own) there are still these messages related to indent if it is not present. So optfeature is all that I would do here, and maybe mention uncrustify as well since it is mentioned in the plugin.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=77bbb3d7088bb028ba983871ae8397a417fe14da commit 77bbb3d7088bb028ba983871ae8397a417fe14da Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-02-02 19:36:57 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-02-02 19:37:04 +0000 dev-util/kdevelop: Add dev-util/indent, dev-util/uncrustify optfeature Reported-by: Vasiliy Yeremeyev <vayerx@gmail.com> Bug: https://bugs.gentoo.org/767286 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-util/kdevelop/kdevelop-5.6.9999.ebuild | 10 ++++++---- dev-util/kdevelop/kdevelop-9999.ebuild | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=314e41561a262c854f842ea79fca0ed6afea3063 commit 314e41561a262c854f842ea79fca0ed6afea3063 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-02-02 15:52:52 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-02-02 19:40:20 +0000 dev-util/kdevelop: 5.6.2 version bump Closes: https://bugs.gentoo.org/767286 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-util/kdevelop/Manifest | 1 + dev-util/kdevelop/kdevelop-5.6.2.ebuild | 134 ++++++++++++++++++++++++++++++++ 2 files changed, 135 insertions(+)