Summary: | media-libs/mesa-17.1.[34] with opencl USE flag - configure: error: Could not find clang internal header stddef.h in /usr/lib/clang/5.0.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | llvm |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | config.log |
Description
Juergen Rose
2017-06-29 14:09:11 UTC
I have clang-4.0.1 installed: root@cheetahnew:/root(24)# qlist -Iv clang sys-devel/clang-4.0.1 sys-devel/clang-runtime-4.0.0 sys-devel/clang-runtime-4.0.1 root@cheetahnew:/root(25)# ll /usr/lib/clang/ total 8 drwxr-xr-x 4 root root 4096 Mar 13 21:01 4.0.0/ drwxr-xr-x 4 root root 4096 Jun 28 14:55 4.0.1/ The same happens with mesa-17.1.4. 'USE=-opencl emerge -v1 mesa' works. This issue seems to be happen on systems with =app-vim/llvm-vim-9999 ** =sys-devel/llvm-9999 ** =sys-devel/llvmgold-5 ** in /etc/portage/packages.keywords/monolithic If I comment out these keywords, 'emerge -uvND --backtrack=30 world' complains about The following keyword changes are necessary to proceed: (see "package.accept_keywords" in the portage(5) man page for more details) # required by media-libs/mesa-17.1.4::gentoo[llvm] # required by x11-wm/mutter-3.22.4-r1::gentoo[wayland] # required by gnome-base/gnome-3.22.2::gentoo # required by @selected # required by @world (argument) =sys-devel/llvm-9999 ** The strange thing is that I have two systems, where I have not to set =sys-devel/llvm-9999 ** in /etc/portage/packages.keywords . And these systems have a similar state of installed packages. I continue two search for differences of affected and not affected systems. After outcommenting llvm-9999, llvmgold-5 and llvm-vim-9999 in /etc/portage/package.keywords/monolithic and deleting mesa, mutter and gnome (emerge -C mesa mutter gnome), the subsequent 'emerge -uvND --backtrack=30 --keep-going world' did not insist to set the llvm-9999 keyword. And now I could also install mesa with the opencl USE flag. |