Bug#807357: libtest-autoloader-perl: test suite fails in non-English locales

Niko Tyni ntyni at debian.org
Mon Dec 7 20:54:22 UTC 2015


Package: libtest-autoloader-perl
Version: 0.03-2
Severity: important
Tags: patch
User: reproducible-builds at lists.debian.org
Usertags: ftbfs locale
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=62839
X-Debbugs-Cc: reproducible-builds at lists.debian.org

This package fails to build in non-English locales, because
t/00basic.t hardcodes English error messages.

This can be fixed either by setting LC_ALL=C in debian/rules or by using
setlocale(LC_ALL, 'C') in t/00basic.t. The latter requires the POSIX
module; in this case the test script already loads it, so I picked that
option. Patch attached (and already forwarded upstream.)
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list