Summary: | dev-libs/tre warns about agrep conflict even with USE=-agrep | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jaak Ristioja <jaak> |
Component: | Current packages | Assignee: | Gentoo Shell Tools project <shell-tools> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | jstein |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/gentoo/gentoo/pull/25406 https://github.com/gentoo/gentoo/pull/29072 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jaak Ristioja
2022-05-09 19:43:02 UTC
# USE="-agrep" emerge -pv dev-libs/tre agrep These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-libs/tre-0.8.0_p20210321::gentoo USE="alloca approx nls -agrep* -debug -profile -python" PYTHON_TARGETS="python3_9 (-pypy3) -python3_8 -python3_10" 0 KiB [ebuild N ] app-text/agrep-2.04-r2::gentoo 0 KiB [blocks B ] dev-libs/tre ("dev-libs/tre" is soft blocking app-text/agrep-2.04-r2) Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 KiB Conflict: 1 block (1 unsatisfied) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (dev-libs/tre-0.8.0_p20210321:0/0::gentoo, ebuild scheduled for merge) pulled in by dev-libs/tre >=dev-libs/tre-0.8.0_p20210321[approx] required by (dev-lang/R-4.1.2-r1:0/0::gentoo, installed) USE="X cairo jpeg nls openmp perl png readline tiff -doc -icu -java -lapack -lto -minimal (-prefix) -profile -test -tk" (In reply to Zdravko Spoljar from comment #1) > [blocks B ] dev-libs/tre ("dev-libs/tre" is soft blocking > app-text/agrep-2.04-r2) This issue is not directly related, but it seems to be caused by app-text/agrep-2.04-r2 blocking dev-libs/tre instead of dev-libs/tre[agrep], i.e. it blocks tre regardless of the agrep USE-flag. Actually, a better solution might be to just drop the warning altogether and just fix the RDEPENDS of all packages providing agrep. On one hand the warning serves no purpose when the user does not install conflicting packages. On the other hand, the blockers in RDEPEND should prevent the user from installing the conflicting packages and cause portage to output an error to the user. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40c99622a7abcc5a68dfba84cfd6586c42238ff1 commit 40c99622a7abcc5a68dfba84cfd6586c42238ff1 Author: Joe Kappus <joe@wt.gd> AuthorDate: 2023-01-12 02:19:43 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-01-15 14:56:59 +0000 dev-libs/tre: enable py3.11, cleanups Cleaned up, enabled py3.11, PEP517. Closes: https://bugs.gentoo.org/843455 Signed-off-by: Joe Kappus <joe@wt.gd> Closes: https://github.com/gentoo/gentoo/pull/29072 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/tre/tre-0.8.0_p20210321-r2.ebuild | 106 +++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) |