Package: libipc-system-simple-perl
Version: 1.25-2 
Severity: wishlist
Tags: patch
Usertags: ftbfs locale

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.


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
>From 5532c490029357224e0c1bdf513d7612ec903d60 Mon Sep 17 00:00:00 2001
From: Niko Tyni <>
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 $@
-	TEST_AUTHOR=1 dh_auto_test
+	LC_ALL=C TEST_AUTHOR=1 dh_auto_test

Reproducible-builds mailing list

Reply via email to