First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 4669
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Ahlberg (RETIRED) <aliz@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jim Marshall <jmarshall99@qwest.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
psh-0.009-r1.ebuild Stock ebuild with one line added which seems to fix this problem text/plain Jim Marshall 2002-07-07 23:10 0000 869 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 4669 depends on: Show dependency tree
Bug 4669 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-07-07 23:08 0000
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 From Jim Marshall 2002-07-07 23:10:05 0000 -------
Created an attachment (id=2024) [details]
Stock ebuild with one line added which seems to fix this problem

------- Comment #2 From Seemant Kulleen (RETIRED) 2002-07-08 08:06:04 0000 -------
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 From Daniel Ahlberg (RETIRED) 2002-07-08 10:52:07 0000 -------
Fixed in psh-0.009-r2.ebuild.

------- Comment #4 From Milo Thurston 2003-01-15 03:56:27 0000 -------
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 From Daniel Ahlberg (RETIRED) 2003-01-17 10:08:27 0000 -------
Fixed, thanks for finding this! 

First Last Prev Next    No search results available      Search page      Enter new bug