Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 579

Summary: krb5 ebuild has link problem and doesn't build all tools
Product: Gentoo Linux Reporter: Michael Kaufman <dsmdragon>
Component: [OLD] LibraryAssignee: Grant Goodyear (RETIRED) <g2boojum>
Status: RESOLVED FIXED    
Severity: major    
Priority: Normal    
Version: 1.0 RC6 r14   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 8669    
Attachments: Diff of the ebuild file itself
Patch of the vendor source's Makefiles to link libkrb* with -lc

Description Michael Kaufman 2002-02-07 05:24:50 UTC
There are two problems with the krb5 ebuild currently:

One is a link problem, that can probably be solved a few different ways.
The way the original source does it, libc is not linked to the shared
libraries (like libkrb5), and linked in the wrong order for the tools that
go in (s)bin. The result is they won't run, giving a shared library
error about a missing "stat" or "fstat" symbol.

The other problem is that the little sed script in the ebuild file does
stop the old BSD "r*", telnet, and ftp apps from being built, but it robs
a space from the makefile that needs to be there to build the important
Kerberos tools like klist, kvno, kpasswd, kinit, and kdestroy (important
for security).

Now, I have some diffs, let's see if I can make bugzilla take them...
Comment 1 Michael Kaufman 2002-02-07 05:27:41 UTC
Created attachment 136 [details, diff]
Diff of the ebuild file itself

Doh, did it again. Forgot to mention the version, krb5-1.2.2
Comment 2 Michael Kaufman 2002-02-07 05:28:46 UTC
Created attachment 137 [details, diff]
Patch of the vendor source's Makefiles to link libkrb* with -lc
Comment 3 Grant Goodyear (RETIRED) gentoo-dev 2002-02-21 19:45:11 UTC
My apologies for taking so long to get to this.  Thanks a lot!!!
I also added a 1.2.3 ebuild.