Bug#754755: [rt.cpan.org #98683] libinline-java-perl: FTBFS on mips: test suite issues

Jurica Stanojkovic Jurica.Stanojkovic at imgtec.com
Fri Nov 21 13:37:16 UTC 2014


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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20141121/1a0a5ba4/attachment.html>


More information about the pkg-perl-maintainers mailing list