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

Bug 654012

Summary: media-libs/mesa-9999 searches for clang in /usr/lib/clang/6.0.0 even if different version installed
Product: Gentoo Linux Reporter: Windmill <xaldinwinds>
Component: OverlaysAssignee: Gentoo X packagers <x11>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Windmill 2018-04-24 19:26:33 UTC
media-libs/mesa-9999 fails to emerge because it searches for clang in wrong directory

configure: error: Could not find clang internal header stddef.h in /usr/lib/clang/6.0.0 Use --with-clang-libdir to specify the correct path to the clang libraries.


Reproducible: Always

Steps to Reproduce:
1.emerge media-libs/mesa-9999
Comment 1 Jan Psota 2018-04-27 22:01:07 UTC
+ all mesa-18 versions can be compiled with clang-5 and not with clang-6.

CC=clang-5.0 CXX=clang++-5.0 in env file works
and setting CC=clang (which defaults to 6) - not.
Comment 2 Matt Turner gentoo-dev 2018-06-19 05:09:26 UTC
Can you still reproduce this? We recently switched to the Meson build system for mesa-9999.ebuild.