Package: libipc-system-simple-perl
Version: 1.25-2 
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs locale
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

This package fails to build in some locales (at least fr_CH.UTF-8):

  #   Failed test 'Permission denied on non-exe'
  #   at t/05_multi_capture.t line 79.
  #                   '"not_an_exe.txt" failed to start: "Aucun fichier ou 
dossier de ce type" at t/05_multi_capture.t line 76.
  # '
  #     doesn't match '(?^:Permission denied|No such file|The system cannot 
find the file specified)'
  # Looks like you failed 1 test of 14.

See 
https://reproducible.debian.net/logs/unstable/amd64/libipc-system-simple-perl_1.25-2.build2.log.gz

As this is an "author test" that we deliberately activate with
TEST_AUTHOR=1, I don't think we should patch the test or push a fix
upstream. Instead, I think setting LC_ALL=C for the build in debian/rules
is good enough to fix this.

Trivial patch attached, will upload myself. Filing this to document
the issue.
-- 
Niko Tyni   nt...@debian.org
>From 5532c490029357224e0c1bdf513d7612ec903d60 Mon Sep 17 00:00:00 2001
From: Niko Tyni <nt...@debian.org>
Date: Sun, 6 Dec 2015 11:47:05 +0200
Subject: [PATCH] Set LC_ALL=C when building to fix an author test failure

t/05_multi_capture.t hardcodes error messages, making it fail
in other locales.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 3f81eae..884c176 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,4 +4,4 @@
 	dh $@
 
 override_dh_auto_test:
-	TEST_AUTHOR=1 dh_auto_test
+	LC_ALL=C TEST_AUTHOR=1 dh_auto_test
-- 
2.6.2

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to