[Buildroot] [autobuild.buildroot.net] Your build results for 2016-09-05
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed Sep 7 09:28:50 UTC 2016
Hello,
On Wed, 7 Sep 2016 21:13:06 +1200, Chris Packham wrote:
> > sparc64 | micropython-v1.8.3 | http://autobuild.buildroot.net/results/2b6fc56b98474e66febb673a14a860bd16746172
> >
>
> I took a look at this. I can't reproduce it locally but I suspect it
> might be due to the python version on the autobuilder do we have any
> way of figuring that out? The py/makeqstrdefs.py states that "This
> script works with Python 2.6, 2.7, 3.3 and 3.4." so I'm guessing
> anything earlier than 2.6 Is not expected to work.
>
> If this is the problem do we have any way of enforcing this dependency?
This failure occurred on my autobuilder instance, which has:
$ python --version
Python 2.6.6
So apparently, the script is not completely Python 2.6 compliant like
they pretend it to be.
The line QSTRING_BLACK_LIST = {'NULL', 'number_of', } is defining a
set. It works in Python 2.7, but not in Python 2.6. I guess replacing
with:
QSTRING_BLACK_LIST = set(['NULL', 'number_of'])
should work fine (tested with 2.6, 2.7 and 3.5)
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list