Bug#1068615: pbuilder will overwrite LANG/LC_ALL if they are set via config file

2024-04-08 Thread Sergio Durigan Junior
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

Bug#1068615: pbuilder will overwrite LANG/LC_ALL if they are set via config file

2024-04-07 Thread Thorsten Glaser
Sergio Durigan Junior dixit: >-export LANG=C >-export LC_ALL=C >+export LANG="${LANG:-C}" >+export LC_ALL="${LC_ALL:-C}" Ouch, no. 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. Passing environment variables,

Bug#1068615: pbuilder will overwrite LANG/LC_ALL if they are set via config file

2024-04-07 Thread Sergio Durigan Junior
Source: pbuilder Version: 0.231 Severity: important Affects: curl trurl Tags: patch Hi, Charles from the Debian curl team noticed that curl and trurl have been failing to build in the reproducible-builds environment: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/curl.html