Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525620 - app-admin/perl-cleaner-2.17 ignores additional package manager options during perl virtual updating process
Summary: app-admin/perl-cleaner-2.17 ignores additional package manager options during...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-17 07:09 UTC by Mart Raudsepp
Modified: 2014-12-13 20:25 UTC (History)
3 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 Mart Raudsepp gentoo-dev 2014-10-17 07:09:03 UTC
perl-cleaner --all -- -1va

 * Updating installed Perl virtuals
 *    emerge -uD1 virtual/perl-Archive-Tar virtual/perl-Compress-Raw-Bzip2 virtual/perl-Compress-Raw-Zlib virtual/perl-CPAN-Meta virtual/perl-CPAN-Meta-Requirements virtual/perl-CPAN-Meta-YAML virtual/perl-ExtUtils-CBuilder virtual/perl-ExtUtils-Command virtual/perl-ExtUtils-Install virtual/perl-ExtUtils-MakeMaker virtual/perl-ExtUtils-Manifest virtual/perl-ExtUtils-ParseXS virtual/perl-File-Spec virtual/perl-File-Temp virtual/perl-IO virtual/perl-IO-Compress virtual/perl-IO-Zlib virtual/perl-IPC-Cmd virtual/perl-JSON-PP virtual/perl-Locale-Maketext-Simple virtual/perl-Module-Build virtual/perl-Module-CoreList virtual/perl-Module-Load virtual/perl-Module-Load-Conditional virtual/perl-Module-Metadata virtual/perl-Package-Constants virtual/perl-Params-Check virtual/perl-Parse-CPAN-Meta virtual/perl-Perl-OSType virtual/perl-Scalar-List-Utils virtual/perl-Test-Harness virtual/perl-Test-Simple virtual/perl-version 
Calculating dependencies... done!


my -1va, --ask in particular, is ignored here. At various times I had to kill perl-cleaner, as it would have went and upgraded 200 completely unrelated items on my ARM (including conversion from stage tarball stable to ~arm), while me not having any chance to review my USE flags.

The other steps seem to properly honor it:

 * Locating packages for an update
 * Locating ebuilds linked against libperl
 *   Adding to list: dev-perl/TermReadKey:0
 *   Adding to list: app-text/po4a:0
 * emerge -vD1 --backtrack=30 -1va dev-perl/TermReadKey:0 app-text/po4a:0

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

Calculating dependencies... done!
[ebuild     U  ] dev-perl/TermReadKey-2.300.200-r1 [2.300.200] 0 KiB
[ebuild     U  ] app-text/po4a-0.45 [0.42] USE="{-test}" 0 KiB

Total: 2 packages (2 upgrades), Size of downloads: 0 KiB
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2014-10-19 16:36:17 UTC
Well, there's a certain reason for it... while supplying additional packager options is a nice feature, it's in the end not supportable for every combination. 

The whole point of the first two commands is to make the update process "unfailable". 

FYI, perl-cleaner itself also has a pretend option, and that is honored. 

(I.e. the first two commands are not executed at all for now then. It might be possible to also run them also with -p, but since the result of one command influences the next, that's all of doubtful value.)

[Taking the bug since I've done the last few releases.]
Comment 2 Thomas Capricelli 2014-10-21 21:23:40 UTC
Been hit by this on all boxes i'm administering. This is not fun, especially the '-q' that i used to pass after --

My usual command, fyi :
perl-cleaner --all -- -qvta --keep-going -j 3 --load-average=6
Comment 3 Mart Raudsepp gentoo-dev 2014-12-13 16:01:54 UTC
I'm primarily interested in --ask getting down to each of those, so I can see a list of the non-perl updates before they happen. For example currently perl-cleaner --all -- -1va is upgrading _bash_ from 4.2 to 4.3 for me, without really telling me...
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2014-12-13 20:25:17 UTC
I've just added 2.18, which passes all arguments after "--" to all portage commands. 

[It also outputs a fat warning then.]