[OE-core] [PATCH 0/1][v3] license.bbclass parsing changes rebased sans debug

Koen Kooi koen at dominion.thruhere.net
Sat May 28 09:16:25 UTC 2011


Op 28 mei 2011, om 00:13 heeft Elizabeth Flanagan het volgende geschreven:

> 
> Using python abstract syntax trees as a parser and an ast visitor class, I've
> begun the first steps to being able to put some sanity to license selection.
> 
> One note. License modifiers have traditionally been limited to the "or greater"
> modifier "+". I've added another modifier "with exceptions" for licenses that
> have no generic ie common-licenses/GPL-2,0-with-GCC-exception

When building shadow I get:

| WARNING: /home/koen/angstrom-core/sources/openembedded-core/meta/files/common-licenses
| ERROR: Error executing a python function in /home/koen/angstrom-core/sources/openembedded-core/meta/recipes-extended/shadow/shadow_4.1.4.3.bb:
| RuntimeError: maximum recursion depth exceeded while calling a Python object
| 
| ERROR: The stack trace of python calls that resulted in this exception/failure was:
| ERROR:   File "do_populate_lic", line 121, in <module>
| ERROR:
| ERROR:   File "do_populate_lic", line 118, in do_populate_lic
| ERROR:
| ERROR:   File "/usr/lib64/python2.7/ast.py", line 243, in visit
| ERROR:     return visitor(node)
| ERROR:
| ERROR:   File "do_populate_lic", line 13, in generic_visit

and a few hundred more lines, I had to change the scrollback buffer from 512 lines to unlimited to catch this :) I can send the full log on request.



More information about the Openembedded-core mailing list