[Buildroot] [PATCH] host python/python3: conditionally disable unicodedata

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Feb 13 09:30:56 UTC 2014


Dear Thomas De Schampheleire,

On Thu, 13 Feb 2014 10:15:14 +0100, Thomas De Schampheleire wrote:

> >> would cause the byte-compilation to fail with message:
> >>     SyntaxError: ("(unicode error) \\N escapes not supported (can't load
> >>     unicodedata module)",
> >>
> >> Instead, conditionally disable unicodedata based on
> >> BR2_PACKAGE_PYTHON_UNICODEDATA, also for the host python.
> >>
> >> This fixes bug #6542 (https://bugs.busybox.net/show_bug.cgi?id=6542)
> >>
> >> Reported-by: Gernot Vormayr <gvormayr at gmail.com>
> >> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>
> >
> > For information, my upcoming patch series that bumps Python uses
> > --enable-unicodedata unconditionally for the host python, because
> > recent versions of python-setuptools need unicodedata.
> >
> 
> I think this patch should still be part of 2014.02.

I agree.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list