Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 351691

Summary: sys-fs/cryptsetup-1.2.0-r1 does not compile with USE=static and dev-libs/libgcrypt-1.4.6
Product: Gentoo Linux Reporter: Dani Church <dani.church>
Component: [OLD] LibraryAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal CC: contyk, int.teo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: config.log
emerge --info

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.