Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41373 - Emerge system broke after I upgraded to portage-2.0.50-r1
Summary: Emerge system broke after I upgraded to portage-2.0.50-r1
Status: RESOLVED DUPLICATE of bug 40831
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-12 07:28 UTC by Shoan Motwani
Modified: 2005-07-17 13:06 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 Shoan Motwani 2004-02-12 07:28:32 UTC
http://forums.gentoo.org/viewtopic.php?p=858465

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2004-02-12 07:32:33 UTC
please dont link to forums and expect us to crawl them looking for the bug

---------------------
gentoo root # emerge world
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' 
Comment 2 Masatomo Nakano (RETIRED) gentoo-dev 2004-02-12 07:50:49 UTC
Hello Shoan,

I guess I fixed this bug (but it haven't been released yet).
I'd like to confirm the fix can fix in several cases.
So, can you try the patch?

It's just one line.
Line 3029 in /usr/lib/portage/pym/portage.py.(2.0.50-r1)
From
                        if portdbapi:
To
                        if myportapi:

Comment 3 John Robinson 2004-02-12 08:58:58 UTC
Problem code still present at 16:50 GMT with portage-2.0.50-r1 from gentoo.mirrors.pair.com; portage-2.0.50-r1 wasn't even on ftp.gentoo.skynet.be which I usually use.
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-02-12 10:05:11 UTC

*** This bug has been marked as a duplicate of 40831 ***