Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 95061

Summary: www-apache/mod_perl-2.0.0 won't emerge (sandbox violation)
Product: Gentoo Linux Reporter: Selth <draco.brasier>
Component: New packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: blocker CC: beu
Priority: High    
Version: 2005.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Selth 2005-06-04 13:43:15 UTC
emerge of mod_perl 2.0.0 fails because of a strange error.
I tried stopping apache. I only got apache2 installed, but had to get rid of the
first version, which I made sure is no longer required by any installed package.

Reproducible: Always
Steps to Reproduce:
1.edit lines in /etc/portage/package.keywords so you can emerge it
2.try do emerge mod_perl

Actual Results:  
it fails on /usr/lib/perl5/vendor_perl/5.8.5/i686-linux-thread-multi/Apache/test.pm


Manifying blib/man3/ModPerl::Registry.3pm
/usr/bin/perl5.8.5 -MExtUtils::Install -e \
"-e qq{.mypacklist} && uninstall(qq{.mypacklist}, 1, 0)"
unlink /usr/lib/perl5/vendor_perl/5.8.5/i686-linux-thread-multi/Apache/test.pm
ACCESS DENIED  chmod:    
/usr/lib/perl5/vendor_perl/5.8.5/i686-linux-thread-multi/Apache/test.pm
ACCESS DENIED  unlink:   
/usr/lib/perl5/vendor_perl/5.8.5/i686-linux-thread-multi/Apache/test.pm
Cannot forceunlink
/usr/lib/perl5/vendor_perl/5.8.5/i686-linux-thread-multi/Apache/test.pm:
Permission denied at -e line 1
make: *** [nuke_Apache__test] Error 255

!!! ERROR: www-apache/mod_perl-2.0.0 failed.
!!! Function src_install, Line 106, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-www-apache_-_mod_perl-2.0.0-18734.log"

chmod:     /usr/lib/perl5/vendor_perl/5.8.5/i686-linux-thread-multi/Apache/test.pm
unlink:    /usr/lib/perl5/vendor_perl/5.8.5/i686-linux-thread-multi/Apache/test.pm
--------------------------------------------------------------------------------
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-05 06:51:42 UTC
Hmm, well - it installed here without any problem but then fails miserably,
apache-2 cannot find any of the installed modules in @INC and does not start. :-( 

1.9.11 works without any problems, downgrading again. 
Comment 2 Selth 2005-06-05 11:24:41 UTC
tried to "emerge -C mod_perl", found out there was 2 versions installed.
emerge mod_perl got all right after that.
I didn't try to find the other but, you may want to report it.