Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 893404

Summary: dev-util/kdevelop: building against sys-devel/clang-16.0.0_pre20230107 results in "Could not find Clang builtin directory"
Product: Gentoo Linux Reporter: Peter Levine <plevine457>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED UPSTREAM    
Severity: normal CC: plevine457
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 904089    
Attachments: kdevelop-22.12.2-clang-16.patch
build.log
emerge --info

Description Peter Levine 2023-02-06 15:35:54 UTC
Building dev-util/kdevelop-22.12.2 against sys-devel/clang-16.0.0_pre20230107 results in:

> CMake Error at cmake/modules/FindClang.cmake:113 (message):
>   Could not find Clang builtin directory
> Call Stack (most recent call first):
>   plugins/CMakeLists.txt:39 (find_package)
Comment 1 Peter Levine 2023-02-06 15:39:11 UTC
Created attachment 849998 [details, diff]
kdevelop-22.12.2-clang-16.patch

Fixed upstream.  This patch contains cherry-picked commits:

https://invent.kde.org/kdevelop/kdevelop/-/commit/1a92bed
https://invent.kde.org/kdevelop/kdevelop/-/commit/9913f73
https://invent.kde.org/kdevelop/kdevelop/-/commit/1c7bdc2
Comment 2 Peter Levine 2023-02-06 15:41:03 UTC
Created attachment 850000 [details]
build.log
Comment 3 Peter Levine 2023-02-06 15:43:03 UTC
Created attachment 850002 [details]
emerge --info
Comment 4 Vincent de Phily 2023-05-12 16:17:56 UTC
This bug can be closed.

The fix is included in the upstream 23.04.0 release, which is the oldest version available in portage.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-12 16:30:41 UTC
(In reply to Vincent de Phily from comment #4)
> This bug can be closed.
> 
> The fix is included in the upstream 23.04.0 release, which is the oldest
> version available in portage.

Thanks.