Gentoo Archives: gentoo-alt

From: Markus Duft <mduft@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 12:24:20
Message-Id: 012f01c8ee50$923154c0$b693fe40$@org
In Reply to: Re: [gentoo-alt] FW: portage badly broken - is this a prefix issue? by Fabian Groffen
1 >
2 > On 25-07-2008 11:18:55 +0200, Fabian Groffen wrote:
3 > > On 25-07-2008 11:09:00 +0200, Markus Duft wrote:
4 > > > File
5 > "/opt/gentoo.system/usr/lib/portage/pym/_emerge/__init__.py", line
6 > 1567, in __setitem__
7 > > > _PackageMetadataWrapperBase.__setitem__(self, k, v)
8 > > > File
9 > "/opt/gentoo.system/usr/lib/portage/pym/portage/cache/mappings.py",
10 > line 182, in __setitem__
11 > > > setattr(self, self._prefix + k, v)
12 > > > AttributeError: '_PackageMetadataWrapper' object has no attribute
13 > '_val_EPREFIX'
14 > >
15 > > That's a Prefix error, thanks.
16 >
17 > can you quickly try this patch?
18
19 Just FYI some output:
20
21 mduft gentoo.system $ PKGDIR=/dev/fs/D/FtpRoot/BinPackages/default-prefix/windows/interix/6.0/x86/ emerge -avuK zsh
22 WARNING: repository at /opt/gentoo.system/usr/portage/local/layman/wamas-ie is missing a repo_name entry
23
24 These are the packages that would be merged, in order:
25
26 Calculating dependencies... done!
27 [binary N ] app-shells/zsh-4.3.6 USE="(-caps) -doc -examples -maildir -pcre -static (-unicode)" [?]
28
29 Total: 1 package (1 new), Size of downloads: 0 kB
30 Portage tree and overlays:
31 [0] /opt/gentoo.system/usr/portage
32 [?] indicates that the source repository could not be determined
33
34 Would you like to merge these packages? [Yes/No]
35 >>> Extracting (1 of 1) app-shells/zsh-4.3.6 for /
36 * zsh-4.3.6.tbz2 MD5 SHA1 size ;-) ... [ ok ]
37 >>> Extracting info
38 >>> Extracting app-shells/zsh-4.3.6
39 >>> Installing app-shells/zsh-4.3.6 to /
40 * checking 715 files for package collisions
41 * This package will overwrite one or more files that may belong to other
42 * packages (see list below). You can use a command such as `portageq
43 * owners / <filename>` to identify the installed package that owns a
44 * file. If portageq reports that only one package owns a file then do
45 * NOT file a bug report. A bug report is only useful if it identifies at
46 * least two or more packages that are known to install the same file(s).
47 * If a collision occurs and you can not explain where the file came from
48 * then you should simply ignore the collision since there is not enough
49 * information to determine if a real problem exists. Please do NOT file
50 * a bug report at http://bugs.gentoo.org unless you report exactly which
51 * two packages install the same file(s). Once again, please do NOT file
52 * a bug report unless you have completely understood the above message.
53 *
54 * package app-shells/zsh-4.3.6 NOT merged
55 *
56 * Detected file collision(s):
57 *
58 * /opt/gentoo.binary.distribution-interix-6.0/bin/zsh
59 * /opt/gentoo.binary.distribution-interix-6.0/etc/zsh/zprofile
60 * /opt/gentoo.binary.distribution-interix-6.0/usr/share/doc/zsh-4.3.6/ChangeLog.bz2
61 * /opt/gentoo.binary.distribution-interix-6.0/usr/share/doc/zsh-4.3.6/config.modules.bz2
62 * /opt/gentoo.binary.distribution-interix-6.0/usr/share/doc/zsh-4.3.6/META-FAQ.bz2
63 * /opt/gentoo.binary.distribution-interix-6.0/usr/share/doc/zsh-4.3.6/NEWS.bz2
64 * /opt/gentoo.binary.distribution-interix-6.0/usr/share/doc/zsh-4.3.6/README.bz2
65 * /opt/gentoo.binary.distribution-interix-6.0/usr/share/doc/zsh-4.3.6/StartupFiles/zlogin.bz2
66
67 >
68 >
69 > --
70 > Fabian Groffen
71 > Gentoo on a different level