This is for the source navigator environment. It has the tar file hardcoded, as they seem to follow a "date" convention for their releases. When I figure out how to attach, will do that versus a cut/paste: file: dev-util/snavigator/snavigator-5.0.ebuild # Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Charles Kerr <charles@kerrskorner.org> # /space/gentoo/cvsroot/gentoo-x86/skel.build,v 1.11 2001/12/06 22:12:34 drobbins Exp S=${WORKDIR}/build DESCRIPTION="Source-Navigator is a source code analysis tool" SRC_URI="http://mirrors.rcn.com/pub/sourceware/sourcenav/releases/SN50-010322-source.tar.gz" HOMEPAGE="http://sources.redhat.com/sourcenav/" DEPEND="" #RDEPEND="" src_unpack() { mkdir build unpack ${A} } src_compile() { ../source/configure \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man || die "../source/configure failed" emake all-snavigator || die #make || die } src_install () { make DESTDIR=${D} install-snavigator || die }
There are sandbox violations during the creation of /usr/share/sdk/lib, attached current cleaned up ebuild. # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author: Charles Kerr <charles@kerrskorner.org> # $ Header: $ S=${WORKDIR}/build DESCRIPTION="Source-Navigator is a source code analysis tool" SRC_URI="http://mirrors.rcn.com/pub/sourceware/sourcenav/releases/SN50-010322-source.tar.gz" HOMEPAGE="http://sources.redhat.com/sourcenav/" DEPEND=">=sys-libs/glibc-2.2.4" src_unpack() { mkdir build unpack ${A} } src_compile() { ../source/configure \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man || die "../source/configure failed" emake all-snavigator || die } src_install () { make DESTDIR=${D} install-snavigator || die }
These are the related errors : >>> Install snavigator-5.0 into /var/tmp/portage/snavigator-5.0/image/ category dev-util /bin/sh ../source/mkinstalldirs /usr /usr make[1]: Entering directory `/var/tmp/portage/snavigator-5.0/work/build/snavigator' Making install in misc make[2]: Entering directory `/var/tmp/portage/snavigator-5.0/work/build/snavigator/misc' Making install in libutils make[3]: Entering directory `/var/tmp/portage/snavigator-5.0/work/build/snavigator/misc/libutils' make[4]: Entering directory `/var/tmp/portage/snavigator-5.0/work/build/snavigator/misc/libutils' make[4]: Nothing to be done for `install-exec-am'. /bin/sh ../../../../source/snavigator/mkinstalldirs /usr/share/sdk/lib mkdir /usr/share/sdk mkdir /usr/share/sdk/lib make[4]: *** [install-sdkLIBRARIES] Error 1 make[4]: Leaving directory `/var/tmp/portage/snavigator-5.0/work/build/snavigator/misc/libutils' make[3]: *** [install-am] Error 2 make[3]: Leaving directory `/var/tmp/portage/snavigator-5.0/work/build/snavigator/misc/libutils' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/snavigator-5.0/work/build/snavigator/misc' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/snavigator-5.0/work/build/snavigator' make: *** [install-snavigator] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_install, Line 3, Exitcode 2 !!! (no error message) --------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox-snavigator-5.0-17600.log" mkdir: /usr/share/sdk mkdir: /usr/share/sdk/lib --------------------------------------------------------------------------------
This was the last time I do this ! Next time check an ebuild with the sandbox before submitting it. Any sandbox violation in the future when I try an ebuild out, will just cause me to stop working on it and ask the submitter to fix things. The enabled the sandbox just add 'sandbox' to the MAINTAINER var in /etc/make.conf.