Package: reprotest
Version: 0.7.19
Severity: wishlist
Tags: patch
X-Debbugs-Cc: atzli...@sina.com

Hi,

      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.


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



-- System Information:
Debian Release: 11.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'proposed-updates'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-9-amd64 (SMP w/4 CPU threads)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=[proxychains] DLL init:
proxychains-ng 4.14
[proxychains] DLL init: proxychains-ng 4.14
UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages reprotest depends on:
ii  apt-utils              2.2.4
ii  libdpkg-perl           1.20.9
ii  procps                 2:3.3.17-5
ii  python3                3.9.2-3
ii  python3-debian         0.1.39
ii  python3-distro         1.5.0-1
ii  python3-pkg-resources  52.0.0-4
ii  python3-rstr           2.2.6-3

Versions of packages reprotest recommends:
ii  diffoscope-minimal  177
ii  disorderfs          0.5.11-2
ii  faketime            0.9.8-9
pn  locales-all         <none>
ii  sudo                1.9.5p2-3

Versions of packages reprotest suggests:
pn  autodep8     <none>
pn  qemu-system  <none>
pn  qemu-utils   <none>
pn  schroot      <none>

-- debconf information excluded

-- debsums errors found:
[proxychains] DLL init: proxychains-ng 4.14
[proxychains] DLL init: proxychains-ng 4.14
[proxychains] DLL init: proxychains-ng 4.14
[proxychains] DLL init: proxychains-ng 4.14
[proxychains] DLL init: proxychains-ng 4.14

Reply via email to