Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 774

Summary: emerge xpaint-2.6.2 gives sandbox violation
Product: Gentoo Linux Reporter: mikepolniak <mikpolniak>
Component: New packagesAssignee: Geert Bevin <gbevin>
Status: RESOLVED FIXED    
Severity: normal CC: mikpolniak
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: xpaint-2.6.2.ebuild (fixed ebuild)

Description mikepolniak 2002-02-19 17:06:47 UTC
emerge media-gfx/xpaint-2.6.2.ebuild gives sandbox violation:

install -c   xpaint /usr/bin/xpaint
ACCESS DENIED  open_wr:   /usr/bin/xpaint
install: cannot create regular file /usr/bin/xpaint': Permission denied
make: *** [install] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_install, Line 2, Exitcode 2
!!! (no error message)
-----------------------------------------
the original ebuild has the following:
src_install () {

        make install || die
        make install.man
        dodoc ChangeLog INSTALL README README.PNG README.old TODO
}
-----------------------------------
this should be changed to:
src_install () {

        make DESTDIR=${D} install || die
        make DESTDIR=${D} install.man   
        dodoc ChangeLog INSTALL README README.PNG README.old TODO

}
-------------------------
and in files/Local.config-2.6.2.diff
the line for MANDIR should be changed to:

! MANDIR = /usr/share/man/man1
Comment 1 mikepolniak 2002-02-19 17:12:55 UTC
Created attachment 213 [details]
xpaint-2.6.2.ebuild (fixed ebuild)
Comment 2 Geert Bevin 2002-03-18 02:12:29 UTC
applied fixes