Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 146474

Summary: [GCC 4.1] xmms-synaesthesia-0.0.3_rc3-r1 failed doesn't compile
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: [OLD] GCC PortingAssignee: Diego Elio Pettenò (RETIRED) <flameeyes>
Status: RESOLVED WONTFIX    
Severity: normal CC: b.ohnsorg, metalgod
Priority: High Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 152472    
Bug Blocks: 117482    

Description Pacho Ramos gentoo-dev 2006-09-05 16:24:53 UTC
I get the following error:
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -Wall -g -I. -I. -D_REENTRANT -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT  -c syna_xmms.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -Wall -g -I. -I. -D_REENTRANT -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -c syna_core.c  -fPIC -DPIC -o syna_core.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -Wall -g -I. -I. -D_REENTRANT -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -c syna_xmms.c  -fPIC -DPIC -o syna_xmms.lo
syna_core.c: In function 'fadeFade':
syna_core.c:163: warning: operation on 'ptr' may be undefined
syna_core.c:163: warning: operation on 'ptr' may be undefined
syna_core.c: In function 'fadeWave':
syna_core.c:206: error: invalid lvalue in assignment
syna_core.c:207: error: invalid lvalue in assignment
syna_core.c:208: error: invalid lvalue in assignment
syna_core.c: In function 'fadeHeat':
syna_core.c:280: error: invalid lvalue in assignment
syna_core.c:281: error: invalid lvalue in assignment
syna_core.c:282: error: invalid lvalue in assignment
make: *** [syna_core.lo] Error 1
make: *** Se espera a que terminen otras tareas....
gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -Wall -g -I. -I. -D_REENTRANT -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -c syna_config.c  -fPIC -DPIC -o syna_config.lo


My emerge --info:
Portage 2.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-suspend2-r4 i686)
=================================================================
System uname: 2.6.17-suspend2-r4 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=pentium-m"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -mfpmath=sse -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ "
LANG="es_ES"
LC_ALL="es_ES"
LINGUAS="es en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa ansi apache2 arts asf audiofile avi bash-completion bcmath beagle bidi bitmap-fonts bonobo bzip2 bzlib cairo caps cdb cddb cdparanoia cdr cdrparanoia cli cpdflib cross crypt cscope css ctype cups curl curlwrappers dbus dga dio directfb divx4linux dlloader dri dts dv dvb dvd dvdr dvdread eds encode escreen esd evo exif fam fbcon ffmpeg fftw firefox flac foomaticdb fortran ftp gb gcj gd ggi gif gimp gimpprint glitz glut glx gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl iconv imagemagick imlib ipv6 isdnlog jabber jack java jikes jpeg kde kdeenablefinal kdehiddenvisibility latex lcms ldap lesstif libg++ libnotify logrotate lua mad mbox mikmod mime ming mmap mmx mmxext mng mono motif mp3 mpeg mpi mplayer musepack nas ncurses nethack nls nocd nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis openal opengl opnegl oss pam pcmcia pcre pdf pdflib perl pic png pnp posix ppds pppd python qt qt3 qt4 quicktime readline real reflection reiserfs rtc ruby scanner sdl seamonkey session slang slp smp sndfile sockets socks5 speex spell spl sse sse2 ssl svg syslog tcltk tcpd tetex tga theora threads tiff truetype truetype-fonts trusted type1-fonts udev unicode usb userlocales v4l v4l2 vcd videos vim vorbis wifi win32codecs wma wmf wxwindows x86 xine xml xml2 xmms xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_es linguas_en_US userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Onkobu 2006-09-16 02:48:45 UTC
same for me
Comment 2 Rares Sfirlogea 2006-10-08 11:02:26 UTC
I have the same problem. Isn't there a way to fix it?
Comment 3 sw1ft 2006-10-19 19:06:47 UTC
Yeah, there's a simple fix.

Find this line in the .ebuild:

use amd64 && epatch ${FILESDIR}/${P}-amd64.patch

Remove the "use amd64 &&" part so that it just says this:

epatch ${FILESDIR}/${P}-amd64.patch

Then, as usual, run ebuild <name of ebuild> digest and re-emerge. Should work fine.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-10-23 00:59:24 UTC
xmms and all plugins are now package.masked and will be removed from the tree in one month.

@Flameeyes: you forgot to p.mask this one; WONTFIX once done. ;)
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-23 01:31:45 UTC
Ready to mask (wait till I commit).