Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297807 - media-libs/mesa-7.7_rc3 fails to emerge
Summary: media-libs/mesa-7.7_rc3 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-21 17:45 UTC by Willard Dawson
Modified: 2009-12-22 13:51 UTC (History)
5 users (show)

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


Attachments
Build log (build.log,179.95 KB, text/plain)
2009-12-21 17:47 UTC, Willard Dawson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Willard Dawson 2009-12-21 17:45:30 UTC
media-libs/mesa-7.7_rc3 fails to emerge with the error:

radeon_common_context.h:409: error: array type has incomplete element type


Reproducible: Always

Steps to Reproduce:
1.emerge -eav system
2.
3.

Actual Results:  
 -Wall ../common/dri_metaops.c -o ../common/dri_metaops.o                       
i686-pc-linux-gnu-gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../src/mesa -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri -I/usr/include/drm    -march=i686 -O2 -pipe -ggdb -ffast-math -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing  -fPIC  -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_LIBDRM_RADEON=1 -I/usr/include/drm   -DRADEON_R100 -Wall radeon_context.c -o radeon_context.o                                     
In file included from radeon_common.h:4,                                        
                 from radeon_context.c:56:                                      
radeon_common_context.h:409: error: array type has incomplete element type      
gmake[6]: *** [radeon_context.o] Error 1                                        
gmake[6]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.7_rc3/work/Mesa-7.7/src/mesa/drivers/dri/radeon'                                                
gmake[5]: *** [lib] Error 2                                                     
gmake[5]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.7_rc3/work/Mesa-7.7/src/mesa/drivers/dri/radeon'                                                
gmake[4]: *** [subdirs] Error 1                                                 
gmake[4]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.7_rc3/work/Mesa-7.7/src/mesa/drivers/dri'                                                       
gmake[3]: *** [default] Error 1                                                 
gmake[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.7_rc3/work/Mesa-7.7/src/mesa/drivers'                                                           
gmake[2]: *** [driver_subdirs] Error 2                                          
gmake[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.7_rc3/work/Mesa-7.7/src/mesa'                                                                   
make[1]: *** [subdirs] Error 1                                                  
make[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.7_rc3/work/Mesa-7.7/src'                                                                         
make: *** [default] Error 1                                                     
 * ERROR: media-libs/mesa-7.7_rc3 failed:                                       
 *   emake failed                                                               
 *                                                                              
 * Call stack:                                                                  
 *     ebuild.sh, line   61:  Called src_compile                                
 *   environment, line 3164:  Called _eapi2_src_compile                         
 *     ebuild.sh, line  653:  Called die                                        
 * The specific snippet of code:                                                
 *              emake || die "emake failed"                                     
 *                                                                              
 * If you need support, post the output of 'emerge --info =media-libs/mesa-7.7_rc3',                                                                            
 * the complete build log and the output of 'emerge -pqv =media-libs/mesa-7.7_rc3'.                                                                             
 * The complete build log is located at '/var/tmp/portage/media-libs/mesa-7.7_rc3/temp/build.log'.                                                              
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-7.7_rc3/temp/environment'.                                                       
 * S: '/var/tmp/portage/media-libs/mesa-7.7_rc3/work/Mesa-7.7'                  


# emerge --info                                       
Portage 2.1.7.15 (default/linux/x86/10.0, gcc-4.4.2, glibc-2.11-r1, 2.6.30-gentoo-r6 i686)                                                                                      
=================================================================                       
System uname: Linux-2.6.30-gentoo-r6-i686-Intel-R-_Pentium-R-_M_processor_2.00GHz-with-gentoo-2.0.1                                                                             
Timestamp of tree: Mon, 21 Dec 2009 12:30:01 +0000                                      
app-shells/bash:     4.0_p35                                                            
dev-java/java-config: 2.1.10                                                            
dev-lang/python:     2.5.4-r3, 2.6.4, 3.1.1-r1                                          
dev-python/pycrypto: 2.1.0                                                              
dev-util/cmake:      2.8.0                                                              
sys-apps/baselayout: 2.0.1                                                              
sys-apps/openrc:     0.5.3                                                              
sys-apps/sandbox:    2.2                                                                
sys-devel/autoconf:  2.13, 2.64                                                         
sys-devel/automake:  1.5-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1               
sys-devel/binutils:  2.20                                                               
sys-devel/gcc-config: 1.4.1                                                             
sys-devel/libtool:   2.2.6b                                                             
virtual/os-headers:  2.6.30-r1                                                          
ACCEPT_KEYWORDS="x86 ~x86"                                                              
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 Nessus-EULA sun-bcla-java-vm"                     
CBUILD="i686-pc-linux-gnu"                                                              
CFLAGS="-march=i686 -O2 -pipe -ggdb"                                                    
CHOST="i686-pc-linux-gnu"                                                               
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=i686 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aiglx alsa apache2 apm ati audiofile avahi avi bash-completion berkdb bitmap-fonts bzip2 cairo caps cardbus cdio cdr cli consolekit cracklib crypt ctype cups cxx dba dbtool dbus digitalradio diskio djvu dri dts dvdread eds emboss encode esd ethereal exif expat fastbuild ffmpeg fftw fglrx foomaticdb force-cgi-redirect fortran ftp fuse gamin gd gdbm gif glib glitz glut gmp gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imlib ipv6 ithreads jack java jpeg kde kerberos kqemu lcms ldap libclamav libg++ libwww lirc live lm_sensors lua mad madwifi matroska mdnsresponder-compat memlimit mhash mikmod mmx mmxext mng modules mono motif mozilla mp3 mpeg mudflap mysql ncurses netboot netjack networking nforce2 nls nptl nptlonly nsplugin nvidia ocaml ogg oggvorbis opengl openmp oss pam pango pch pcmcia pcre pdf pdflib pear perl php pmu png policykit portaudio posix pppd pulseaudio python qt qt3support qtmt quicktime readline reflection ruby samba sasl sdl session simplexml slang sndfile snmp soap sockets spell spl sql sqlite sse sse2 ssl svg sysfs tcl tcltk tcpd theora threads threadsafe tiff tk tokenizer truetype truetype-fonts type1-fonts udev unicode utempter vorbis webkit wifi win32codecs x86 xanim xinerama xml xmlrpc xorg xscreensaver xsl xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" FOO2ZJS_DEVICES="hp2600n" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Willard Dawson 2009-12-21 17:47:00 UTC
Created attachment 213697 [details]
Build log
Comment 2 Lars Lindley 2009-12-21 19:06:01 UTC
I get the same error after updating libdrm to 2.4.17..
With 2.4.165 it built just fine.

Portage 2.1.7.15 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-x86_64-AMD_Phenom-tm-_II_X4_20_Processor-with-gentoo-2.0.1
Timestamp of tree: Mon, 21 Dec 2009 17:30:22 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.8.5-r4, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.rhnet.is/pub/gentoo/ http://mirror.muntinternet.net/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.bytemark.co.uk/gentoo/ ftp://gentoo.imj.fr/pub/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://mirror.bytemark.co.uk/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="en_US.UTF-8"
LC_ALL="sv_SE.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi alsa amd64 bash-completion berkdb bonobo branding bzip2 cairo cdinstall cdparanoia cdr cli consolekit cracklib crypt cups cupsddk curl cxx dbus dga dri dvd dvdr dvdread eds encode evo exif expat fam fastcgi ffmpeg firefox flac fltk foomatic fortran ftp fts3 gdbm gif gimp gmp gnome gnutls gpm gstreamer gtk hal iconv icq imagemagick imap imlib ipv6 java javascript jbig jpeg jpeg2k lcms lensfun libgda libnotify libwww lm_sensors mad mime mmap mmx mmxext mng modules mozilla mp3 mplayer msn mudflap multilib ncurses nls nocd nptl nptlonly nsplugin ogg opengl openmp oscar pam pcre pdf perl png policykit posix pppd python quicktime rar raw readline reflection session sharedmem slang snmp sockets spell spl sqlite sse sse2 sse3 sse4a ssl svg symlink sysfs tcl tcpd threads tiff tk truetype unicode usb userlocales vcd videos vorbis wma wmf x264 xmp xorg xulrunner xv xvid zlib" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Łukasz Dudek 2009-12-21 22:49:37 UTC
That same Error, that solution => downgrade x11-libs/libdrm to 2.4.16
 

Portage 2.2_rc60 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo x86_64)
=================================================================                                  
System uname: Linux-2.6.32-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-2.0.1  
Timestamp of tree: Mon, 21 Dec 2009 21:30:23 +0000                                                 
app-shells/bash:     4.0_p35                                                                       
dev-java/java-config: 1.3.7-r1, 2.1.10                                                             
dev-lang/python:     2.4.6, 2.5.4-r2, 2.6.4, 3.1.1-r1                                              
dev-python/pycrypto: 2.0.1-r8                                                                      
dev-util/cmake:      2.8.0                                                                         
sys-apps/baselayout: 2.0.1                                                                         
sys-apps/openrc:     0.6.0                                                                         
sys-apps/sandbox:    2.2                                                                           
sys-devel/autoconf:  2.13, 2.64                                                                    
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1                             
sys-devel/binutils:  2.20                                                                          
sys-devel/gcc-config: 1.4.1                                                                        
sys-devel/libtool:   2.2.6b                                                                        
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl en en_GB"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/roslin"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apm bash-completion berkdb bluetooth branding bzip2 cairo caps cdr chm cli clucene consolekit cracklib crypt cups cxx dbus dell djvu dri dts dvd dvdr eds emboss encode evo expat firefox flac fortran gdbm gif git gnutls gpm hal hyperestraier iconv icu ieee1394 inotify ioctl iproute2 ipv6 jpeg jpeg2k kde laptop lcms ldap libnotify lm_sensors lzma mad mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly ogg openexr opengl openmp pam pcmcia pcre pdf perl phonon plasma png ppds pppd python qt3support qt4 quicktime readline reflection sasl sdl semantic-desktop session slang spell spl sse sse2 ssh ssl ssse3 startup-notification subversion svg symlink sysfs tcpd threads thunar tiff truetype unicode usb vim-syntax wicd wifi x264 xcb xcomposite xinerama xml xorg xpm xscreensaver xulrunner xv xvid zeroconf zlib" 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="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en en_GB" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Duncan 2009-12-22 08:12:12 UTC
Same here, ~amd64 plus the xorg and kde overlays, gcc 4.4.2, radeon hd4650 graphics and xf86-video-ati-9999, kernel 2.6.32 running kms and opengl for kwin4 (thus the x11 overlay and git live ati driver, since there's no kms plus opengl in an actually released driver yet), xorg-server 1.7.3.901, upgrading to -r1 along with the mesa upgrade that failed.

As with the others, maksing libdrm-2.4.17 and reverting to 2.4.16 allowed mesa to upgrade just fine, and xorg-server after that.
Comment 5 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-12-22 12:52:14 UTC
This is due to API changes in radeon which is fixed in the 7.7 final release.
Comment 6 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-12-22 13:51:01 UTC
Fixed in-tree with mesa-7.7, thanks for reporting