Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4669 - Access violation with psh-0.009 ebuild - fix attached
Summary: Access violation with psh-0.009 ebuild - fix attached
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-07 23:08 UTC by Jim Marshall
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments
Stock ebuild with one line added which seems to fix this problem (psh-0.009-r1.ebuild,869 bytes, text/plain)
2002-07-07 23:10 UTC, Jim Marshall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Marshall 2002-07-07 23:08:12 UTC
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.
Comment 1 Jim Marshall 2002-07-07 23:10:05 UTC
Created attachment 2024 [details]
Stock ebuild with one line added which seems to fix this problem
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-08 08:06:04 UTC
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
Comment 3 Daniel Ahlberg (RETIRED) gentoo-dev 2002-07-08 10:52:07 UTC
Fixed in psh-0.009-r2.ebuild.
Comment 4 Milo Thurston 2003-01-15 03:56:27 UTC
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"
Comment 5 Daniel Ahlberg (RETIRED) gentoo-dev 2003-01-17 10:08:27 UTC
Fixed, thanks for finding this!