Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127634 - net-ftp/yafc-1.1.1 doesn't build with gcc4.1 + USE=kerberos
Summary: net-ftp/yafc-1.1.1 doesn't build with gcc4.1 + USE=kerberos
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-26 05:03 UTC by P Nienaber
Modified: 2006-12-16 06:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
yafc-1.1.1-gcc4.patch-18138.out (yafc-1.1.1-gcc4.patch-18138.out,4.04 KB, text/plain)
2006-12-16 05:08 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description P Nienaber 2006-03-26 05:03:52 UTC
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.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-26 05:10:47 UTC
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)
Comment 2 P Nienaber 2006-03-26 11:32:25 UTC
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.
Comment 3 Sascha Silbe 2006-12-09 02:43:11 UTC
Any news on this? I've hit it during a server rebuild because of a broken HD. :(

Comment 4 Sascha Silbe 2006-12-09 02:49:57 UTC
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. :(

Comment 5 Martin Mokrejš 2006-12-16 05:07:11 UTC
>>> 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.
Comment 6 Martin Mokrejš 2006-12-16 05:08:43 UTC
Created attachment 104127 [details]
yafc-1.1.1-gcc4.patch-18138.out

I have kerberos in USE flags and gcc-3.4.5.
Comment 7 Charlie Shepherd (RETIRED) gentoo-dev 2006-12-16 06:07:42 UTC
(In reply to comment #5)
>  * Failed Patch: yafc-1.1.1-gcc4.patch !

Bleh, sorry about that. Commited patch actually works now.