Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579 - krb5 ebuild has link problem and doesn't build all tools
Summary: krb5 ebuild has link problem and doesn't build all tools
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: Normal major (vote)
Assignee: Grant Goodyear (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 8669
  Show dependency tree
 
Reported: 2002-02-07 05:24 UTC by Michael Kaufman
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments
Diff of the ebuild file itself (krb5-1.2.2.ebuild.diff,510 bytes, patch)
2002-02-07 05:27 UTC, Michael Kaufman
Details | Diff
Patch of the vendor source's Makefiles to link libkrb* with -lc (krb5-1.2.2-gentoo.diff,990 bytes, patch)
2002-02-07 05:28 UTC, Michael Kaufman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.