Source: python3.12 Version: 3.12.4-3 Severity: minor https://buildd.debian.org/status/fetch.php?pkg=python3.12&arch=amd64&ver=3.12.2-3&stamp=1709290494&raw=0
... : # build locales needed by the testsuite rm -rf locales mkdir locales if command -v localedef >/dev/null 2>&1; then \ sh debian/locale-gen; \ fi Generating locales... en_US.ISO-8859-1...[error] character map file `ISO-8859-1' not found: No such file or directory [error] cannot read character map directory `/usr/share/i18n/charmaps': No such file or directory done en_US.UTF-8...[error] character map file `UTF-8' not found: No such file or directory [error] cannot read character map directory `/usr/share/i18n/charmaps': No such file or directory done Generation complete. ... This was useful and required in the past, e.g. src:python2.7 does build depend on locales. At some point the build dependency switched from locales to locales-all, at that point debian/locale-gen became obsolete and in environments without "Priotiy: standard" packages installed also non-working. #983305 was for the same issue, removing debian/locale-gen is the proper fix here (dropping allow-stderr might be possible, untested). The same applies to python3.13.