Source: unifdef Version: 2.10-1 Severity: serious Justification: fails to build from source Tags: patch User: [email protected] Usertags: ftbfs locale X-Debbugs-Cc: [email protected]
Dear Maintainer,
unifdef fails to build from source in unstable/amd64 under some
locales (eg. LANG="fr_CH.UTF-8").
This is due to hard-coded error messages in the testsuite:
[…]
FAILED: multimissing.err: opts="-DFOO=1 -DFOOB=42 -UBAR" files="if1.c
ifmissing.c if2.c" . ./multi-generic-sh
--- multimissing.experr 2014-01-07 20:18:30.000000000 +0100
+++ multimissing.err 2016-10-20 16:18:24.547467992 +0200
@@ -1,4 +1,4 @@
unifdef: can't open mifmissing.c: No such file or directory
-diff: mifmissing.c~: No such file or directory
-diff: mifmissing.c: No such file or directory
-diff: mif2.c~: No such file or directory
+diff: mifmissing.c~: Aucun fichier ou dossier de ce type
+diff: mifmissing.c: Aucun fichier ou dossier de ce type
+diff: mif2.c~: Aucun fichier ou dossier de ce type
......................
[…]
The full build log & a patch is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
unifdef.2.10-1.unstable.amd64.log.txt.gz
Description: Binary data
diff --git a/debian/rules b/debian/rules
index f859264..17f632a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ build-arch: build-stamp
build-stamp:
$(MAKE) $(shell dpkg-buildflags --export=cmdline)
- $(MAKE) test
+ LC_ALL=C $(MAKE) test
touch build-stamp
clean:

