When emerging gnutls-1.1.23: checking for libgcrypt-config... /usr/bin/libgcrypt-config checking for LIBGCRYPT - version >= 1.2.0... no configure: error: *** *** libgcrypt was not found. You may want to get it from *** ftp://ftp.gnupg.org/gcrypt/libgcrypt/ *** gnutls-1.1.23.ebuild has: RDEPEND=">=dev-libs/libgcrypt-1.1.94 Should be >=dev-libs/libgcrypt-1.2.0.
fix dependancy. Also fixed version notices for rebuild. Still todo: When gnutls-1.1.23 is compiled it links against the previous version of gnutls install. Than means it has to be emerged twice to be properly installed. Added to package.mask until this is resolved. find usr/lib usr/bin -type f -ls usr/lib/pkgconfig/gnutls.pc usr/lib/pkgconfig/gnutls-extra.pc usr/lib/libgnutls.so.12.1.23 usr/lib/libgnutls.la usr/lib/libgnutls.a usr/lib/libgnutls-extra.so.12.1.23 usr/lib/libgnutls-extra.la usr/lib/libgnutls-extra.a usr/lib/libgnutls-openssl.so.12.1.23 usr/lib/libgnutls-openssl.la usr/lib/libgnutls-openssl.a usr/bin/libgnutls-config usr/bin/libgnutls-extra-config usr/bin/gnutls-serv usr/bin/gnutls-cli usr/bin/srptool usr/bin/gnutls-cli-debug usr/bin/certtool readelf -a usr/lib/libgnutls-extra.so.12.1.23 | fgrep NEEDED 0x00000001 (NEEDED) Shared library: [libopencdk.so.8] 0x00000001 (NEEDED) Shared library: [libgcrypt.so.11] 0x00000001 (NEEDED) Shared library: [libgpg-error.so.0] 0x00000001 (NEEDED) Shared library: [liblzo.so.1] 0x00000001 (NEEDED) Shared library: [libgnutls.so.11] 0x00000001 (NEEDED) Shared library: [libz.so.1] 0x00000001 (NEEDED) Shared library: [libc.so.6] qpkg -f -v /usr/lib/libgnutls.so.11 net-libs/gnutls-1.0.23 * (Thanks to nostromo on #gentoo-ppc for the report.)
The linking error comes from libtool, which does a relinking against system libs at "make install" time. elibtoolize from libtool.eclass can fix that, i will attach an ebuild patch.
Created attachment 49403 [details, diff] gnutls-1.1.23-r1--linking_fix.patch
TGL, I can't get this fix to work. The only time the issue is solved for me is when I merge gnutls-1.1.23 twice. Any ideas?
These problems are resolved in gnutls-1.2.0. Thanks for the report.