when I try to emerge update world it fails when trying to update mozilla-firefox from 0.8-r3 to any later version. Reproducible: Always Steps to Reproduce: emerge mozilla-firefox Actual Results: emerge halts on error while compiling g++ -o nsHttpGssapiAuthModule.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DHAVE_DEPENDENT_LIBS -I/usr/include/heimdal -I../../dist/include/xpcom -I../../dist/include/string -I../../dist/include/necko -I../../dist/include/pref -I../../dist/include/negotiateauth -I../../dist/include -I/var/tmp/portage/mozilla-firefox-0.9.3/work/mozilla/dist/include/nspr -I. -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -frtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=athlon-xp -pipe -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s -fforce-addr -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsHttpGssapiAuthModule.pp nsHttpGssapiAuthModule.cpp g++ -o nsHttpGssapiAuth.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DHAVE_DEPENDENT_LIBS -I/usr/include/heimdal -I../../dist/include/xpcom -I../../dist/include/string -I../../dist/include/necko -I../../dist/include/pref -I../../dist/include/negotiateauth -I../../dist/include -I/var/tmp/portage/mozilla-firefox-0.9.3/work/mozilla/dist/include/nspr -I. -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -frtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=athlon-xp -pipe -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s -fforce-addr -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsHttpGssapiAuth.pp nsHttpGssapiAuth.cpp nsHttpGssapiAuth.cpp:161: error: parse error before `)' token nsHttpGssapiAuth.cpp:163: error: ISO C++ forbids defining types within return type nsHttpGssapiAuth.cpp:163: error: syntax error before `;' token nsHttpGssapiAuth.cpp: In constructor ` nsGssapiContinuationState::nsGssapiContinuationState()': nsHttpGssapiAuth.cpp:170: error: `OM_uint32' undeclared (first use this function) nsHttpGssapiAuth.cpp:170: error: (Each undeclared identifier is reported only once for each function it appears in.) nsHttpGssapiAuth.cpp:170: error: parse error before `,' token nsHttpGssapiAuth.cpp:171: error: `gss_OID_set' undeclared (first use this function) nsHttpGssapiAuth.cpp:172: error: `gss_OID' undeclared (first use this function) nsHttpGssapiAuth.cpp:174: error: ISO C++ forbids declaration of `gss_OID_desc' with no type nsHttpGssapiAuth.cpp:174: error: parse error before `=' token nsHttpGssapiAuth.cpp: At global scope: nsHttpGssapiAuth.cpp:176: error: syntax error before `=' token nsHttpGssapiAuth.cpp:179: error: ISO C++ forbids declaration of `mCtx' with no type nsHttpGssapiAuth.cpp:179: error: `GSS_C_NO_CONTEXT' was not declared in this scope nsHttpGssapiAuth.cpp:180: error: ISO C++ forbids declaration of `mech_oid' with no type nsHttpGssapiAuth.cpp:180: error: `gss_krb5_mech_oid_desc' was not declared in this scope nsHttpGssapiAuth.cpp:194: error: ISO C++ forbids declaration of `majstat' with no type nsHttpGssapiAuth.cpp:194: error: `minstat' was not declared in this scope nsHttpGssapiAuth.cpp:194: error: `mech_set' was not declared in this scope nsHttpGssapiAuth.cpp:194: error: `gss_indicate_mechs' was not declared in this scope nsHttpGssapiAuth.cpp:195: error: parse error before `if' nsHttpGssapiAuth.cpp:198: error: `mech_set' was not declared in this scope nsHttpGssapiAuth.cpp:198: error: parse error before `;' token nsHttpGssapiAuth.cpp:198: error: syntax error before `++' token nsHttpGssapiAuth.cpp:204: error: ISO C++ forbids declaration of `mech_oid' with no type nsHttpGssapiAuth.cpp:204: error: redefinition of `int mech_oid' nsHttpGssapiAuth.cpp:180: error: `int mech_oid' previously defined here nsHttpGssapiAuth.cpp:204: error: `gss_spnego_mech_oid_desc' was not declared in this scope nsHttpGssapiAuth.cpp:205: error: parse error before `break' nsHttpGssapiAuth.cpp:208: error: `minstat' was not declared in this scope nsHttpGssapiAuth.cpp:208: error: `mech_set' was not declared in this scope nsHttpGssapiAuth.cpp:208: error: ISO C++ forbids declaration of ` gss_release_oid_set' with no type nsHttpGssapiAuth.cpp:208: error: initializer list being treated as compound expression nsHttpGssapiAuth.cpp:209: error: parse error before `}' token nsHttpGssapiAuth.cpp: In member function `void nsGssapiContinuationState::Reset()': nsHttpGssapiAuth.cpp:214: error: `GSS_C_NO_CONTEXT' undeclared (first use this function) nsHttpGssapiAuth.cpp:215: error: `OM_uint32' undeclared (first use this function) nsHttpGssapiAuth.cpp:215: error: parse error before `;' token nsHttpGssapiAuth.cpp:216: error: `minor_status' undeclared (first use this function) nsHttpGssapiAuth.cpp:216: error: `GSS_C_NO_BUFFER' undeclared (first use this function) nsHttpGssapiAuth.cpp:216: error: `gss_delete_sec_context' undeclared (first use this function) nsHttpGssapiAuth.cpp: In member function `virtual nsresult nsHttpGssapiAuth::GenerateCredentials(nsIHttpChannel*, const char*, int, const PRUnichar*, const PRUnichar*, const PRUnichar*, nsISupports**, nsISupports**, char**)': nsHttpGssapiAuth.cpp:313: error: `OM_uint32' undeclared (first use this function) nsHttpGssapiAuth.cpp:313: error: parse error before `,' token nsHttpGssapiAuth.cpp:315: error: `gss_buffer_desc' undeclared (first use this function) nsHttpGssapiAuth.cpp:317: error: `gss_buffer_t' undeclared (first use this function) nsHttpGssapiAuth.cpp:318: error: `gss_name_t' undeclared (first use this function) nsHttpGssapiAuth.cpp:340: error: `req_flags' undeclared (first use this function) nsHttpGssapiAuth.cpp:340: error: `GSS_C_DELEG_FLAG' undeclared (first use this function) nsHttpGssapiAuth.cpp:361: error: `input_token' undeclared (first use this function) nsHttpGssapiAuth.cpp:364: error: `major_status' undeclared (first use this function) nsHttpGssapiAuth.cpp:369: error: `gss_nt_service_name' undeclared (first use this function) nsHttpGssapiAuth.cpp:371: error: `server' undeclared (first use this function) nsHttpGssapiAuth.cpp:371: error: `gss_import_name' undeclared (first use this function) nsHttpGssapiAuth.cpp:374: error: `GSS_ERROR' undeclared (first use this function) nsHttpGssapiAuth.cpp:407: error: `in_token_ptr' undeclared (first use this function) nsHttpGssapiAuth.cpp:419: error: `GSS_C_NO_CREDENTIAL' undeclared (first use this function) nsHttpGssapiAuth.cpp:420: error: 'class nsGssapiContinuationState' has no member named 'mCtx' nsHttpGssapiAuth.cpp:422: error: `GetOID' undeclared (first use this function) nsHttpGssapiAuth.cpp:424: error: `GSS_C_INDEFINITE' undeclared (first use this function) nsHttpGssapiAuth.cpp:425: error: `GSS_C_NO_CHANNEL_BINDINGS' undeclared (first use this function) nsHttpGssapiAuth.cpp:428: error: `output_token' undeclared (first use this function) nsHttpGssapiAuth.cpp:430: error: `gss_init_sec_context' undeclared (first use this function) nsHttpGssapiAuth.cpp:434: error: `gss_release_name' undeclared (first use this function) nsHttpGssapiAuth.cpp:437: error: `gss_release_buffer' undeclared (first use this function) nsHttpGssapiAuth.cpp:440: error: `GSS_S_COMPLETE' undeclared (first use this function) nsHttpGssapiAuth.cpp:446: error: `GSS_S_CONTINUE_NEEDED' undeclared (first use this function) {standard input}: Assembler messages: {standard input}:33: Error: symbol `mech_oid' is already defined distcc[24046] ERROR: compile on localhost failed gmake[3]: *** [nsHttpGssapiAuth.o] Error 1 gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-0.9.3/work/mozilla/extensions/negotiateauth' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-0.9.3/work/mozilla/extensions' gmake[1]: *** [tier_94] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-0.9.3/work/mozilla' make: *** [default] Error 2 !!! ERROR: net-www/mozilla-firefox-0.9.3 failed. !!! Function src_compile, Line 206, Exitcode 2 !!! (no error message) Expected Results: merge successfully # emerge info Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.25_pre7-gss-r3) ================================================================= System uname: 2.4.25_pre7-gss-r3 i686 AMD Athlon(tm) XP 2800+ Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="http://gentoo.inode.at/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ rsync://mirrors.sec.informatic.tu-darmstadt.de/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo/" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acl acpi adns alsa apache2 apm arts avi berkdb bindist cdr crypt cscope cups curl dedicated dga directfb doc dvb dvd dvdr encode esd ethereal fastcgi fbcon firebird flac flash foomaticdb freetds gd gdbm ggi gif gnome gpm gtk gtk2 imagemagick imap imlib innodb java jikes jpeg kde kerberos lcms libg++ libwww mad maildir mbox mcal memlimit mikmod mmx motif mozilla mpeg mpi mysql ncurses nls oggvorbis opengl oss pam pdflib perl plotutils png postgres ppds python qt quicktime readline samba sasl scanner sdl slang slp snmp socks5 speex spell sqlite ssl svga tcl tcltk tcpd tetex tiff truetype unicode usb wmf x86 xml xml2 xmms xv yaz zlib"
dup from #53508 and #60059 ?
Workaround: remove kerberos from USE-flags and unmerge heimdal, then emerge mozilla-firefox. so, yes, this is a duplicate of bug 53508. *** This bug has been marked as a duplicate of 53508 ***