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:
Created attachment 259875 [details] config.log
emerge --info please
Created attachment 260022 [details] emerge --info
*** This bug has been marked as a duplicate of bug 351810 ***
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.