<?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>2952</bug_id>
          
          <creation_ts>2002-05-23 06:29 0000</creation_ts>
          <short_desc>Error in balsa-1.3.5-r1.ebuild</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>GNOME</component>
          <version>1.1a</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>j_r_fonseca@yahoo.co.uk</reporter>
          <assigned_to>seemant@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>j_r_fonseca@yahoo.co.uk</who>
            <bug_when>2002-05-23 06:29:02 0000</bug_when>
            <thetext>The balsa-1.3.5-r1 ebuild fails to patch the source because it tries to use the
balsa-1.3.5.patch instead of the balsa-1.3.5-r1.patch.

The solution is either to rename the diff or use ${PF} instead of ${P} in line 30:

    patch -p0 &lt; ${FILESDIR}/${PF}.diff</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>j_r_fonseca@yahoo.co.uk</who>
            <bug_when>2002-05-23 07:08:43 0000</bug_when>
            <thetext>The ebuild still has some problems. It seems that &quot;make install&quot; attempts to
write outside the sandbox:

/bin/sh ../mkinstalldirs /etc/sound/events
 /bin/install -c -m 644 ./balsa.soundlist /etc/sound/events/balsa.soundlist
ACCESS DENIED  unlink:    /etc/sound/events/balsa.soundlist
/bin/install: cannot remove `/etc/sound/events/balsa.soundlist&apos;: Permission denied
 /bin/install -c -m 644 ./email.soundlist /etc/sound/events/email.soundlist
ACCESS DENIED  unlink:    /etc/sound/events/email.soundlist
/bin/install: cannot remove `/etc/sound/events/email.soundlist&apos;: Permission denied
make[2]: *** [install-soundlistDATA] Error 1
make[2]: Leaving directory `/var/tmp/portage/balsa-1.3.5-r1/work/balsa-1.3.5/sounds&apos;
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/balsa-1.3.5-r1/work/balsa-1.3.5/sounds&apos;
make: *** [install-recursive] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_install, Line 4, Exitcode 2
!!! make install failed

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = &quot;/tmp/sandbox-balsa-1.3.5-r1-22960.log&quot;

unlink:    /etc/sound/events/balsa.soundlist
unlink:    /etc/sound/events/email.soundlist
--------------------------------------------------------------------------------
!!! emerge aborting on  /usr/portage/net-mail/balsa/balsa-1.3.5-r1.ebuild .</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>j_r_fonseca@yahoo.co.uk</who>
            <bug_when>2002-05-23 17:35:18 0000</bug_when>
            <thetext>To eliminate the access violation it&apos;s necessary to add

  gnomeconfdir=${D}/etc

to the &quot;make install&quot; line, i.e., it should be

	make \
		prefix=${D}/usr \
		mandir=${D}/usr/share/man \
		gnomeconfdir=${D}/etc \
		gnomedatadir=${D}/usr/share install || die &quot;make install failed&quot;
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seemant@gentoo.org</who>
            <bug_when>2002-05-25 16:44:44 0000</bug_when>
            <thetext>Thanks for catching and fixing this :)</thetext>
          </long_desc>
      
    </bug>

</bugzilla>