Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2952 - Error in balsa-1.3.5-r1.ebuild
Summary: Error in balsa-1.3.5-r1.ebuild
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Seemant Kulleen (RETIRED)
Depends on:
Reported: 2002-05-23 06:29 UTC by José Fonseca
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description José Fonseca 2002-05-23 06:29:02 UTC
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 < ${FILESDIR}/${PF}.diff
Comment 1 José Fonseca 2002-05-23 07:08:43 UTC
The ebuild still has some problems. It seems that "make install" 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': 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': 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'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/balsa-1.3.5-r1/work/balsa-1.3.5/sounds'
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 = "/tmp/sandbox-balsa-1.3.5-r1-22960.log"

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 .
Comment 2 José Fonseca 2002-05-23 17:35:18 UTC
To eliminate the access violation it's necessary to add


to the "make install" line, i.e., it should be

	make \
		prefix=${D}/usr \
		mandir=${D}/usr/share/man \
		gnomeconfdir=${D}/etc \
		gnomedatadir=${D}/usr/share install || die "make install failed"
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-05-25 16:44:44 UTC
Thanks for catching and fixing this :)