Mailing List Archive

perl-5.20.1 - has anybody managed to upgrade Perl?
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
Re: perl-5.20.1 - has anybody managed to upgrade Perl? [ In reply to ]
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
Re: perl-5.20.1 - has anybody managed to upgrade Perl? [ In reply to ]
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
Re: perl-5.20.1 - has anybody managed to upgrade Perl? [ In reply to ]
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
Re: perl-5.20.1 - has anybody managed to upgrade Perl? [ In reply to ]
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
Re: perl-5.20.1 - has anybody managed to upgrade Perl? [ In reply to ]
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
Re: perl-5.20.1 - has anybody managed to upgrade Perl? [ In reply to ]
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
Re: perl-5.20.1 - has anybody managed to upgrade Perl? [ In reply to ]
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.
Re: perl-5.20.1 - has anybody managed to upgrade Perl? [ In reply to ]
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/
Re: perl-5.20.1 - has anybody managed to upgrade Perl? [ In reply to ]
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
Re: perl-5.20.1 - has anybody managed to upgrade Perl? [ In reply to ]
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