tce-load -i compiletc meson itstool libxml2-dev xmlto glib2-dev intltool *** needs locale set *** https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/0440063a2e6823a4b1a6fb2f2af8350f/shared-mime-info-2.0.tar.xz cd shared-mime-info-2.0 mkdir build cd build CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" meson --prefix=/usr/local --localstatedir=/var --buildtype=plain ../ [-Dupdate-mimedb=true] ninja [1m 33.73s] sudo ninja install Traceback (most recent call last): File "/usr/local/bin/itstool", line 1631, in out.write(doc._doc.serialize('utf-8')) UnicodeEncodeError: 'ascii' codec can't encode character '\u2014' in position 3430: ordinal not in range(128)