On Sunday, April 07 2024, Thorsten Glaser wrote:
> Sergio Durigan Junior dixit:
>
>>-export LANG=C
>>-export LC_ALL=C
>>+export LANG="${LANG:-C}"
>>+export LC_ALL="${LC_ALL:-C}"
>
> Ouch, no.
I'd be disappointed if this was accepted as is :-).
> IMHO, they ought to really be unset for sane build environments,
> and if the thing to be built needs locales, it can set its own.
IIRC our buildds will set $LANG as C.UTF-8. pbuilder should try to
stick to what the official infrastructure does.
Thanks,
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/