Bug#841352: libnftnl: FTBFS (testsuite error) on Big Endian Architectures

2016-10-20 Thread Arturo Borrero Gonzalez
On 19 October 2016 at 20:20, Gianfranco Costamagna
 wrote:
> Source: libnftnl
> Version: 1.0.6-2
> Severity: serious
>
> Hi, as you know, the current package is not migrating because of testsuite 
> failures on BE architectures.
>
> Unfortunately I don't have a patch, but in Ubuntu we are excluding them from 
> the testsuite
>

I know, I know.

Currently trying to find some spare time to fix this upstream, but no way.

Thanks for the pseudo-patch, I think I will apply it for now.

best regards.
-- 
Arturo Borrero González



Bug#841352: libnftnl: FTBFS (testsuite error) on Big Endian Architectures

2016-10-19 Thread Gianfranco Costamagna
Source: libnftnl
Version: 1.0.6-2
Severity: serious

Hi, as you know, the current package is not migrating because of testsuite 
failures on BE architectures.

Unfortunately I don't have a patch, but in Ubuntu we are excluding them from 
the testsuite

diff -Nru libnftnl-1.0.6/debian/rules libnftnl-1.0.6/debian/rules
--- libnftnl-1.0.6/debian/rules 2016-10-10 11:36:28.0 +0200
+++ libnftnl-1.0.6/debian/rules 2016-10-19 11:36:06.0 +0200
@@ -4,6 +4,7 @@
#export DH_VERBOSE=1

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+DEB_BUILD_ARCH_ENDIAN ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_ENDIAN)


%:
@@ -17,4 +18,6 @@

override_dh_auto_test:
dh_auto_test
+ifeq (little,$(DEB_BUILD_ARCH_ENDIAN))
sh -c "cd tests; set -e; ./test-script.sh"
+endif


I'm not tagging the bug patch, because this isn't obviously a real patch.

cheers,

Gianfranco