emerge =media-libs/mesa-6.4.1, and after while you'll see... ... ... ../../../src/mesa/x86-64/glapi_x86-64.S:28837: Error: expected comma after name `GLNAME' in .size directive ../../../src/mesa/x86-64/glapi_x86-64.S:28840: Error: junk at end of line, first unrecognized character is `(' ../../../src/mesa/x86-64/glapi_x86-64.S:28841: Error: unrecognized symbol type "" ../../../src/mesa/x86-64/glapi_x86-64.S:28841: Error: junk at end of line, first unrecognized character is `(' ../../../src/mesa/x86-64/glapi_x86-64.S:28842: Error: invalid character '(' in mnemonic ../../../src/mesa/x86-64/glapi_x86-64.S:28874: Error: expected comma after name `GLNAME' in .size directive ../../../src/mesa/x86-64/glapi_x86-64.S:28877: Error: junk at end of line, first unrecognized character is `(' ../../../src/mesa/x86-64/glapi_x86-64.S:28878: Error: unrecognized symbol type "" ../../../src/mesa/x86-64/glapi_x86-64.S:28878: Error: junk at end of line, first unrecognized character is `(' ../../../src/mesa/x86-64/glapi_x86-64.S:28879: Error: invalid character '(' in mnemonic ../../../src/mesa/x86-64/glapi_x86-64.S:28919: Error: expected comma after name `GLNAME' in .size directive ../../../src/mesa/x86-64/glapi_x86-64.S:28922: Error: junk at end of line, first unrecognized character is `(' ../../../src/mesa/x86-64/glapi_x86-64.S:28923: Error: unrecognized symbol type "" ../../../src/mesa/x86-64/glapi_x86-64.S:28923: Error: junk at end of line, first unrecognized character is `(' ../../../src/mesa/x86-64/glapi_x86-64.S:28924: Error: invalid character '(' in mnemonic ../../../src/mesa/x86-64/glapi_x86-64.S:28956: Error: expected comma after name `GLNAME' in .size directive ../../../src/mesa/x86-64/glapi_x86-64.S:28959: Error: junk at end of line, first unrecognized character is `(' ../../../src/mesa/x86-64/glapi_x86-64.S:28960: Error: unrecognized symbol type "" ../../../src/mesa/x86-64/glapi_x86-64.S:28960: Error: junk at end of line, first unrecognized character is `(' ../../../src/mesa/x86-64/glapi_x86-64.S:28961: Error: invalid character '(' in mnemonic Reproducible: Always Steps to Reproduce: 1. emerge =media-libs/mesa-6.4.1 Actual Results: This error Expected Results: Successfully emerge to / :) Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.6-r1, 2.6.14-gentoo-r3-david x86_64) ================================================================= System uname: 2.6.14-gentoo-r3-david x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.0_pre11 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.14 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20-r1 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ynet.sk/pub http://ftp.du.se/pub/os/gentoo http://gentoo.osuosl.org/" LANG="cs_CZ.UTF-8" LC_ALL="cs_CZ.UTF-8" LINGUAS="cs" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aac aalib acpi adns alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 caps cdparanoia cdr cups curl curlwrappers dbus dga dio directfb divx4linux dts dvd dvdr dvdread emboss emul-linux-86 encode exif fam fbcon ffmpeg flac flash foomaticdb fortran ftp gd gdbm ggi gif gpm gstreamer gtk gtk2 hal icq id3 id3v2 imagemagick imlib innodb ipv6 jabber javascript jpeg kde kdeenablefinal lcms ldap libcaca libwww lm_sensors lzw lzw-tiff mad matroska mbox mhash mikmod mime ming mng mp3 mpeg mplayer mysql mysqli ncurses nis nls nptl nptlonly nvidia ogg oggvorbis openal opengl osc oscar pam pcntl pcre pdflib perl php pic png posix ppds python qt quicktime readline real recode sdl session skey slang slp sockets socks5 sox speex sqlite ssl svg symlink tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 v4l vcd vorbis wmf xine xml xml2 xpm xv xvid zlib linguas_cs userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS
this is a rather trival fix .... it is looking for the header in wrong directory. I am unable to find which file exactly it is looking for but I have found a simple solution for now. #amd64 hack if use amd64; then cp ${S}/src/mesa/x86/assyntax.h ${S}/src/mesa/x86-64/ fi Add that just about the #Fix install libdir and it will compile without a problem I will dig a bit latter and we can patch the appropriate file to use header from correct location.
Created attachment 73855 [details] Fix for assyntax.h location Sorry here is the appropriate patch, either way will work tho.
Please upstream this to bugs.freedesktop.org, mesa product, and we'll be sure we get the correct fix. Post the URL here once you do. Thanks!
https://bugs.freedesktop.org/show_bug.cgi?id=5206 My english isn't best, hope I was done it right. :)
*** Bug 114139 has been marked as a duplicate of this bug. ***
Err this should have been I reopened. It is fixed upstreaming using same patch I have posted here .. closing other as this is one we should be using for tracking.
Fixed, thanks for reporting.