* Re: [gentoo-dev] ebuild failing with sandbox violation
2002-04-29 17:19 [gentoo-dev] ebuild failing with sandbox violation jurquijo
@ 2002-04-29 17:16 ` Avi Schwartz
0 siblings, 0 replies; 2+ messages in thread
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 [flat|nested] 2+ messages in thread
* [gentoo-dev] ebuild failing with sandbox violation
@ 2002-04-29 17:19 jurquijo
2002-04-29 17:16 ` Avi Schwartz
0 siblings, 1 reply; 2+ messages in thread
From: jurquijo @ 2002-04-29 17:19 UTC (permalink / raw
To: gentoo-dev
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.
Has something changed radically in emerge/ebuild?
TIA,
Julian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-29 17:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-29 17:19 [gentoo-dev] ebuild failing with sandbox violation jurquijo
2002-04-29 17:16 ` Avi Schwartz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox