Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
perl-cleaner --all
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
paradigm-X
Apprentice
Apprentice


Joined: 19 Sep 2013
Posts: 168

PostPosted: Sat Feb 15, 2014 2:52 am    Post subject: perl-cleaner --all Reply with quote

Maffblaster wrote:
paradigm-X, are you now able to emerge Help2man? Did
Code:
perl-cleaner --all
work for you?



Maybe it is just a sign of my not having learned this fact until just now, but I have not seen this procedure before Maffblaster brought it up, and it is really worth reiterating. After he was searching for the cause of a related problem getting programs to emerge successfully without a clear indication of what was preventing them from completing, hardly anything more than "ebuild failed" showing up, with only a hint that some sort of perl code was at fault, he was informed by a developer to try the above procedure to clean up some "stuff".

When he did it, it allowed him to finish installing some other packages. Just now, it helped me do the same thing. I could not get udev to install, and there was very little hint of the cause except a vague reference to an XML parser not doing what it should. Well, I had cleaned and upgraded everything else I could think of, so I then gave it a shot:

perl-cleaner --all

It cleaned house, and afterwards I was indeed able to emerge udev. So whatever exactly that command accomplished, it is definitely worth giving a try. I think it should be added to everyone's routine of cleaning crut and whatnot. I hope whoever is responsible for bringing these things to the forefront is seeing this, too.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13831

PostPosted: Sat Feb 15, 2014 5:34 am    Post subject: Reply with quote

Do you think something like one of these be a good hint to show?
Code:
UPDATE THE PERL MODULES:
After updating dev-lang/perl you must reinstall
the installed perl modules.
Use: perl-cleaner --all

Code:
You have had multiple versions of perl. It is recommended
that you run perl-cleaner now. perl-cleaner will
assist with this transition. This script is capable
of cleaning out old .ph files, rebuilding modules for
your new version of perl, as well as re-emerging
applications that compiled against your old libperl$(get_libname)

PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT.
Part of the rebuilding of applications compiled against
your old libperl involves temporarily unmerging
them - interruptions could leave you with unmerged
packages before they can be remerged.

If you have run perl-cleaner and a package still gives
you trouble, and re-emerging it fails to correct
the problem, please check http://bugs.gentoo.org/
for more information or to report a bug.
Back to top
View user's profile Send private message
paradigm-X
Apprentice
Apprentice


Joined: 19 Sep 2013
Posts: 168

PostPosted: Sat Feb 15, 2014 5:44 am    Post subject: Reply with quote

> "Do you think something like one of these be a good hint to show? ..."


Yes, that is pretty close to what I had in mind, Hu. Are you also going to give me credit for bringing it to your attention? :)
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13831

PostPosted: Sat Feb 15, 2014 3:50 pm    Post subject: Reply with quote

No. I was quoting from the messages that are already scheduled to be shown, based on my reading of the Perl ebuilds and their supporting files.
Back to top
View user's profile Send private message
paradigm-X
Apprentice
Apprentice


Joined: 19 Sep 2013
Posts: 168

PostPosted: Sat Feb 15, 2014 4:38 pm    Post subject: Reply with quote

I was just kidding you about the credit, Hu, because I thought you were kidding around with me a bit when you presented the quotation. Nuance is hard to convey online sometimes. We can so easily interject our own subjective interpretations into what we read or hear from others, can we not?


> "... the messages that are already scheduled to be shown..."

What do you mean by this, Hu?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum