Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56156 - dev-libs/lsh provides nettle library, conflicting file names with a "pure" nettle ebuild
Summary: dev-libs/lsh provides nettle library, conflicting file names with a "pure" ne...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-05 11:28 UTC by Rainer Größlinger (RETIRED)
Modified: 2004-07-11 15:01 UTC (History)
0 users

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


Attachments
dev-libs/nettle/nettle-1.10.ebuild (nettle-1.10.ebuild,880 bytes, text/plain)
2004-07-11 09:10 UTC, Rainer Größlinger (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Größlinger (RETIRED) gentoo-dev 2004-07-05 11:28:44 UTC
The dev-libs/lsh package includes the nettle library, which conflicts with dev-libs/nettle (which I'd like to add) since they are sharing the filenames.

Looking at how other distributions do it, they seem to remove nettle from the lsh build process and link against the nettle library of a real "nettle" package.

Anyway, the current situation is rather broken since it blocks adding an ebuild for the nettle library (http://www.lysator.liu.se/~nisse/nettle/).
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-07-05 14:10:38 UTC
Looks like it's all yours to fix up since there's no metadata file for dev-libs/lsh.
Comment 2 SpanKY gentoo-dev 2004-07-11 07:20:11 UTC
we cant exactly 'fix' this without an ebuild for nettle first
Comment 3 Rainer Größlinger (RETIRED) gentoo-dev 2004-07-11 08:37:08 UTC
yes, but we also can't add a nettle ebuild before this is fixed ;P

The solution from what I see would be to do a new -r1 of lsh at the same time nettle is committed and nettle would need to check if the new revision is installed to not conflict with nettle (if lsh is installed at all, of course).

I will soon attach a nettle ebuild to this bug.
Comment 4 SpanKY gentoo-dev 2004-07-11 08:41:41 UTC
my point was, i'm not going to change lsh unless i have a copy of the nettle ebuild
Comment 5 Rainer Größlinger (RETIRED) gentoo-dev 2004-07-11 09:10:29 UTC
Created attachment 35183 [details]
dev-libs/nettle/nettle-1.10.ebuild

Proposed nettle ebuild.
The ebuild assumes that >=lsh-1.4.3-r1 don't include nettle anymore
Comment 6 Rainer Größlinger (RETIRED) gentoo-dev 2004-07-11 09:12:09 UTC
Mike, I understood what you meant :)
I just wanted to say that fixing the lsh package and comitting a nettle ebuild should happen at the same time :)
Comment 7 Rainer Größlinger (RETIRED) gentoo-dev 2004-07-11 09:16:22 UTC
oh, the eerror probably should say "... to at least this version before you can install nettle" or something like that. Anyway :)
Comment 8 SpanKY gentoo-dev 2004-07-11 14:03:38 UTC
lsh wont work with the 1.10 version of nettle ... i guess theyve changed the RSA API or some junk ...

i'll fix the lsh ebuild to not install libnettle.a (it should never have anyways) and then i'll add the nettle package ...

the way to do it would be DEPEND="!<lsh-1.4.3-r1" instead of the junk in pkg_setup
Comment 9 Rainer Größlinger (RETIRED) gentoo-dev 2004-07-11 14:27:01 UTC
ok, I thought it was cool if the user gets told why he can't keep his old version of lsh ;)

Since I don't use lsh, I don't know anything about the RSA API problems you mentioned.
Comment 10 SpanKY gentoo-dev 2004-07-11 15:01:10 UTC
added nettle to portage and fixed lsh