Run of lintian-fixes for libejml-java

Try this locally (using the lintian-brush package):

debcheckout libejml-java
cd libejml-java
lintian-brush
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- autogenerate
	mkdir -p .gradle/init.d
	cp /usr/share/gradle-debian-helper/init.gradle .gradle/init.d/
	gradle --info --console plain --offline --stacktrace --no-daemon --refresh-dependencies --gradle-user-home .gradle -Duser.home=. -Duser.name=debian -Ddebian.package=libejml-java -Dfile.encoding=UTF-8 --parallel --max-workers=32 autogenerate

ERROR: JAVA_HOME is set to an invalid directory: /usr/lib/jvm/default-java/

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.

dh_auto_build: error: gradle --info --console plain --offline --stacktrace --no-daemon --refresh-dependencies --gradle-user-home .gradle -Duser.home=. -Duser.name=debian -Ddebian.package=libejml-java -Dfile.encoding=UTF-8 --parallel --max-workers=32 autogenerate returned exit code 1
make[1]: *** [debian/rules:10: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'

Summary

Full worker log Full build log