From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1EpKTd-0004fc-7h for garchives@archives.gentoo.org; Thu, 22 Dec 2005 07:03:01 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBM72adV012531; Thu, 22 Dec 2005 07:02:36 GMT Received: from cubert.e-centre.net (morbo.e-centre.net [66.154.82.3]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBM72Zjv025125 for <gentoo-osx@lists.gentoo.org>; Thu, 22 Dec 2005 07:02:36 GMT Received: from [10.3.1.19] (helo=barracuda2.stayonline.net) by cubert.e-centre.net with esmtp (Exim 4.50) id 1EpKTD-0000yj-Bq for gentoo-osx@lists.gentoo.org; Thu, 22 Dec 2005 02:02:35 -0500 X-ASG-Debug-ID: 1135234954-11795-4-0 X-Barracuda-URL: http://10.3.1.19:8000/cgi-bin/mark.cgi Received: from et-pdx-2.site.stayonline.net (unknown [65.200.64.131]) by barracuda2.stayonline.net (Spam Firewall) with ESMTP id E7547C6EB3 for <gentoo-osx@lists.gentoo.org>; Thu, 22 Dec 2005 02:02:34 -0500 (EST) Received: from nightcrawler ([172.16.1.202]) by et-pdx-2.site.stayonline.net (8.12.6/8.12.6) with ESMTP id jBM72M5j029114 for <gentoo-osx@lists.gentoo.org>; Thu, 22 Dec 2005 07:02:22 GMT Date: Wed, 21 Dec 2005 23:02:00 -0800 From: Brian Harring <ferringb@gentoo.org> To: gentoo-osx@lists.gentoo.org X-ASG-Orig-Subj: Re: [gentoo-osx] PREFIX the next generation... Subject: Re: [gentoo-osx] PREFIX the next generation... Message-ID: <20051222070159.GA5796@nightcrawler.e-centre.net> References: <e36b84ee0512191733r1b693da5i8d1924bd6694f12@mail.gmail.com> <20051220063230.GC29216@gentoo.org> <20051220092358.GE17488@gentoo.org> <e36b84ee0512201211h20f30aa5ya00491139d2e758d@mail.gmail.com> <20051220205355.GD583@gentoo.org> <e36b84ee0512201500y7a772a88ibe62bb8d18b96b24@mail.gmail.com> <e36b84ee0512201520n7d12959anb1043e253e448335@mail.gmail.com> <e36b84ee0512201609k787631d2o9b6072aa4dc426c1@mail.gmail.com> <20051221125020.GI6329@gentoo.org> <20051222065723.GB1038@nightcrawler.e-centre.net> Precedence: bulk List-Post: <mailto:gentoo-osx@lists.gentoo.org> List-Help: <mailto:gentoo-osx+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-osx+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-osx+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-osx.gentoo.org> X-BeenThere: gentoo-osx@gentoo.org Reply-to: gentoo-osx@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CUfgB8w4ZwR/yMy5" Content-Disposition: inline In-Reply-To: <20051222065723.GB1038@nightcrawler.e-centre.net> User-Agent: Mutt/1.5.11 X-Virus-Scanned: by Barracuda Spam Firewall at stayonline.net X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=4.0 tests= X-Barracuda-Spam-Report: Code version 3.02, rules version 3.0.6538 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Archives-Salt: 167321e2-74d0-4983-89a6-8dd3f06d3898 X-Archives-Hash: 6c4e2455b517ff8f244fea830e0d78e0 --CUfgB8w4ZwR/yMy5 Content-Type: multipart/mixed; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=utf8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 21, 2005 at 10:57:23PM -0800, Brian Harring wrote: > On Wed, Dec 21, 2005 at 01:50:20PM +0100, Grobian wrote: > > Do you want me to merge these packages? [Yes/No] y > > >>> emerge (1 of 70) sys-devel/patch-2.5.9-r1 to / > > !!! Unable to create PORT_LOGDIR > > !!! > > Traceback (most recent call last): > > File "/ufs/fabian/scratch/programs/gentoo/usr/bin/emerge", line 3257,= in ? > > mydepgraph.merge(pkglist) > > File "/ufs/fabian/scratch/programs/gentoo/usr/bin/emerge", line 1951,= in merge retval=3Dportage.doebuild(y,"clean",myroot,self.pkgsettings,ed= ebug,cleanup=3D1,tree=3D"porttree") > > File "/net/pegasus.ins.cwi.nl/export/scratch0/fabian/programs/gentoo/= usr/lib/portage/pym/portage.py", line 2698, in doebuild > > print "!!!",e > > UnboundLocalError: local variable 'e' referenced before assignment > >=20 > >=20 > > Do I understand Python's ****** stacktrace correctly if I think this is > > an error during an error? I guess figuring out what PORT_LOGDIR should > > be will help... > That 'UnboundLocalError' is a bug in prefix and trunk (fixed also). attached the patch for this fix this time around also. ~harring --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=utf8 Content-Disposition: attachment; filename=patch Index: pym/portage.py =================================================================== --- pym/portage.py (revision 2436) +++ pym/portage.py (revision 2437) @@ -2700,7 +2700,7 @@ if not os.access(mysettings["PORT_LOGDIR"],os.F_OK): try: os.mkdir(mysettings["PORT_LOGDIR"]) - except OSError: + except OSError, e: print "!!! Unable to create PORT_LOGDIR" print "!!!",e if os.access(mysettings["PORT_LOGDIR"]+"/",os.W_OK): --tThc/1wpZn/ma/RB-- --CUfgB8w4ZwR/yMy5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDqk9nvdBxRoA3VU0RAr9oAKDf4qrRdT/GhEOY058i/zECDIfWmACgsSWn qyxUno7z8IQeaI2ruTjigSQ= =2549 -----END PGP SIGNATURE----- --CUfgB8w4ZwR/yMy5-- -- gentoo-osx@gentoo.org mailing list