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

Bug 675492

Summary: dev-util/kdevelop:5 needs to be rebuilt after sys-devel/clang upgrade - kdevplatform.shell: Could not load plugin "kdevclangsupport" , it reported the error: "The clang builtin include path \"/usr/lib64/clang/7.0.0/include\" is invalid (missing cpuid.h...
Product: Gentoo Linux Reporter: tk+gentoo
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description tk+gentoo 2019-01-15 14:24:10 UTC
When upgrading sys-devel/clang without rebuilding kdevelop its kdevclangsupport plugin stops working with the following error message:

kdevplatform.shell: Could not load plugin "kdevclangsupport" , it reported the error: "The clang builtin include path \"/usr/lib64/clang/7.0.0/include\" is invalid (missing cpuid.h header).\nTry setting the KDEV_CLANG_BUILTIN_DIR environment variable manually to fix this.\nSee also: https://bugs.kde.org/show_bug.cgi?id=393779" Disabling the plugin now.

Since this plugin is responsible for parsing, syntax highlighting and autocompletion of c/c++ code, kdevelop is more or less useless to c/c++ programmers without this plugin.



Reproducible: Didn't try

Steps to Reproduce:
1. Install dev-util/kdevelop
2. Install another version of clang than the one previously installed (downgrade should "work" too)
3. Open c/c++ project within kdevelop
Actual Results:  
Parsing, syntax highlighting and autocomplete not working

Expected Results:  
A working c/c++ IDE
Comment 1 Michael Palimaka (kensington) gentoo-dev 2019-03-16 06:51:24 UTC
This is odd, we do use the slot operator on clang in kdevelop which is supposed to automatically trigger a rebuild. Could you please attach 'emerge --info'?
Comment 2 tk+gentoo 2019-03-25 09:55:16 UTC
Created attachment 570694 [details]
emerge --info
Comment 3 tk+gentoo 2019-03-25 09:57:25 UTC
Thanks for comming back to this.

This truely is odd, since I though about an forgotten = operator while filing this bug. Maybe there is an obvious bug in my emerge --info.
Comment 4 Andreas Sturmlechner gentoo-dev 2020-07-01 21:46:47 UTC
I have never run into this problem yet. Is this bug still a thing?
Comment 5 tk+gentoo 2020-07-01 21:57:18 UTC
(In reply to Andreas Sturmlechner from comment #4)
> I have never run into this problem yet. Is this bug still a thing?
I haven't seen it since, either.

I forgot about this bugreport and wasn't aware, that I can mark it resolved...