Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 279587 Details for
Bug 374423
emerge fails with AttributeError traceback after dependency calculation
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix another AttributeError case
attributeerror2.patch (text/plain), 1.52 KB, created by
Zac Medico
on 2011-07-10 10:47:48 UTC
(
hide
)
Description:
fix another AttributeError case
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2011-07-10 10:47:48 UTC
Size:
1.52 KB
patch
obsolete
>From f085533e820e7dac48c5192aa0ae3b7fb887059d Mon Sep 17 00:00:00 2001 >From: Zac Medico <zmedico@gentoo.org> >Date: Sun, 10 Jul 2011 03:40:59 -0700 >Subject: [PATCH] slot_collision: fix AttributeError for bug 374423 > >--- > pym/_emerge/resolver/slot_collision.py | 14 ++++++++++++++ > 1 files changed, 14 insertions(+), 0 deletions(-) > >diff --git a/pym/_emerge/resolver/slot_collision.py b/pym/_emerge/resolver/slot_collision.py >index 0042997..0069d17 100644 >--- a/pym/_emerge/resolver/slot_collision.py >+++ b/pym/_emerge/resolver/slot_collision.py >@@ -349,6 +349,20 @@ class slot_conflict_handler(object): > _pkg_use_enabled(other_pkg), > other_pkg.iuse.is_valid_flag, > parent_use=parent_use) >+ # It's possible for autounmask to change >+ # parent_use such that the unevaluated form >+ # of the atom now matches, even though the >+ # earlier evaluated form (from before >+ # autounmask changed parent_use) does not. >+ # In this case (see bug #374423), it's >+ # expected that violated_atom.use is None. >+ # Since the atom now matches, we don't want >+ # to display it in the slot conflict >+ # message, so we simply ignore it and rely >+ # on the autounmask display to communicate >+ # the necessary USE change to the user. >+ if violated_atom.use is None: >+ continue > if use in violated_atom.use.enabled or \ > use in violated_atom.use.disabled: > unconditional_use_deps.add((ppkg, atom)) >-- >1.7.6 >
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 374423
:
279431
|
279469
|
279563
| 279587 |
279595