Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 33111 Details for
Bug 8810
`emerge -p` and virtual/ results in weird output
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for || and virtuals for 2.0.51_pre10
2.0.51_pre10-empty-fakedb.patch (text/plain), 1.43 KB, created by
Jason Stubbs (RETIRED)
on 2004-06-11 19:16:24 UTC
(
hide
)
Description:
Fix for || and virtuals for 2.0.51_pre10
Filename:
MIME Type:
Creator:
Jason Stubbs (RETIRED)
Created:
2004-06-11 19:16:24 UTC
Size:
1.43 KB
patch
obsolete
>--- emerge 2004-06-12 11:04:58.000000000 +0900 >+++ emerge.new 2004-06-12 11:04:01.119892440 +0900 >@@ -749,12 +749,16 @@ > #for --update, we want to rebuild an entire empty tree of dependencies, and then we won't merge was is already merged. > self.mydbapi["/"]=self.fakedbapi > else: >- self.mydbapi["/"]=portage.db["/"]["vartree"].dbapi >+ self.mydbapi["/"]=portage.fakedbapi() >+ for pkg in portage.db["/"]["vartree"].getallcpv(): >+ self.mydbapi["/"].cpv_inject(pkg) > if portage.root!="/": > if "empty" in myparams: > self.mydbapi[portage.root]=self.fakedbapi > else: >- self.mydbapi[portage.root]=portage.db[portage.root]["vartree"].dbapi >+ self.mydbapi[portage.root]=portage.fakedbapi() >+ for pkg in portage.db[portage.root]["vartree"].getallcpv(): >+ self.mydbapi[portage.root].cpv_inject(pkg) > > if "--usepkg" in myopts: > try: >@@ -823,9 +827,18 @@ > merging=2 > if merging==1: > mybigkey.append("merge") >+ self.mydbapi[myroot].cpv_inject(mykey) >+ > else: > mybigkey.append("nomerge") >- >+ >+ virts = portage.db[myroot]["porttree"].dbapi.aux_get(mykey, ["PROVIDE"])[0].split() >+ cp = portage.dep_getkey(mykey) >+ for virt in virts: >+ while cp in portage.virts[virt]: >+ portage.virts[virt].remove(cp) >+ portage.virts[virt].insert(0, cp) >+ > # whatever the case, we need to add the node to our digraph so > # that children can depend upon it. > self.digraph.addnode(string.join(mybigkey),myparent)
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 8810
:
33110
|
33111
|
33129