Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459634 - media-libs/mesa-9.1 doesn't compile with radeonsi enabled
Summary: media-libs/mesa-9.1 doesn't compile with radeonsi enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-28 05:53 UTC by Fabien MAUREL
Modified: 2014-01-05 20:37 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabien MAUREL 2013-02-28 05:53:15 UTC
I have a radeon 7870.

Thanks

Reproducible: Always

Steps to Reproduce:
1.emerge mesa
2.
3.
Actual Results:  
No package 'libclc' found
checking for XCB_DRI2... yes
checking for llvm-config... /usr/bin/llvm-config
checking for INTEL... yes
checking for RADEON... yes
checking for LIBUDEV... yes
configure: error: LLVM R600 Target not enabled.  You can enable it when building the LLVM
                      sources with the --enable-experimental-targets=R600
                      configure flag

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-libs/mesa-9.1/work/Mesa-9.1/config.log
 * ERROR: media-libs/mesa-9.1 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 3509:  Called econf '--enable-dri' '--enable-glx' '--enable-texture-float' '--disable-debug' '--enable-egl' '--enable-gbm' '--disable-gles1' '--disable-gles2' '--enable-glx-tls' '--disable-osmesa' '--enable-asm' '--enable-shared-glapi' '--disable-xa' '--disable-xorg' '--with-dri-drivers=,swrast,i915,i965,radeon,r200' '--with-gallium-drivers=,swrast,i915,radeonsi,r300,r600' '--with-egl-platforms=x11,drm' '--enable-gallium-egl' '--enable-gallium-llvm' '--enable-openvg' '--disable-r600-llvm-compiler' '--disable-vdpau' '--enable-xvmc'
 *   phase-helpers.sh, line  518:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of `emerge --info '=media-libs/mesa-9.1'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/mesa-9.1'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/mesa-9.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-9.1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/mesa-9.1/work/Mesa-9.1'
 * S: '/var/tmp/portage/media-libs/mesa-9.1/work/Mesa-9.1'

>>> Failed to emerge media-libs/mesa-9.1, Log file:

>>>  '/var/tmp/portage/media-libs/mesa-9.1/temp/build.log'

 * Messages for package media-libs/mesa-9.1:

 * ERROR: media-libs/mesa-9.1 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 3509:  Called econf '--enable-dri' '--enable-glx' '--enable-texture-float' '--disable-debug' '--enable-egl' '--enable-gbm' '--disable-gles1' '--disable-gles2' '--enable-glx-tls' '--disable-osmesa' '--enable-asm' '--enable-shared-glapi' '--disable-xa' '--disable-xorg' '--with-dri-drivers=,swrast,i915,i965,radeon,r200' '--with-gallium-drivers=,swrast,i915,radeonsi,r300,r600' '--with-egl-platforms=x11,drm' '--enable-gallium-egl' '--enable-gallium-llvm' '--enable-openvg' '--disable-r600-llvm-compiler' '--disable-vdpau' '--enable-xvmc'
 *   phase-helpers.sh, line  518:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of `emerge --info '=media-libs/mesa-9.1'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/mesa-9.1'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/mesa-9.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-9.1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/mesa-9.1/work/Mesa-9.1'
 * S: '/var/tmp/portage/media-libs/mesa-9.1/work/Mesa-9.1'


my emerge --info 

Portage 2.1.11.52 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.16.0, 3.8.0 x86_64)
=================================================================
System uname: Linux-3.8.0-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    16254824 total,    418644 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Thu, 28 Feb 2013 05:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native -msse3 -msse2 -msse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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="-O3 -pipe -march=native -msse3 -msse2 -msse"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="fr_FR.utf8"
LC_ALL="fr_FR@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aacplus acl alsa amd64 amr apng avx berkdb bluetooth btrfs bzip2 cairo cdda cli consolekit cracklib crypt cups cxx dbus declarative dirac dri dvd efiemu eigen embedded encode exif faac fam fat ffmpeg fftw flac fontconfig fortran g3dvl gbm gcj gdbm geoip gif git glamor gnome gpm gsm gstreamer gtk gtk3 gudev hwdb iconv icu inotify ipv6 java jpeg jpeg2k kde kdepim lame latex libass libkms libnotify logrotate mad marble matroska minizip mmx mmxext mng modules mp3 mpeg mudflap multilib mysql ncurses nls nptl nsplugin ntfs ogg openal opencl opengl openmp openvg pam pcre phonon plasma png policykit python qt3support qt4 readline reiserfs script sdl semantic-desktop sensord session skins smp source speex spell sql sqlite sse sse2 sse3 sse4_1 ssl ssse3 svg taglib tcpd theora threads tiff truetype twolame udev udisks unicode upnp vaapi vala vorbis webinterface webkit wifi wxwidgets x264 xcn xcomposite xfs xinerama xosd xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel radeon radeonsi" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-02-28 12:27:52 UTC
Having this issue with USE=r600-llvm-compiler as well.

Portage 2.2.0_alpha163 (hardened/linux/amd64, gcc-4.7.2, glibc-2.16.0, 3.7.8-gentoo x86_64)
=================================================================
System uname: Linux-3.7.8-gentoo-x86_64-Intel-R-_Core-TM-_i3-2100_CPU_@_3.10GHz-with-gentoo-2.2
KiB Mem:     4003728 total,    194896 free
KiB Swap:   11218932 total,  10153608 free
Timestamp of tree: Thu, 28 Feb 2013 12:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p42
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo eva
Installed sets: @devel, @fonts, @gandi, @gnome, @network, @portage-extras, @system-extras, @system-extras-phys, @system-minimal, @virtualization
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Broadcom AdobeFlash-10.3 AdobeFlash-11.x skype-eula Q3AEULA beta google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=corei7-avx -mno-aes -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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 -march=corei7-avx -mno-aes -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache 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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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="/home/gilles/Développements/git/eva"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 apng avahi avx berkdb bzip2 cairo caps cli clutter colord consolekit cracklib crypt cryptsetup cups cxx dbus dconf device-mapper dri eds exif flac gdbm gmp gnome gnome-keyring gnome-online-accounts gpm grilo gstreamer gtk gtk3 hardened iconv icu idn introspection iptc ipv6 jpeg justify libnotify lzma mmx modules mp3 mtp mudflap multilib nautilus ncurses netlink networkmanager nls nptl ntp ogg openmp orc pam pax_kernel pcre png policykit pulseaudio readline sendto session socialweb spell sqlite sse sse2 sse4_1 sse4_2 ssl ssse3 startup-notification tcpd theora threads tracker udev unicode upnp urandom utf8 vala vim vim-syntax vorbis xattr xinerama xmp xvmc zeitgeist zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="dav dav_fs authn_file auth_basic auth_digest authz_groupfile authz_host dir mime log_config proxy proxy_http" APACHE2_MPMS="event" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel radeon" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Alexander Tsoy 2013-04-04 09:26:27 UTC
From profiles/base/package.use.mask:

# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (19 Mar 2013)
# Depends on llvm-3.3 which is not in ~arch yet
=media-libs/mesa-9.1* r600-llvm-compiler video_cards_radeonsi
Comment 3 Alexander Tsoy 2013-04-20 10:07:44 UTC
This is actually a dublicate of bug 459168
Comment 4 Alexander Tsoy 2013-05-27 17:45:53 UTC
(In reply to Alexander Tsoy from comment #2)
> From profiles/base/package.use.mask:
> 
> # Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (19 Mar 2013)
> # Depends on llvm-3.3 which is not in ~arch yet
> =media-libs/mesa-9.1* r600-llvm-compiler video_cards_radeonsi

@chithanh
Actually this is not true. radeonsi driver in mesa-9.1 cannot work with llvm-3.3 ot later [1]. Not sure about r600-llvm-compiler.

[1] https://bugs.freedesktop.org/show_bug.cgi?id=65016#c3
Comment 5 Nikoli 2013-12-31 10:49:33 UTC
mesa-9.2.5 and mesa-10.0.1 are in tree now, does this bug still happen with them for you?