dev-util/kdevelop-5.5.0 failed to build with this error message: -- The following RUNTIME packages have not been found: * ClazyStandalone, Qt oriented code checker based on clang framework. Krazy's little brother, <https://cgit.kde.org/clazy.git/about/> Recommended: required by the non-essential Clazy plugin * heaptrack, A heap memory profiler for Linux, <https://phabricator.kde.org/dashboard/view/28> Recommended: required by the non-essential heaptrack plugin * heaptrack_gui, Analyzer gui for heaptrack, a heap memory profiler for Linux, <https://phabricator.kde.org/dashboard/view/28> Recommended: required by the non-essential heaptrack plugin -- The following REQUIRED packages have not been found: * Clang (required version >= 6.0), Clang libraries from the LLVM project. Please install a package providing libclang. Either pass -DLLVM_ROOT=/path/to/llvm-prefix or install the 'llvm-config' command-line utility for auto-detection. Used for KDevelop's C++/C support plugin. CMake Error at /usr/share/cmake/Modules/FeatureSummary.cmake:457 (message): feature_summary() Error: REQUIRED package(s) are missing, aborting CMake run. Call Stack (most recent call first): CMakeLists.txt:204 (feature_summary) Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge -auvDN world 3. emerge -av @preserved-rebuild Actual Results: kdevelop/kdevelop-5.5.0 emerge failed Expected Results: It should not fail
Created attachment 617160 [details] build.log
Created attachment 617162 [details] emerge -pqv '=dev-util/kdevelop-5.5.0::gentoo'
Created attachment 617164 [details] emerge --info '=dev-util/kdevelop-5.5.0::gentoo'
Adding -DLLVM_ROOT="/usr/lib/llvm/10/" fixed the problem. # diff -Naur kdevelop-5.5.0.ebuild /usr/portage/dev-util/kdevelop/kdevelop-5.5.0.ebuild --- kdevelop-5.5.0.ebuild 2020-03-05 23:04:22.986103716 +1100 +++ /usr/portage/dev-util/kdevelop/kdevelop-5.5.0.ebuild 2020-03-05 23:05:37.793781662 +1100 @@ -105,6 +105,7 @@ $(cmake_use_find_package gdbui KF5SysGuard) -DBUILD_executeplasmoid=$(usex plasma) $(cmake_use_find_package plasma KF5Plasma) + -DLLVM_ROOT="/usr/lib/llvm/10/" $(cmake_use_find_package hex OktetaKastenControllers) $(cmake_use_find_package qmake KDevelop-PG-Qt) $(cmake_use_find_package reviewboard KF5Purpose)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07004f61f364558922f2d98e3fe34357c4b03ce9 commit 07004f61f364558922f2d98e3fe34357c4b03ce9 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-03-22 20:39:35 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-03-22 20:40:43 +0000 dev-util/kdevelop: Fix build with >=sys-devel/llvm-10 Reported-by: email200202@yahoo.com Closes: https://bugs.gentoo.org/711594 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-util/kdevelop/kdevelop-5.5.0.ebuild | 4 ++++ 1 file changed, 4 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=01621eb32a01b9b044cc458eec3400ff36b3df0a commit 01621eb32a01b9b044cc458eec3400ff36b3df0a Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-03-22 20:39:35 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-03-22 21:00:23 +0000 dev-util/kdevelop: Fix build with >=sys-devel/llvm-10 Reported-by: email200202@yahoo.com Closes: https://bugs.gentoo.org/711594 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-util/kdevelop/kdevelop-9999.ebuild | 4 ++++ 1 file changed, 4 insertions(+)