Bug#819908: libredis-perl: FTBFS in non-English locales: t/11-timeout.t failure
Niko Tyni
ntyni at debian.org
Sun Apr 3 19:08:29 UTC 2016
Package: libredis-perl
Version: 2:1.9820-1
Severity: important
Tags: upstream patch
Forwarded: https://github.com/PerlRedis/perl-redis/issues/111
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs locale
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
This package fails to build in non-English locales.
>From https://tests.reproducible-builds.org/rb-pkg/unstable/amd64/libredis-perl.html
# Failed test 'the code died as expected'
# at t/11-timeout.t line 41.
# 'Error while reading from Redis server: Resource temporarily unavailable at t/11-timeout.t line 40.
# '
# doesn't match '(?^u:Error while reading from Redis server: Connexion termin�e par expiration du d�lai d'attente|Error while reading from Redis server: Ressource temporairement non disponible)'
# Looks like you failed 1 test of 2.
The test script is calling POSIX::strerror() for two errno values, getting
locale dependent strings, and comparing them to the non-locale-dependent
return value of Redis->get().
This is https://github.com/PerlRedis/perl-redis/issues/111 and the
attached patch is from https://github.com/PerlRedis/perl-redis/pull/112
(not yet merged upstream).
--
Niko Tyni ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 112.patch
Type: text/x-diff
Size: 1286 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20160403/c9063533/attachment.patch>
More information about the pkg-perl-maintainers
mailing list