LC_ALL=C in maint.mk causes documentation build failure
In short, this happens:
Making all in manual
make[3]: Entering directory '/var/tmp/portage/app-emulation/spice-9999/work/spice-9999/docs/manual'
/usr/bin/a2x -f chunked -D . -a icons -a toc manual.txt
Traceback (most recent call last):
File "/usr/bin/a2x", line 931, in <module>
source_options = get_source_options(sys.argv[-1])
File "/usr/bin/a2x", line 337, in get_source_options
for line in f:
File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2989: ordinal not in range(128)
make[3]: *** [Makefile:525: manual.chunked] Error 1
It took me a while to figure out why this happens with a git clone but not the release tarball. Turns out maint.mk and other Makefiles are not included in the release tarball. Maybe you should just set LC_COLLATE
instead.