Hi, sorry for removing the bug from my mail, won't happen again. :) I'm trying to reproduce this:
"About ditching hardening-wrapped in favour of just using what dpkg-buildflags do: whatever I use the .dsc you provided, just removed hardening-wrapper or enable the hardening build flags using DEB_BUILD_MAINT_OPTIONS, the build fails with In file included from jnimw.cc:8:0: jnimw.h:14:17: fatal error: jni.h: No such file or directory compilation terminated. ../Makefile.genrules:87: recipe for target 'jnimw.o' failed " This is a typical error message if the compiler can't find a valid JDK on your system. Do you have /usr/lib/jvm/default-java on your system? It's a symlink to the default jdk: default-java -> java-1.7.0-openjdk-amd64 I think if openjdk-7-jdk is installed then then the default-java symlink must be there. BR, Gergely