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
Created attachment 213 [details] xpaint-2.6.2.ebuild (fixed ebuild)
applied fixes