Gentoo Archives: gentoo-osx

From: Brian Harring <ferringb@g.o>
To: gentoo-osx@l.g.o
Subject: Re: [gentoo-osx] PREFIX the next generation...
Date: Thu, 22 Dec 2005 06:58:26
Message-Id: 20051222065723.GB1038@nightcrawler.e-centre.net
In Reply to: Re: [gentoo-osx] PREFIX the next generation... by Grobian
1 On Wed, Dec 21, 2005 at 01:50:20PM +0100, Grobian wrote:
2 > On 20-12-2005 16:09:47 -0800, m h wrote:
3 > > still chugging. Upto 550Megs of memory for configure.... I guess I
4 > > need to see what is really going on here...
5 >
6 > After adding many packages to either package.provided, or just porting
7 > them to EAPI="prefix". (well in fact just adding them and doing a quick
8 > scan for possible problems), I finally got portage giving me a whole
9 > bunch of apps it wanted to emerge on emerge -av system.
10 >
11 > Unfortunately, my luck was spoiled right after removing the -a:
12 >
13 > Do you want me to merge these packages? [Yes/No] y
14 > >>> emerge (1 of 70) sys-devel/patch-2.5.9-r1 to /
15 > !!! Unable to create PORT_LOGDIR
16 > !!!
17 > Traceback (most recent call last):
18 > File "/ufs/fabian/scratch/programs/gentoo/usr/bin/emerge", line 3257, in ?
19 > mydepgraph.merge(pkglist)
20 > File "/ufs/fabian/scratch/programs/gentoo/usr/bin/emerge", line 1951, in merge retval=portage.doebuild(y,"clean",myroot,self.pkgsettings,edebug,cleanup=1,tree="porttree")
21 > File "/net/pegasus.ins.cwi.nl/export/scratch0/fabian/programs/gentoo/usr/lib/portage/pym/portage.py", line 2698, in doebuild
22 > print "!!!",e
23 > UnboundLocalError: local variable 'e' referenced before assignment
24 >
25 >
26 > Do I understand Python's ****** stacktrace correctly if I think this is
27 > an error during an error? I guess figuring out what PORT_LOGDIR should
28 > be will help...
29 That 'UnboundLocalError' is a bug in prefix and trunk (fixed also).
30
31 That said, I'm wondering what perms/privs you're running as. The
32 port_logdir perm resets shouldn't be failing unless you're running as
33 non root and trying to have it modify a dir it lacks privs to...
34 ~harring

Replies

Subject Author
Re: [gentoo-osx] PREFIX the next generation... Brian Harring <ferringb@g.o>