Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 98425 Details for
Bug 149576
TypeError: unsubscriptable object when emerging certain ebuilds using ~cat/pkg
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
don't try to call best_match_to_list() on "blocks" nodes
blocks.patch (text/plain), 1.40 KB, created by
Zac Medico
on 2006-09-29 21:09:28 UTC
(
hide
)
Description:
don't try to call best_match_to_list() on "blocks" nodes
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2006-09-29 21:09:28 UTC
Size:
1.40 KB
patch
obsolete
>Index: bin/emerge >=================================================================== >--- bin/emerge (revision 4565) >+++ bin/emerge (revision 4566) >@@ -715,6 +715,12 @@ > > self.spinner.update() > mytype,myroot,mykey=mybigkey >+ if mytype == "blocks": >+ if addme and "--buildpkgonly" not in self.myopts and myparent: >+ mybigkey[1] = myparent.split()[1] >+ self.digraph.addnode(" ".join(mybigkey), myparent, >+ soft_dep=soft_dep) >+ return 1 > if not arg: > arg = portage.best_match_to_list(mykey, self.args_keys) > # select the correct /var database that we'll be checking against >@@ -725,19 +731,9 @@ > > # if the package is already on the system, we add a "nomerge" > # directive, otherwise we add a "merge" directive. >- >- if mytype=="blocks": >- """ We ignore blocks unless the package that is blocked is installed >- We need to check vardbapi as well as the current depgraph for it. >- Blocks are fatal if buildpkgonly is set. """ >- if addme and "--buildpkgonly" not in self.myopts and myparent: >- mybigkey[1] = myparent.split()[1] >- self.digraph.addnode(" ".join(mybigkey), myparent, >- soft_dep=soft_dep) >- return 1 >- else: >- mydbapi = self.trees[myroot][self.pkg_tree_map[mytype]].dbapi > >+ mydbapi = self.trees[myroot][self.pkg_tree_map[mytype]].dbapi >+ > if myuse is None: > self.pkgsettings[myroot].setcpv(mykey) > myuse = self.pkgsettings[myroot]["USE"].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 149576
: 98425