1 |
On Mon, 2008-02-04 at 21:45 +0100, Fabian Groffen wrote: |
2 |
> On 04-02-2008 19:48:28 +0000, Alan Hourihane wrote: |
3 |
> > > > > Do I understand correctly if I say that you set UNIXMODE in your |
4 |
> > > > > environment, call portage and that you find that the |
5 |
> > > > > compilation/installation doesn't seem to have UNIXMODE set? |
6 |
> > > > |
7 |
> > > > Yes. I've fixed this currently with adding |
8 |
> > > > |
9 |
> > > > export UNIXMODE=.... |
10 |
> > > > |
11 |
> > > > at the top of ebuild.sh |
12 |
> > > |
13 |
> > > Ok, that's a crude hack, I'll ask around to see how we can do this |
14 |
> > > properly. |
15 |
> > |
16 |
> > Right, please do, I'd love to hear the correct solution. |
17 |
> |
18 |
> Could you add the following to your etc/portage/bashrc: |
19 |
> |
20 |
> echo EBUILD_PHASE=${EBUILD_PHASE} UNIXMODE=${UNIXMODE} |
21 |
> |
22 |
> Remove your hack and set UNIXMODE in etc/make.conf |
23 |
> |
24 |
> Then run portage, and check if the var is set. Also, during |
25 |
> compilation, it should be stored in the environment file in the "temp" |
26 |
> dir of your var/tmp/portage/cat/pkg/. |
27 |
|
28 |
O.k. it is there on the echo, but something is removing it in the |
29 |
ebuild.sh script as it's failed again. I'm pretty sure it's the |
30 |
filter_readonly_variables() doing it, then it puts it back when it |
31 |
sources the environment later. |
32 |
|
33 |
But that's too late, because if UNIXMODE is removed I lose, and sed |
34 |
breaks. |
35 |
|
36 |
Alan. |
37 |
|
38 |
-- |
39 |
gentoo-alt@l.g.o mailing list |