| Summary: | perl-cleaner v1.04 needs work | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jeremy Olexa (darkside) (RETIRED) <darkside> |
| Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | minor | CC: | tkrah |
| Priority: | High | ||
| Version: | 2006.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
*** Bug 135410 has been marked as a duplicate of this bug. *** (I think) The reason why perl-cleaner won't pick up vim is beacuse `esearch <blah> app-editors/vim` returns vim and vim-core. There is a logic error here and I am not real familar with esearch. I tried seperating the output of esearch using awk and got it to return only vim but perl-cleaner still didn't grab it correctly. After some additional testing I will be un-emerging esearch anyway. I never use it and the benifits for perl-cleaner to use it are ~30 seconds in my case. If I add the ~5mins it takes to eupdatedb, the gain is negative. I hope that I was a bit of help anyway ;) I won't actually upgrade my packages until tonight or tomorrow if someone gets a chance to look at this and would like me to test something. Opps, I guess I have been posting to two different bugs. Please see the "duplicate" bug for a proposed fix. This is really odd. I've ran perl-cleaner and it does not what it should, all packages which should rebuild i got: There are no unmasked ebuilds to satisfy ... Skipping For all packages - annoying. After that it wants to emerge "=There" "=are" "=no" and so on, what the hell ... Does anyone got this too? What can i do to give you more feedback whats going on? Wow, I can't believe this bug is still open after a year. Thanks perl-team, I tried to help a long time ago and didn't get a response. Granted, I forgot about this one too but it really makes me want to help you out in the future...not. Torsten: Did you read through this bug to see what I was talking about earlier, maybe you have the same problem? esearch might be installed but it doesn't have the correct info. If not, let me know and maybe more traffic on this bug will get it looked at sooner (doubt it). *** This bug has been marked as a duplicate of bug 200049 *** |
(Bear with me, this is a long post) I originally thought that perl-cleaner was horrible broken. It was trying to emerge packages that A) don't exist or B) were not the most recent. Have a look at this: ------------------- % sudo perl-cleaner all ask <snip> Press Enter to see the list of ebuilds we'll be evaluating app-editors/vim-6.4 dev-perl/Archive-Zip-1.16 dev-perl/Compress-Zlib-1.41 dev-perl/DateManip-5.44 dev-perl/Locale-gettext-1.05 dev-perl/XML-Parser-2.34 dev-perl/perl-tk-804.027 dev-util/subversion-1.2.3-r2 mail-mta/exim-4.60-r1 media-gfx/imagemagick-6.2.5.5 net-im/gaim-1.5.0 net-irc/irssi-0.8.10 net-nds/openldap-2.2.28-r3 perl-core/Test-Simple-0.62 <snip> Fri Jun 2 22:55:16 CDT 2006 : There are no unmasked ebuilds to satisfy app-editors/vim. Skipping dev-perl/Locale-gettext-1.05 is not the latest available. Use version 1.03? (Y/n) n net-irc/irssi-0.8.10_rc5-r1 is not the latest available. Use version 0.8.9-r1? (Y/n) n perl-core/Test-Simple-0.60 is not the latest available. Use version 0.54? (Y/n) n <snip> Press Enter to see the final list of ebuilds to install dev-perl/Archive-Zip dev-perl/Compress-Zlib dev-perl/DateManip =dev-perl/Locale-gettext-1.05 dev-perl/XML-Parser dev-perl/perl-tk dev-util/subversion mail-mta/exim media-gfx/imagemagick net-im/gaim =net-irc/irssi-0.8.10_rc5-r1 net-nds/openldap =perl-core/Test-Simple-0.60 <snip> ------------------- You can see here that perl-cleaner ignores vim, and tries to install a version of irssi that doesn't even exist in the tree. % eix irssi * net-irc/irssi Available versions: 0.8.10 ~0.8.10-r3 % eix -e vim * app-editors/vim Available versions: 6.4 ~7.0.17 After some additional digging, I found that this was releted to the new esearch feature of the script. I commented out all of the esearch part and re-ran the script, it worked beatifully. This is the kicker, I *NEVER* use esearch. I looked into it and found that it had horrible outdated info. I then ran eupdatedb and re-ran perl-cleaner. This time it worked better but not 100% it is still saying that there is no vim availible, "There are no unmasked ebuilds to satisfy app-editors/vim. Skipping" Logs and more info on its way.