when building gecko-sdk with FEATURES=distcc, the build fails with this error: distcc[29209] ERROR: compile /var/tmp/ccache/xpcjsrunti.tmp.natescomp.29204.ii on benscomp failed distcc[29208] ERROR: compile /var/tmp/ccache/xpcexcepti.tmp.natescomp.29190.ii on benscomp failed In file included from /usr/include/math.h:382, from xpcprivate.h:51, from xpcexception.cpp:44: /usr/include/bits/mathinline.h: In function `long double __atan2l(long double, long double)': /usr/include/bits/mathinline.h:433: error: `__builtin_atan2l' undeclared (first use this function) /usr/include/bits/mathinline.h:433: error: (Each undeclared identifier is reported only once for each function it appears in.) In file included from /usr/include/math.h:382, from xpcprivate.h:51, from xpcjsruntime.cpp:43: /usr/include/bits/mathinline.h: In function `long double __atan2l(long double, long double)': /usr/include/bits/mathinline.h:433: error: `__builtin_atan2l' undeclared (first use this function) /usr/include/bits/mathinline.h:433: error: (Each undeclared identifier is reported only once for each function it appears in.) xpcmaps.cpp gmake[3]: *** [xpcexception.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... gmake[3]: *** [xpcjsruntime.o] Error 1 Disabling distcc causes the package to build fine. According to http://www.gentoo.org/doc/en/distcc.xml , Mozilla fails to build with distcc, and as such, distcc is disabled in the ebuild. It seems likely that gecko-sdk needs distcc disabled in the ebuild as well. Reproducible: Always Steps to Reproduce: 1.FEATURES=distcc emerge gecko-sdk 2. 3. Actual Results: build failed Expected Results: build should have succeded natescomp ~ # emerge info Portage 2.0.53_rc5 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo i686) ================================================================= System uname: 2.6.13-gentoo i686 Unknown CPU Type Gentoo Base System version 1.12.0_pre9 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4, 2.4.2 sys-apps/sandbox: 1.2.13 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 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex S3TC X aac acpi aim alsa amd apache2 apm artworkextra ati audiofile autofs avi bash-completion berkdb bitmap-fonts bonobo bxip2 cairo cddb cdinstall cdparanoia cdr chroot codecs crypt cscope cups curl daap dbus devmap disablekernelsupport divx4linux doc dpms dv dvd dvdr dvdread eds emboss encode escreen etwin exif faac faad fam fastcgi fbcon ffmpeg firefox fla flac flash fluidsynth fmod foomaticdb fortran freetype ftp fullrpc fusion gaim gdbm ggi gif gimp gimpprint gmp gnome gnomedb gphoto2 gpm graphviz gs gstreamer gtk gtk2 guile hal icq ieee1394 imagemagick imap imlib jabber java javascript jce jikes joystick jp2 jpeg junit kadu-modules kadu-voice kdeenablefinal lcms lesstif libcaca libedit libg++ libsamplerate libwww lirc live lufsusermount lzo lzw lzw-tiff mad matroska mikmod mldonkeypango mmx mng monkey motif mozdomi mozilla mp3 mpeg mpeg4 mplayer msn music mysql mysqli mythtv nas nautilus ncurses net network nocd nptl nsplugin ntlm oav offensive ogg oggvorbis opengl oscar oss pam pdflib perl php pic png postgres ppds python quicktime radeon readline real rogue rtc samba sdl skey slang slp speex spell ssl stencil-buffer svg svga tcltk tcpd theora threads tiff transcode truetype truetype-fonts type1-fonts usb v4l v4l2 vcd videos vim-with-x vorbis win32codecs wmf xchatdccserver xchattext xfs xine xinerama xml xml2 xmms xv xvid xvmc yahoo yv12 zlib zvbi userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Gecko-sdk is an exact copy of the mozilla build with the install phase changed. Does mozilla build for you?
Well, mozilla used to build but when I tried it it didn't either. I finally tracked the problem to a bad glibc on one of my remote boxes. Seems anything that included mathinline.h failed to compile on that box. Fixed now, after emerging the latest glibc on that box, and mozilla and gecko-sdk both compile with distcc enabled. Closing bug