Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351691 - sys-fs/cryptsetup-1.2.0-r1 does not compile with USE=static and dev-libs/libgcrypt-1.4.6
Summary: sys-fs/cryptsetup-1.2.0-r1 does not compile with USE=static and dev-libs/libg...
Status: RESOLVED DUPLICATE of bug 351810
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-14 19:42 UTC by Dani Church
Modified: 2011-01-20 07:52 UTC (History)
2 users (show)

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


Attachments
config.log (config.log,53.27 KB, text/plain)
2011-01-14 19:44 UTC, Dani Church
Details
emerge --info (emerge.info,5.04 KB, text/plain)
2011-01-16 20:44 UTC, Dani Church
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Church 2011-01-14 19:42:41 UTC
libgcrypt-config --libs from libgcrypt-1.4.6 specifies both -lgcrypt and -lgpg-error.  However, while gcrypt does get built with a static library, gpg-error does not.  So, when cryptsetup tries to build statically and link to the libraries specified by libgcrypt, it fails to link.

Reproducible: Always

Steps to Reproduce:
Comment 1 Dani Church 2011-01-14 19:44:19 UTC
Created attachment 259875 [details]
config.log
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2011-01-16 20:19:11 UTC
emerge --info please
Comment 3 Dani Church 2011-01-16 20:44:34 UTC
Created attachment 260022 [details]
emerge --info
Comment 4 SpanKY gentoo-dev 2011-01-16 21:10:41 UTC

*** This bug has been marked as a duplicate of bug 351810 ***
Comment 5 Malte E. 2011-01-20 01:29:23 UTC
This bug is not a duplicate and it is not fixed yet.
Essentially, sys-fs/cryptsetup-1.1.3-r3 depends on dev-libs/libgcrypt[static-libs] during compile time. If dev-libs/libgcrypt is compiled without static-libs, the build of the specified version of sys-fs/cryptsetup will fail. There should at be at least a USE dependency added.
bug #351810 is just about libgpg-error.