[uclibc-ng-devel] [PATCH] towlower and locales

Max Filippov jcmvbkbc at gmail.com
Thu Aug 3 00:49:15 CEST 2017


On Wed, Aug 2, 2017 at 2:50 PM, Eugene Yudin <e.yudin at ndmsystems.com> wrote:
> I cannot say anything without verbose build.
> Unfortunately we can see fatal errors only in that mode.
> I attached patch to make errors visible.
> Do you know linux distro which is used at this build machine?
> It would be very helpful to reproduce the problem.

I've tried, but couldn't reproduce the original buildroot build error.
But looking at the change I see that now gen_wctype may return
with error status if it couldn't do setlocale. It is invoked like this:

for locale in en_US en_US en_GB; do \
        ../..//extra/locale/gen_wctype -v -v $locale >
../..//extra/locale/wctables.h || \
        ../..//extra/locale/gen_wctype -v -v $locale.UTF-8 >
../..//extra/locale/wctables.h || \
        ../..//extra/locale/gen_wctype -v -v $locale.iso8859-1 >
../..//extra/locale/wctables.h && break; \

and it fails on my system for the en_US, but works for
en_US.UTF-8. Could it be that the buildroot buildbot doesn't have
any usable locale installed?
Should there be some fallback for this case?

-- Max

More information about the devel mailing list