Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549666 - sys-apps/portage-2.2.19: emerge --rebuild* options trigger AttributeError in binarytree.get_pkgindex_uri when --getbinpkg is not enabled
Summary: sys-apps/portage-2.2.19: emerge --rebuild* options trigger AttributeError in ...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks: 484436
  Show dependency tree
 
Reported: 2015-05-16 18:59 UTC by Zac Medico
Modified: 2015-05-18 23:44 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 Zac Medico gentoo-dev 2015-05-16 18:59:32 UTC
File "/usr/lib64/python3.4/site-packages/_emerge/depgraph.py", line 4085, in _resolve
    if self._rebuild.trigger_rebuilds():
  File "/usr/lib64/python3.4/site-packages/_emerge/depgraph.py", line 349, in trigger_rebuilds
    if self._trigger_rebuild(node, node_build_deps):
  File "/usr/lib64/python3.4/site-packages/_emerge/depgraph.py", line 277, in _trigger_rebuild
    uri = bintree.get_pkgindex_uri(parent.cpv)
  File "/usr/lib64/python3.4/site-packages/portage/dbapi/bintree.py", line 1444, in get_pkgindex_uri
    metadata = self._remotepkgs.get(self.dbapi._instance_key(cpv))
AttributeError: 'NoneType' object has no attribute 'get
Comment 1 Zac Medico gentoo-dev 2015-05-16 19:13:08 UTC
There's a patch in the following branch:

https://github.com/zmedico/portage/tree/bug_549666

I've posted it for review here:

https://archives.gentoo.org/gentoo-portage-dev/message/8aef7774581f8e199be6ac71caac55da
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2015-05-18 23:44:18 UTC
Released in portage-2.2.20