Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3952 - portage infinite recursion
Summary: portage infinite recursion
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-20 18:18 UTC by mccary
Modified: 2011-10-30 22:18 UTC (History)
1 user (show)

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 mccary 2002-06-20 18:18:59 UTC
i get the folling problem with emerge rsync and emerge winex (and probably
emerge anything else):

  File "/usr/lib/python2.2/site-packages/portage.py", line 539, in varexpand
    newstring=newstring+settings[myvarname] 
  File "/usr/lib/python2.2/site-packages/portage.py", line 700, in __getitem__
    returnme=returnme+varexpand(x[mykey],self.configlist)
  File "/usr/lib/python2.2/site-packages/portage.py", line 539, in varexpand
    newstring=newstring+settings[myvarname] 
  File "/usr/lib/python2.2/site-packages/portage.py", line 700, in __getitem__
    returnme=returnme+varexpand(x[mykey],self.configlist)
  File "/usr/lib/python2.2/site-packages/portage.py", line 539, in varexpand
    newstring=newstring+settings[myvarname] 
  File "/usr/lib/python2.2/site-packages/portage.py", line 700, in __getitem__
    returnme=returnme+varexpand(x[mykey],self.configlist)
  File "/usr/lib/python2.2/site-packages/portage.py", line 539, in varexpand
    newstring=newstring+settings[myvarname] 
  File "/usr/lib/python2.2/site-packages/portage.py", line 699, in __getitem__
    if x.has_key(mykey):
RuntimeError: maximum recursion depth exceeded

of course, there is much more jargon above not pasted in, but you get the
picture. i'd emerge -u world to upgrade portage but eh .. heh.

-brady
Comment 1 mccary 2002-06-20 18:37:04 UTC
i guess this first part might help too.

>>> emerge media-video/mplayer-0.90_pre5-r1 to /
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1233, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 606, in merge
    retval=portage.doebuild(y,"clean",myroot,edebug)
  File "/usr/lib/python2.2/site-packages/portage.py", line 1144, in doebuild
    return spawn("/usr/sbin/ebuild.sh "+mydo)
  File "/usr/lib/python2.2/site-packages/portage.py", line 764, in spawn
    os.execve(mycommand,myargs,settings.environ())
  File "/usr/lib/python2.2/site-packages/portage.py", line 738, in environ
    mydict[x]=self[x]
  File "/usr/lib/python2.2/site-packages/portage.py", line 700, in __getitem__

-brady
Comment 2 mccary 2002-06-20 18:53:24 UTC
i just did a diff of:

/usr/bin/emerge
/usr/lib/python2.2/site-packages/portage.py

with another one of my working gentoo boxes and nothing was different. sorry,
thats about i know to troubleshoot the problem right now.

-brady
Comment 3 mccary 2002-06-20 18:56:29 UTC
oh yes the emerge -u world that i did just before this issue emerged portage
2.0.3 and then binutils 2.11.92.0.12.3-r2

-brady
Comment 4 mccary 2002-06-20 19:00:08 UTC
USE="-3dnow -apm -gnome -kde -gpm -ipv6"

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
Comment 5 mccary 2002-06-21 02:02:37 UTC
the following works:

emerge -u system

however, its the only thing ive found to work as of yet.

-brady
Comment 6 mccary 2002-06-21 02:04:46 UTC
oh yeah - if you could help me figure out how to get my portage running again,
it'd be much appreciated (aside from isolating and fixing the bug, if any, of
course ;)

:)

-brady
Comment 7 Daniel Robbins (RETIRED) gentoo-dev 2002-06-23 16:47:13 UTC
Hi,

Could you please attach your /etc/make.conf and /etc/make.globals files?

Comment 8 mccary 2002-06-23 19:03:12 UTC
sorry, no can do. i have left that computer at home (doing summer research now).
there were no special tweaks in make.conf or make.globals. i posted my USE,
CFLAGS, CHOST, CXXFLAGS at the bug report page.

but umm, i did append -j4 to MAKEOPTS in make.conf (i dont see how that could
possibly make a difference, though).

sorry i couldnt help more. one thing though - the first time i installed gentoo,
i used xfs, and i experienced severe file corruption within a few days. i then
reinstalled using ext3. afaik, xfs is extremely stable, and i have several
machines running for months on xfs, and even a gentoo box running for about 1
month now on xfs, so that data corruption seems quite odd to me. perhaps that
disk is going south.

the machine specs are dual p3 750mhz (100fsb), 512mb @ 100mhz, and that disk a
wd 15g disk (disk is about 3 years old).

-brady
Comment 9 Daniel Robbins (RETIRED) gentoo-dev 2002-06-25 15:41:03 UTC
Will be fixed in portage 2.0.6.  Thanks for the bug report :)