Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3322 - sandbox violations in alsaplayer-0.99.70 ebuild
Summary: sandbox violations in alsaplayer-0.99.70 ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-02 04:44 UTC by Ryan Shaw
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Shaw 2002-06-02 04:44:47 UTC
emerge alsaplayer is failing with the following sandbox violations:

Making install in docs
make[1]: Entering directory
`/var/tmp/portage/alsaplayer-0.99.70/work/alsaplayer-0.99.70/docs'
make[2]: Entering directory
`/var/tmp/portage/alsaplayer-0.99.70/work/alsaplayer-0.99.70/docs'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/share/doc/alsaplayer/reference/html
mkdir /usr/share/doc/alsaplayer
ACCESS DENIED  mkdir:     /usr/share/doc/alsaplayer
mkdir: cannot create directory `/usr/share/doc/alsaplayer': Permission denied
mkdir /usr/share/doc/alsaplayer/reference
ACCESS DENIED  mkdir:     /usr/share/doc/alsaplayer/reference
mkdir: cannot create directory `/usr/share/doc/alsaplayer/reference': Permission
denied
mkdir /usr/share/doc/alsaplayer/reference/html
ACCESS DENIED  mkdir:     /usr/share/doc/alsaplayer/reference/html
mkdir: cannot create directory `/usr/share/doc/alsaplayer/reference/html':
Permission denied
make[2]: *** [install-data-local] Error 1
make[2]: Leaving directory
`/var/tmp/portage/alsaplayer-0.99.70/work/alsaplayer-0.99.70/docs'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory
`/var/tmp/portage/alsaplayer-0.99.70/work/alsaplayer-0.99.70/docs'
make: *** [install-recursive] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_install, Line 5, Exitcode 2
!!! (no error message)

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-alsaplayer-0.99.70-1547.log"

mkdir:     /usr/share/doc/alsaplayer
mkdir:     /usr/share/doc/alsaplayer/reference
mkdir:     /usr/share/doc/alsaplayer/reference/html
--------------------------------------------------------------------------------
!!! emerge aborting on 
/usr/portage/media-sound/alsaplayer/alsaplayer-0.99.70.ebuild .
Comment 1 Ryan Shaw 2002-06-02 23:05:39 UTC
Adding a line for DOC_DIR to src_install fixes this:

src_install() {

        make \
                prefix=${D}/usr \
                mandir=${D}/usr/share/man \
                DOC_DIR=${D}/usr/share/doc/${PV} \
                install || die

        dodoc AUTHORS COPYING ChangeLog README TODO
        dodoc docs/sockmon.txt docs/wishlist.txt
}
Comment 2 Ryan Shaw 2002-06-02 23:07:02 UTC
Sorry, that should be ${P}, not ${PV} in the fix I just posted.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-04 05:09:07 UTC
ok, this should now work as expected.