gssapi.c:75: error: static declaration of 'GSS_C_NT_HOSTBASED_SERVICE' follows non-static declaration /usr/include/gssapi/gssapi.h:394: error: previous declaration of 'GSS_C_NT_HOSTBASED_SERVICE' was here gssapi.c: In function 'gss_auth': gssapi.c:288: warning: comparison is always false due to limited range of data type make[2]: *** [gssapi.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/yafc-1.1.1/work/yafc-1.1.1/lib' I'm assuming mit-krb5 doesn't have a totally hosed header file, and therefore this is probably yafc's fault. As there's presently no maintainer (afaik) I may have a look at fixing this, although it should maybe also get upstreamed if it is indeed not mit-krb5's fault.
I don't think this is gcc issue necessarily, this thing seems to be totally messed-up w/ both heimdal and mit-krb5 (see Bug 113052)
It definitely isn't GCC's _fault_ but I suspect it might not show up with gcc-3*. I'll have a look into it when I've got some free time.
Any news on this? I've hit it during a server rebuild because of a broken HD. :(
This happened to me for yafc-1.1 (the current stable version in Portage), BTW, not 1.1.1. And there's no way to disable kerberos support for 1.1, so I cannot work around it. :(
>>> Emerging (1 of 47) net-ftp/yafc-1.1.1 to / * yafc-1.1.1.tar.bz2 MD5 ;-) ... [ ok ] * yafc-1.1.1.tar.bz2 RMD160 ;-) ... [ ok ] * yafc-1.1.1.tar.bz2 SHA1 ;-) ... [ ok ] * yafc-1.1.1.tar.bz2 SHA256 ;-) ... [ ok ] * yafc-1.1.1.tar.bz2 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking yafc-1.1.1.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking yafc-1.1.1.tar.bz2 to /var/tmp/portage/net-ftp/yafc-1.1.1/work * Applying yafc-1.1.1-gcc4.patch ... * Failed Patch: yafc-1.1.1-gcc4.patch ! * ( /usr/portage/net-ftp/yafc/files/yafc-1.1.1-gcc4.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/net-ftp/yafc-1.1.1/temp/yafc-1.1.1-gcc4.patch-18138.out !!! ERROR: net-ftp/yafc-1.1.1 failed. Call stack: ebuild.sh, line 1576: Called dyn_unpack ebuild.sh, line 716: Called src_unpack yafc-1.1.1.ebuild, line 26: Called epatch '/usr/portage/net-ftp/yafc/files/yafc-1.1.1-gcc4.patch' eutils.eclass, line 341: Called die !!! Failed Patch: yafc-1.1.1-gcc4.patch! !!! If you need support, post the topmost build error, and the call stack if relevant.
Created attachment 104127 [details] yafc-1.1.1-gcc4.patch-18138.out I have kerberos in USE flags and gcc-3.4.5.
(In reply to comment #5) > * Failed Patch: yafc-1.1.1-gcc4.patch ! Bleh, sorry about that. Commited patch actually works now.