Hello,

Firstly, I have applied proposed patch.

patch for Java/JNI.xs:

--- a/Java/JNI.xs
+++ b/Java/JNI.xs
@@ -48,7 +48,7 @@
    if ((*(env))->ExceptionCheck(env)){
        (*(env))->ExceptionDescribe(env) ;
        (*(env))->ExceptionClear(env) ;
-       croak(msg) ;
+       croak("%s", msg) ;
    }
 }

Secondly, I have tried to replace CDBS debian/rules in package 
libinline-java-perl file with the folowing debian/rules:

debian/rules:
-------------------------------------------------------------------------------
#!/usr/bin/make -f
export PERL_MM_USE_DEFAULT := 1
%:
    dh $@
override_dh_auto_configure:
    DESTDIR=$$(pwd)/
    perl Makefile.PL J2SDK=/usr/lib/jvm/default-java
override_dh_usrlocal:
-------------------------------------------------------------------------------

With these changes package does build successfully (using sbuild) on mips, 
mipsel, and i386.

We are not sure why this issue is happening only on mips and not on mipsel, 
i386, etc.
I have noticed that package is also FTBFS on sparc with similar error.
Could somebody please test this on sparc?

Thank you!

Regards,
Jurica


Reply via email to