Can't emerge cryptsetup, because: emerge: there are no ebuilds built with USE flags to satisfy "dev-libs/libgcrypt[static-libs]". !!! One of the following packages is required to complete your request: - dev-libs/libgcrypt-1.5.0_beta1-r1 (Change USE: +static-libs) (dependency required by "sys-fs/cryptsetup-1.2.0-r1[static]" [ebuild]) (dependency required by "cryptsetup" [argument]) This bug is similar to bug 351810. USE=-static emerge cryptsetup works perfectly. Reproducible: Always
Read the output again, it's asking for you to enable USE=static-libs for libgcrypt. Standard portage output for USE dependencies.
I have neither static nor static-libs modified. Why do I have to set static or static-libs in the first place ? Thus, I suggest either to remove static from cryptsetup OR add static-libs to libgcrypt. What am I missing ?