Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395879 - sys-apps/portage-2.1.10.42 and 2.2.0_alpha82: emerge throws AttributeError when trying to merge ambiguous package
Summary: sys-apps/portage-2.1.10.42 and 2.2.0_alpha82: emerge throws AttributeError wh...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks: 395831
  Show dependency tree
 
Reported: 2011-12-24 09:53 UTC by Markus Walter
Modified: 2011-12-24 12:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Walter 2011-12-24 09:53:13 UTC
On my ~amd64 machine with portage-2.2.0_alpha82 I see the following problem when merging gentoo-syntax. If I specify 'emerge app-emacs/gentoo-syntax' everything works fine.


earth markus # emerge gentoo-syntax
Calculating dependencies |

... done!
Traceback (most recent call last):
  File "/usr/bin/emerge", line 43, in <module>
    retval = emerge_main()
  File "/usr/lib64/portage/pym/_emerge/main.py", line 2028, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 297, in action_build
    settings, trees, myopts, myparams, myaction, myfiles, spinner)
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 6896, in backtrack_depgraph
    myaction, myfiles, spinner)
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 6928, in _backtrack_depgraph
    success, favorites = mydepgraph.select_files(myfiles)
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 2126, in select_files
    self._frozen_config.spinner, self._frozen_config.myopts)
  File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 6837, in ambiguous_package_name
    s.addCP(cp)
  File "/usr/lib64/portage/pym/_emerge/search.py", line 252, in addCP
    if not self._xmatch("bestmatch-visible", cp):
  File "/usr/lib64/portage/pym/_emerge/search.py", line 154, in _xmatch
    db_keys = list(db._aux_cache_keys)
AttributeError: FakeVardbapi object has no attribute _aux_cache_keys
Comment 2 Zac Medico gentoo-dev 2011-12-24 12:42:13 UTC
This is fixed in 2.1.10.43 and 2.2.0_alpha83.