Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523294 - media-libs/mesa-10.0.4 with sys-devel/llvm-3.5.0 - gallivm/lp_bld_debug.cpp:60:32: fatal error: llvm/ADT/OwningPtr.h: No such file or directory
Summary: media-libs/mesa-10.0.4 with sys-devel/llvm-3.5.0 - gallivm/lp_bld_debug.cpp:6...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-20 12:52 UTC by i.Dark_Templar
Modified: 2015-02-21 19:51 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.gz (build.log.gz,35.72 KB, application/gzip)
2014-09-20 12:54 UTC, i.Dark_Templar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description i.Dark_Templar 2014-09-20 12:52:07 UTC
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
Comment 1 i.Dark_Templar 2014-09-20 12:54:26 UTC
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
Comment 2 i.Dark_Templar 2014-09-23 06:35:40 UTC
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
Comment 3 Matt Turner gentoo-dev 2015-02-21 19:51:52 UTC
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.