Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711594 - dev-util/kdevelop-5.5.0 The following REQUIRED packages have not been found: * Clang (required version >= 6.0)
Summary: dev-util/kdevelop-5.5.0 The following REQUIRED packages have not been found: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: llvm-10
  Show dependency tree
 
Reported: 2020-03-05 13:13 UTC by email200202
Modified: 2020-03-22 21:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,28.20 KB, text/plain)
2020-03-05 13:18 UTC, email200202
Details
emerge -pqv '=dev-util/kdevelop-5.5.0::gentoo' (file_711594.txt,176 bytes, text/plain)
2020-03-05 13:20 UTC, email200202
Details
emerge --info '=dev-util/kdevelop-5.5.0::gentoo' (file_711594.txt,7.02 KB, text/plain)
2020-03-05 13:21 UTC, email200202
Details

Note You need to log in before you can comment on or make changes to this bug.
Description email200202 2020-03-05 13:13:23 UTC
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
Comment 1 email200202 2020-03-05 13:18:57 UTC
Created attachment 617160 [details]
build.log
Comment 2 email200202 2020-03-05 13:20:36 UTC
Created attachment 617162 [details]
emerge -pqv '=dev-util/kdevelop-5.5.0::gentoo'
Comment 3 email200202 2020-03-05 13:21:44 UTC
Created attachment 617164 [details]
emerge --info '=dev-util/kdevelop-5.5.0::gentoo'
Comment 4 email200202 2020-03-05 13:28:51 UTC
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)
Comment 5 Larry the Git Cow gentoo-dev 2020-03-22 20:41:30 UTC
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(+)
Comment 6 Larry the Git Cow gentoo-dev 2020-03-22 21:30:53 UTC
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(+)