dev-libs/libxml2 should be in both DEPEND and RDEPEND, and not in BDEPEND. DEPEND: Headers are included: $ grep -Er "#[[:space:]]*include[[:space:]]+[<\"]libxml" * support/junction/junction-internal.h:#include <libxml/tree.h> support/junction/junction-internal.h:#include <libxml/xpath.h> utils/mountd/cache.c:#include <libxml/parser.h> DEPEND: -lxml2 is seen in build log. RDEPEND: $ scanelf -qF "%F: %n" $(qlist net-fs/nfs-utils-2.3.4 | sort) | grep libxml2 /usr/sbin/nfsref: libxml2.so.2,libc.so.6 /usr/sbin/rpc.mountd: libxml2.so.2,libwrap.so.0,libblkid.so.1,libtirpc.so.3,libc.so.6 BDEPEND: No executables from dev-libs/libxml2 are called (xml2-config, xmlcatalog, xmllint). libxml2 is detected using pkg-config. (configure.ac calls AC_LIBXML2 macro, which is defined in aclocal/libxml2.m4 and uses pkg-config.)
In net-fs/nfs-utils-2.3.3: $ scanelf -qF "%F: %n" $(qlist net-fs/nfs-utils-2.3.3 | sort) | grep libxml2 /usr/sbin/nfsref: libxml2.so.2,libc.so.6
Created attachment 576246 [details, diff] Patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2e0a79ceca0edb072350594f47d143f7fd56db2 commit f2e0a79ceca0edb072350594f47d143f7fd56db2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> AuthorDate: 2019-05-12 23:51:17 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-05-13 08:06:39 +0000 net-fs/nfs-utils: Depend on dev-libs/libxml2 in DEPEND+RDEPEND, and not BDEPEND. Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Closes: https://bugs.gentoo.org/685756 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> net-fs/nfs-utils/nfs-utils-2.3.3.ebuild | 2 +- net-fs/nfs-utils/nfs-utils-2.3.4.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)