Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699330 - dev-libs/libpcre2-10.33-r1 should BDEPEND on sys-apps/findutils
Summary: dev-libs/libpcre2-10.33-r1 should BDEPEND on sys-apps/findutils
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-04 20:31 UTC by David Michael
Modified: 2019-11-04 21:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Michael 2019-11-04 20:31:43 UTC
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.
Comment 1 Larry the Git Cow gentoo-dev 2019-11-04 21:20:44 UTC
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(-)