#794869 debuild: Please clean up locale settings if broken

Package:
devscripts
Source:
devscripts
Description:
scripts to make the life of a Debian Package maintainer easier
Submitter:
Goswin von Brederlow
Date:
2015-08-07 13:03:10 UTC
Severity:
minor
#794869#5
Date:
2015-08-07 13:01:06 UTC
From:
To:
When building in a chroot or remotely it easily happens that the
locale settings of the local host don't match the chroot or remote
host. This results in a million errors like this:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_MESSAGES = "POSIX",
        LC_CTYPE = "de_DE",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Debuild should check the local settings and unset any that don't work.
Or even better: To get reproducible builds always unset them.

MfG
	Goswin
--- /etc/devscripts.conf ---
DEBUILD_ROOTCMD=fakeroot
DEBUILD_PREPEND_PATH="/usr/lib/ccache"
--- ~/.devscripts --- Not present