kdeaddons & unsemake

Anders Lund anders at alweb.dk
Mon Jan 10 14:10:02 GMT 2005


On Monday 10 January 2005 13:38, Stephan Kulow wrote:
> Am Monday 10 January 2005 13:16 schrieb Anders Lund:
> > Hi,
> > Trying to update kdeaddons today, unsermake ran into an infinite loop,
> > and said
> >
> >
> >   File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 387,
> > in expand
> >     return begin + self.cache_def(var, subst_vars[var]) +
> > self.expand(match.group(3))
> >   File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355,
> > in cache_def
> >     value = self.expand(value)
> > RuntimeError: maximum recursion depth exceeded
> >
> >
> > This is in kdeaddons/konqplugins. Is anyone aware of having changed a
> > Makefile.am in a bad way in there recently?
>
> Open amfile.py line 355 and add a print value there
>
> Greetings, Stephan

I have narrowed it down to the kuick plugin, so the problem is caused by 
kdeaddons/konqplugins/kuick/Makefile.am (the kcmkuick subdirectory compiles 
fine). 

I can't see anything in that file looking suspicious.

The Makefile.cvs runs fine btw, the error happens at compile time.

After cvs-clean and update the suspicious directory the error seems to have 
changed slightly. Here is the full BT, with 'print value' in line 356 of 
amfile.py.

unsermake all
/usr/bin/xgettext

/opt/kdecvs
/opt/kdecvs
/opt/kdecvs/lib
/opt/kdecvs/lib/kde3
Traceback (most recent call last):
  File "/home/anders/src/kde/kdenonbeta/unsermake//unsermake", line 1212, in ?
    main()
  File "/home/anders/src/kde/kdenonbeta/unsermake//unsermake", line 1073, in 
main
    os.path.abspath(".") + "/")
  File "/home/anders/src/kde/kdenonbeta/unsermake//unsermake", line 194, in 
read_subdirs
    all_defines = append_all_defines(all_defines, makefile)
  File "/home/anders/src/kde/kdenonbeta/unsermake//unsermake", line 158, in 
append_all_defines
    targ.expand_target(makefile)
  File "/home/anders/src/kde/kdenonbeta/unsermake/target.py", line 137, in 
expand_target
    ntarg = makefile.expand(self.target)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 384, in 
expand
    return begin + self.cached_defs[var] + self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 388, in 
expand
    return begin + self.cache_def(var, subst_vars[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 355, in 
cache_def
    value = self.expand(value)
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 386, in 
expand
    return begin + self.cache_def_list(var, self.defs[var]) + 
self.expand(match.group(3))
  File "/home/anders/src/kde/kdenonbeta/unsermake/amfile.py", line 363, in 
cache_def_list
    ret += self.expand(item) + " "
make: *** [all] Error 1

-anders
-- 
www: http://alweb.dk
jabber: anderslund at jabber.dk




More information about the kde-core-devel mailing list