<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>4669</bug_id>
          
          <creation_ts>2002-07-07 23:08 0000</creation_ts>
          <short_desc>Access violation with psh-0.009 ebuild - fix attached</short_desc>
          <delta_ts>2003-02-04 19:42:18 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jmarshall99@qwest.net</reporter>
          <assigned_to>aliz@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>jmarshall99@qwest.net</who>
            <bug_when>2002-07-07 23:08:12 0000</bug_when>
            <thetext>Trying to &quot;emerge psh&quot; 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 = &quot;/tmp/sandbox-psh-0.009-r1-20451.log&quot;

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 &quot;INSTALLMAN1DIR=${D}/usr/share/man/man1         \&quot; to my local ebuild, 
below the equivalent INSTALLMAN3DIR line. I have attached a copy of the ebuild 
modified in this way.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jmarshall99@qwest.net</who>
            <bug_when>2002-07-07 23:10:05 0000</bug_when>
            <thetext>Created an attachment (id=2024)
Stock ebuild with one line added which seems to fix this problem
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seemant@gentoo.org</who>
            <bug_when>2002-07-08 08:06:04 0000</bug_when>
            <thetext>Aliz,

Please be sure to check your ebuilds with repoman.  Also, the Author: line in
the psh ebuild should not exist.  And don&apos;t forget to update the ChangeLog, baby</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aliz@gentoo.org</who>
            <bug_when>2002-07-08 10:52:07 0000</bug_when>
            <thetext>Fixed in psh-0.009-r2.ebuild.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>thurston@atm.ox.ac.uk</who>
            <bug_when>2003-01-15 03:56:27 0000</bug_when>
            <thetext>Access violations are still happening with the latest ebuild. Details are below:

&gt;&gt;&gt; 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 = &quot;/tmp/sandbox-psh-0.009-r2-14759.log&quot;

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=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=athlon-mp -O3 -pipe -fomit-frame-pointer&quot;
CXXFLAGS=&quot;-march=athlon-mp -O3 -pipe -fomit-frame-pointer&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aliz@gentoo.org</who>
            <bug_when>2003-01-17 10:08:27 0000</bug_when>
            <thetext>Fixed, thanks for finding this! </thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>2024</attachid>
            <date>2002-07-07 23:10 0000</date>
            <desc>Stock ebuild with one line added which seems to fix this problem</desc>
            <filename>psh-0.009-r1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDAwIEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlL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