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

Koen Kooi koen at dominion.thruhere.net
Sat May 28 13:41:30 UTC 2011


Here you go :)

-------------- next part --------------

Op 28 mei 2011, om 15:21 heeft Elizabeth Flanagan het volgende geschreven:

> Could you send me the log. That's odd and shouldn't have happened (the license is only two licenses...)
> 
> -b
> 
> On 05/28/2011 02:16 AM, Koen Kooi wrote:
>> 
>> 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.
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>> 
> 
> -- 
> ---------------
> Elizabeth Flanagan
> Yocto Project
> Release Engineer



More information about the Openembedded-core mailing list