[Buildd-tools-devel] unsetting locale

Michael Banck mbanck@debian.org
Thu, 7 Oct 2004 20:45:04 +0200


Hi,

one thing which has always bugged me is that sbuild apparently does not
reset the locale, and perl always barfs on this, cluttering up the
build-log:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_CTYPE = "de_DE.ISO-8859-15@euro",
        LANG = "POSIX"
    are supported and installed on your system.

Does anybody know how to best reset the locale, so that these messages
go away? (btw, they also break the perl test-suite, resulting in some
spurious failed tests where output is compared)


Michael