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

Bug 436062

Summary: app-portage/g-cpan - perl-gcpan/RT-Extension-Nginx-0.02 - mkdir /usr/etc: Permission denied at /usr/lib64/perl5/vendor_perl/5.16.0/ExtUtils/Install.pm line 483.
Product: Gentoo Linux Reporter: Jeff Kowalczyk <jeff.kowalczyk>
Component: [OLD] DevelopmentAssignee: Robin Johnson <robbat2>
Status: RESOLVED NEEDINFO    
Severity: normal CC: perl, Sergiy.Borodych
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description Jeff Kowalczyk 2012-09-24 04:51:00 UTC
Attempt install of perl-gcpan/RT-Extension-Nginx-0.02, to generate nginx config for rt-4.0.5.

g-cpan generated ebuild and install fails with:

>>> Install RT-Extension-Nginx-0.02 into /var/tmp/portage/perl-gcpan/RT-Extension-Nginx-0.02/image/ category perl-g
cpan
make -j2 install 
Installing /var/tmp/portage/perl-gcpan/RT-Extension-Nginx-0.02/image/usr/lib64/perl5/vendor_perl/5.16.1/RT/Extensio
n/Nginx.pm
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/usr/etc/Extension-Nginx'
Do not have write permissions on '/usr/etc/Extension-Nginx'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 at -e line 1.
make: *** [install] Error 13

Have tried manually pre-creating that directory, similar errors for files to be written within ensue.
Comment 1 Jeff Kowalczyk 2012-09-24 04:51:22 UTC
Created attachment 324766 [details]
build.log
Comment 2 Jeff Kowalczyk 2012-09-24 04:51:36 UTC
Created attachment 324768 [details]
emerge --info
Comment 3 Sergiy Borodych 2015-01-05 20:35:57 UTC
From build.log:
"Warning: prerequisite RT 4.0 not found. Your installed version of RT () is too old."

Do you have RT installed? Which version?
Comment 4 Sergiy Borodych 2016-05-20 07:36:41 UTC
Do you still have a problem on modern stuff? (portage & g-cpan)