1 |
On 6 Nov, Alan McKinnon wrote: |
2 |
> On Thursday 06 November 2008 13:53:47 Helmut Jarausch wrote: |
3 |
>> Hi, |
4 |
>> |
5 |
>> I am trying to write an ebuild for media-libs/babl-9999 |
6 |
>> Unfortunately, probably when making docs, it invokes |
7 |
>> inkscape which wants to access and write to |
8 |
>> /root/.config/Inkscape |
9 |
>> |
10 |
>> which probably comes from |
11 |
>> $(HOME)/.config/Inkscape |
12 |
>> |
13 |
>> This violates the sandbox - see below - |
14 |
>> |
15 |
>> What can I do about it? |
16 |
> |
17 |
> Posting the ebuild you are using would be a good start...... |
18 |
> |
19 |
|
20 |
Here it is : (it's simple modification of babl-0.0.22) |
21 |
|
22 |
# Copyright 1999-2008 Gentoo Foundation |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
# $Header: $ |
25 |
|
26 |
inherit eutils subversion |
27 |
|
28 |
DESCRIPTION="Dynamic, any to any, pixel format conversion library" |
29 |
HOMEPAGE="http://www.gegl.org/babl/" |
30 |
#SRC_URI="ftp://ftp.gtk.org/pub/${PN}/0.0/${P}.tar.bz2" |
31 |
|
32 |
ESVN_REPO_URI="http://svn.gnome.org/svn/babl/trunk/" |
33 |
ESVN_PROJECT="${PN}" |
34 |
|
35 |
LICENSE="GPL-2" |
36 |
SLOT="0" |
37 |
KEYWORDS="~amd64 ~x86" |
38 |
IUSE="sse mmx" |
39 |
|
40 |
DEPEND="virtual/libc" |
41 |
|
42 |
S=${WORKDIR}/${PN} |
43 |
|
44 |
src_compile() { |
45 |
./autogen.sh || die "autogen failed" |
46 |
econf $(use_enable mmx) \ |
47 |
$(use_enable sse) \ |
48 |
|| die "econf failed" |
49 |
emake || die "emake failed" |
50 |
} |
51 |
|
52 |
src_install() { |
53 |
emake install DESTDIR=${D} || die "emake install failed" |
54 |
find "${D}" -name '*.la' -delete |
55 |
dodoc AUTHORS COPYING ChangeLog INSTALL README |
56 |
} |
57 |
|
58 |
========================================= |
59 |
|
60 |
The last messages are: ( I have USE=doc ) |
61 |
|
62 |
make[3]: Entering directory `/var/tmp/portage/media-libs/babl-9999/work/babl/doc |
63 |
s/graphics' |
64 |
SVG: babl-a4poster.png [OK] |
65 |
SVG: babl-16x16.png [OK] |
66 |
HTML: BablFishPath.html [OK] |
67 |
SVG: babl-48x48.png [OK] |
68 |
make[3]: Leaving directory `/var/tmp/portage/media-libs/babl-9999/work/babl/docs |
69 |
/graphics' |
70 |
RSS: changelog.rss [OK] |
71 |
HTML: index.html. [OK] |
72 |
[OK] |
73 |
make[2]: Leaving directory `/var/tmp/portage/media-libs/babl-9999/work/babl/docs |
74 |
' |
75 |
make[2]: Entering directory `/var/tmp/portage/media-libs/babl-9999/work/babl' |
76 |
make[2]: Leaving directory `/var/tmp/portage/media-libs/babl-9999/work/babl' |
77 |
make[1]: Leaving directory `/var/tmp/portage/media-libs/babl-9999/work/babl' |
78 |
>>> Source compiled. |
79 |
--------------------------- ACCESS VIOLATION SUMMARY --------------------------- |
80 |
LOG FILE = "/var/log/sandbox/sandbox-29334.log" |
81 |
|
82 |
mkdir: /root/.config/Inkscape |
83 |
open_wr: /root/.config/Inkscape/extension-errors.log |
84 |
mkdir: /root/.config/Inkscape |
85 |
open_wr: /root/.config/Inkscape/extension-errors.log |
86 |
mkdir: /root/.config/Inkscape |
87 |
open_wr: /root/.config/Inkscape/extension-errors.log |
88 |
|
89 |
|
90 |
Many thanks for any hints, |
91 |
Helmut. |
92 |
|
93 |
-- |
94 |
Helmut Jarausch |
95 |
|
96 |
Lehrstuhl fuer Numerische Mathematik |
97 |
RWTH - Aachen University |
98 |
D 52056 Aachen, Germany |