When I try to "# emerge xfce", I get errors on xfce-3.8.18-r2. The errors have to do with the use of fprintf(stderr, __FUNCTION__ "Some String"); which doesn't compile with gcc 3.4.2. Reproducible: Always Steps to Reproduce: 1. emerge xfce Actual Results: if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1 .2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gdk-pixbuf-1.0 - I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11 R6/include -I/usr/include/libxml2 -I../ -I../libs/ -DXFCE_DIR=\"/usr/share/xfce\ " -DXFCE_LOCALE_DIR=\"/usr/share/locale\" -DXFCE_CONFDIR=\"/etc/xfce\" -I/usr/X 11R6/include -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -MT taskbar.o -MD -MP -MF ".deps/taskbar.Tpo" \ -c -o taskbar.o `test -f 'taskbar.c' || echo './'`taskbar.c; \ then mv ".deps/taskbar.Tpo" ".deps/taskbar.Po"; \ else rm -f ".deps/taskbar.Tpo"; exit 1; \ fi configtree.c: In function `gxfce_write_configs': configtree.c:401: error: parse error before string constant configtree.c: In function `gxfce_reset_configs': configtree.c:430: error: parse error before string constant make[2]: *** [configtree.o] Error 1 make[2]: *** Waiting for unfinished jobs.... taskbar.c: In function `taskbar_save_config': taskbar.c:1700: error: label at end of compound statement make[2]: *** [taskbar.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/xfce-3.8.18-r2/work/xfce-3.8.18/xfc e' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xfce-3.8.18-r2/work/xfce-3.8.18' make: *** [all] Error 2 Expected Results: It should have built cleanly Portage 2.0.51_rc7 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8.1-ck9 i686) ================================================================= System uname: 2.6.8.1-ck9 i686 Intel(R) Celeron(R) CPU 2.70GHz Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -fomit-frame-pointer -fpermissive" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="ftp://cs.ubishops.ca:2121/pub/gentoo ftp://cs.ubishops.ca/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="X aim alsa apm arts audiofile avi berkdb bitmap-fonts bzlib calendar cdinstall cdr cdrom chroot cpdflib crypt cups dba directfb divx4linux dv dvdread encode esd f77 faac faad fbcon fbdev ffmpeg flac flash foomaticdb ftp gcj gcl gd gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile i8x0 imlib jabber java javascript jikes jpeg kde libdsk libg++ libwww lzw-tiff mad md5sum mhash mikmod motif mozaccess mozcalendar mozctl mozdomi mozilla moznocompose moznoirc moznomail mpeg mpeg4 mplayer msn music mysql nas native ncurses net nethack nls nocd noexperimental nojoystick nomac noreiserfs ntlm oav offensive oggvorbis opengl oscar oss pam pdflib perl php png posix postgres pthreads python qt quicktime readline ruby sdl slang sndfile snmp sockets spell ssl svga tcltk tcpd tetex threads truetype usb vanilla x86 xml xml2 xmms xprint xv xvid yahoo zlib" ------------- I ran into the same problem with tuxnes ( bug 65450 ). I'll make a patch and post it later this afternoon.
Created attachment 41167 [details] New ebuild to apply gcc34 patch
Created attachment 41168 [details, diff] Patch to make xfce sources compile with gcc 3.4.2
Besides that __FUNCTION__ "string" error I reported earlier there was also a stray label. Both issues are fixed with the attached patch. The new ebuild uses epatch to apply the patch. I've tested it and it works as expected.
removed from the tree