1 |
Hi! |
2 |
|
3 |
I'm trying to make new GNUStep ebuilds and stepped into a problem. This |
4 |
probably has something to do with the new portage features. I "made" my |
5 |
ebuilds of the latest "unstable" GNUStep (actually just copied older |
6 |
ones to overlay dir and renamed) and tried to merge them |
7 |
|
8 |
Compiling file GSCategories.m ... |
9 |
/root/GNUstep/Headers/gnustep: Permission denied |
10 |
/root/GNUstep/Headers/ix86/linux-gnu: Permission denied |
11 |
/root/GNUstep/Headers: Permission denied |
12 |
|
13 |
As I understand, this is because portage runs compilation under |
14 |
unpriveliged user. Here are my FEATURES flags: |
15 |
|
16 |
FEATURES="sandbox ccache userpriv usersandbox" |
17 |
|
18 |
Well, there is a code in the ebuild: |
19 |
|
20 |
src_compile() { |
21 |
. /usr/GNUstep/System/Makefiles/GNUstep.sh |
22 |
econf \ |
23 |
--with-xml-prefix=/usr \ |
24 |
--with-gmp-include=/usr/include \ |
25 |
--with-gmp-library=/usr/lib || die |
26 |
"./configure failed" |
27 |
make || die |
28 |
} |
29 |
|
30 |
The line calling GNUstep.sh is here (which should set the right |
31 |
environment for the build), but I suppose it's being invoked under the |
32 |
root account, not under the portage account, where the compilation takes |
33 |
place. Is there any way to invoke the script _after_ privileges have |
34 |
been dropped? Or is it time for a patch? |
35 |
|
36 |
Thanks |
37 |
|
38 |
-- |
39 |
May the bluebird of happiness twiddle your bits. |
40 |
|
41 |
-- |
42 |
gentoo-dev@g.o mailing list |