Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22876 - Heimdal 0.6 support for gcc3.3 and db4.1
Summary: Heimdal 0.6 support for gcc3.3 and db4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: db4
  Show dependency tree
 
Reported: 2003-06-15 11:38 UTC by Marcin Wisnicki
Modified: 2004-05-10 03:47 UTC (History)
2 users (show)

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


Attachments
Fixes unterminated strings. (heimdal-0.6-string-fix.patch,561 bytes, patch)
2003-06-15 11:42 UTC, Marcin Wisnicki
Details | Diff
Patch for DB4.1 (heimdal-db4-fix.patch,1.45 KB, patch)
2003-06-15 11:45 UTC, Marcin Wisnicki
Details | Diff
Ebuild (heimdal-0.6-r1.ebuild,2.34 KB, text/plain)
2003-06-15 11:46 UTC, Marcin Wisnicki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Wisnicki 2003-06-15 11:38:33 UTC
There are unterminated strings which break the compilation with gcc3.3.
I have also written a simple patch to add support of db4.1, however I have only
tested the client-side of the heimdal.

Reproducible: Always
Steps to Reproduce:
Comment 1 Marcin Wisnicki 2003-06-15 11:42:38 UTC
Created attachment 13317 [details, diff]
Fixes unterminated strings.
Comment 2 Marcin Wisnicki 2003-06-15 11:45:35 UTC
Created attachment 13318 [details, diff]
Patch for DB4.1
Comment 3 Marcin Wisnicki 2003-06-15 11:46:12 UTC
Created attachment 13319 [details]
Ebuild
Comment 4 Grant Goodyear (RETIRED) gentoo-dev 2003-06-30 08:47:30 UTC
Tossing back to the pool, as it really needs to be tested by somebody who understands (and, preferably, uses) kerberos.
Comment 5 Joel Metelius 2003-09-25 14:02:50 UTC
I had the same problem with the unterminated strings, that I solved in the
same way. But I also had problems with two lib files that had strange names:
libkrb5.so.17.2.0 was named libkrb5.so.17.2.0U and therefore libkrb5.so etc.
pointed to nonexisting files...
libkafs.so.0.4.0 was named libkafs.so.0.4.0U and the same problems with links
here.

the lib files was also not copied to /usr/lib

Comment 6 Fredrik Hedman 2004-01-29 05:50:52 UTC
This bug should be split in two.  The db4.1 problem does not
have anything to do with with the unterminated string
problem which results in a build failure.

I use kerberos on a day to day basis, and specifically the
heimdal implementation.  The fix for this particular problem
is trivial; I did it by hand and it does not brake anything.

Could you please apply it and make a new package available
via the gentoo dist?
Comment 7 Aron Griffis (RETIRED) gentoo-dev 2004-02-17 07:56:53 UTC
I fixed the unterminated string problem and committed to cvs.

Regarding the db4.1 patch, I'd be willing to commit it once somebody says they've tested it more thoroughly (client and server portions)
Comment 8 Bart Lauwers (RETIRED) gentoo-dev 2004-03-02 06:39:37 UTC
It doesn't even compile without the db4.1 patch in place on my system. Not exactly what you can call extensive testing but after emerging everything does seem to be working ok.
Comment 9 Joe Burks 2004-03-27 23:29:16 UTC
I ran into this problem while attempting to install 2004.0 from stage1.  I'm not very familiar with the installation process that led to heimdal being installed but, I can say without question, if Berkeley DB 4.1 is the standard version of Berkeley DB installed with 2004.0, and heimdal 0.6 is the standard kerberos 5 installed for 2004.0 then 2004.0 can't possibly build with kerberos 5 support as is.  The number of parameters to the open function in Berkeley DB has changed, and gcc will fail trying to compile it.

The Patch for DB4.1 provided here does fix the problem.  This seems like a rather serious problem for any prospective kerberos 5 install.
Comment 10 Paul de Vrieze (RETIRED) gentoo-dev 2004-03-28 02:10:39 UTC
It seems as though both krb5 implementations' ebuilds are not really well maintained. Neither of them have a metadata.xml file indicating the maintainer.
Comment 11 Daniel Ahlberg (RETIRED) gentoo-dev 2004-05-10 03:47:19 UTC
This seems to be fixed, but the bug was not closed.