Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 702326 - =app-admin/perl-cleaner-2.28: unnecessary rebuilds of net-irc/irssi[perl]
Summary: =app-admin/perl-cleaner-2.28: unnecessary rebuilds of net-irc/irssi[perl]
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
Depends on:
Blocks: perl-cleaner-rebuild
  Show dependency tree
Reported: 2019-12-09 09:51 UTC by Lars Wendler (Polynomial-C)
Modified: 2019-12-09 09:51 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) gentoo-dev 2019-12-09 09:51:39 UTC
As usual after upgrading perl, I ran the perl-cleaner tool. This time it stumbled upon a false positive:

# perl-cleaner --all -- -pv

You are supplying additional command line options for the package manager.
This is NOT RECOMMENDED, not tested, and may lead to incorrect, incomplete,
confusing, and/or nonfunctional results. You are on your own now.

 * Removing perl-core packages from world file
 *    emerge --deselect  -pv perl-core/File-Temp 
>>> No matching atoms found in "world" favorites file...
 * Updating installed Perl virtuals
 *    emerge -u1  -pv virtual/perl-Archive-Tar virtual/perl-CPAN-Meta virtual/perl-CPAN-Meta-YAML virtual/perl-Carp virtual/perl-Compress-Raw-Bzip2 virtual/perl-Compress-Raw-Zlib virtual/perl-DB_File virtual/perl-Data-Dumper virtual/perl-Digest virtual/perl-Digest-MD5 virtual/perl-Digest-SHA virtual/perl-Encode virtual/perl-Exporter virtual/perl-ExtUtils-CBuilder virtual/perl-ExtUtils-Install virtual/perl-ExtUtils-MakeMaker virtual/perl-ExtUtils-Manifest virtual/perl-ExtUtils-ParseXS virtual/perl-File-Path virtual/perl-File-Spec virtual/perl-File-Temp virtual/perl-Getopt-Long virtual/perl-IO virtual/perl-IO-Compress virtual/perl-IO-Socket-IP virtual/perl-IO-Zlib virtual/perl-JSON-PP virtual/perl-MIME-Base64 virtual/perl-Module-Metadata virtual/perl-Parse-CPAN-Meta virtual/perl-Perl-OSType virtual/perl-Pod-Parser virtual/perl-Scalar-List-Utils virtual/perl-Storable virtual/perl-Test-Harness virtual/perl-Text-ParseWords virtual/perl-Time-HiRes virtual/perl-Time-Local virtual/perl-XSLoader virtual/perl-libnet virtual/perl-parent virtual/perl-podlators virtual/perl-version 

These are the packages that would be merged, in order:

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 KiB

 * Beginning a clean up of .ph files
 * Excluding files for 5.30.1 and 5.30.1/x86_64-linux from cleaning

 * Locating ph files for removal

 * Locating packages for an update
 * Locating ebuilds linked against libperl
 *   Adding to list: net-irc/irssi:0
 * emerge -v1 --backtrack=200 --selective=n -pv net-irc/irssi:0

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] net-irc/irssi-1.2.2::gentoo  USE="-libressl -otr perl proxy (-selinux) -socks5" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
 * It seems like perl-cleaner had to rebuild some packages.

net-irc/irssi packages already depends on perl's sub-slot:

# grep -F "dev-lang/perl" /var/portage/net-irc/irssi/irssi-1.2.2.ebuild 
        perl? ( dev-lang/perl:= )

so it already got rebuilt with the emerge run where the perl upgrade happened. Re-building irssi with perl-cleaner does not make the package disappear from perl-cleaner's radar on consecutive perl-cleaner runs.