public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] perl-5.20.1 - has anybody managed to upgrade Perl?
@ 2014-10-07  8:13 Helmut Jarausch
  2014-10-07  8:31 ` Kerin Millar
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Helmut Jarausch @ 2014-10-07  8:13 UTC (permalink / raw
  To: gentoo-user

Hi,

dev-lang/perl-5.20.1 is in the tree (unmasked), but trying to upgrade  
gives me lots of blocks requiring versions which are not
in the tree, yet, like

[blocks B      ] <perl-core/Socket-2.13.0 ("<perl-core/Socket-2.13.0"  
is blocking virtual/perl-Socket-2.13.0)

Has anybody tried to upgrade to this version of Perl?

Many thanks for some hints/comments,
Helmut

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] perl-5.20.1 - has anybody managed to upgrade Perl?
  2014-10-07  8:13 [gentoo-user] perl-5.20.1 - has anybody managed to upgrade Perl? Helmut Jarausch
@ 2014-10-07  8:31 ` Kerin Millar
  2014-10-07  8:39   ` Kerin Millar
  2014-10-07  8:50 ` Tomas Mozes
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 11+ messages in thread
From: Kerin Millar @ 2014-10-07  8:31 UTC (permalink / raw
  To: gentoo-user

On 07/10/2014 09:13, Helmut Jarausch wrote:
> Hi,
>
> dev-lang/perl-5.20.1 is in the tree (unmasked), but trying to upgrade
> gives me lots of blocks requiring versions which are not
> in the tree, yet, like
>
> [blocks B      ] <perl-core/Socket-2.13.0 ("<perl-core/Socket-2.13.0" is
> blocking virtual/perl-Socket-2.13.0)
>
> Has anybody tried to upgrade to this version of Perl?

Here is a generically applicable approach to handling upgrades in 
situations where a major dev-lang/perl update is queued.

1) emerge -auDN @world
2) If previous step fails: emerge -auDN --backtrack=30 @world
3) If previous step fails:
    a) emerge --deselect $(qlist -IC 'perl-core/*')
    b) Return to step #2
4) perl-cleaner -all
5) If previous step fails, follow the instructions in the error message
6) Re-select any perl modules that you may have explicitly requested

The final step won't apply to you unless you a Perl hacker.

--Kerin


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] perl-5.20.1 - has anybody managed to upgrade Perl?
  2014-10-07  8:31 ` Kerin Millar
@ 2014-10-07  8:39   ` Kerin Millar
  0 siblings, 0 replies; 11+ messages in thread
From: Kerin Millar @ 2014-10-07  8:39 UTC (permalink / raw
  To: gentoo-user

On 07/10/2014 09:31, Kerin Millar wrote:
> On 07/10/2014 09:13, Helmut Jarausch wrote:
>> Hi,
>>
>> dev-lang/perl-5.20.1 is in the tree (unmasked), but trying to upgrade
>> gives me lots of blocks requiring versions which are not
>> in the tree, yet, like
>>
>> [blocks B      ] <perl-core/Socket-2.13.0 ("<perl-core/Socket-2.13.0" is
>> blocking virtual/perl-Socket-2.13.0)
>>
>> Has anybody tried to upgrade to this version of Perl?
>
> Here is a generically applicable approach to handling upgrades in
> situations where a major dev-lang/perl update is queued.
>
> 1) emerge -auDN @world
> 2) If previous step fails: emerge -auDN --backtrack=30 @world
> 3) If previous step fails:
>     a) emerge --deselect $(qlist -IC 'perl-core/*')
>     b) Return to step #2
> 4) perl-cleaner -all
> 5) If previous step fails, follow the instructions in the error message
> 6) Re-select any perl modules that you may have explicitly requested
>
> The final step won't apply to you unless you a Perl hacker.

I meant to include the step of running emerge --depclean just after 
successfully concluding steps 4 or 5.

--Kerin


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] perl-5.20.1 - has anybody managed to upgrade Perl?
  2014-10-07  8:13 [gentoo-user] perl-5.20.1 - has anybody managed to upgrade Perl? Helmut Jarausch
  2014-10-07  8:31 ` Kerin Millar
@ 2014-10-07  8:50 ` Tomas Mozes
  2014-10-07 15:41   ` Helmut Jarausch
  2014-10-07  8:53 ` covici
  2014-10-07  9:22 ` Alan McKinnon
  3 siblings, 1 reply; 11+ messages in thread
From: Tomas Mozes @ 2014-10-07  8:50 UTC (permalink / raw
  To: gentoo-user; +Cc: Helmut Jarausch

On 2014-10-07 10:13, Helmut Jarausch wrote:
> Hi,
> 
> dev-lang/perl-5.20.1 is in the tree (unmasked), but trying to upgrade
> gives me lots of blocks requiring versions which are not
> in the tree, yet, like
> 
> [blocks B      ] <perl-core/Socket-2.13.0 ("<perl-core/Socket-2.13.0"
> is blocking virtual/perl-Socket-2.13.0)
> 
> Has anybody tried to upgrade to this version of Perl?
> 
> Many thanks for some hints/comments,
> Helmut

emerge -av1 perl-cleaner
emerge -av1O dev-lang/perl
perl-cleaner --all


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] perl-5.20.1 - has anybody managed to upgrade Perl?
  2014-10-07  8:13 [gentoo-user] perl-5.20.1 - has anybody managed to upgrade Perl? Helmut Jarausch
  2014-10-07  8:31 ` Kerin Millar
  2014-10-07  8:50 ` Tomas Mozes
@ 2014-10-07  8:53 ` covici
  2014-10-07  9:22 ` Alan McKinnon
  3 siblings, 0 replies; 11+ messages in thread
From: covici @ 2014-10-07  8:53 UTC (permalink / raw
  To: gentoo-user

Helmut Jarausch <jarausch@igpm.rwth-aachen.de> wrote:

> Hi,
> 
> dev-lang/perl-5.20.1 is in the tree (unmasked), but trying to upgrade  
> gives me lots of blocks requiring versions which are not
> in the tree, yet, like
> 
> [blocks B      ] <perl-core/Socket-2.13.0 ("<perl-core/Socket-2.13.0"  
> is blocking virtual/perl-Socket-2.13.0)
> 
> Has anybody tried to upgrade to this version of Perl?

I have dont this, but I am using unstable, so maybe that is the
difference.  Portage did a lot of what perl-cleaner used to do, but I
still had to run it anyway.  A bit of strangeness, but it did work.


-- 
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] perl-5.20.1 - has anybody managed to upgrade Perl?
  2014-10-07  8:13 [gentoo-user] perl-5.20.1 - has anybody managed to upgrade Perl? Helmut Jarausch
                   ` (2 preceding siblings ...)
  2014-10-07  8:53 ` covici
@ 2014-10-07  9:22 ` Alan McKinnon
  3 siblings, 0 replies; 11+ messages in thread
From: Alan McKinnon @ 2014-10-07  9:22 UTC (permalink / raw
  To: gentoo-user

On 07/10/2014 10:13, Helmut Jarausch wrote:
> Hi,
> 
> dev-lang/perl-5.20.1 is in the tree (unmasked), but trying to upgrade
> gives me lots of blocks requiring versions which are not
> in the tree, yet, like
> 
> [blocks B      ] <perl-core/Socket-2.13.0 ("<perl-core/Socket-2.13.0" is
> blocking virtual/perl-Socket-2.13.0)
> 
> Has anybody tried to upgrade to this version of Perl?
> 
> Many thanks for some hints/comments,
> Helmut
> 
> 


For me it JustWorked(tm):

$ eix -e perl
[I] dev-lang/perl
     Available versions:  5.16.3(0/5.16) 5.18.2-r1(0/5.18)
(~)5.20.0-r1(0/5.20) (~)5.20.1(0/5.20) {berkdb debug doc gdbm ithreads}
     Installed versions:  5.20.1(21:31:01 25/09/2014)(berkdb gdbm -debug
-doc -ithreads)
     Homepage:            http://www.perl.org/
     Description:         Larry Wall's Practical Extraction and Report
Language



The upgrade was seamless and ran to completion. Even perl-cleaner
afterwards returned nothing to do.

Have you checked your local package.* files looking for entries that
might interfere?



-- 
Alan McKinnon
alan.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] perl-5.20.1 - has anybody managed to upgrade Perl?
  2014-10-07  8:50 ` Tomas Mozes
@ 2014-10-07 15:41   ` Helmut Jarausch
  2014-10-07 15:55     ` Tomas Mozes
                       ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Helmut Jarausch @ 2014-10-07 15:41 UTC (permalink / raw
  To: gentoo-user

On 10/07/2014 10:50:53 AM, Tomas Mozes wrote:
> On 2014-10-07 10:13, Helmut Jarausch wrote:
>> Hi,
>> 
>> dev-lang/perl-5.20.1 is in the tree (unmasked), but trying to upgrade
>> gives me lots of blocks requiring versions which are not
>> in the tree, yet, like
>> 
>> [blocks B      ] <perl-core/Socket-2.13.0 ("<perl-core/Socket-2.13.0"
>> is blocking virtual/perl-Socket-2.13.0)
>> 
>> Has anybody tried to upgrade to this version of Perl?
>> 
>> Many thanks for some hints/comments,
>> Helmut
> 
> emerge -av1 perl-cleaner
> emerge -av1O dev-lang/perl

These two worked just fine, BUT

> perl-cleaner --all

fails miserably showing many blocks mentioning versions which are not  
in the (unstable) tree
like, e.g.

perl-core/File-Spec-3.480.0 (and 28 more of those)

Typically there is virtual/perl-File-Spec-3.480.0 which requires  
perl-core/File-Spec
of the same version, but (here) there is only  
perl-core/File-Spec-3.400.0

I wonder how all of you could get around this?

Many thanks for your help,
Helmut


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] perl-5.20.1 - has anybody managed to upgrade Perl?
  2014-10-07 15:41   ` Helmut Jarausch
@ 2014-10-07 15:55     ` Tomas Mozes
  2014-10-07 16:07     ` Andreas K. Huettel
  2014-10-07 16:32     ` covici
  2 siblings, 0 replies; 11+ messages in thread
From: Tomas Mozes @ 2014-10-07 15:55 UTC (permalink / raw
  To: gentoo-user; +Cc: Helmut Jarausch

On 2014-10-07 17:41, Helmut Jarausch wrote:
> On 10/07/2014 10:50:53 AM, Tomas Mozes wrote:
>> On 2014-10-07 10:13, Helmut Jarausch wrote:
>>> Hi,
>>> 
>>> dev-lang/perl-5.20.1 is in the tree (unmasked), but trying to upgrade
>>> gives me lots of blocks requiring versions which are not
>>> in the tree, yet, like
>>> 
>>> [blocks B      ] <perl-core/Socket-2.13.0 ("<perl-core/Socket-2.13.0"
>>> is blocking virtual/perl-Socket-2.13.0)
>>> 
>>> Has anybody tried to upgrade to this version of Perl?
>>> 
>>> Many thanks for some hints/comments,
>>> Helmut
>> 
>> emerge -av1 perl-cleaner
>> emerge -av1O dev-lang/perl
> 
> These two worked just fine, BUT
> 
>> perl-cleaner --all
> 
> fails miserably showing many blocks mentioning versions which are not
> in the (unstable) tree
> like, e.g.
> 
> perl-core/File-Spec-3.480.0 (and 28 more of those)
> 
> Typically there is virtual/perl-File-Spec-3.480.0 which requires
> perl-core/File-Spec
> of the same version, but (here) there is only
> perl-core/File-Spec-3.400.0
> 
> I wonder how all of you could get around this?
> 
> Many thanks for your help,
> Helmut

virtual/perl-File-Spec-3.480.0.ebuild:
RDEPEND="
         || ( =dev-lang/perl-5.20.1* ~perl-core/${PN#perl-}-${PV} )
         !<perl-core/${PN#perl-}-${PV}
         !>perl-core/${PN#perl-}-${PV}-r999
"

this says that's you don't need any perl-core of this, because if you 
have perl 5.20.1* then it's already included in dev-lang/perl itself.

Emerge all your virtual/perl* packages and they will unmerge perl-core 
packages that are already included in the dev-lang/perl and then run 
perl-cleaner again.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] perl-5.20.1 - has anybody managed to upgrade Perl?
  2014-10-07 15:41   ` Helmut Jarausch
  2014-10-07 15:55     ` Tomas Mozes
@ 2014-10-07 16:07     ` Andreas K. Huettel
  2014-10-07 16:19       ` Helmut Jarausch
  2014-10-07 16:32     ` covici
  2 siblings, 1 reply; 11+ messages in thread
From: Andreas K. Huettel @ 2014-10-07 16:07 UTC (permalink / raw
  To: gentoo-user

Am Dienstag, 7. Oktober 2014, 17:41:11 schrieb Helmut Jarausch:
> > 
> > emerge -av1 perl-cleaner
> > emerge -av1O dev-lang/perl
> 
> These two worked just fine, BUT
> 
> > perl-cleaner --all
> 
> fails miserably showing many blocks mentioning versions which are not
> in the (unstable) tree

Please try ~arch perl-cleaner and tell us if it works better!

-- 
Andreas K. Huettel
Gentoo Linux developer (council, kde)
dilfridge@gentoo.org
http://www.akhuettel.de/


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] perl-5.20.1 - has anybody managed to upgrade Perl?
  2014-10-07 16:07     ` Andreas K. Huettel
@ 2014-10-07 16:19       ` Helmut Jarausch
  0 siblings, 0 replies; 11+ messages in thread
From: Helmut Jarausch @ 2014-10-07 16:19 UTC (permalink / raw
  To: gentoo-user

On 10/07/2014 06:07:11 PM, Andreas K. Huettel wrote:
> Am Dienstag, 7. Oktober 2014, 17:41:11 schrieb Helmut Jarausch:
> > >
> > > emerge -av1 perl-cleaner
> > > emerge -av1O dev-lang/perl
> >
> > These two worked just fine, BUT
> >
> > > perl-cleaner --all
> >
> > fails miserably showing many blocks mentioning versions which are  
> not
> > in the (unstable) tree
> 
> Please try ~arch perl-cleaner and tell us if it works better!
> 

I am on ~amd64 and did have these problems.

Only Tomas hints saved me, i.e.


emerge  -av1O dev-lang/perl
emerge -1 -j4 --keep-going `qlist -IC virtual/perl-`
emerge -1 perl-cleaner

Again, many thanks to Tomas,
Helmut

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] perl-5.20.1 - has anybody managed to upgrade Perl?
  2014-10-07 15:41   ` Helmut Jarausch
  2014-10-07 15:55     ` Tomas Mozes
  2014-10-07 16:07     ` Andreas K. Huettel
@ 2014-10-07 16:32     ` covici
  2 siblings, 0 replies; 11+ messages in thread
From: covici @ 2014-10-07 16:32 UTC (permalink / raw
  To: gentoo-user

Helmut Jarausch <jarausch@igpm.rwth-aachen.de> wrote:

> On 10/07/2014 10:50:53 AM, Tomas Mozes wrote:
> > On 2014-10-07 10:13, Helmut Jarausch wrote:
> >> Hi,
> >> 
> >> dev-lang/perl-5.20.1 is in the tree (unmasked), but trying to upgrade
> >> gives me lots of blocks requiring versions which are not
> >> in the tree, yet, like
> >> 
> >> [blocks B      ] <perl-core/Socket-2.13.0 ("<perl-core/Socket-2.13.0"
> >> is blocking virtual/perl-Socket-2.13.0)
> >> 
> >> Has anybody tried to upgrade to this version of Perl?
> >> 
> >> Many thanks for some hints/comments,
> >> Helmut
> > 
> > emerge -av1 perl-cleaner
> > emerge -av1O dev-lang/perl
> 
> These two worked just fine, BUT
> 
> > perl-cleaner --all
> 
> fails miserably showing many blocks mentioning versions which are not  
> in the (unstable) tree
> like, e.g.
> 
> perl-core/File-Spec-3.480.0 (and 28 more of those)
> 
> Typically there is virtual/perl-File-Spec-3.480.0 which requires  
> perl-core/File-Spec
> of the same version, but (here) there is only  
> perl-core/File-Spec-3.400.0
> 
> I wonder how all of you could get around this?
> 
> Many thanks for your help,
I don't have perl-core/File-Spec installed, so I did not run into that
one.  But I wonder if your tree is syncing properly or someting?


-- 
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

end of thread, other threads:[~2014-10-07 16:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-07  8:13 [gentoo-user] perl-5.20.1 - has anybody managed to upgrade Perl? Helmut Jarausch
2014-10-07  8:31 ` Kerin Millar
2014-10-07  8:39   ` Kerin Millar
2014-10-07  8:50 ` Tomas Mozes
2014-10-07 15:41   ` Helmut Jarausch
2014-10-07 15:55     ` Tomas Mozes
2014-10-07 16:07     ` Andreas K. Huettel
2014-10-07 16:19       ` Helmut Jarausch
2014-10-07 16:32     ` covici
2014-10-07  8:53 ` covici
2014-10-07  9:22 ` Alan McKinnon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox