Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 309551 Details for
Bug 412391
emerge --depclean reports bogus dependency resolution problem
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add debug output in FakeVartree for --depclean
debug_fakevartree2.patch (text/plain), 1.44 KB, created by
Zac Medico
on 2012-04-20 00:04:15 UTC
(
hide
)
Description:
add debug output in FakeVartree for --depclean
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2012-04-20 00:04:15 UTC
Size:
1.44 KB
patch
obsolete
>diff --git a/pym/_emerge/FakeVartree.py b/pym/_emerge/FakeVartree.py >index d4dbe97..e74281c 100644 >--- a/pym/_emerge/FakeVartree.py >+++ b/pym/_emerge/FakeVartree.py >@@ -72,6 +72,8 @@ class FakeVartree(vartree): > self._portdb = portdb > self._global_updates = None > >+ self._debug = root_config.settings.get("PORTAGE_DEBUG") == "1" >+ > @property > def root(self): > warnings.warn("The root attribute of " >@@ -89,6 +91,9 @@ class FakeVartree(vartree): > aux_get(). > """ > matches = self._match(cpv, use_cache=use_cache) >+ if self._debug: >+ portage.util.writemsg("FakeVartree._match_wrapper('%s'): %s\n" % >+ (cpv, matches), noiselevel=-1) > for cpv in matches: > if cpv in self._aux_get_history: > continue >@@ -199,6 +204,10 @@ class FakeVartree(vartree): > if pkg is None: > pkg = self._pkg(cpv) > >+ if self._debug: >+ portage.util.writemsg("FakeVartree._sync: %s slot_atom: %s counter: %s\n" % >+ (pkg, pkg.slot_atom, pkg.counter), noiselevel=-1) >+ > other_counter = slot_counters.get(pkg.slot_atom) > if other_counter is not None: > if other_counter > pkg.counter: >@@ -207,6 +216,11 @@ class FakeVartree(vartree): > slot_counters[pkg.slot_atom] = pkg.counter > pkg_vardb.cpv_inject(pkg) > >+ if self._debug: >+ portage.util.writemsg("FakeVartree._sync:\n", noiselevel=-1) >+ for cpv in sorted(pkg_vardb.cpv_all()): >+ portage.util.writemsg("\t%s\n" % (cpv,), noiselevel=-1) >+ > real_vardb.flush_cache() > > def _pkg(self, cpv):
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 412391
:
309411
|
309435
|
309489
|
309537
|
309541
|
309551
|
309553
|
309555
|
309557
|
309583
|
309589
|
309595
|
309637
|
309687