Bug#811104: libtime-format-perl: FTBFS with non-English LC_ALL: t/doc.t failure
Niko Tyni
ntyni at debian.org
Fri Jan 15 17:31:57 UTC 2016
Package: libtime-format-perl
Version: 1.12-2
User: debian-perl at lists.debian.org
Usertags: perl-5.22-transition
User: reproducible-builds at lists.debian.org
Usertags: ftbfs
As noticed by the reproducible.debian.net CI system, this package fails
to build from source when LC_ALL is set to a locale where the name of
December has non-ASCII characters, for instance fr_FR.UTF-8.
# Failed test 'POSIX 1'
# at t/doc.t line 66.
# got: 'POSIXish: mardi, d�cembre 12, 1995'
# expected: 'POSIXish: mardi, décembre 12, 1995'
# Looks like you failed 1 test of 26.
The difference is that 'got' has an é in latin1 encoding
while 'expected' has it in utf8.
The timing when this started failing seems to coincide with Perl 5.22
entering sid, so tentatively usertagging so. This smells a bit like a perl
regression to me, but it might also be an intentional bugfix there.
The test suite is currently run with LANG=C from debian/rules,
but that's not enough as LC_ALL overrides it.
Given upstream clearly tries to get this to work in non-C locales,
I don't think we should fix this just by setting LC_ALL=C, but I think
it's an acceptable workaround as long as we leave this bug open.
--
Niko Tyni ntyni at debian.org
More information about the pkg-perl-maintainers
mailing list