[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#892121: libxml-saxon-xslt2-perl FTBFS with libsaxonhe-java

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
the error happens in line


 .''`.  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

Attachment: signature.asc
Description: Digital Signature

Reply to: