Bug#753057: libxml-saxon-xslt2-perl: FTBFS with Perl 5.20: test failures

gregor herrmann gregoa at debian.org
Wed Jul 9 17:42:29 UTC 2014


Control: reassign -1 libinline-java-perl 0.53-2
Control: retitle -1 libinline-java-perl: broken symlinks when built under perl 5.20
Control: affects -1 libxml-saxon-xslt2-perl
Control: tag -1 + patch

On Sat, 28 Jun 2014 22:49:46 +0300, Niko Tyni wrote:

> Package: libxml-saxon-xslt2-perl
> Version: 0.007-3
> Severity: important
> User: debian-perl at lists.debian.org
> Usertags: perl-5.20-transition
> 
> This package fails to build from source with Perl 5.20 (currently in
> experimental):
>   
>     ResultL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches;
>    test_harness(1, 'inc', 'blib/lib', 'blib/arch')" t/01basic.t
>   
>   Note: Transformer.java uses unchecked or unsafe operations.
>   Note: Recompile with -Xlint:unchecked for details.
>   
>   Error: Could not find or load main class org.perl.inline.java.InlineJavaServer

> It looks like libinline-java-perl might be at fault, but its test suite
> does pass with 5.20.

Looking at libinline-java-perl, built with perl 5.20, we see:

# ls -la /usr/lib/x86_64-linux-gnu/perl5/5.20/Inline/Java/InlineJavaServer.jar
lrwxrwxrwx 1 root root 58 Jun 29 17:15 /usr/lib/x86_64-linux-gnu/perl5/5.20/Inline/Java/InlineJavaServer.jar -> ../../../../share/libinline-java-perl/InlineJavaServer.jar
# file /usr/lib/x86_64-linux-gnu/perl5/5.20/Inline/Java/InlineJavaServer.jar
/usr/lib/x86_64-linux-gnu/perl5/5.20/Inline/Java/InlineJavaServer.jar: broken symbolic link to `../../../../share/libinline-java-perl/InlineJavaServer.jar'

Patch committed to git.

(Using dh_link in debian/rules, no idea how to do this cdbs-y.
Leaving it up to Jonas to finish my "work".)

With this change in libinline-java-perl, libxml-saxon-xslt2-perl
builds fine.

Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Supertramp: Rudy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 928 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20140709/8416c85c/attachment.sig>


More information about the pkg-perl-maintainers mailing list