Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368133 - app-portage/gentoolkit-0.3.0: equery list -b '*' traceback
Summary: app-portage/gentoolkit-0.3.0: equery list -b '*' traceback
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 346443
  Show dependency tree
 
Reported: 2011-05-20 05:53 UTC by Paul Varner (RETIRED)
Modified: 2012-12-25 01:55 UTC (History)
1 user (show)

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 Paul Varner (RETIRED) gentoo-dev 2011-05-20 05:53:24 UTC
Traceback (most recent call last):
  File "/usr/bin/equery", line 38, in <module>
    equery.main()
  File "/usr/lib/python2.6/site-packages/gentoolkit/equery/__init__.py", line 352, in main
    loaded_module.main(module_args)
  File "/usr/lib/python2.6/site-packages/gentoolkit/equery/list_.py", line 211, in main
    matches = get_binpkgs_missing(matches)
  File "/usr/lib/python2.6/site-packages/gentoolkit/equery/list_.py", line 113, in get_binpkgs_missing
    binary_packages = set(get_bintree_cpvs())
  File "/usr/lib/python2.6/site-packages/gentoolkit/helpers.py", line 447, in get_bintree_cpvs
    installed_cps = BINDB.cp_all()
  File "/usr/lib/portage/pym/portage/dbapi/bintree.py", line 171, in cp_all
    self.bintree.populate()
  File "/usr/lib/portage/pym/portage/dbapi/bintree.py", line 511, in populate
    self._populate(getbinpkgs)
  File "/usr/lib/portage/pym/portage/dbapi/bintree.py", line 546, in _populate
    for myfile in listdir(os.path.join(self.pkgdir, mydir)):
  File "/usr/lib/portage/pym/portage/util/listdir.py", line 115, in listdir
    list, ftype = cacheddir(mypath, ignorecvs, ignorelist, EmptyOnError, followSymlinks)
  File "/usr/lib/portage/pym/portage/util/listdir.py", line 52, in cacheddir
    raise PermissionDenied(mypath)
portage.exception.PermissionDenied: /usr/portage/packages/app-cdr


Reproducible: Always
Comment 1 Paul Varner (RETIRED) gentoo-dev 2011-05-20 05:54:41 UTC
Traget to fix in 0.3.1 or next maintenance release of 0.3.0.  The error is obvious, just not pretty