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

Bug 606464

Summary: sys-apps/portage-2.3.3: _solve_non_slot_operator_slot_conflicts: TypeError: 'SonameAtom' object is not subscriptable
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Severity: normal Keywords: InVCS
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 694246, 611328    

Description Zac Medico gentoo-dev 2017-01-18 22:33:00 UTC
releng2 ~ # emerge -av1K --ignore-soname-deps=n foo

These are the packages that would be merged, in order:

Calculating dependencies... done!
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.4/emerge", line 50, in <module>
    retval = emerge_main()
  File "/usr/lib64/python3.4/site-packages/_emerge/", line 1185, in emerge_main
    return run_action(emerge_config)
  File "/usr/lib64/python3.4/site-packages/_emerge/", line 3236, in run_action
    emerge_config.args, spinner)
  File "/usr/lib64/python3.4/site-packages/_emerge/", line 324, in action_build
    settings, trees, myopts, myparams, myaction, myfiles, spinner)
  File "/usr/lib64/python3.4/site-packages/_emerge/", line 9215, in backtrack_depgraph
    myaction, myfiles, spinner)
  File "/usr/lib64/python3.4/site-packages/_emerge/", line 9252, in _backtrack_depgraph
    success, favorites = mydepgraph.select_files(myfiles)
  File "/usr/lib64/python3.4/site-packages/_emerge/", line 3604, in select_files
    return self._select_files(args)
  File "/usr/lib64/python3.4/site-packages/_emerge/", line 3947, in _select_files
    return self._resolve(myfavorites)
  File "/usr/lib64/python3.4/site-packages/_emerge/", line 4103, in _resolve
  File "/usr/lib64/python3.4/site-packages/_emerge/", line 6933, in altlist
  File "/usr/lib64/python3.4/site-packages/_emerge/", line 7060, in _resolve_conflicts
  File "/usr/lib64/python3.4/site-packages/_emerge/", line 1461, in _process_slot_conflicts
  File "/usr/lib64/python3.4/site-packages/_emerge/", line 1444, in _solve_non_slot_operator_slot_conflicts
    initial_atoms=(atom,), allow_repo=True)
  File "/usr/lib64/python3.4/site-packages/portage/_sets/", line 241, in __init__
  File "/usr/lib64/python3.4/site-packages/portage/_sets/", line 188, in update
    a = Atom(a, allow_wildcard=True, allow_repo=True)
  File "/usr/lib64/python3.4/site-packages/portage/dep/", line 1230, in __init__
    if "!" == s[:1]:
TypeError: 'SonameAtom' object is not subscriptable
Comment 2 Zac Medico gentoo-dev 2017-05-20 18:14:24 UTC
Fixed in portage-2.3.5.