The newly applied gnutls-3.2.1-build-gmp.patch causes net-libs/gnutls-3.2.1 to create a gnutls.pc which requires a non-existant gmp.pc. This causes build errors in most packages building against gnutls, like glib-networking. # pkg-config --exists --print-errors gnutls Package gmp was not found in the pkg-config search path. Perhaps you should add the directory containing `gmp.pc' to the PKG_CONFIG_PATH environment variable Package 'gmp', required by 'gnutls', not found # I don't know enough about pkg-config to pinpoint the problem, but it seems that adding pkg-config deps on nettle/hogweed is making it also pull gmp into Requires.private. Below is the diff between gnutls.pc with the ebuild applying gnutls-3.2.1-build-gmp.patch, and without. # diff -u gnutls.pc.unpatched gnutls.pc.patched --- gnutls.pc.unpatched 2013-06-03 13:02:54.680492561 -0500 +++ gnutls.pc.patched 2013-06-03 13:11:23.369581728 -0500 @@ -20,5 +20,5 @@ Version: 3.2.1 Libs: -L${libdir} -lgnutls Libs.private: -L/usr/lib64 -lz -Requires.private: nettle, hogweed, zlib +Requires.private: nettle, hogweed, gmp, zlib Cflags: -I${includedir} #
This indeed causes problems build various things -- lftp, filezilla, for example.
Right. Sorry, already found this while working with upstream, today upstream committed the proper fix for this issue and bug#472056. Fixed in gnutls-3.2.1-r1.