Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446226 - dev-libs/botan-1.10.1 with USE=ssl needs openssl/ecdsa.h and should RDEPEND on dev-libs/openssl[-bindist]
Summary: dev-libs/botan-1.10.1 with USE=ssl needs openssl/ecdsa.h and should RDEPEND o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jack Lloyd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-06 07:33 UTC by Peter Stuge
Modified: 2013-01-12 19:03 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Stuge 2012-12-06 07:33:14 UTC

    
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2012-12-06 14:35:51 UTC
Feel free to ask more supporting information to your bug, if the maintainers don't understand what you mean by the bug title, this bug might be closed...
Comment 2 Peter Stuge 2012-12-06 14:40:59 UTC
(In reply to comment #1)
> if the maintainers don't understand what you mean by the bug title, this bug
> might be closed...

I'll try to clarify:

When emerging dev-libs/botan-1.10.1 with USE=ssl the botan source code wants to #include <openssl/ecdsa.h> and the botan ebuild should thus RDEPEND on dev-libs/openssl[-bindist] because dev-libs/openssl[bindist] excludes everything about ECDSA because of an unclear or risky patent situation.

On systems where dev-libs/openssl is installed with USE=bindist botan fails to build with an ugly error about not finding ecdsa.h.

If botan would explicitly RDEPEND on openssl[-bindist] then portage would know what the problem is and could tell the user about it before trying to emerge.
Comment 3 Rick Farina (Zero_Chaos) gentoo-dev 2012-12-06 15:06:23 UTC
is there no way to make the ecdsa stuff optional?
Comment 4 Peter Stuge 2012-12-06 16:20:55 UTC
(In reply to comment #3)
> is there no way to make the ecdsa stuff optional?

configure.py can be invoked with --disable-module=ecdsa

What would be the correct thing to control that flag? USE=bindist again?

I was discussing with jmbsvicetto on IRC how I think USE=bindist is missing out a lot of very nice functionality in portage, and how I would expect rather one USE flag per functionality (like usual) than one USE flag per potential legal problem. That's another debate, but maybe worth considering.

In any case, fixing botan one way or another right now is important imo.
Comment 5 Rick Farina (Zero_Chaos) gentoo-dev 2012-12-06 16:34:10 UTC
Let's give the author a few days to provide his opinion on USE=bindist vs USE=whateverhemaywant.

If unresponsive I'll just go ahead and do bindist to match openssl.
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2013-01-12 19:03:22 UTC
Added bindist USE to botan-1.10.3

Thanks!