[ Results for search key : qt ] [ Applications found : 10 ] Traceback (most recent call last): File "/usr/bin/emerge", line 1171, in ? searchinstance.output() File "/usr/bin/emerge", line 148, in output full_package = string.strip(self.treecache.dep_bestmatch(match)) File "/usr/lib/python2.2/site-packages/portage.py", line 2260, in dep_bestmatch mymatch=best(gvisible(visible(match(mydep,self.dbapi)))) File "/usr/lib/python2.2/site-packages/portage.py", line 2222, in gvisible myaux=db["/"]["porttree"].dbapi.aux_get(mycpv, ["KEYWORDS"]) File "/usr/lib/python2.2/site-packages/portage.py", line 2545, in aux_get doebuild(myebuild,"depend","/") File "/usr/lib/python2.2/site-packages/portage.py", line 1044, in doebuild os.makedirs(settings["BUILDDIR"]) File "/usr/lib/python2.2/os.py", line 203, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/var/tmp/portage/qtsvc-0.1-r1'
Ok... I have the fix for part of this issue... (There are a couple other changes in my mods that surround/accompany this issue) Just a missing part of a command in doebuild() The output is ignored, It's just there to do the dep-cache. - myso=getstatusoutput("/usr/sbin/ebuild.sh depend ") + getstatusoutput("/usr/sbin/ebuild.sh depend "+settings["EBUILD"]) Another note... because of the requirement of the dep-caching, regular users cannot do 'emerge -s blah' commands unless root has done them first. The message below is due to that issue specifcally. -------- chgrp -R users /var/edb/cache chmod -R g+rws users /var/edb/cache -------- is an option... But is there any potential for security issues with this? Besides corrupting and mis-representing the cache, what can users do? Also... Could root just delete non-root caches and recreate them itself? This is really only an issue of convenience, but I believe the patch above is quite important.
"The message below" is actually above... I was refering to the original comment.
OK, I have a fix for this. The user needs to be in the wheel group to do emerge search. This is a bit of a bummer. The good news is that any user in the wheel group can now do emerge --pretends :) I personally like this solution. You'll have this fix in Portage 2.0.6.