mesa: 277621bbb724b0a627a0f5473bdeb82e02fdf389 (master 17.2.0-devel)
SCons build fails with glibc 2.26.
Compiling src/util/strtod.c ...
src/util/strtod.c:32:10: fatal error: xlocale.h: No such file or directory
glibc 2.26 removed xlocale.h.
To be clear, the bug here is that SCons (scons/gallium.py) defines HAVE_XLOCALE_H without actually checking that it does indeed have xlocale.h.
As far as I can tell, there is no way to perform such a check on SCons, so I think the define should be removed, and the corresponding functionality  will not work when built from scons.
Is there any other alternative?
* Wrapper around strtod which uses the "C" locale so the decimal
* point is always '.'
Above suggests that there may be a way. Although, I think we want to hunk/rework the implementation. But that for another day.
Author: Vinson Lee <firstname.lastname@example.org>
Date: Wed Jul 5 14:16:11 2017 -0700
scons: Check for xlocale.h before defining HAVE_XLOCALE_H.