Gentoo Archives: gentoo-user

From: Tomas Mozes <tomas.mozes@××××.sk>
To: gentoo-user@l.g.o
Cc: Helmut Jarausch <jarausch@××××××××××××××××.de>
Subject: Re: [gentoo-user] perl-5.20.1 - has anybody managed to upgrade Perl?
Date: Tue, 07 Oct 2014 15:56:11
Message-Id: 23d1e2bced9d96e2449a87c611b21a96@shmu.sk
In Reply to: Re: [gentoo-user] perl-5.20.1 - has anybody managed to upgrade Perl? by Helmut Jarausch
1 On 2014-10-07 17:41, Helmut Jarausch wrote:
2 > On 10/07/2014 10:50:53 AM, Tomas Mozes wrote:
3 >> On 2014-10-07 10:13, Helmut Jarausch wrote:
4 >>> Hi,
5 >>>
6 >>> dev-lang/perl-5.20.1 is in the tree (unmasked), but trying to upgrade
7 >>> gives me lots of blocks requiring versions which are not
8 >>> in the tree, yet, like
9 >>>
10 >>> [blocks B ] <perl-core/Socket-2.13.0 ("<perl-core/Socket-2.13.0"
11 >>> is blocking virtual/perl-Socket-2.13.0)
12 >>>
13 >>> Has anybody tried to upgrade to this version of Perl?
14 >>>
15 >>> Many thanks for some hints/comments,
16 >>> Helmut
17 >>
18 >> emerge -av1 perl-cleaner
19 >> emerge -av1O dev-lang/perl
20 >
21 > These two worked just fine, BUT
22 >
23 >> perl-cleaner --all
24 >
25 > fails miserably showing many blocks mentioning versions which are not
26 > in the (unstable) tree
27 > like, e.g.
28 >
29 > perl-core/File-Spec-3.480.0 (and 28 more of those)
30 >
31 > Typically there is virtual/perl-File-Spec-3.480.0 which requires
32 > perl-core/File-Spec
33 > of the same version, but (here) there is only
34 > perl-core/File-Spec-3.400.0
35 >
36 > I wonder how all of you could get around this?
37 >
38 > Many thanks for your help,
39 > Helmut
40
41 virtual/perl-File-Spec-3.480.0.ebuild:
42 RDEPEND="
43 || ( =dev-lang/perl-5.20.1* ~perl-core/${PN#perl-}-${PV} )
44 !<perl-core/${PN#perl-}-${PV}
45 !>perl-core/${PN#perl-}-${PV}-r999
46 "
47
48 this says that's you don't need any perl-core of this, because if you
49 have perl 5.20.1* then it's already included in dev-lang/perl itself.
50
51 Emerge all your virtual/perl* packages and they will unmerge perl-core
52 packages that are already included in the dev-lang/perl and then run
53 perl-cleaner again.