Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 309637 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_fakevartree5.patch (text/plain), 1.51 KB, created by
Zac Medico
on 2012-04-20 16:42:12 UTC
(
hide
)
Description:
add debug output in FakeVartree for --depclean
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2012-04-20 16:42:12 UTC
Size:
1.51 KB
patch
obsolete
>diff --git a/pym/_emerge/FakeVartree.py b/pym/_emerge/FakeVartree.py >index d4dbe97..fba6b0e 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 " >@@ -88,7 +90,17 @@ class FakeVartree(vartree): > be accessed directly from the Package instance instead of via > aux_get(). > """ >+ tracing = False >+ if self._debug: >+ if 'dev-libs/openssl' in cpv: >+ tracing = True >+ import portage.debug as portage_debug >+ portage_debug.set_trace(True) > matches = self._match(cpv, use_cache=use_cache) >+ if tracing: >+ portage_debug.set_trace(False) >+ 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 >@@ -205,7 +217,18 @@ class FakeVartree(vartree): > continue > > slot_counters[pkg.slot_atom] = pkg.counter >+ >+ tracing = False >+ if self._debug: >+ if pkg.cpv.startswith('dev-libs/openssl'): >+ portage.util.writemsg("FakeVartree._sync: %s slot_atom: %s counter: %s\n" % >+ (pkg, pkg.slot_atom, pkg.counter), noiselevel=-1) >+ tracing = True >+ import portage.debug as portage_debug >+ portage_debug.set_trace(True) > pkg_vardb.cpv_inject(pkg) >+ if tracing: >+ portage_debug.set_trace(False) > > real_vardb.flush_cache() >
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