Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582476 - app-portage/portage-utils: spews same warning twice when trying to open ebuild cache
Summary: app-portage/portage-utils: spews same warning twice when trying to open ebuil...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Utils Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-08 21:24 UTC by Toralf Förster
Modified: 2016-05-09 16:26 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 Toralf Förster gentoo-dev 2016-05-08 21:24:14 UTC
tinderbox@ms-magpie ~ $ qsearch -a | grep gcl
search: qsearch_ebuild_ebuild(): (cache update pending) app-accessibility/brltty/brltty-5.2.ebuild: No such file or directory
dev-lisp/gcl GNU Common Lisp
dev-python/configclass A Python to class to hold configuration values
search: Updating ebuild cache ...
search: initialize_flat(): opening cache failed: /var/cache/edb/dep//usr/portage/.ebuild.x: Permission denied
search: initialize_flat(): You should run this command as root: q -r
search: Updating ebuild cache ...
search: initialize_flat(): opening cache failed: /var/cache/edb/dep//usr/local/portage/.ebuild.x: Permission denied
search: initialize_flat(): You should run this command as root: q -r


/me wonders if for subsequent repos the warnings can be suppressed ?
Comment 1 Alex Xu (Hello71) 2016-05-09 11:35:10 UTC
wouldn't it be easier to... generate the cache?
Comment 2 Toralf Förster gentoo-dev 2016-05-09 13:30:10 UTC
ofc, I did it as root afterwards.
I was just curious about that - but maybe not worth he effort - I dunno.
Comment 3 SpanKY gentoo-dev 2016-05-09 16:26:10 UTC
the warning is different: the first one complains about /usr/portage while the second one complains about /usr/local/portage.  we could try to track & suppress the suggestion about running `q -r` from showing up multiple times, but i don't think that's terribly valuable or worth the additional code to implement.