Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] FW: portage badly broken - is this a prefix issue?
Date: Fri, 25 Jul 2008 21:07:33
Message-Id: 20080725210728.GI17546@gentoo.org
In Reply to: RE: [gentoo-alt] FW: portage badly broken - is this a prefix issue? by Markus Duft
1 On 25-07-2008 14:02:55 +0200, Markus Duft wrote:
2 > >
3 > > On 25-07-2008 11:18:55 +0200, Fabian Groffen wrote:
4 > > > On 25-07-2008 11:09:00 +0200, Markus Duft wrote:
5 > > > > File
6 > > "/opt/gentoo.system/usr/lib/portage/pym/_emerge/__init__.py", line
7 > > 1567, in __setitem__
8 > > > > _PackageMetadataWrapperBase.__setitem__(self, k, v)
9 > > > > File
10 > > "/opt/gentoo.system/usr/lib/portage/pym/portage/cache/mappings.py",
11 > > line 182, in __setitem__
12 > > > > setattr(self, self._prefix + k, v)
13 > > > > AttributeError: '_PackageMetadataWrapper' object has no attribute
14 > > '_val_EPREFIX'
15 > > >
16 > > > That's a Prefix error, thanks.
17 > >
18 > > can you quickly try this patch?
19 >
20 > Cool, this one gets me much further...
21
22 Ok, I'll apply that one
23
24 > HOWEVER: it seems that portage checks for file collisions at the wrong moment. It seems to check with the full path of the source prefix (not the one I'm trying to merge to, but the one that built the binpkg!). since I'm on the same machine, this results in an error... portage thinks that he will overwrite files...
25
26 Need to look at that. Thanks
27
28
29 --
30 Fabian Groffen
31 Gentoo on a different level