Your message dated Tue, 08 Dec 2015 22:16:03 +0000
with message-id <[email protected]>
and subject line Bug#807438: fixed in libfile-fu-perl 0.0.8-3
has caused the Debian Bug report #807438,
regarding libfile-fu-perl: test suite fails in non-English locales
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
807438: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807438
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libfile-fu-perl
Version: 0.0.8-2
Severity: important
Tags: patch
User: [email protected]
Usertags: ftbfs locale
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=110210
X-Debbugs-Cc: [email protected]
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 the relevant test scripts. Patch to do the
former attached (and already forwarded upstream.)
--
Niko Tyni [email protected]
>From 0b458588148ebcc5933085f0943bb9aa150c548d Mon Sep 17 00:00:00 2001
From: Niko Tyni <[email protected]>
Date: Tue, 8 Dec 2015 23:21:01 +0200
Subject: [PATCH] Set the locale to C for test scripts that hardcode English
error messages
This fixes test failures in other locales, like fr_FR.UTF-8.
Bug: https://rt.cpan.org/Public/Bug/Display.html?id=110210
---
t/dir.t | 5 +++++
t/errors.t | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/t/dir.t b/t/dir.t
index 856fe0f..41aed6c 100755
--- a/t/dir.t
+++ b/t/dir.t
@@ -7,6 +7,11 @@ use Test::More qw(no_plan);
use File::Fu;
+use POSIX qw(locale_h);
+
+# tests hardcode English error messages
+setlocale(LC_ALL, "C");
+
{
my $d = File::Fu->dir("foo." . $$);
$d->e and $d->rmdir;
diff --git a/t/errors.t b/t/errors.t
index 635bf9d..26c6978 100755
--- a/t/errors.t
+++ b/t/errors.t
@@ -7,6 +7,11 @@ use Test::More qw(no_plan);
use File::Fu;
+use POSIX qw(locale_h);
+
+# tests hardcode English error messages
+setlocale(LC_ALL, "C");
+
{ # invalid ops
my $f = File::Fu->dir;
--
2.6.2
--- End Message ---
--- Begin Message ---
Source: libfile-fu-perl
Source-Version: 0.0.8-3
We believe that the bug you reported is fixed in the latest version of
libfile-fu-perl, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Niko Tyni <[email protected]> (supplier of updated libfile-fu-perl package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 08 Dec 2015 23:37:30 +0200
Source: libfile-fu-perl
Binary: libfile-fu-perl
Architecture: source
Version: 0.0.8-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <[email protected]>
Changed-By: Niko Tyni <[email protected]>
Description:
libfile-fu-perl - module for manipulating files and directories as objects
Closes: 807438
Changes:
libfile-fu-perl (0.0.8-3) unstable; urgency=medium
.
* Team upload.
* Set the locale to C for test scripts that hardcode English error messages.
(Closes: #807438)
* Make the package autopkgtestable.
Checksums-Sha1:
d5fb7a478a9abf11ac14c1f08bb84649c3085b7d 2195 libfile-fu-perl_0.0.8-3.dsc
5b9521935bf9339ad0394f426b246ae083b6be8e 3688
libfile-fu-perl_0.0.8-3.debian.tar.xz
Checksums-Sha256:
c3b5954d89cd8a980bed56e0c8947dc9c6ae71a191dfffe9fa534f92c922c33b 2195
libfile-fu-perl_0.0.8-3.dsc
c7c6ca9f22cca16e2d16103fd51a415623c3cb63a2265b260d1240d5f6c7e9e1 3688
libfile-fu-perl_0.0.8-3.debian.tar.xz
Files:
bc9de0adb5fa5f837ec038f6e0842144 2195 perl optional libfile-fu-perl_0.0.8-3.dsc
8ed8398fd9572f052e781c12478c29a4 3688 perl optional
libfile-fu-perl_0.0.8-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJWZ1AlAAoJEC7A/7O3MBsfvrEP/AkdaDVkEJ1TPIBmxXM1qfuV
4bf49man39spjbyJl87qoLQJwRwFYh+8X8y6ts3Xj776ZIj9yPCJlYXGmtaaLlS5
hLRmXlZ+/VZvclIKfJmar6tATpUVW7641RmjQWjJITyXy1ygBchSMp+wyy49cIUx
izaivFLRFnFKG0xkTzYoHvRzGZPXbfbqvWjHr/CkarVAUvzrIFp+K6wgV7o7Uyfe
Vs12oczVAVDmiMq4aIDpaZ/7icMzVadzBi/DvIMrisIVpuE/VUtxEQJVIABK/5uw
5KcmooG0QfRDobnjilWX7bTgHUgb9YN1uSYadHpO01ysDNdLEQX57YdUHbYNVBEp
jDXnZLztBUAIfMdLi/6uNag3Sl6nQipkzw16aMH5lFHYwt3PwqEjO0pQk3RL/kk6
Fo+4hlCASgL/wyzJMbAPPXe5LyTNYtpMrhWTT49ZTVdH7pMuh2vf5gd6XWt1F5b+
0IgutYdrpPSabeNTrkUTyNwkmsq1KEqaijwXW5nalg+LERGD2zphnEDnuIhpStn8
e9AJivenI+Im8+Mcxy+Dmj0WqXOa8GbhVd5Asf9+xJDTkQ8dosxiY+pJBqOl3wCH
PbDpJ1/DhcoSAV6Ypp4UBBITcZWo54VnXxBa4Ju+6gdDGeydDDzFfQxhDzsgkPV3
FH/ohaJLBGJ2g+mv1eBA
=aRJ0
-----END PGP SIGNATURE-----
--- End Message ---