[build2] Installation Error on Manjaro

Boris Kolpackov boris at codesynthesis.com
Mon Apr 6 14:49:21 UTC 2020


Markus Pawellek <markus.pawellek at mailbox.org> writes:

> $ g++ --version
>  g++ (Arch Linux 9.3.0-1) 9.3.0
>
> Based on the output in another language, I have changed the system
> language from German to English. After restarting the computer, the
> build2 installation process finished successfully. Could it be that
> the installation process needs some language-specific settings?

Uh, this is actually a messy problem that we've been trying to solve
for some time now. The problem is that different translations change
the format of the output from which we try to extract information,
such as the compiler version. For example, in the above case they for
some reason decided to throw away the word "version" and move the
version itself to the end.

The proper way to solve this it seems is to invoke the compiler with
LC_ALL=C as the locale. Though it has issues of its own, like the need
to print this information when we print the commands we execute (-V).
It's also not clear how well this works across all the platforms even
though it should according to POSIX. But I think we've had enough of
this to give it a try.

We will hopefully have something ready by to tomorrow (in the staged
toolchain form) and it would be great if you could try it on your
setup. Will let you know once it's available.



More information about the users mailing list