|Summary:||dev-qt/qt-creator unmask clang USE and remove libclangformat-ide dependency|
|Product:||Gentoo Linux||Reporter:||Sergej Petrushkin <psn8402>|
|Component:||Current packages||Assignee:||Davide Pesavento <pesa>|
|Severity:||normal||CC:||dimgel, jstein, plevine457, psn8402, qt, snaipperi, vmatare+gbug|
|Package list:||Runtime testing required:||---|
emerge --info llvm clang clang-runtime qt-creator
Description Sergej Petrushkin 2020-11-30 14:18:05 UTC
Created attachment 675826 [details] emerge --info llvm clang clang-runtime qt-creator USE flag dev-qt/qt-creator clang is masked due to removal of libclangformat-ide. But qt-creator builds with sys-devel/clang:10, and the ClangCodeModel plugin works well. I think it is better to remove libclangformat-ide from dependencies and unmask the clang USE.
Comment 1 Sergej Petrushkin 2020-11-30 14:19:49 UTC
Created attachment 675829 [details, diff] ebuild patch
Comment 2 Victor Mataré 2020-12-01 16:58:46 UTC
Absolutely. I can understand rage-removing unmaintained packages, but this is throwing the child out with the bathwater. libclangformat deals just with code formatting. No reason to kill the entire clang code model support with it. Also after this is done, please unmask the clang USE flag on qt-creator again.
Comment 3 Peter Levine 2020-12-02 07:59:33 UTC
As the author of the libclangformat-ide ebuild, I can't blame anyone for not wanting to maintain it. Still, there were other solutions like https://github.com/Peter-Levine/gentoo/commit/f486cad9ef31d8b1971b047629ca371ccbb87dab, ideally using a separate "clangformat" USE flag instead of "clang".