1 |
So, being a fairly serious perl hacker, I upgrade from perl 5.6.1 to |
2 |
5.8.0 using the new 5.8.0 ebuild, which went in pretty cleanly, or so |
3 |
it seemed. Then, because perl 5.8.0's XS based modules are not binary |
4 |
compatible with those from 5.6.1, I did: |
5 |
|
6 |
$ qpkg dev-perl -nc -I | xargs sudo emerge |
7 |
|
8 |
to remerge all my perl modules (yeah, it'd've made sense to only |
9 |
emerge the binary ones, but hey, processor time is cheap) and came |
10 |
across a problem. From the relevant part of the ebuild output: |
11 |
|
12 |
|
13 |
>>> Install Digest-HMAC-1.01 into /var/tmp/portage/Digest-HMAC-1.01/image/ category dev-perl |
14 |
/usr/sbin/ebuild.sh: perl_perlinfo: command not found |
15 |
ACCESS DENIED mkdir: /usr/lib/perl5/site_perl/5.8.0/Digest |
16 |
mkdir /usr/lib/perl5/site_perl/5.8.0/Digest: Permission denied at /usr/lib/perl5/5.8.0/ExtUtils/Install.pm line 137 |
17 |
make: *** [pure_site_install] Error 255 |
18 |
|
19 |
!!! ERROR: The ebuild did not complete successfully. |
20 |
!!! Function perl-module_src_install, Line 18, Exitcode 2 |
21 |
!!! (no error message) |
22 |
|
23 |
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox-Digest-HMAC-1.01-8179.log" |
24 |
|
25 |
mkdir: /usr/lib/perl5/site_perl/5.8.0/Digest |
26 |
--------------------------------------------------------------------------------!!! emerge aborting on /usr/portage/dev-perl/Digest-HMAC/Digest-HMAC-1.01.ebuild . |
27 |
|
28 |
I presume this is because there's something sandbox related that |
29 |
assumes perl modules go in /usr/lib/perl5/site_perl/5.6.1, but I can't |
30 |
for the life of me find what I need to change to fix this. What should |
31 |
I do? |
32 |
|
33 |
-- |
34 |
Piers |
35 |
|
36 |
"It is a truth universally acknowledged that a language in |
37 |
possession of a rich syntax must be in need of a rewrite." |
38 |
-- Jane Austen? |