1 |
On 07/12/2017 07:44, John Covici wrote: |
2 |
> Hi. In preparing for the profile switch and the emerge -e world, I |
3 |
> have run into a serious problem with perl. I think I saw on this list |
4 |
> where perl 5.26 was going to have problems -- maybe until it is |
5 |
> stabilized -- but if I mask it off, I get the following: |
6 |
|
7 |
Unmask the latest perl and update world with the old profile |
8 |
|
9 |
This will go smoothly as the perl team did an excellent job making sure |
10 |
everything perl-ish in the tree works in concert with everything else. |
11 |
However I do recall that trying to do it with a partial world update |
12 |
didn't work - too many affected packages, so trying just perl + deps did |
13 |
not work. Rather do a normal world update. |
14 |
|
15 |
Once done, then switch your profile to 17.0 and do the giant emerge -e |
16 |
world that requires. |
17 |
|
18 |
tl;dr |
19 |
|
20 |
the news message about perl might make you think the sky will fall on |
21 |
your head and all your kittens will die, this is actually not true. |
22 |
|
23 |
The v5.26 updates mostly had to do with perl's search path for perl |
24 |
modules. Just like how we've frowned on having "." in the shell PATH for |
25 |
decades, perl now implemented something like that for modules too. The |
26 |
possible problem anticipated is that modules would now break if a |
27 |
modules could not find another module it needs. But this really only |
28 |
applied to modules outside the perl distribution itself. And the Gentoo |
29 |
perl team dealt with all that already |
30 |
|
31 |
It's widely discussed all over the internet in all the usual places, you |
32 |
are only affected if one of more of these applies: |
33 |
|
34 |
- you write perl modules yourself (solution: update your own code) |
35 |
- you use many ancient cpan modules that no-one touched for yonks |
36 |
(solution: maybe use currently supported modules instead) |
37 |
- you heavily rely on a third party perl app that might not have been |
38 |
updated - musicbrainz and radiator come to mind as examples (solution: |
39 |
harass your app vendor) |
40 |
|
41 |
-- |
42 |
Alan McKinnon |
43 |
alan.mckinnon@×××××.com |