Osmesa can't be built

I’m trying to run doki doki on my cellphone I setup a qemu environment and installed osmesa which is for software graphics rendering is it?
I get the following error while attempt to build osmesa

root@localhost:~/mesa-20.1.0$ meson builddir -Dosmesa=gallium -Dgallium-drivers=swrast -Ddri-drivers=[] -Dvulkan-drivers=[] -Dprefix=$PWD/builddir/install
The Meson build system
Version: 0.29.0
Source dir: /root/mesa-20.1.0
Build dir: /root/mesa-20.1.0/builddir
Build type: native build
Traceback (most recent call last):
  File "/usr/share/meson/mesonbuild/mesonmain.py", line 250, in run
  File "/usr/share/meson/mesonbuild/mesonmain.py", line 152, in generate
    intr = interpreter.Interpreter(b, g)
  File "/usr/share/meson/mesonbuild/interpreter.py", line 887, in __init__
  File "/usr/share/meson/mesonbuild/optinterpreter.py", line 76, in process
    ast = mparser.Parser(open(option_file, 'r').read()).parse()
  File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 12: ordinal not in range(128)

You’re more likely to get useful feedback on this one by posting your question to one of the Mesa mailing lists:

1 Like

I don’t know where else to ask but for newbie question where can I get that version of mesa
where I can configure and build without meson