Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50341 - Emerge of X11-Protocol aborts with ACCESS DENIED trying to create /usr/lib/perl5/vendor_perl/5.8.0/X11
Summary: Emerge of X11-Protocol aborts with ACCESS DENIED trying to create /usr/lib/pe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-07 05:17 UTC by Michael Lesniak
Modified: 2004-05-08 03:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Lesniak 2004-05-07 05:17:33 UTC
I tried to emerge fvwm which depends on X11-Protocol. It aborts with an error message, that a directory could not be created. Even creating this by hand leads to other errors concering missing permissions.

--- snip ---
[14:04|root on wintermute|/var/tmp/portage/X11-Protocol-0.52/work/X11-Protocol-0.52]
--| emerge -v fvwm 
Calculating dependencies ...done!
>>> emerge (1 of 3) dev-perl/X11-Protocol-0.52 to /
>>> md5 src_uri ;-) X11-Protocol-0.52.tar.gz
>>> Unpacking source...
>>> Unpacking X11-Protocol-0.52.tar.gz to /var/tmp/portage/X11-Protocol-0.52/work
>>> Source unpacked.
Checking if your kit is complete...
Looks good
'DESTDIR' is not a known MakeMaker parameter name.
Writing Makefile for X11::Protocol
cp Protocol/Ext/XFree86_Misc.pm blib/lib/X11/Protocol/Ext/XFree86_Misc.pm
cp Keysyms.pm blib/lib/X11/Keysyms.pm
cp Protocol/Connection/Socket.pm blib/lib/X11/Protocol/Connection/Socket.pm
cp Protocol/Ext/XC_MISC.pm blib/lib/X11/Protocol/Ext/XC_MISC.pm
cp Protocol/Constants.pm blib/lib/X11/Protocol/Constants.pm
cp Protocol.pm blib/lib/X11/Protocol.pm
cp Protocol/Ext/SHAPE.pm blib/lib/X11/Protocol/Ext/SHAPE.pm
cp Protocol/Ext/BIG_REQUESTS.pm blib/lib/X11/Protocol/Ext/BIG_REQUESTS.pm
cp Auth.pm blib/lib/X11/Auth.pm
cp Protocol/Connection/UNIXSocket.pm blib/lib/X11/Protocol/Connection/UNIXSocket.pm
cp Protocol/Connection/UNIXFH.pm blib/lib/X11/Protocol/Connection/UNIXFH.pm
cp Protocol/Ext/DPMS.pm blib/lib/X11/Protocol/Ext/DPMS.pm
cp Protocol/Connection/INETSocket.pm blib/lib/X11/Protocol/Connection/INETSocket.pm
cp Protocol/Connection/INETFH.pm blib/lib/X11/Protocol/Connection/INETFH.pm
cp Protocol/Connection/FileHandle.pm blib/lib/X11/Protocol/Connection/FileHandle.pm
cp Protocol/Connection.pm blib/lib/X11/Protocol/Connection.pm
Manifying blib/man3/X11::Keysyms.3pm
Manifying blib/man3/X11::Protocol::Ext::XFree86_Misc.3pm
Manifying blib/man3/X11::Protocol::Connection::Socket.3pm
Manifying blib/man3/X11::Protocol.3pm
Manifying blib/man3/X11::Protocol::Ext::XC_MISC.3pm
Manifying blib/man3/X11::Protocol::Ext::SHAPE.3pm
Manifying blib/man3/X11::Protocol::Ext::BIG_REQUESTS.3pm
Manifying blib/man3/X11::Auth.3pm
Manifying blib/man3/X11::Protocol::Connection::UNIXSocket.3pm
Manifying blib/man3/X11::Protocol::Connection::UNIXFH.3pm
Manifying blib/man3/X11::Protocol::Ext::DPMS.3pm
Manifying blib/man3/X11::Protocol::Connection::INETSocket.3pm
Manifying blib/man3/X11::Protocol::Connection::INETFH.3pm
Manifying blib/man3/X11::Protocol::Connection::FileHandle.3pm
Manifying blib/man3/X11::Protocol::Connection.3pm

>>> Install X11-Protocol-0.52 into /var/tmp/portage/X11-Protocol-0.52/image/ category dev-perl
ACCESS DENIED  mkdir:     /usr/lib/perl5/vendor_perl/5.8.0/X11
mkdir /usr/lib/perl5/vendor_perl/5.8.0/X11: Permission denied at /usr/lib/perl5/5.8.0/ExtUtils/Insta
ll.pm line 137
make: *** [pure_vendor_install] Error 255

!!! ERROR: dev-perl/X11-Protocol-0.52 failed.
!!! Function perl-module_src_install, Line 73, Exitcode 2
!!! (no error message)

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-dev-perl_-_X11-Protocol-0.52-27994.log"

mkdir:     /usr/lib/perl5/vendor_perl/5.8.0/X11
--------------------------------------------------------------------------------
--- snap ---

The same problem occurs when installing ebuild perl-tk.


Reproducible: Always
Steps to Reproduce:
1. emerge fvwm


Actual Results:  
Fvwm got not installed.

Expected Results:  
Install fvwm.

Done an 

  emerge sync

before, other programs can be emerged without problems.
Comment 1 Michael Lesniak 2004-05-07 07:24:59 UTC
After reading around a little bit, found out that

  FEATURES="-sandbox" emerge X11-Protocol

works. (Even if I don't know what the sandbox is...)
Comment 2 Eric Sammer (RETIRED) gentoo-dev 2004-05-07 20:32:23 UTC
Do not use "-sandbox" - this is a hack and is bound to cause other problems. Can you please tell us more about what arch this is, is it stable or testing, what use flags you have, and when was the last time you updated world? The output of 'emerge info' would be very helpful. I'm a little surprised that you seem to still be running perl-5.8.0 - 5.8.2 is stable on every arch. It sounds as if you have an old perl and an old ExtUtils-MakeMaker. Update things and try again but DO NOT disable sandbox.
Comment 3 Michael Lesniak 2004-05-08 03:06:49 UTC
After update of perl and MakeMaker emerge runs without any failures.
Thanks for your help.