Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779007 - app-admin/perl-cleaner depends on app-portage/portage-utils
Summary: app-admin/perl-cleaner depends on app-portage/portage-utils
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-28 22:37 UTC by Benny Pedersen
Modified: 2022-12-27 23:37 UTC (History)
6 users (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 Benny Pedersen 2021-03-28 22:37:49 UTC
else perl-cleaner cant find qlist

Reproducible: Always
Comment 1 Emily Rowlands 2021-03-29 13:43:01 UTC
Current RDEPEND is:

RDEPEND="app-shells/bash
        dev-lang/perl
        || (
                ( sys-apps/portage app-portage/portage-utils )
                sys-apps/pkgcore
        )
"

If you have pkgcore, it should use the pkgcore equivalent instead of qlist. I suspect that you have sys-apps/portage and sys-apps/pkgcore installed, but the perl-cleaner command is using portage, which means that it would have to use app-portage/portage-utils commands. This does look like a dependency issue, but I'm not sure how to resolve it.

In the meantime, you could resolve the issue by installing app-portage/portage-utils, or by using `perl-cleaner -P pkgcore` to force the use of sys-apps/pkgcore.
Comment 2 Philippe Chaintreuil 2021-07-21 13:03:26 UTC
This seems like it's importance may be raised by the current perl upgrade pending.
Comment 3 Pacho Ramos gentoo-dev 2021-08-10 15:04:14 UTC
I would add a "portage" and "pkgcore" USE flags to toggle that options and pull the needed deps
Comment 4 Larry the Git Cow gentoo-dev 2022-12-27 23:37:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ece5e5e0258e7f57458c979ffb91781a66d40ac

commit 3ece5e5e0258e7f57458c979ffb91781a66d40ac
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-27 23:35:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-27 23:37:02 +0000

    app-admin/perl-cleaner: rework portage/pkgcore dependencies
    
    This gives us a runtime-only USE flag but it's better than the
    alternative which regularly leads to at least portage-utils
    being depcleaned because pkgcore is installed, and then
    perl-cleaner being broken at runtime because it doesn't
    actually detect which to use based on available tools.
    
    Closes: https://bugs.gentoo.org/779007
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/perl-cleaner/metadata.xml                | 14 +++++--
 app-admin/perl-cleaner/perl-cleaner-2.30-r1.ebuild | 45 ++++++++++++++++++++++
 app-admin/perl-cleaner/perl-cleaner-9999.ebuild    | 20 +++++-----
 3 files changed, 66 insertions(+), 13 deletions(-)