On Wed, Mar 08, 2017 at 06:13:34PM +0100, Erich Schubert wrote:

> Or you just add* e.g. the -*Dmaven.test.skip=true parameter, and it will
> build fine.

You probably mean the first attached patch.

I've tested that and it still run tests (not sure if all of them or
only some of them).

The second attached patch seems to disable all the tests.

If this is how you would really fix this FTBFS bug, please say so
or better tag this bug as "patch".

Thanks.
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ export JAVA_HOME=$(shell . 
/usr/share/java-wrappers/java-wrappers.sh; find_java_
 # Debian local maven repository
 REPO=/usr/share/maven-repo
 # Ensure we use Maven 3
-MVN=/usr/share/maven/bin/mvn -Dmaven.repo.local=$(REPO)
+MVN=/usr/share/maven/bin/mvn -Dmaven.repo.local=$(REPO) -Dmaven.test.skip=true
 
 %:
        dh $@ --buildsystem=maven
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,8 @@ override_dh_auto_configure:
        find elki addons data -type f -executable -exec chmod -x {} \+
        dh_auto_configure -O--buildsystem=maven
 
+override_dh_auto_test:
+
 #build:
 #      mh_patchpoms -pelki
 #      $(MVN) --offline -Psvg,svm -DskipTests=true package

Reply via email to