Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 98176 Details for
Bug 149208
portage-2.1.2-pre1-r3 emerge -u doesn't update direct dependencies
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
update direct dependencies of command line arguments
update_direct_deps.patch (text/plain), 2.17 KB, created by
Zac Medico
on 2006-09-26 15:28:28 UTC
(
hide
)
Description:
update direct dependencies of command line arguments
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2006-09-26 15:28:28 UTC
Size:
2.17 KB
patch
obsolete
>Index: bin/emerge >=================================================================== >--- bin/emerge (revision 4538) >+++ bin/emerge (working copy) >@@ -816,7 +816,7 @@ > emerge --deep <pkgspec>; we need to recursively check dependencies of pkgspec > If we are in --nodeps (no recursion) mode, we obviously only check 1 level of dependencies. > """ >- if "deep" not in self.myparams and not merging: >+ if "deep" not in self.myparams and not merging and not arg: > return 1 > elif "recurse" not in self.myparams: > return 1 >@@ -845,7 +845,7 @@ > > try: > if not self.select_dep("/", edepend["DEPEND"], myparent=mp, >- myuse=myuse): >+ myuse=myuse, parent_arg=arg): > return 0 > """RDEPEND is soft by definition. However, in order to ensure > correct merge order, we make it a hard dependency. Otherwise, a >@@ -853,13 +853,13 @@ > dependencies not being installed yet. > """ > if not self.select_dep(myroot,edepend["RDEPEND"], myparent=mp, >- myuse=myuse, soft_deps=False): >+ myuse=myuse, soft_deps=False, parent_arg=arg): > return 0 > if edepend.has_key("PDEPEND") and edepend["PDEPEND"]: > # Post Depend -- Add to the list without a parent, as it depends > # on a package being present AND must be built after that package. > if not self.select_dep(myroot, edepend["PDEPEND"], myparent=mp, >- myuse=myuse, soft_deps=True, rev_deps=True): >+ myuse=myuse, soft_deps=True, rev_deps=True, parent_arg=arg): > return 0 > except ValueError, e: > pkgs = e.args[0] >@@ -1027,7 +1027,8 @@ > return match > > def select_dep(self, myroot, depstring, myparent=None, arg=None, >- myuse=None, raise_on_missing=False, soft_deps=False, rev_deps=False): >+ myuse=None, raise_on_missing=False, soft_deps=False, rev_deps=False, >+ parent_arg=None): > """ Given a depstring, create the depgraph such that all dependencies are satisfied. > myroot = $ROOT from environment, where {R,P}DEPENDs are merged to. > myparent = the node whose depstring is being passed in >@@ -1112,6 +1113,7 @@ > discarded here.""" > if "empty" not in self.myparams and \ > "deep" not in self.myparams and \ >+ not parent_arg and \ > vardb.match(x): > continue >
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 149208
:
98176
|
98200