[debhelper-devel] Bug#873831: debhelper: [meson] Default to a UTF8 locale?

Jeremy Bicha jbicha at ubuntu.com
Thu Aug 31 14:37:06 UTC 2017

Source: debhelper
Version: 10.7.2
X-Debbugs-CC: meson at packages.debian.org

Excerpt from the nautilus 3.25.91-1 build log
Warning: You are using 'ANSI_X3.4-1968' which is not a a
Unicode-compatible locale.
You might see errors if you use UTF-8 strings as filenames, as
strings, or as file contents.
Please switch to a UTF-8 locale for your platform.
The Meson build system

And in fact it does cause errors and build failures in some cases such
as with geocode-glib

This was worked around in gnome-builder 3.25.91-1 with this line added
to its debian/rules :
export LC_ALL=C.UTF-8

I believe that meson assumes it's built using a UTF-8 locale. Is this
something we can have debhelper handle automatically for the meson




Jeremy Bicha

More information about the debhelper-devel mailing list