1 |
In my very short ebuild experience, I have seen these sandbox violations |
2 |
in two cases: |
3 |
|
4 |
1) If I forgot to add the ${D} prefix to the directory specifications in |
5 |
src_install() or did not set DESTDIR properly. |
6 |
|
7 |
2) The program's Makefile ignores ${DESTDIR}. This is quite common when |
8 |
/etc is involved. If you will take a look at the dev-db/unixODBC |
9 |
ebuild, you will see that the Makefile.in is modified to add ${DESTDIR} |
10 |
in front of the /etc directory to fix this. |
11 |
|
12 |
Avi |
13 |
|
14 |
On Mon, 2002-04-29 at 12:19, jurquijo@××××.org wrote: |
15 |
> Can anyone point me to a doc or mailing list post that describes sandbox |
16 |
> violations? |
17 |
> |
18 |
> I've written an ebuild for imwheel and it used to work/install fine on a |
19 |
> gentoo rc6 system I had installed. |
20 |
> |
21 |
> Trying to install the same ebuild on a recently built system fails with a |
22 |
> "sandbox violation" when the ebuild tries to create /etc/imwheelrc. |
23 |
> |
24 |
> I thought that in all steps prior to the "merge" command, ebuilds were |
25 |
> built in a "safe" temporary environment before being copied to the live |
26 |
> filesystem. |
27 |
-- |
28 |
Avi Schwartz |
29 |
avi@×××××××××××××××.com |