Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 143803

Summary: Emerge script broken
Product: Portage Development Reporter: Bill Chase <mr.w.chase>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED INVALID    
Severity: major    
Priority: High    
Version: 2.1   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bill Chase 2006-08-13 10:59:56 UTC
After a recent upgrade to portage 2.1-r2, I was getting progessively worse errors emerging updates, finally culminating in an inability to emerge anything, the script bombing out complaining that "myfavdmct.values in line 1930 not defined".

On a hunch, I vim'd emerge, saw the function in line 1930, then searched to see where it was defined, and found this was the only instance in the script. Then searched for "myfavd" and saw all entries were "myfavdict". Changed 1930 to this function and all seems to work now.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2006-08-13 11:08:04 UTC
Must be a local problem on your side, just remerged 2.1-r2 on one of my systems and didn't see a "myfavdmct" anywhere. If this really was "getting progessively worse" it could be hardware related.
Comment 2 Charlie Shepherd (RETIRED) gentoo-dev 2006-08-13 12:16:42 UTC
Not experiencing these problems myself but looks like you made a typo:

chaza@Mars ~ $ grep myfavdict /usr/bin/emerge
                        myfavdict=genericdict(myfavs)
                                                if (not mysysdict.has_key(myfavkey)) and (not myfavdict.has_key(myfavkey)):
                                                        myfavdict[myfavkey]=myfavkey
                                        "\n".join(myfavdict.values()))
                                        myfavdict=genericdict(myfavs)
                                        if (not mysysdict.has_key(myfavkey)) and (not myfavdict.has_key(myfavkey)):
                                                myfavdict[myfavkey]=myfavkey
                                                "\n".join(myfavdict.values()))
chaza@Mars ~ $ grep myfavdmct /usr/bin/emerge
chaza@Mars ~ $

chaza@Mars ~ $ emerge --version
Portage 2.1.1_pre5 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4.20060329-r0, 2.6.17-gentoo-r4 i686)