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

2018-03-31 Thread gregor herrmann
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=armel=0.63-1=1521403599=0
https://buildd.debian.org/status/fetch.php?pkg=libinline-java-perl=armel=0.64-1=1522083758=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


signature.asc
Description: Digital Signature


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

2018-03-31 Thread Emmanuel Bourg
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 ?

Emmanuel Bourg



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

2018-03-30 Thread gregor herrmann
On Fri, 30 Mar 2018 17:12:20 +0200, Emmanuel Bourg wrote:

> Control: fixed -1 0.63-1
> Control: close -1
> 
> I confirm this is now fixed in unstable.

Thanks, seems we missed to close this bug in two subsequent uploads :/

BTW, do you have an idea why 0.63-1 and 0.64-1 don't build on armel?

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: Leonard Cohen: I tried to leave you


signature.asc
Description: Digital Signature


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

2018-03-30 Thread Emmanuel Bourg
Control: fixed -1 0.63-1
Control: close -1

I confirm this is now fixed in unstable.



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

2018-03-18 Thread gregor herrmann
Control: tag -1 + fixed-upstream

On Sun, 18 Mar 2018 10:14:10 +0200, Adrian Bunk wrote:

> Source: libinline-java-perl
> Version: 0.58~dfsg-3
> Severity: serious
> 
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libinline-java-perl.html
> 
> ...
> Test Summary Report
> ---
> t/04_members.t   (Wstat: 6400 Tests: 18 Failed: 0)
>   Non-zero exit status: 25
>   Parse errors: Bad plan.  You planned 28 tests but ran 18.
> t/05_arrays.t(Wstat: 6400 Tests: 24 Failed: 1)
>   Failed test:  24
>   Non-zero exit status: 25
>   Parse errors: Bad plan.  You planned 55 tests but ran 24.
> t/12_1_callbacks.t   (Wstat: 6400 Tests: 17 Failed: 0)
>   Non-zero exit status: 25
>   Parse errors: Bad plan.  You planned 37 tests but ran 17.
> Files=20, Tests=287, 314 wallclock secs ( 1.92 usr  1.31 sys + 374.44 cusr 
> 121.68 csys = 499.35 CPU)
> Result: FAIL
> Failed 3/20 test programs. 1/287 subtests failed.
> make[1]: *** [Makefile:918: test_dynamic] Error 255

According to the upstream Changes, this is supposed to be fixed in
0.61.


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: Red Hot Chili Peppers: Road Trippin'


signature.asc
Description: Digital Signature


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

2018-03-18 Thread Adrian Bunk
Source: libinline-java-perl
Version: 0.58~dfsg-3
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libinline-java-perl.html

...
Test Summary Report
---
t/04_members.t   (Wstat: 6400 Tests: 18 Failed: 0)
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 28 tests but ran 18.
t/05_arrays.t(Wstat: 6400 Tests: 24 Failed: 1)
  Failed test:  24
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 55 tests but ran 24.
t/12_1_callbacks.t   (Wstat: 6400 Tests: 17 Failed: 0)
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 37 tests but ran 17.
Files=20, Tests=287, 314 wallclock secs ( 1.92 usr  1.31 sys + 374.44 cusr 
121.68 csys = 499.35 CPU)
Result: FAIL
Failed 3/20 test programs. 1/287 subtests failed.
make[1]: *** [Makefile:918: test_dynamic] Error 255