public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Perl 5.8.0 upgrade and access violations
@ 2002-07-29 10:32 pdcawley
  2002-07-29 11:23 ` Michael Cummings
  2002-07-29 16:50 ` Michael Cummings
  0 siblings, 2 replies; 5+ messages in thread
From: pdcawley @ 2002-07-29 10:32 UTC (permalink / raw
  To: gentoo-dev

So, being a fairly serious perl hacker, I upgrade from perl 5.6.1 to
5.8.0 using the new 5.8.0 ebuild, which went in pretty cleanly, or so
it seemed. Then, because perl 5.8.0's XS based modules are not binary
compatible with those from 5.6.1, I did:

$ qpkg dev-perl -nc -I | xargs sudo emerge

to remerge all my perl modules (yeah, it'd've made sense to only
emerge the binary ones, but hey, processor time is cheap) and came
across a problem. From the relevant part of the ebuild output:


>>> Install Digest-HMAC-1.01 into /var/tmp/portage/Digest-HMAC-1.01/image/ category dev-perl
/usr/sbin/ebuild.sh: perl_perlinfo: command not found
ACCESS DENIED  mkdir:     /usr/lib/perl5/site_perl/5.8.0/Digest
mkdir /usr/lib/perl5/site_perl/5.8.0/Digest: Permission denied at /usr/lib/perl5/5.8.0/ExtUtils/Install.pm line 137
make: *** [pure_site_install] Error 255

!!! ERROR: The ebuild did not complete successfully.
!!! Function perl-module_src_install, Line 18, Exitcode 2
!!! (no error message)

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox-Digest-HMAC-1.01-8179.log"

mkdir:     /usr/lib/perl5/site_perl/5.8.0/Digest
--------------------------------------------------------------------------------!!! emerge aborting on  /usr/portage/dev-perl/Digest-HMAC/Digest-HMAC-1.01.ebuild .

I presume this is because there's something sandbox related that
assumes perl modules go in /usr/lib/perl5/site_perl/5.6.1, but I can't
for the life of me find what I need to change to fix this. What should
I do?

-- 
Piers

   "It is a truth universally acknowledged that a language in
    possession of a rich syntax must be in need of a rewrite."
         -- Jane Austen?



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

* Re: [gentoo-dev] Perl 5.8.0 upgrade and access violations
  2002-07-29 10:32 [gentoo-dev] Perl 5.8.0 upgrade and access violations pdcawley
@ 2002-07-29 11:23 ` Michael Cummings
  2002-07-29 12:37   ` pdcawley
  2002-07-29 16:50 ` Michael Cummings
  1 sibling, 1 reply; 5+ messages in thread
From: Michael Cummings @ 2002-07-29 11:23 UTC (permalink / raw
  To: gentoo-dev

It's definitely a sandbox issue. I got the same error when attempting to
duplicate your emerge. I disabled sandbox in my make.globals and it
installed perfectly.

On Mon, Jul 29, 2002 at 11:32:23AM +0100, pdcawley@bofh.org.uk wrote:
> So, being a fairly serious perl hacker, I upgrade from perl 5.6.1 to
> 5.8.0 using the new 5.8.0 ebuild, which went in pretty cleanly, or so
> it seemed. Then, because perl 5.8.0's XS based modules are not binary
> compatible with those from 5.6.1, I did:
> 
> $ qpkg dev-perl -nc -I | xargs sudo emerge
> 
> to remerge all my perl modules (yeah, it'd've made sense to only
> emerge the binary ones, but hey, processor time is cheap) and came
> across a problem. From the relevant part of the ebuild output:
> 
> 
> >>> Install Digest-HMAC-1.01 into /var/tmp/portage/Digest-HMAC-1.01/image/ category dev-perl
> /usr/sbin/ebuild.sh: perl_perlinfo: command not found
> ACCESS DENIED  mkdir:     /usr/lib/perl5/site_perl/5.8.0/Digest
> mkdir /usr/lib/perl5/site_perl/5.8.0/Digest: Permission denied at /usr/lib/perl5/5.8.0/ExtUtils/Install.pm line 137
> make: *** [pure_site_install] Error 255
> 
> !!! ERROR: The ebuild did not complete successfully.
> !!! Function perl-module_src_install, Line 18, Exitcode 2
> !!! (no error message)
> 
> --------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox-Digest-HMAC-1.01-8179.log"
> 
> mkdir:     /usr/lib/perl5/site_perl/5.8.0/Digest
> --------------------------------------------------------------------------------!!! emerge aborting on  /usr/portage/dev-perl/Digest-HMAC/Digest-HMAC-1.01.ebuild .
> 
> I presume this is because there's something sandbox related that
> assumes perl modules go in /usr/lib/perl5/site_perl/5.6.1, but I can't
> for the life of me find what I need to change to fix this. What should
> I do?
> 
> -- 
> Piers
> 
>    "It is a truth universally acknowledged that a language in
>     possession of a rich syntax must be in need of a rewrite."
>          -- Jane Austen?
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev


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

* Re: [gentoo-dev] Perl 5.8.0 upgrade and access violations
  2002-07-29 11:23 ` Michael Cummings
@ 2002-07-29 12:37   ` pdcawley
  2002-07-29 14:52     ` Michael Cummings
  0 siblings, 1 reply; 5+ messages in thread
From: pdcawley @ 2002-07-29 12:37 UTC (permalink / raw
  To: mcummings; +Cc: gentoo-dev

Michael Cummings <mcummings@datanode.net> writes:

> It's definitely a sandbox issue. I got the same error when attempting to
> duplicate your emerge. I disabled sandbox in my make.globals and it
> installed perfectly.

So, how does one tweak sandbox so it'll allow writes to that
directory?

-- 
Piers

   "It is a truth universally acknowledged that a language in
    possession of a rich syntax must be in need of a rewrite."
         -- Jane Austen?



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

* Re: [gentoo-dev] Perl 5.8.0 upgrade and access violations
  2002-07-29 12:37   ` pdcawley
@ 2002-07-29 14:52     ` Michael Cummings
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Cummings @ 2002-07-29 14:52 UTC (permalink / raw
  To: gentoo-dev

OK, maybe a slight recant. The problem arises when sandbox is enabled -
not exactly the same thing as it being sanboxes problem. Taking a look
at the Ext*/Install.pm, there are some differences between how perl
5.6.1 and 5.8.0 install a module - different methods for touching and
creating directories/files, and it looks like that could be why sandbox
is throwing a fit. May need better brains than mine to look at this
further, but I'll keep looking anyway ;)

On Mon, Jul 29, 2002 at 01:37:32PM +0100, pdcawley@bofh.org.uk wrote:
> Michael Cummings <mcummings@datanode.net> writes:
> 
> > It's definitely a sandbox issue. I got the same error when attempting to
> > duplicate your emerge. I disabled sandbox in my make.globals and it
> > installed perfectly.
> 
> So, how does one tweak sandbox so it'll allow writes to that
> directory?
> 
> -- 
> Piers
> 
>    "It is a truth universally acknowledged that a language in
>     possession of a rich syntax must be in need of a rewrite."
>          -- Jane Austen?
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev


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

* Re: [gentoo-dev] Perl 5.8.0 upgrade and access violations
  2002-07-29 10:32 [gentoo-dev] Perl 5.8.0 upgrade and access violations pdcawley
  2002-07-29 11:23 ` Michael Cummings
@ 2002-07-29 16:50 ` Michael Cummings
  1 sibling, 0 replies; 5+ messages in thread
From: Michael Cummings @ 2002-07-29 16:50 UTC (permalink / raw
  To: gentoo-dev

Bug 5733 in bugzilla.

On Mon, Jul 29, 2002 at 11:32:23AM +0100, pdcawley@bofh.org.uk wrote:
> So, being a fairly serious perl hacker, I upgrade from perl 5.6.1 to
> 5.8.0 using the new 5.8.0 ebuild, which went in pretty cleanly, or so
> it seemed. Then, because perl 5.8.0's XS based modules are not binary
> compatible with those from 5.6.1, I did:
> 
> $ qpkg dev-perl -nc -I | xargs sudo emerge
> 
> to remerge all my perl modules (yeah, it'd've made sense to only
> emerge the binary ones, but hey, processor time is cheap) and came
> across a problem. From the relevant part of the ebuild output:
> 
> 
> >>> Install Digest-HMAC-1.01 into /var/tmp/portage/Digest-HMAC-1.01/image/ category dev-perl
> /usr/sbin/ebuild.sh: perl_perlinfo: command not found
> ACCESS DENIED  mkdir:     /usr/lib/perl5/site_perl/5.8.0/Digest
> mkdir /usr/lib/perl5/site_perl/5.8.0/Digest: Permission denied at /usr/lib/perl5/5.8.0/ExtUtils/Install.pm line 137
> make: *** [pure_site_install] Error 255
> 
> !!! ERROR: The ebuild did not complete successfully.
> !!! Function perl-module_src_install, Line 18, Exitcode 2
> !!! (no error message)
> 
> --------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox-Digest-HMAC-1.01-8179.log"
> 
> mkdir:     /usr/lib/perl5/site_perl/5.8.0/Digest
> --------------------------------------------------------------------------------!!! emerge aborting on  /usr/portage/dev-perl/Digest-HMAC/Digest-HMAC-1.01.ebuild .
> 
> I presume this is because there's something sandbox related that
> assumes perl modules go in /usr/lib/perl5/site_perl/5.6.1, but I can't
> for the life of me find what I need to change to fix this. What should
> I do?
> 
> -- 
> Piers
> 
>    "It is a truth universally acknowledged that a language in
>     possession of a rich syntax must be in need of a rewrite."
>          -- Jane Austen?
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev


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

end of thread, other threads:[~2002-07-29 16:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-29 10:32 [gentoo-dev] Perl 5.8.0 upgrade and access violations pdcawley
2002-07-29 11:23 ` Michael Cummings
2002-07-29 12:37   ` pdcawley
2002-07-29 14:52     ` Michael Cummings
2002-07-29 16:50 ` Michael Cummings

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