Trying to "emerge psh" with recent versions of portage fails, for me at least While the ebuild is trying to copy over some documentation, these errors show up: --------------------------------------------------------------------- Installing /var/tmp/portage/psh-0.009- r1/image/usr/lib/perl5/site_perl/5.6.1/Psh/Builtins/Fallback/Ls.pm ACCESS DENIED open_wr: /usr/share/man/man1/pshdevel.pod1 Installing /usr/share/man/man1/pshdevel.pod1 ACCESS DENIED utime: /usr/share/man/man1/pshdevel.pod1 ACCESS DENIED chmod: /usr/share/man/man1/pshdevel.pod1 ACCESS DENIED open_wr: /usr/share/man/man1/psh.pod1 Installing /usr/share/man/man1/psh.pod1 ACCESS DENIED utime: /usr/share/man/man1/psh.pod1 ACCESS DENIED chmod: /usr/share/man/man1/psh.pod1 Installing /var/tmp/portage/psh-0.009- r1/image/usr/share/man/man3/Psh::Locale::Base.3pm --------------------------------------------------------------------------- The ebuild fails, and reports: --------------------------- ACCESS VIOLATION SUMMARY -------------------------- - LOG FILE = "/tmp/sandbox-psh-0.009-r1-20451.log" open_wr: /usr/share/man/man1/pshdevel.pod1 utime: /usr/share/man/man1/pshdevel.pod1 chmod: /usr/share/man/man1/pshdevel.pod1 open_wr: /usr/share/man/man1/psh.pod1 utime: /usr/share/man/man1/psh.pod1 chmod: /usr/share/man/man1/psh.pod1 ------------------------------------------------------------------------------- - (The contents of the referenced log file are the same as above -- open_wr:, etc) I was able to fix this, on my system at least, by adding the line "INSTALLMAN1DIR=${D}/usr/share/man/man1 \" to my local ebuild, below the equivalent INSTALLMAN3DIR line. I have attached a copy of the ebuild modified in this way.
Created attachment 2024 [details] Stock ebuild with one line added which seems to fix this problem
Aliz, Please be sure to check your ebuilds with repoman. Also, the Author: line in the psh ebuild should not exist. And don't forget to update the ChangeLog, baby
Fixed in psh-0.009-r2.ebuild.
Access violations are still happening with the latest ebuild. Details are below: >>> Install psh-0.009-r2 into /var/tmp/portage/psh-0.009-r2/image/ category app-shells ACCESS DENIED open_wr: /usr/lib/perl5/site_perl/5.8.0/Psh.pm Installing /usr/lib/perl5/site_perl/5.8.0/Psh.pm ACCESS DENIED chmod: /usr/lib/perl5/site_perl/5.8.0/Psh.pm ACCESS DENIED mkdir: /usr/lib/perl5/site_perl/5.8.0/Psh mkdir /usr/lib/perl5/site_perl/5.8.0/Psh: Permission denied at /usr/lib/perl5/5.8.0/ExtUtils/Install.pm line 136 make: *** [pure_site_install] Error 255 !!! ERROR: app-shells/psh-0.009-r2 failed. !!! Function src_install, Line 23, Exitcode 2 !!! (no error message) --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-psh-0.009-r2-14759.log" open_wr: /usr/lib/perl5/site_perl/5.8.0/Psh.pm chmod: /usr/lib/perl5/site_perl/5.8.0/Psh.pm mkdir: /usr/lib/perl5/site_perl/5.8.0/Psh -------------------------------------------------------------------------------- USE flags are: sse gnome tcltk aalib esd imap (plus the defaults) CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer"
Fixed, thanks for finding this!