Package: debspawn
Version: 0.4.1-1
Severity: normal

Hi,

when I invoke debspawn on my systems, I get the following message:

|WARNING:root:Building with unicode support, but your environment
|does not seem to support unicode.

This warning is wrong, my system supports unicode:

|[1/6989]mh@drop:~ $ locale
|LANG=de_DE.utf8
|LANGUAGE=en
|LC_CTYPE="de_DE.utf8"
|LC_NUMERIC=de_DE.UTF-8
|LC_TIME=de_DE.UTF-8
|LC_COLLATE=de_DE.UTF-8
|LC_MONETARY=de_DE.UTF-8
|LC_MESSAGES=en_US.utf8
|LC_PAPER="de_DE.utf8"
|LC_NAME="de_DE.utf8"
|LC_ADDRESS="de_DE.utf8"
|LC_TELEPHONE="de_DE.utf8"
|LC_MEASUREMENT=de_DE.UTF-8
|LC_IDENTIFICATION="de_DE.utf8"
|LC_ALL=
|[2/6990]mh@drop:~ $ locale -a
|C
|C.UTF-8
|de_DE.utf8
|en_GB.utf8
|en_US.utf8
|POSIX
|[3/6991]mh@drop:~ $

While my settings are admittably inconsistent, they are valid. glibc
"normalizes" the charset setting by lowercasing it and removing all
intepunction, yielding utf8 for UTF-8. Debspawn, however, seems to
insist on the upper case UTF-8 to not print the warning.

I guess that this misdiagnose will also apply to some of the later
locales like aa_ER which _are_ UTF-8 but dont have the suffix in their
name.

I am afraid debspawn needs a better heuristic. This one is flawed.

Greetings
Marc


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.13-zgws1 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debspawn depends on:
ii  debootstrap        1.0.123
ii  python3            3.9.1-1
ii  python3-toml       0.10.1-1
ii  systemd-container  247.3-1
ii  zstd               1.4.8+dfsg-1

Versions of packages debspawn recommends:
ii  build-essential  12.9
ii  devscripts       2.20.5

Versions of packages debspawn suggests:
ii  sudo  1.9.5p2-2

-- no debconf information

Reply via email to