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
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
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: ---


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>
  File "/usr/lib/python2.6/site-packages/gentoolkit/equery/", line 352, in main
  File "/usr/lib/python2.6/site-packages/gentoolkit/equery/", line 211, in main
    matches = get_binpkgs_missing(matches)
  File "/usr/lib/python2.6/site-packages/gentoolkit/equery/", line 113, in get_binpkgs_missing
    binary_packages = set(get_bintree_cpvs())
  File "/usr/lib/python2.6/site-packages/gentoolkit/", line 447, in get_bintree_cpvs
    installed_cps = BINDB.cp_all()
  File "/usr/lib/portage/pym/portage/dbapi/", line 171, in cp_all
  File "/usr/lib/portage/pym/portage/dbapi/", line 511, in populate
  File "/usr/lib/portage/pym/portage/dbapi/", line 546, in _populate
    for myfile in listdir(os.path.join(self.pkgdir, mydir)):
  File "/usr/lib/portage/pym/portage/util/", line 115, in listdir
    list, ftype = cacheddir(mypath, ignorecvs, ignorelist, EmptyOnError, followSymlinks)
  File "/usr/lib/portage/pym/portage/util/", 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