Bug#646296: libxml-atom-service-perl: FTBFS: test failures

gregor herrmann gregoa at debian.org
Sun Oct 23 00:07:03 UTC 2011


tag 646296 + confirmed
forwarded 646296 https://rt.cpan.org/Ticket/Display.html?id=71860
thanks

On Sat, 22 Oct 2011 23:10:33 +0100, Dominic Hargreaves wrote:

> This package FTBFS for me on a clean sid i386 chroot:

Samke here
 
> Checking prerequisites...
>   build_requires:
>     !  Test::NoWarnings is not installed

That's a false positive, Test::NoWarnings is only in Build.PL and
META.yml but never used.
 
> #   Failed test at t/02.categories.t line 57.
> #                   '<?xml version="1.0" encoding="UTF-8"?>
> # <categories xmlns="http://www.w3.org/2007/app" fixed="yes" scheme="http://example.org/extra-cats/">
> #   <category xmlns="http://www.w3.org/2005/Atom" scheme="http://example.org/extra-cats/" term="joke"/>
> #   <category xmlns="http://www.w3.org/2005/Atom" scheme="http://example.org/extra-cats/" term="serious"/>
> # </categories>
> # '
> #     doesn't match '(?-xism:^<\?xml version="1.0" encoding="utf-8"\?>)'
> # Looks like you failed 1 test of 40.
> t/02.categories.t .. 
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/40 subtests 

> #   Failed test at t/05.service.t line 34.
> #                   '<?xml version="1.0" encoding="UTF-8"?>
> # <service xmlns="http://www.w3.org/2007/app">
> #   <workspace>
> #     <atom:title xmlns:atom="http://www.w3.org/2005/Atom">Foo Bar</atom:title>
> #   </workspace>
> #   <workspace>
> #   <workspace>
> #     <atom:title xmlns:atom="http://www.w3.org/2005/Atom">Baz Quux</atom:title>
> #   </workspace>
> # </service>
> # '
> #     doesn't match '(?-xism:^<\?xml version="1.0" encoding="utf-8"\?>)'
> # Looks like you failed 1 test of 17.
> t/05.service.t ..... 
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/17 subtests 

Ah, utf-8 vs. UTF-8. Hooray.

Seems like this is:
libxml-atom-perl ->
Changes ->
0.40 -> 
* use all upper case UTF-8


Ok, let's make the regexp case-insensitive and forward the patch
upstream (no bugreport yet, but the same failures on cpantesters).


Cheers,
gregor

-- 
 .''`.   Homepage: http://info.comodo.priv.at/ - OpenPGP key ID: 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Ludwig Hirsch: Schutzengerl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20111023/521eac73/attachment-0001.pgp>


More information about the pkg-perl-maintainers mailing list