Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 99655 Details for
Bug 151331
portage-2.1.2_pre3 KeyError triggered by blockers
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix the KeyError that's triggered by blockers
blockers.patch (text/plain), 1.36 KB, created by
Zac Medico
on 2006-10-14 06:27:22 UTC
(
hide
)
Description:
fix the KeyError that's triggered by blockers
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2006-10-14 06:27:22 UTC
Size:
1.36 KB
patch
obsolete
>Index: bin/emerge >=================================================================== >--- bin/emerge (revision 4682) >+++ bin/emerge (revision 4683) >@@ -1624,13 +1624,6 @@ > bindb = self.trees[myroot]["bintree"].dbapi > vartree = self.trees[myroot]["vartree"] > pkgsettings = self.pkgsettings[myroot] >- pkgsettings.setcpv(pkg_key, mydb=portdb) >- if pkg_key not in self.useFlags[myroot]: >- if "binary" == pkg_type: >- self.useFlags[myroot][pkg_key] = bindb.aux_get( >- pkg_key, ["USE"])[0].split() >- elif "ebuild" == pkg_type: >- self.useFlags[myroot][pkg_key] = pkgsettings["USE"].split() > > fetch=" " > >@@ -1648,6 +1641,17 @@ > print bad("(is blocking %s)") % block_parents > else: > mydbapi = self.trees[myroot][self.pkg_tree_map[pkg_type]].dbapi >+ pkgsettings.setcpv(pkg_key, mydb=portdb) >+ if pkg_key not in self.useFlags[myroot]: >+ if "ebuild" == pkg_type: >+ if "merge" == x[3] or not vartree.dbapi.cpv_exists(pkg_key): >+ self.useFlags[myroot][pkg_key] = pkgsettings["USE"].split() >+ else: >+ self.useFlags[myroot][pkg_key] = vartree.dbapi.aux_get( >+ pkg_key, ["USE"])[0].split() >+ else: >+ self.useFlags[myroot][pkg_key] = mydbapi.aux_get( >+ pkg_key, ["USE"])[0].split() > if "ebuild" == pkg_type and x[3] != "nomerge" and \ > "fetch" in portdb.aux_get( > x[2], ["RESTRICT"])[0].split():
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 151331
: 99655 |
99685
|
99822
|
99836