Bug#893353: libinline-java-perl FTBFS with openjdk-9

gregor herrmann gregoa at debian.org
Sat Mar 31 16:05:46 UTC 2018


On Sat, 31 Mar 2018 13:19:58 +0200, Emmanuel Bourg wrote:

> Le 31/03/2018 à 00:39, gregor herrmann a écrit :
> > BTW, do you have an idea why 0.63-1 and 0.64-1 don't build on armel?
> Sorry I can't see. Is there a way to have more details on the test
> failures ?

You mean besides the build logs?
https://buildd.debian.org/status/fetch.php?pkg=libinline-java-perl&arch=armel&ver=0.63-1&stamp=1521403599&raw=0
https://buildd.debian.org/status/fetch.php?pkg=libinline-java-perl&arch=armel&ver=0.64-1&stamp=1522083758&raw=0

No, I'm also confused by why all tests fail with wstat 11.
(That's a SIGSEGV, right?)

I thought that maybe there might be known problems with openjdk-9 on
armel.

Trying to reproduce the issue on abel.d.o in an armel sid chroot, I
get the same failures when I build the package.

Let's see:

$ PERL_INLINE_JAVA_JNI=1 prove --blib --verbose t/01_init.t
t/01_init.t .. 
1..1
# Running under perl version 5.026001 for linux
# Current time local: Sat Mar 31 14:51:34 2018
# Current time GMT:   Sat Mar 31 14:51:34 2018
# Using Test.pm version 1.30
Can't call method "get_java_config" on an undefined value at t/01_init.t line 15.
Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests 

Test Summary Report
-------------------
t/01_init.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
Files=1, Tests=0,  3 wallclock secs ( 0.12 usr  0.01 sys +  3.15 cusr  0.06 csys =  3.34 CPU)
Result: FAIL


Different wstat and exit status, and we see the problem: $ij is not
defined, which should be compiled Java code, if I'm reading
https://salsa.debian.org/perl-team/modules/packages/libinline-java-perl/blob/master/t/01_init.t
correctly.


Of course we can add armel to NO_JNI_ARCH in debian/rules to avoid
the whole issue with the JVM as a shared object (confirmed that the
tests pass) but finding the actual issue would still be nicer.
Or maybe we should just go that way instead of wasting time with an
almost dead architecture ...


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Bob Dylan: Knockin' On Heaven's Door
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20180331/8b3bc654/attachment.sig>


More information about the pkg-perl-maintainers mailing list