distcc[6346] ERROR: compile /var/tmp/portage/homedir/.ccache/wsdl-typec.tmp.alba tross.hisdad.org.nz.6338.i on localhost failed wsdl-typecodes.c: In function `wsdl_typecode_find_alignment': wsdl-typecodes.c:980: error: parse error before "__FUNCTION__" wsdl-typecodes.c:1085: error: parse error before "__FUNCTION__" wsdl-typecodes.c: In function `wsdl_typecode_size': wsdl-typecodes.c:1109: error: parse error before "__FUNCTION__" wsdl-typecodes.c:1221: error: parse error before "__FUNCTION__" make[3]: *** [wsdl-typecodes.lo] Error 1 Reproducible: Always Steps to Reproduce: 1. emerge the ebuild or just try and compile the tar file 2. 3. Expected Results: if I use gcc-config to switch back to gcc-3,3.4 it emerges ok. Gentoo Base System version 1.5.3 Portage 2.0.51_rc9 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r4 i686) ================================================================= System uname: 2.6.8-gentoo-r4 i686 AMD Athlon(tm) distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium2 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /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/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium2 -O3 -pipe" DISTDIR="/data/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc distlocks sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j6" PKGDIR="/data/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.95.254/gentoo-portage" USE="X X509 acpi alsa apache2 avi berkdb bitmap-fonts bonobo cdr crypt cups dba doc dvd dvdr dvdread encode esd evms2 exif fam flac foomaticdb freetds freetype gd gif gimpprint gmp gnome gnomedb gpm gtk gtk2 gtkhtml guile imap imlib imlib2 jpeg ldap libwww lzo mad mime mozilla mp3 mpeg mpeg4 mppe-m ncurses nls nptl nptlonly oggvorbis opengl openssh pam pcap pdflib perl pic png postgres python qt quicktime readline samba sasl scanner sdl session slang spell sqlite ssl svga tcpd tiff truetype uml usb x86 xine xml xml2 xmms xprint xv xvid zlib"
same here, but no distcc... gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"SOUP-WSDL-RUNTIME\" -I../../src -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-xml -march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -D_REENTRANT -c wsdl-typecodes.c -fPIC -DPIC -o .libs/wsdl-typecodes.lo wsdl-typecodes.c: In function `wsdl_typecode_find_alignment': wsdl-typecodes.c:980: error: parse error before "__FUNCTION__" wsdl-typecodes.c:1085: error: parse error before "__FUNCTION__" wsdl-typecodes.c: In function `wsdl_typecode_size': wsdl-typecodes.c:1109: error: parse error before "__FUNCTION__" wsdl-typecodes.c:1221: error: parse error before "__FUNCTION__" make[3]: *** [wsdl-typecodes.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/soup-0.7.11/work/soup-0.7.11/src/libwsdl' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/soup-0.7.11/work/soup-0.7.11/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/soup-0.7.11/work/soup-0.7.11' make: *** [all-recursive-am] Error 2 !!! ERROR: net-libs/soup-0.7.11 failed. !!! Function src_compile, Line 45, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
didi ~ # emerge info Portage 2.0.51-r2 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.6.3 distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8,sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -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/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="http://intern/olddistfiles/ http://intern/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/" USE="3dnow X Xaw3d aalib alsa apache2 apm avi bitmap-fonts bonobo cdr crypt cups curl dba dga directfb doc dvd dvdr emacs encode esd f77 fbcon flash foomaticdb freetds gd gd-external gdbm ggi gif gmp gnome gpg gphoto2 gpm gtk gtk2 gtkhtml guile imap imlib jpeg kde ldap libg++ libwww linguas_de linguas_nds lirc mad matroska mcal memlimit mikmod mmx mozilla mpeg mysql ncures ncurses network nls ogg oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba sdl slang slp snmp spell sse ssl svga tcltk tcpd tetex tiff truetype vorbis x86 xml xml2 xmms xprint xv zlib"
Created attachment 42690 [details, diff] Patch to allow soup-0.7.11 to compile with gcc-3.4.2 I found an existing patch to soup-0.7.11 for the FreeBSD people, who has run into this problem before: http://lists.freebsd.org/pipermail/freebsd-gnome/2004-August/007761.html Attached here is the patch adapted for convenient one-time-patching in portage.
Just in case this got forgotten: The same bug still bites with (GCC) 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7), and the patch still works beautifully to make it compile...
we obviously forgot, please apply & close ulrich. Thanks.
I can confirm that the patch works with gcc version 3.4.3-20050110 (Gentoo Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7.7). Without the patch, I can not compile soup.
# ping gentoo-dev.libs-soup.ebuild PING gentoo-dev.libs-soup.ebuild (127.0.0.1) 56(84) bytes of data. --- gentoo-dev.libs-soup.ebuild ping statistics --- 149 packets transmitted, 0 received, 100% packet loss, time 148021ms When will the patch make his way into portage? Patch works perfectly over here and it does not look like a big work/task to push this into portage CVS and confirm. ** me waiting ** SteveB
added the patch, sorry for the delay I assumed ulrich would fix it.
Thanks