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
+ 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.
Can you still reproduce this? We recently switched to the Meson build system for mesa-9999.ebuild.