Bug#1001202: about default locales LANGUAGE: set to C or unset
Vagrant Cascadian
vagrant at reproducible-builds.org
Mon Dec 6 19:02:28 GMT 2021
On 2021-12-06, xiao sheng wen(肖盛文) wrote:
> I suggestion set default locales LANGUAGE to C or unset LANGUAGE env.
> At present, it set to en_US:en, this will cause some problems in no en env.
>
> The C LANGUAGE would be the default locales when set it.
> If no vary, not set LANG and LANGUAGE is also ok.
My understanding was that LANGUAGE, unlike LANG and LC_* is not valid as
"C", though I'm having a difficult time finding references for what are
valid settings for LANGUAGE.
live well,
vagrant
> diff -u build.py atzlinux.build.py
> --- build.py 2021-12-06 18:07:33.653809577 +0800
> +++ atzlinux.build.py 2021-12-06 18:12:17.407143396 +0800
> @@ -365,7 +365,7 @@
> # list question.
> def locales(ctx, build, vary):
> if not vary:
> - return build.add_env('LANG', 'C.UTF-8').add_env('LANGUAGE',
> 'en_US:en')
> + return build.add_env('LANG', 'C.UTF-8').add_env('LANGUAGE', 'C')
> else:
> # if there is an issue with this being random, we could instead select
> it
> # based on a deterministic hash of the inputs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20211206/daf4ec60/attachment.sig>
More information about the Reproducible-builds
mailing list