Hi,

Test 'test-charpoly' fails for mips and mipsel:
https://github.com/linbox-team/linbox/issues/37

A workaround at this point could be to disable this test, please see:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797167

Current solution for this in debian/rules file (which disables this test) does 
not work properly.

Disabling test should be done before autoreconf stage.
The test has been disabled for both mips and mipsel.
I have created and attached a patch which disables this test.
With this patch package builds successfully, without test-charpoly execution.

Regards,
Radovan
--- linbox-1.4.2_orig/debian/rules	2016-11-29 22:32:45.000000000 +0000
+++ linbox-1.4.2/debian/rules	2017-03-07 13:56:57.000000000 +0000
@@ -15,10 +15,10 @@ DEB_HOST_ARCH_CPU ?= $(shell dpkg-archit
 
 # Disable failing test test-charpoly on mipsel.
 # See https://github.com/linbox-team/linbox/issues/37
-ifeq ($(DEB_HOST_ARCH_CPU), $(filter $(DEB_HOST_ARCH_CPU), mipsel))
-build:
+ifeq ($(DEB_HOST_ARCH_CPU), $(filter $(DEB_HOST_ARCH_CPU), mips mipsel))
+override_dh_autoreconf:
 	sed -e '/\s*test-charpoly\s*\\/d' -i tests/Makefile.am
-	dh build --with autoreconf --parallel
+	dh_autoreconf -a -O--parallel
 endif
 
 override_dh_auto_configure:
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to