Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482134 - media-libs/mesa-9.2.0_rc1 - In file included from lp_bld_blend.c:31: ../../../../src/gallium/auxiliary/gallivm/lp_bld.h:49:27: fatal error: llvm-c/Core.h: No such file or directory
Summary: media-libs/mesa-9.2.0_rc1 - In file included from lp_bld_blend.c:31: ../../.....
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: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-22 20:02 UTC by Xavier Miller (RETIRED)
Modified: 2013-08-28 17:05 UTC (History)
2 users (show)

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


Attachments
build.log.bz2 (build.log.bz2,41.87 KB, application/x-bzip2)
2013-08-22 20:04 UTC, Xavier Miller (RETIRED)
Details
config.log of the failing build (config.log,141.19 KB, text/plain)
2013-08-23 18:25 UTC, Xavier Miller (RETIRED)
Details
proposed patch from freedesktop.org (fix-llvm-detect.patch,1020 bytes, patch)
2013-08-26 06:36 UTC, Xavier Miller (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Miller (RETIRED) gentoo-dev 2013-08-22 20:02:31 UTC
emerge -pv1 mesa

These are the packages that would be merged, in order:

Calculating dependencies                  ... done!                    
[ebuild     U  ] media-libs/mesa-9.2.0_rc1 [9.1.6] USE="classic egl gallium nptl -bindist -debug -gbm -gles1 -gles2 -llvm -opencl% -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler (-selinux) -vdpau -wayland -xa -xorg -xvmc (-shared-glapi%*)" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" VIDEO_CARDS="intel (-freedreno) -i915 -i965 -ilo% -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware" 0 kB

In file included from ../../../../src/gallium/auxiliary/gallivm/lp_bld_type.h:42:0,
                 from lp_bld_blend.c:31:
../../../../src/gallium/auxiliary/gallivm/lp_bld.h:49:27: fatal error: llvm-c/Core.h: No such file or directory
compilation terminated.
gmake[3]: *** [lp_bld_blend.lo] Erreur 1
gmake[3]: *** Attente des tâches non terminées....
In file included from ../../../../src/gallium/auxiliary/gallivm/lp_bld_type.h:42:0,
                 from lp_bld_blend_aos.c:50:
../../../../src/gallium/auxiliary/gallivm/lp_bld.h:49:27: fatal error: llvm-c/Core.h: No such file or directory
compilation terminated.
gmake[3]: *** [lp_bld_blend_aos.lo] Erreur 1
In file included from ../../../../src/gallium/auxiliary/gallivm/lp_bld_type.h:42:0,
                 from lp_bld_alpha.c:37:
../../../../src/gallium/auxiliary/gallivm/lp_bld.h:49:27: fatal error: llvm-c/Core.h: No such file or directory
compilation terminated.



Reproducible: Always




 emerge --info '=media-libs/mesa-9.2.0_rc1::gentoo'
Portage 2.2.1 (default/linux/x86/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.10.9-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.10.9-gentoo-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.2
KiB Mem:     1539976 total,    236532 free
KiB Swap:    1572860 total,   1572860 free
Timestamp of tree: Thu, 22 Aug 2013 15:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 i686-gentoo-linux-gnu [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r2
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.12.6, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.10 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo local pd-overlay proaudio
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="@FREE freedist as-is"
CBUILD="i686-gentoo-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=prescott -mtune=generic"
CHOST="i686-gentoo-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=prescott -mtune=generic"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --buildpkg --quiet-build=n"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr_BE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/overlay /var/lib/layman/pd-overlay /var/lib/layman/pro-audio"
USE="X a52 aac acpi alsa branding bzip2 cairo cli cracklib crypt cups cxx dbus dri dts emboss encode exif fam firefox flac gif gpm gtk iconv jack jpeg lcms libnotify libsamplerate mad mmx mng modules mp3 mp4 mpeg mudflap ncurses nls nptl ogg opengl openmp osc pam pango pcre pdf png ppds qt4 readline session sndfile spell sqlite sse sse2 ssl ssse3 startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wmf wxwidgets x264 x86 xcb xinerama xml xv xvid zlib" ABI_X86="32" ALSA_CARDS="hda-intel usb-audio virmidi" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard synaptics mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr fr_FR" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="arm i386" QEMU_USER_TARGETS="arm i386" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Xavier Miller (RETIRED) gentoo-dev 2013-08-22 20:04:39 UTC
Created attachment 356702 [details]
build.log.bz2
Comment 2 timemars 2013-08-23 03:53:36 UTC
(In reply to Xavier Miller from comment #1)
> Created attachment 356702 [details]
> build log

quick solution: enable USE flag llvm
Comment 3 Xavier Miller (RETIRED) gentoo-dev 2013-08-23 06:19:39 UTC
(In reply to timemars from comment #2)
> (In reply to Xavier Miller from comment #1)
> > Created attachment 356702 [details]
> > build log
> 
> quick solution: enable USE flag llvm

Nope. I don't want to pull LLVM/CLANG now.
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-08-23 12:42:52 UTC
Another workaround would be to disable USE=gallium
Comment 5 Xavier Miller (RETIRED) gentoo-dev 2013-08-23 12:44:49 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #4)
> Another workaround would be to disable USE=gallium

I will try that workaround. I don't think I use Gallium.
Comment 6 Xavier Miller (RETIRED) gentoo-dev 2013-08-23 17:25:52 UTC
It compiles fine on a ~amd86/nouveau configuration

emerge -pv1 mesa

These are the packages that would be merged, in order:

Calculating dependencies... done!                
[ebuild   R    ] media-libs/mesa-9.2.0_rc1  USE="classic egl gallium nptl -bindist -debug -gbm -gles1 -gles2 -llvm -opencl -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler (-selinux) -vdpau -wayland -xa -xorg -xvmc" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" VIDEO_CARDS="nouveau (-freedreno) -i915 -i965 -ilo -intel -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-08-23 17:31:06 UTC
Please also attach config.log from the failing build.
Comment 8 Xavier Miller (RETIRED) gentoo-dev 2013-08-23 18:25:40 UTC
Created attachment 356770 [details]
config.log of the failing build
Comment 9 Xavier Miller (RETIRED) gentoo-dev 2013-08-25 18:53:12 UTC
Same problem for media-libs/mesa-9.2.0_rc2
Comment 10 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-08-25 19:01:08 UTC
Please report this upstream at https://bugs.freedesktop.org/ (if no report already exists) and provide the link to the bug report here.
Comment 11 Xavier Miller (RETIRED) gentoo-dev 2013-08-26 06:36:27 UTC
Created attachment 357050 [details, diff]
proposed patch from freedesktop.org

https://bugs.freedesktop.org/attachment.cgi?id=84625

Seems to be problem within configure.ac,
occuring since:

http://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?id=0d3b1b0e

Added possible patch, needs testing.
Comment 12 Xavier Miller (RETIRED) gentoo-dev 2013-08-26 16:21:02 UTC
The proposed patch worked for me
Comment 13 Xavier Miller (RETIRED) gentoo-dev 2013-08-27 05:45:00 UTC
The bug is fixed upstream.
Comment 14 Xavier Miller (RETIRED) gentoo-dev 2013-08-28 17:05:23 UTC
fixed in final release (which reached portage those last days).