Today I tried to emerge @world and got an Python exception from _compute_abi_rebuild_info() in depgraph.py. I'm not sure about the circumstances that cause it, but I can reproduce it with my current configuration.
Traceback (most recent call last):
File "/usr/lib/python-exec/python2.7/emerge", line 50, in <module>
retval = emerge_main()
File "/usr/lib64/python2.7/site-packages/_emerge/main.py", line 1070, in emerge_main
File "/usr/lib64/python2.7/site-packages/_emerge/actions.py", line 4082, in run_action
File "/usr/lib64/python2.7/site-packages/_emerge/actions.py", line 327, in action_build
File "/usr/lib64/python2.7/site-packages/_emerge/depgraph.py", line 7920, in display_problems
File "/usr/lib64/python2.7/site-packages/_emerge/depgraph.py", line 721, in _compute_abi_rebuild_info
if inst_child and inst_child.slot == child.slot and \
AttributeError: 'bool' object has no attribute 'slot'
I added a few debug statements to the code and saw that after line 712:
> inst_child = dep.child.installed
inst_child is True instead of a Package object.
I have a patch in this branch:
I've posted it for review here:
This is in the master branch now:
Released in portage-2.2.16