Bug#892121: libxml-saxon-xslt2-perl FTBFS with libsaxonhe-java 9.8.0.8+dfsg+1-1

gregor herrmann gregoa at debian.org
Tue Mar 13 22:28:41 UTC 2018


On Mon, 05 Mar 2018 21:54:43 +0200, Adrian Bunk wrote:

> Source: libxml-saxon-xslt2-perl
> Version: 0.010-2
> Severity: serious
> Tags: buster sid
> 
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libxml-saxon-xslt2-perl.html

> PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
> Use of uninitialized value $home in string ne at /usr/share/perl5/Inline.pm line 1352, <DATA> line 1.
> 
> A problem was encountered while attempting to compile and install your Inline
> Java code. The command that failed was:
>   "/usr/lib/jvm/default-java/bin/javac" -deprecation  -d "/build/1st/libxml-saxon-xslt2-perl-0.010/_Inline/lib/auto/XML/Saxon/XSLT2_dbc0" Transformer.java > cmd.out 2>&1
> 
> The build directory was:
> /build/1st/libxml-saxon-xslt2-perl-0.010/_Inline/build/XML/Saxon/XSLT2_dbc0
> 
> The error message was:
> Transformer.java:181: error: constructor Serializer in class Serializer cannot be applied to given types;
> 		Serializer out = new Serializer();
> 		                 ^
>   required: Processor
>   found: no arguments
>   reason: actual and formal argument lists differ in length
> Note: Transformer.java uses unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 1 error

Oh nice, a Java problem in a Perl module.

Looks like the constructor of Serializer() chhanged somehow in
libsaxonhe-java 9.8. I hope that the Java guys know better than me
what needs to be changed :)

The Java-code-embedded-in-Perl starts at
https://salsa.debian.org/perl-team/modules/packages/libxml-saxon-xslt2-perl/blob/master/lib/XML/Saxon/XSLT2.pm#L350
the error happens in line
https://salsa.debian.org/perl-team/modules/packages/libxml-saxon-xslt2-perl/blob/master/lib/XML/Saxon/XSLT2.pm#L531


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: Lenny Kravitz: Are You Gonna Go My Way
-------------- 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/20180313/f66b665a/attachment.sig>


More information about the pkg-perl-maintainers mailing list