Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 659564

Summary: sys-apps/portage: _show_unsatisfied_blockers AttributeError: 'SonameAtom' object has no attribute 'unevaluated_atom'
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 694246, 659322    

Description Zac Medico gentoo-dev 2018-06-29 04:22:26 UTC
> Calculating dependencies... done!
> [binary     U ~] sys-apps/util-linux-2.32-r3-1 [2.28.2]
> [blocks B      ] <app-shells/bash-completion-2.7-r1 ("<app-shells/bash-completion-2.7-r1" is blocking sys-apps/util-linux-2.32-r3)
> 
>  * Error: The above package list contains packages which cannot be
>  * installed at the same time on the same system.
> Traceback (most recent call last):
>   File "/usr/lib/python-exec/python3.4/emerge", line 53, in <module>
>     retval = emerge_main()
>   File "/usr/lib64/python3.4/site-packages/_emerge/main.py", line 1289, in emerge_main
>     return run_action(emerge_config)
>   File "/usr/lib64/python3.4/site-packages/_emerge/actions.py", line 3332, in run_action
>     retval = action_build(emerge_config, spinner=spinner)
>   File "/usr/lib64/python3.4/site-packages/_emerge/actions.py", line 371, in action_build
>     mydepgraph.display_problems()
>   File "/usr/lib64/python3.4/site-packages/_emerge/depgraph.py", line 8891, in display_problems
>     self._dynamic_config._unsatisfied_blockers_for_display)
>   File "/usr/lib64/python3.4/site-packages/_emerge/depgraph.py", line 8425, in _show_unsatisfied_blockers
>     if atom != atom.unevaluated_atom:
> AttributeError: 'SonameAtom' object has no attribute 'unevaluated_atom'
Comment 1 Larry the Git Cow gentoo-dev 2018-06-29 04:29:43 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=ede0c6a09e48cc1a542f50462e873cb2f945a584

commit ede0c6a09e48cc1a542f50462e873cb2f945a584
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2018-06-29 04:25:14 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2018-06-29 04:28:03 +0000

    depgraph._show_unsatisfied_blockers: AttributeError unevaluated_atom (bug 659564)
    
    Only attempt to access the unevaluated_atom attribute for
    package atoms, since soname atoms do not have this attribute.
    
    Bug: https://bugs.gentoo.org/659564

 pym/_emerge/depgraph.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)