After upgrade of sys-devel/llvm I can't rebuild latest stable mesa. Reproducible: Always Use flags: $ emerge -pv mesa llvm These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ~] sys-devel/llvm-3.5.0:0/3.5 USE="clang doc libffi ncurses static-analyzer xml -debug -gold -libedit -multitarget -ocaml -python {-test}" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7 -pypy" VIDEO_CARDS="-radeon" 0 kB [ebuild R ] media-libs/mesa-10.0.4 USE="classic egl gallium gles1 gles2 llvm llvm-shared-libs nptl osmesa pic vdpau xa xvmc -bindist -debug -gbm -opencl -openvg -pax_kernel -r600-llvm-compiler (-selinux) -wayland" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="(-freedreno) -i915 -i965 -ilo -intel -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware" 0 kB
Created attachment 385178 [details] build.log.gz gallivm/lp_bld_debug.cpp:60:32: fatal error: llvm/ADT/OwningPtr.h: No such file or directory
Following mesa versions failed to build with same problem: 10.1.0, 10.1.1, 10.1.3, 10.1.4, 10.1.6, 10.2.1, 10.2.2, 10.2.4, 10.2.6 Mesa 10.2.7 built fine: $ emerge -pv mesa Calculating dependencies... done! [ebuild R ~] media-libs/mesa-10.2.7 USE="classic dri3 egl gallium gbm gles1 gles2 llvm nptl osmesa pic vdpau xa xvmc -bindist -debug -opencl -openmax -openvg -pax_kernel -r600-llvm-compiler (-selinux) -wayland" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="(-freedreno) -i915 -i965 -ilo -intel -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware" 0 kB All mesa versions lower than 10.2.7 should (optionally) depend on llvm lower than 3.5
The build passes here for me with llvm-3.5.0 and mesa-10.2.8 (both stable). I'm not planning to do updates of older mesa ebuilds.