Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893404 - dev-util/kdevelop: building against sys-devel/clang-16.0.0_pre20230107 results in "Could not find Clang builtin directory"
Summary: dev-util/kdevelop: building against sys-devel/clang-16.0.0_pre20230107 result...
Status: RESOLVED UPSTREAM
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: PATCH
Depends on:
Blocks: 904089
  Show dependency tree
 
Reported: 2023-02-06 15:35 UTC by Peter Levine
Modified: 2023-05-12 16:30 UTC (History)
1 user (show)

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


Attachments
kdevelop-22.12.2-clang-16.patch (kdevelop-22.12.2-clang-16.patch,20.19 KB, patch)
2023-02-06 15:39 UTC, Peter Levine
Details | Diff
build.log (dev-util:kdevelop-22.12.2:20230206-152857.log,17.42 KB, text/x-log)
2023-02-06 15:41 UTC, Peter Levine
Details
emerge --info (energeinfo.txt,25.63 KB, text/plain)
2023-02-06 15:43 UTC, Peter Levine
Details

Note You need to log in before you can comment on or make changes to this bug.
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.