There is a build dependency on findutils, which causes a dependency loop with libselinux when building a sysroot using pcre2 and selinux flags. Since the latest stable libpcre2 has EAPI=7, the findutils dependency can be moved to BDEPEND so it is only required to be installed on the root. I verified this with "emerge --rage-clean findutils" then "emerge --nodeps libpcre2" in the sysroot. Reproducible: Always Steps to Reproduce: Install libpcre2 in a new sysroot with USE="selinux pcre2". Actual Results: Emerge fails with the dependency loop: libpcre2 -> findutils -> libselinux -> libpcre2 Expected Results: The install should succeed without having to break the dependency loop since the findutils commands are only run from the native root file system. This is just a minor feature request so I can drop a bootstrapping phase. I am assuming findutils is in DEPEND as a carryover from EAPI=6 since the package only installs two programs and no libraries, but feel free to close this if I am missing something that makes it an actual build dependency.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1c5fc8d948933c3fd4ff9fae2a34988ec662c5e commit b1c5fc8d948933c3fd4ff9fae2a34988ec662c5e Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-11-04 21:19:41 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-11-04 21:20:24 +0000 dev-libs/libpcre2: move some DEPENDs to BDEPEND Closes: https://bugs.gentoo.org/699330 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> dev-libs/libpcre2/libpcre2-10.33-r1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)