Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114066 - emerge =media-libs/mesa-6.4.1 fails
Summary: emerge =media-libs/mesa-6.4.1 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Low normal (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
: 114139 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-30 13:30 UTC by David Watzke
Modified: 2005-12-01 22:25 UTC (History)
2 users (show)

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


Attachments
Fix for assyntax.h location (mesa-6.4.1-amd64.patch,429 bytes, text/plain)
2005-11-30 14:02 UTC, Jory A. Pratt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Watzke 2005-11-30 13:30:34 UTC
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
Comment 1 Jory A. Pratt 2005-11-30 13:54:36 UTC
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.
Comment 2 Jory A. Pratt 2005-11-30 14:02:21 UTC
Created attachment 73855 [details]
Fix for assyntax.h location 

Sorry here is the appropriate patch, either way will work tho.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2005-11-30 14:29:13 UTC
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!
Comment 4 David Watzke 2005-11-30 14:49:02 UTC
https://bugs.freedesktop.org/show_bug.cgi?id=5206 
My english isn't best, hope I was done it right. :) 
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-12-01 05:14:08 UTC
*** Bug 114139 has been marked as a duplicate of this bug. ***
Comment 6 Jory A. Pratt 2005-12-01 20:59:19 UTC
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.
Comment 7 Jory A. Pratt 2005-12-01 21:06:53 UTC
*** Bug 114139 has been marked as a duplicate of this bug. ***
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2005-12-01 22:25:57 UTC
Fixed, thanks for reporting.