Source: libinline-java-perl Severity: serious Tags: patch The test suite of the libinline-java-perl package seems to assume that the decimal point separator is a dot. This fails if the package is built with e.g. LANG=bg_BG.UTF-8 and without an appropriate LC_NUMERIC setting.
Attached is a patch that runs the test suite with LC_NUMERIC=C. If there are no objections, I intend to commit it to the pkg-perl Git repository later today. G'luck, Peter -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
From 0ea2fa36fd43c5df0e3815dfa42dfa72b4934f30 Mon Sep 17 00:00:00 2001 From: Peter Pentchev <r...@ringlet.net> Date: Mon, 24 Nov 2014 17:29:30 +0200 Subject: [PATCH 2/3] Use the C locale's decimal point for the tests. --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index d21dac9..22b091b 100755 --- a/debian/rules +++ b/debian/rules @@ -43,6 +43,9 @@ export JAVA_HOME=/usr/lib/jvm/default-java # Have testsuite use JNI export PERL_INLINE_JAVA_JNI=1 +# Have testsuite use the C locale's decimal point +DEB_MAKE_CHECK_TARGET += LC_NUMERIC=C + binary-post-install/$(pkg):: chrpath -d $(cdbs_curdestdir)$(perlpath)/auto/Inline/Java/JNI/JNI.so -- 2.1.3
signature.asc
Description: Digital signature