* [gentoo-user] I don't understand Perl. What do I do after an update? @ 2010-07-21 17:04 Nikos Chantziaras 2010-07-21 17:34 ` Willie Wong 2010-07-21 20:04 ` [gentoo-user] " Neil Bothwick 0 siblings, 2 replies; 11+ messages in thread From: Nikos Chantziaras @ 2010-07-21 17:04 UTC (permalink / raw To: gentoo-user Portage recently updated Perl from 5.10.1 to 5.12.1 (and later -r1). However, a crapload of files still remain in /usr/lib/perl5/{site_perl,vendor_perl}/5.10.1. I found out the hard way after trying to emerge openoffice (and everyone knows how painful that one is): checking for required Perl modules... Can't locate Archive/Zip.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.12.1/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.12.1 /usr/lib64/perl5/vendor_perl/5.12.1/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.12.1 /usr/lib64/perl5/5.12.1/x86_64-linux-thread-multi /usr/lib64/perl5/5.12.1 /usr/lib64/perl5/site_perl /usr/lib64/perl5/vendor_perl .) at -e line 1. BEGIN failed--compilation aborted at -e line 1. configure: error: Failed to find some modules make: *** [stamp/build] Error 1 What is the user required to do after updating Perl? elogv doesn't tell me anything about upgrading. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] I don't understand Perl. What do I do after an update? 2010-07-21 17:04 [gentoo-user] I don't understand Perl. What do I do after an update? Nikos Chantziaras @ 2010-07-21 17:34 ` Willie Wong 2010-07-21 18:33 ` [gentoo-user] " Nikos Chantziaras 2010-07-21 20:04 ` [gentoo-user] " Neil Bothwick 1 sibling, 1 reply; 11+ messages in thread From: Willie Wong @ 2010-07-21 17:34 UTC (permalink / raw To: gentoo-user On Wed, Jul 21, 2010 at 08:04:54PM +0300, Nikos Chantziaras wrote: > Portage recently updated Perl from 5.10.1 to 5.12.1 (and later -r1). > However, a crapload of files still remain in > /usr/lib/perl5/{site_perl,vendor_perl}/5.10.1. I found out the hard way > after trying to emerge openoffice (and everyone knows how painful that > one is): > > What is the user required to do after updating Perl? elogv doesn't tell > me anything about upgrading. There's this neat little script called perl-cleaner http://www.gentoo.org/proj/en/perl/perl-cleaner.xml W -- Willie W. Wong wwong@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton ^ permalink raw reply [flat|nested] 11+ messages in thread
* [gentoo-user] Re: I don't understand Perl. What do I do after an update? 2010-07-21 17:34 ` Willie Wong @ 2010-07-21 18:33 ` Nikos Chantziaras 2010-07-21 19:14 ` Blackdream W 2010-07-21 19:34 ` Alan McKinnon 0 siblings, 2 replies; 11+ messages in thread From: Nikos Chantziaras @ 2010-07-21 18:33 UTC (permalink / raw To: gentoo-user On 07/21/2010 08:34 PM, Willie Wong wrote: > On Wed, Jul 21, 2010 at 08:04:54PM +0300, Nikos Chantziaras wrote: >> Portage recently updated Perl from 5.10.1 to 5.12.1 (and later -r1). >> However, a crapload of files still remain in >> /usr/lib/perl5/{site_perl,vendor_perl}/5.10.1. I found out the hard way >> after trying to emerge openoffice (and everyone knows how painful that >> one is): >> >> What is the user required to do after updating Perl? elogv doesn't tell >> me anything about upgrading. > > There's this neat little script called perl-cleaner > > http://www.gentoo.org/proj/en/perl/perl-cleaner.xml Thanks. How do I call the script? I don't have any idea what perl modules or ph files are (or why I need them). What do I need to do? ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Re: I don't understand Perl. What do I do after an update? 2010-07-21 18:33 ` [gentoo-user] " Nikos Chantziaras @ 2010-07-21 19:14 ` Blackdream W 2010-07-21 22:40 ` Heorhii Valakhaniovich 2010-07-21 19:34 ` Alan McKinnon 1 sibling, 1 reply; 11+ messages in thread From: Blackdream W @ 2010-07-21 19:14 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 860 bytes --] perl-cleaner --all 2010/7/22 Nikos Chantziaras <realnc@arcor.de> > On 07/21/2010 08:34 PM, Willie Wong wrote: > >> On Wed, Jul 21, 2010 at 08:04:54PM +0300, Nikos Chantziaras wrote: >> >>> Portage recently updated Perl from 5.10.1 to 5.12.1 (and later -r1). >>> However, a crapload of files still remain in >>> /usr/lib/perl5/{site_perl,vendor_perl}/5.10.1. I found out the hard way >>> after trying to emerge openoffice (and everyone knows how painful that >>> one is): >>> >>> What is the user required to do after updating Perl? elogv doesn't tell >>> me anything about upgrading. >>> >> >> There's this neat little script called perl-cleaner >> >> http://www.gentoo.org/proj/en/perl/perl-cleaner.xml >> > > Thanks. How do I call the script? I don't have any idea what perl modules > or ph files are (or why I need them). What do I need to do? > > > [-- Attachment #2: Type: text/html, Size: 1598 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Re: I don't understand Perl. What do I do after an update? 2010-07-21 19:14 ` Blackdream W @ 2010-07-21 22:40 ` Heorhii Valakhaniovich 0 siblings, 0 replies; 11+ messages in thread From: Heorhii Valakhaniovich @ 2010-07-21 22:40 UTC (permalink / raw To: gentoo-user On 07/21/2010 07:14 PM, Blackdream W wrote: > perl-cleaner --all It's better to do perl-cleaner -p --all before to watch what can happen. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Re: I don't understand Perl. What do I do after an update? 2010-07-21 18:33 ` [gentoo-user] " Nikos Chantziaras 2010-07-21 19:14 ` Blackdream W @ 2010-07-21 19:34 ` Alan McKinnon 2010-07-21 21:14 ` covici 1 sibling, 1 reply; 11+ messages in thread From: Alan McKinnon @ 2010-07-21 19:34 UTC (permalink / raw To: gentoo-user On Wednesday 21 July 2010 20:33:42 Nikos Chantziaras wrote: > On 07/21/2010 08:34 PM, Willie Wong wrote: > > On Wed, Jul 21, 2010 at 08:04:54PM +0300, Nikos Chantziaras wrote: > >> Portage recently updated Perl from 5.10.1 to 5.12.1 (and later -r1). > >> However, a crapload of files still remain in > >> /usr/lib/perl5/{site_perl,vendor_perl}/5.10.1. I found out the hard way > >> after trying to emerge openoffice (and everyone knows how painful that > >> one is): > >> > >> What is the user required to do after updating Perl? elogv doesn't tell > >> me anything about upgrading. > > > > There's this neat little script called perl-cleaner > > > > http://www.gentoo.org/proj/en/perl/perl-cleaner.xml > > Thanks. How do I call the script? I don't have any idea what perl > modules or ph files are (or why I need them). What do I need to do? Short version: You run perl-cleaner --modules and it just does it. Long version: perl comes out the box as an interpreter and some base functionality. The community provides a brazillion useful modules for all sort of things. Like eg Date. Need to do some Date manipulation? No need to write the disgusting code yourself to work with Dates, someone else already did it. Just install a module. The trouble is that modules are often written in perl itself and closely tied to the version of perl used. If you upgrade perl, you must also rebuild all the modules tied to it, they don't just migrate. This is a painful process. It's enough to drive a sysadmin to drink or (god forbid), to Windows. Portage can't help as the ebuild doesn't know what you have installed. So you must run a script to go and dig out all this crap for you. All I can say is, every day I get down on my knees and offer thanks that perl is not slotted. -- alan dot mckinnon at gmail dot com ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Re: I don't understand Perl. What do I do after an update? 2010-07-21 19:34 ` Alan McKinnon @ 2010-07-21 21:14 ` covici 2010-07-21 22:14 ` Alan McKinnon 0 siblings, 1 reply; 11+ messages in thread From: covici @ 2010-07-21 21:14 UTC (permalink / raw To: gentoo-user Alan McKinnon <alan.mckinnon@gmail.com> wrote: > On Wednesday 21 July 2010 20:33:42 Nikos Chantziaras wrote: > > On 07/21/2010 08:34 PM, Willie Wong wrote: > > > On Wed, Jul 21, 2010 at 08:04:54PM +0300, Nikos Chantziaras wrote: > > >> Portage recently updated Perl from 5.10.1 to 5.12.1 (and later -r1). > > >> However, a crapload of files still remain in > > >> /usr/lib/perl5/{site_perl,vendor_perl}/5.10.1. I found out the hard way > > >> after trying to emerge openoffice (and everyone knows how painful that > > >> one is): > > >> > > >> What is the user required to do after updating Perl? elogv doesn't tell > > >> me anything about upgrading. > > > > > > There's this neat little script called perl-cleaner > > > > > > http://www.gentoo.org/proj/en/perl/perl-cleaner.xml > > > > Thanks. How do I call the script? I don't have any idea what perl > > modules or ph files are (or why I need them). What do I need to do? > > Short version: > You run > > perl-cleaner --modules > > and it just does it. > > Long version: > perl comes out the box as an interpreter and some base functionality. The > community provides a brazillion useful modules for all sort of things. Like eg > Date. Need to do some Date manipulation? No need to write the disgusting code > yourself to work with Dates, someone else already did it. Just install a > module. > > The trouble is that modules are often written in perl itself and closely tied > to the version of perl used. If you upgrade perl, you must also rebuild all > the modules tied to it, they don't just migrate. > > This is a painful process. It's enough to drive a sysadmin to drink or (god > forbid), to Windows. Portage can't help as the ebuild doesn't know what you > have installed. So you must run a script to go and dig out all this crap for > you. > > All I can say is, every day I get down on my knees and offer thanks that perl > is not slotted. But portage should be sensible enough to either run this for you, or stop emerging -- I had a lot of trouble during the last update where I kept getting errors and I emerged a couple of them before I knew I had to run perl-cleaner. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Re: I don't understand Perl. What do I do after an update? 2010-07-21 21:14 ` covici @ 2010-07-21 22:14 ` Alan McKinnon 2010-07-22 0:37 ` covici 0 siblings, 1 reply; 11+ messages in thread From: Alan McKinnon @ 2010-07-21 22:14 UTC (permalink / raw To: gentoo-user On Wednesday 21 July 2010 23:14:35 covici@ccs.covici.com wrote: > > This is a painful process. It's enough to drive a sysadmin to drink or > > (god forbid), to Windows. Portage can't help as the ebuild doesn't know > > what you have installed. So you must run a script to go and dig out all > > this crap for you. > > > > > > > > All I can say is, every day I get down on my knees and offer thanks that > > perl is not slotted. > > But portage should be sensible enough to either run this for you, or > stop emerging -- I had a lot of trouble during the last update where I > kept getting errors and I emerged a couple of them before I knew I had > to run perl-cleaner. You haven't thought this through and haven't consider how portage knows what to do. Portage doesn't do it because portage can't. You want portage to do it != portage can do it. Consider this: [I] dev-lang/perl Installed versions: 5.12.1-r1(23:11:24 21/07/10)(berkdb gdbm -build - debug -doc -ithreads) [I] dev-perl/DateManip Installed versions: 5.56(19:39:11 17/07/10)(-test) When I upgraded perl to 5.12.1-r1, DateManip was not upgraded. Why not? because it's version number did not change and that is the ONLY thing portage considers. DateManip depends on perl, not on =perl-whatever-I-used-to-have So portage does not know of the link between these two things and cannot take them into account. Portage won't be expanded anytime soon either - you saw how long it took for perl-cleaner to run, must portage go through something like that with every emerge? Similarly, one could say portage should detect rev-dep breakage. Surprise! It doesn't. revdep-rebuild does that (comparable to perl-cleaner) and you know how long that takes to run. So you wasted some time with an upgrade. Well that's a shame. But we don't care much, especially if you don't read the elog messages. If you feel that portage should does this automagically, and have a plan to make it run REAL quick, and have proven, workable, debugged, solid, stable patches, then I'm sure Zac would be very happy indeed to hear from you. In the meantime, read the elog messages. -- alan dot mckinnon at gmail dot com ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Re: I don't understand Perl. What do I do after an update? 2010-07-21 22:14 ` Alan McKinnon @ 2010-07-22 0:37 ` covici 2010-07-22 4:41 ` Volker Armin Hemmann 0 siblings, 1 reply; 11+ messages in thread From: covici @ 2010-07-22 0:37 UTC (permalink / raw To: gentoo-user Alan McKinnon <alan.mckinnon@gmail.com> wrote: > On Wednesday 21 July 2010 23:14:35 covici@ccs.covici.com wrote: > > > This is a painful process. It's enough to drive a sysadmin to drink or > > > (god forbid), to Windows. Portage can't help as the ebuild doesn't know > > > what you have installed. So you must run a script to go and dig out all > > > this crap for you. > > > > > > > > > > > > All I can say is, every day I get down on my knees and offer thanks that > > > perl is not slotted. > > > > But portage should be sensible enough to either run this for you, or > > stop emerging -- I had a lot of trouble during the last update where I > > kept getting errors and I emerged a couple of them before I knew I had > > to run perl-cleaner. > > You haven't thought this through and haven't consider how portage knows what > to do. > > Portage doesn't do it because portage can't. > You want portage to do it != portage can do it. > > Consider this: > > [I] dev-lang/perl > Installed versions: 5.12.1-r1(23:11:24 21/07/10)(berkdb gdbm -build - > debug -doc -ithreads) > > [I] dev-perl/DateManip > Installed versions: 5.56(19:39:11 17/07/10)(-test) > > > When I upgraded perl to 5.12.1-r1, DateManip was not upgraded. Why not? > because it's version number did not change and that is the ONLY thing portage > considers. DateManip depends on perl, not on =perl-whatever-I-used-to-have > > So portage does not know of the link between these two things and cannot take > them into account. Portage won't be expanded anytime soon either - you saw how > long it took for perl-cleaner to run, must portage go through something like > that with every emerge? > > Similarly, one could say portage should detect rev-dep breakage. Surprise! It > doesn't. revdep-rebuild does that (comparable to perl-cleaner) and you know > how long that takes to run. > > So you wasted some time with an upgrade. Well that's a shame. But we don't > care much, especially if you don't read the elog messages. If you feel that > portage should does this automagically, and have a plan to make it run REAL > quick, and have proven, workable, debugged, solid, stable patches, then I'm > sure Zac would be very happy indeed to hear from you. > > In the meantime, read the elog messages. But I could not read the elog messages, the emerge was going on, till I got the first error and I didn't realize that portage had upgraded perl -- the only thing I would like portage to do is to know that something must be run and stop so I can do this. You could have a list of packages which require a stop after emerging or something. I am thinking out loud here, but this is what I am trying to say. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Re: I don't understand Perl. What do I do after an update? 2010-07-22 0:37 ` covici @ 2010-07-22 4:41 ` Volker Armin Hemmann 0 siblings, 0 replies; 11+ messages in thread From: Volker Armin Hemmann @ 2010-07-22 4:41 UTC (permalink / raw To: gentoo-user On Donnerstag 22 Juli 2010, covici@ccs.covici.com wrote: > Alan McKinnon <alan.mckinnon@gmail.com> wrote: > > On Wednesday 21 July 2010 23:14:35 covici@ccs.covici.com wrote: > > > > This is a painful process. It's enough to drive a sysadmin to drink > > > > or (god forbid), to Windows. Portage can't help as the ebuild > > > > doesn't know what you have installed. So you must run a script to go > > > > and dig out all this crap for you. > > > > > > > > > > > > > > > > All I can say is, every day I get down on my knees and offer thanks > > > > that perl is not slotted. > > > > > > But portage should be sensible enough to either run this for you, or > > > stop emerging -- I had a lot of trouble during the last update where I > > > kept getting errors and I emerged a couple of them before I knew I had > > > to run perl-cleaner. > > > > You haven't thought this through and haven't consider how portage knows > > what to do. > > > > Portage doesn't do it because portage can't. > > You want portage to do it != portage can do it. > > > > Consider this: > > > > [I] dev-lang/perl > > > > Installed versions: 5.12.1-r1(23:11:24 21/07/10)(berkdb gdbm -build > > - > > > > debug -doc -ithreads) > > > > [I] dev-perl/DateManip > > > > Installed versions: 5.56(19:39:11 17/07/10)(-test) > > > > When I upgraded perl to 5.12.1-r1, DateManip was not upgraded. Why not? > > because it's version number did not change and that is the ONLY thing > > portage considers. DateManip depends on perl, not on > > =perl-whatever-I-used-to-have > > > > So portage does not know of the link between these two things and cannot > > take them into account. Portage won't be expanded anytime soon either - > > you saw how long it took for perl-cleaner to run, must portage go > > through something like that with every emerge? > > > > Similarly, one could say portage should detect rev-dep breakage. > > Surprise! It doesn't. revdep-rebuild does that (comparable to > > perl-cleaner) and you know how long that takes to run. > > > > So you wasted some time with an upgrade. Well that's a shame. But we > > don't care much, especially if you don't read the elog messages. If you > > feel that portage should does this automagically, and have a plan to > > make it run REAL quick, and have proven, workable, debugged, solid, > > stable patches, then I'm sure Zac would be very happy indeed to hear > > from you. > > > > In the meantime, read the elog messages. > > But I could not read the elog messages, you can either read them with elogv or have portage send them per email whereever you want. So you can read them, while emerging other stuff. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] I don't understand Perl. What do I do after an update? 2010-07-21 17:04 [gentoo-user] I don't understand Perl. What do I do after an update? Nikos Chantziaras 2010-07-21 17:34 ` Willie Wong @ 2010-07-21 20:04 ` Neil Bothwick 1 sibling, 0 replies; 11+ messages in thread From: Neil Bothwick @ 2010-07-21 20:04 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 449 bytes --] On Wed, 21 Jul 2010 20:04:54 +0300, Nikos Chantziaras wrote: > What is the user required to do after updating Perl? elogv doesn't > tell me anything about upgrading. Really? I got this message when going from 5.10 to 5.12 WARN: setup UPDATE THE PERL MODULES: After updating dev-lang/perl you must reinstall the installed perl modules. Use: perl-cleaner --all -- Neil Bothwick WinErr 004: Erroneous error - Nothing is wrong [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2010-07-22 5:07 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-07-21 17:04 [gentoo-user] I don't understand Perl. What do I do after an update? Nikos Chantziaras 2010-07-21 17:34 ` Willie Wong 2010-07-21 18:33 ` [gentoo-user] " Nikos Chantziaras 2010-07-21 19:14 ` Blackdream W 2010-07-21 22:40 ` Heorhii Valakhaniovich 2010-07-21 19:34 ` Alan McKinnon 2010-07-21 21:14 ` covici 2010-07-21 22:14 ` Alan McKinnon 2010-07-22 0:37 ` covici 2010-07-22 4:41 ` Volker Armin Hemmann 2010-07-21 20:04 ` [gentoo-user] " Neil Bothwick
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox