* Re: [gentoo-dev] ebuild failing with sandbox violation
@ 2002-04-29 17:16 99% ` Avi Schwartz
0 siblings, 0 replies; 1+ results
From: Avi Schwartz @ 2002-04-29 17:16 UTC (permalink / raw
To: gentoo-dev
In my very short ebuild experience, I have seen these sandbox violations
in two cases:
1) If I forgot to add the ${D} prefix to the directory specifications in
src_install() or did not set DESTDIR properly.
2) The program's Makefile ignores ${DESTDIR}. This is quite common when
/etc is involved. If you will take a look at the dev-db/unixODBC
ebuild, you will see that the Makefile.in is modified to add ${DESTDIR}
in front of the /etc directory to fix this.
Avi
On Mon, 2002-04-29 at 12:19, jurquijo@nyso.org wrote:
> Can anyone point me to a doc or mailing list post that describes sandbox
> violations?
>
> I've written an ebuild for imwheel and it used to work/install fine on a
> gentoo rc6 system I had installed.
>
> Trying to install the same ebuild on a recently built system fails with a
> "sandbox violation" when the ebuild tries to create /etc/imwheelrc.
>
> I thought that in all steps prior to the "merge" command, ebuilds were
> built in a "safe" temporary environment before being copied to the live
> filesystem.
--
Avi Schwartz
avi@CFFtechnologies.com
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2002-04-29 17:19 [gentoo-dev] ebuild failing with sandbox violation jurquijo
2002-04-29 17:16 99% ` Avi Schwartz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox