Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397511 - net-misc/vpnc-0.5.3_p457-r2 fails to build without one of USE=bindist or USE=openssl
Summary: net-misc/vpnc-0.5.3_p457-r2 fails to build without one of USE=bindist or USE=...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Lori
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-03 16:46 UTC by Phil Tooley
Modified: 2012-02-14 19:14 UTC (History)
3 users (show)

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


Attachments
Ensure gnutls is pulled in as dependency when USE="openssl" flag is not set (vpnc-default-to-gnutls.patch,644 bytes, text/plain)
2012-01-03 16:49 UTC, Phil Tooley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Tooley 2012-01-03 16:46:58 UTC
net-misc/vpnc-0.5.3_p457-r2 fails to build without one of USE=bindist or USE=openssl flags enabled.

Dependency checking fails to check for either gnutls or openssl to build against when neither use flag is set

Reproducible: Always

Steps to Reproduce:
1. USE="-bindist -openssl" emerge vpnc

Actual Results:  
Builds fails as cannot find gnutls libraries

Expected Results:  
Ebuild defaults correctly to GnuTLS with no use flags set and dependency checking pulls it in.
Comment 1 Phil Tooley 2012-01-03 16:49:15 UTC
Created attachment 297803 [details]
Ensure gnutls is pulled in as dependency when USE="openssl" flag is not set

Not sure if this is an optimal solution, this ought to ensure vpnc will build under all circumstances, but not necessarily against the intended library.
Comment 2 Martin Mokrejš 2012-01-29 22:59:57 UTC
The patch looks good to me, thanks for catching this. ;)
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2012-02-14 19:14:07 UTC
+*vpnc-0.5.3_p514 (14 Feb 2012)
+
+  14 Feb 2012; Justin Lecher <jlec@gentoo.org> vpnc-0.5.3_p457-r2.ebuild,
+  +vpnc-0.5.3_p514.ebuild, +files/vpnc-0.5.3_p514-as-needed.patch,
+  metadata.xml:
+  Version Bump, #392999, fix for compilation with as-needed, respect CC, ensure
+  correct deps, #397511
+