These two patches override the user specific locale settings which can break QEMU builds. They set the default locale C for configure and make:
[PATCH v2 1/2] Makefile: Set default locale C [PATCH 2/2] configure: Set default locale C (fix build for Turkish A side effect is that all messages which are produced during configure and make also use the default locale, so for example compiler messages are no longer localized. I don't know whether this is a problem for anybody. If it is, setting LANGUAGE (which is unset at least in Debian installations) might help. Regards, Stefan Weil