Bug#419689: libxml-filter-sort-perl: FTBFS: 3/7 test scripts, 5/117 subtests failed

Niko Tyni ntyni at iki.fi
Tue Apr 17 19:33:36 UTC 2007


clone 419689 -1 -2
reassign -1 libxml-sax-perl 0.14-0.1
retitle -1 libxml-sax-perl: processing instruction parsing bug breaks XML::Filter::Sort
block 419689 by -1
submitter -1 !
tags -1 patch upstream
forwarded -1 http://rt.cpan.org/Public/Bug/Display.html?id=19173
reassign -2 libxml-sax-perl 0.14-0.1
retitle -2 libxml-sax-perl: warnings from encoding detection
severity -2 minor
tags -2 patch fixed-upstream
submitter -2 !
thanks

On Tue, Apr 17, 2007 at 02:42:22PM +0200, Lucas Nussbaum wrote:
> Package: libxml-filter-sort-perl
> Version: 1.01-1
> Severity: serious
> Justification: FTBFS on i386, very likely to fail everywhere else
> Usertags: grid5000 rebuild

> During a rebuild of all packages in sid, I discovered that your package
> failed to build on i386.
> 
> Relevant parts:
> DIED. FAILED tests 7, 13
>         Failed 2/26 tests, 92.31% okay
> Failed Test       Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> t/1_buffer.t         1   256    17    1   5.88%  14
> t/4_workout.t        2   512    26    2   7.69%  7 13
> t/6_diskworkout.t    2   512    26    2   7.69%  7 13
> Failed 3/7 test scripts, 57.14% okay. 5/117 subtests failed, 95.73% okay.
> make[1]: *** [test_dynamic] Error 2

This is due to a bug in XML::SAX::PurePerl 0.14. It's reported as CPAN
#19173. I'm attaching the patch from the CPAN report, which fixes the
problem for me. The problem is still present in upstream 0.15.

The libxml-filter-sort-perl test log also shows these warnings:

 Unable to recognise encoding of this document at /usr/share/perl5/XML/SAX/PurePerl/EncodingDetect.pm line 96.

These are apparently harmless and are fixed in upstream 0.15. I'm
attaching a patch for this as well for the sake of completeness.

Lucas, thanks for your QA efforts. Much appreciated.

Cheers,
-- 
Niko Tyni   ntyni at iki.fi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XML-SAX-processing.patch
Type: text/x-diff
Size: 1353 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20070417/e1fd2553/XML-SAX-processing.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XML-SAX-encoding.patch
Type: text/x-diff
Size: 694 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20070417/e1fd2553/XML-SAX-encoding.bin


More information about the pkg-perl-maintainers mailing list