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

Bug 468734

Summary: media-libs/mesa-9.1.2 - gallivm/lp_bld_misc.cpp:64:23: fatal error: llvm/Wrap.h: No such file or directory compilation terminated.
Product: Gentoo Linux Reporter: EoD <EoD>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description EoD 2013-05-06 07:42:49 UTC
When I try to upgrade from mesa-9.1.1 to mesa-9.1.2

[ebuild     U ~] media-libs/mesa-9.1.2 [9.1.1] USE="egl gallium llvm nptl openvg shared-glapi vdpau xvmc -bindist -classic -debug -gbm -gles1 -gles2 -osmesa -pax_kernel -pic (-r600-llvm-compiler) (-selinux) -wayland -xa -xorg" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" VIDEO_CARDS="r600 radeon -i915 -i965 -intel -nouveau -r100 -r200 -r300 (-radeonsi) -vmware" 0 kB

I get the following compilation error

libtool: compile:  x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"9.1.2\" "-DPACKAGE_STRING=\"Mesa 9.1.2\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"9.1.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 -DHAVE_PTHREAD=1 -DHAVE_LIBEXPAT=1 -I. -I../../../src/gallium/auxiliary/util -I../../../include -I../../../src/gallium/include -I../../../src/gallium/auxiliary -D_GNU_SOURCE -DHAVE_PTHREAD -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM=0x0303 -fvisibility=hidden -I/usr/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -pipe -march=amdfam10 -O2 -pipe -g -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -c gallivm/lp_bld_tgsi_soa.c  -fPIC -DPIC -o gallivm/.libs/lp_bld_tgsi_soa.o
gallivm/lp_bld_misc.cpp:64:23: fatal error: llvm/Wrap.h: No such file or directory
compilation terminated.

This only happens with the llvm useflag enabled. I tried it with version sys-devel/llvm-9999 installed from today and from march '13, neither worked.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-06 07:52:06 UTC

*** This bug has been marked as a duplicate of bug 467124 ***