Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 33129 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]
Fixes bug and slightly clearer logic (2.0.51_pre10)
2.0.51_pre10-empty-fakedb.patch (text/plain), 1.64 KB, created by
Jason Stubbs (RETIRED)
on 2004-06-12 02:21:18 UTC
(
hide
)
Description:
Fixes bug and slightly clearer logic (2.0.51_pre10)
Filename:
MIME Type:
Creator:
Jason Stubbs (RETIRED)
Created:
2004-06-12 02:21:18 UTC
Size:
1.64 KB
patch
obsolete
>--- emerge.orig 2004-06-03 22:21:20.000000000 +0900 >+++ emerge 2004-06-12 18:13:16.790300304 +0900 >@@ -745,16 +745,15 @@ > #self.fakedbapi.cpv_inject("sys-libs/glibc-2.3") > self.outdatedpackages=[] > self.mydbapi={} >- if "empty" in myparams: >- #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["/"]=self.fakedbapi >+ if "empty" not in myparams: >+ 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]=self.fakedbapi >+ if "empty" not in myparams: >+ for pkg in portage.db[portage.root]["vartree"].getallcpv(): >+ self.mydbapi[portage.root].cpv_inject(pkg) > > if "--usepkg" in myopts: > try: >@@ -823,9 +822,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: >+ virt = portage.dep_getkey(virt) >+ 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