Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311981 - net-misc/strongswan-4.3.6-r1 needs openssl/ec.h
Summary: net-misc/strongswan-4.3.6-r1 needs openssl/ec.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Matthias Dahl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-29 18:57 UTC by Fiona Klute
Modified: 2010-04-02 17:28 UTC (History)
2 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 Fiona Klute 2010-03-29 18:57:59 UTC
net-misc/strongswan-4.3.6-r1 fails to compile with:

openssl_ec_diffie_hellman.c:16:24: error: openssl/ec.h: No such file or directory

This leads to a lot of other errors due to undefined/undeclared stuff. I looked at the dev-libs/openssl ebuild and found the following line:

$(use_ssl !bindist ec)

Disabling "bindist" for dev-libs/openssl solved the problem. I suppose net-misc/strongswan should depend on dev-libs/openssl[-bindist], a USE-flag to enable/disable EC might make sense.


Reproducible: Always

Steps to Reproduce:
1. Install dev-libs/openssl with bindist USE-flag enabled
2. Try to install net-misc/strongswan-4.3.6-r1

Actual Results:  
Compile fails.


Expected Results:  
Strongswan should be compiled and installed.
Comment 1 Matthias Dahl 2010-03-30 13:06:14 UTC
Thanks for your report. I'll put a new ebuild revision in the tree soonish and fix the openssl dependency along the way.

I'll keep this bug open until the new revision hits the tree.
Comment 2 Matthias Dahl 2010-04-02 17:28:53 UTC
Fix committed. Thanks again for reporting.