Bug#546240: libxml-libxml-perl: FTBFS with libxml2 2.7.4 (test failure)
Niko Tyni
ntyni at debian.org
Mon Sep 21 18:40:43 UTC 2009
On Fri, Sep 11, 2009 at 11:12:55PM +0300, Niko Tyni wrote:
> Package: libxml-libxml-perl
> Version: 1.69.ds-2
> Severity: serious
>
> This package fails to build from source with libxml2 2.7.4.dfsg-1
> but not 2.7.3.dfsg-2.1.
> t/03doc.......................:2: parser error : Extra content at the end of the document
> dubious
> Test returned status 2 (wstat 512, 0x200)
> DIED. FAILED tests 159-166
These tests correspond to the UTF-16BE part of the last loop in t/03doc.t.
A non-perl version:
iconv --to UTF-16LE <<EOF | xmllint --noout - && echo ok
<?xml version="1.0" encoding="UTF-16BE"?>
<test foo="bar"/>
EOF
which gives 'ok' with libxml2 2.7.3 and several errors including
'Extra content at the end of the document' with 2.7.4.
IOW, the test is supplying UTF-16LE data marked as UTF-16BE, and
the new libxml2 rightly complains.
--
Niko Tyni ntyni at debian.org
More information about the pkg-perl-maintainers
mailing list