Hello I can`t use emerge anymore. Here is the output: getriebe root # emerge sync Traceback (most recent call last): File "/usr/bin/emerge", line 14, in ? import portage File "/usr/lib/portage/pym/portage.py", line 6128, in ? settings.regenerate() # XXX: Regenerate use after we get a vartree -- GLOBAL File "/usr/lib/portage/pym/portage.py", line 1392, in regenerate self.configdict["auto"]["USE"]=autouse(db[root]["vartree"],use_cache=use_cache) File "/usr/lib/portage/pym/portage.py", line 1121, in autouse myresult=dep_check(mydep,myvartree.dbapi,None,use="no",use_cache=use_cache) File "/usr/lib/portage/pym/portage.py", line 3309, in dep_check mylist=flatten(dep_listcleanup(dep_zapdeps(mysplit,mysplit2))) File "/usr/lib/portage/pym/portage.py", line 3052, in dep_zapdeps myresult=dep_zapdeps(unreduced[x],reduced[x]) File "/usr/lib/portage/pym/portage.py", line 3038, in dep_zapdeps elif myportapi.match(x): AttributeError: 'NoneType' object has no attribute 'match' Any help would be great. Thomas Reproducible: Always Steps to Reproduce: 1. 2. 3.
Had the same problem... Ended up editting /usr/lib/portage/pym/portage.py, commenting out lines 3038 and 3039. It works now, but I don't know what the long term sideffects will be... I hope developers will comment on this soon. -K. PS. It will break again if a new portage is installed, so you have to edit this again.
This problem appear to me after an "emerge sync" which fails at the end during the update of portage cache (I didn't have any output, sorry..., but the end is the same error as in comment 1) So I change the line 3038 of /usr/lib/portage/pym/portage.py elif myportapi.match(x): by elif myportapi is not None and myportapi.match(x): then I do a $ emerge-webrsync all seems to work again...
*** This bug has been marked as a duplicate of 47063 ***