After running emerge --depclean --with-bdeps n, gnutls was removed from my system. However, this broke the link-level dependency on gnutls for filezilla-3.2.4.1-r1. During revdep-rebuild, the build of filezilla failed with the following error: checking for cppunit-config... no checking for Cppunit - version >= 1.10.2... no checking for i686-pc-linux-gnu-pkg-config... no checking for pkg-config... no checking for LIBGNUTLS... configure: error: *** *** libgnutls 2.0.4 or greater was not found. You may want to get it from *** ftp://ftp.gnutls.org/pub/gnutls/ However, net-libs/gnutls-2.6.6 IS currently installed. Reproducible: Always Steps to Reproduce: 1. Run emerge --depclean --with-bdeps n while having filezilla installed. 2. Above command removes gnutls. 3. filezilla will not run. 4. Run revdep-rebuild to rebuild dependencies for filezilla. 5. Filezilla fails to build. Actual Results: Filezilla fails to build with gnutls error, even though the latter is installed. Expected Results: Filezilla should rebuild just fine with revdep-rebuild after emerge --depclean --with-bdeps n.
'checking for pkg-config... no' Well, there's your your problem - once again, a case of "be careful, what you unmerge". Though, it can be added to DEPEND. But perhaps gnutls should be moved to RDEPEND.
Merging pkgconfig solves the problem indeed, but then why isn't it calculated in the dependencies during revdep-rebuild? Doesn't that mean that it is necessary at build time? Therefore, shouldn't dev-util/pkgconfig be included in DEPEND?
Indeed, I've fixed both dependencies (missing DEPEND on pkgconfig, and moved gnutls to RDEPEND) in all current ebuilds, thanks for the report!