Bug#791520: libmojomojo-perl: FTBFS: Recursive inheritance detected in package 'Types::Serialiser::BooleanBase'

gregor herrmann gregoa at debian.org
Sat Sep 5 19:14:15 UTC 2015


Control: tag -1 - fixed-upstream
# (sorry)

On Sat, 05 Sep 2015 14:02:28 +0300, Niko Tyni wrote:

> retitle 791520 libmojomojo-perl: FTBFS: test failures
> tag 791520 fixed-upstream
> # (hopefully)
> thanks


> > Same with upstream's 1.11.
> This error mode is now gone, it was probably #791709 in libjson-perl.

Ack.
 
> The current failures are in formatter_file.t and unicode.t, and it looks
> like they should be fixed upstream in 1.11. Tentatively tagging :)
> 
> 
>   #   Failed test 'Text file is formated'
>   #   at t/formatter_file.t line 51.
>   #                   '<div class="formatter_txt">
>   # <p>Text file</p> <p><a href="http://mojomojo.org">http://mojomojo.org</a></p></div>
>   # '
>   #     doesn't match '(?^s:<div class="formatter_txt">\n<p>Text file</p> <p><a href="http://mojomojo.org/">http://mojomojo.org</a></p></div>)'
>   # Looks like you failed 1 test of 14.
>   
>   #   Failed test 'basic Unicode: page content'
>   #   at t/unicode.t line 44.
>   Wide character in print at /usr/share/perl/5.20/Test/Builder.pm line 1821.
>   #          got: "<p>\x{e1}\x{83}\x{94}\x{e1}\x{83}\x{91}\x{e1}\x{83}\x{a0}\x{e1}\x{83}\x{90}\x{e1}\x{83}\x{a3}\x{e1}\x{83}\x{9a}\x{e1}\x{83}\x{98} \x{e1}\x{83}\x{94}\x{e1}\x{83}\x{9c}\x{e1}\x{83}\x{90} (\x{d7}\x{a2}\x{d7}\x{91}\x{d7}\x{a8}\x{d7}\x{99}\x{d7}\x{aa}, \x{e1}\x{83}"...
>   #       length: 187
>   #     expected: "<p>ებრაული ენა (עברית, ივრით), განეკუთვნება სემიტუ"...
>   #       length: 78
>   #     strings begin to differ at char 4 (line 1 column 4)
>   
>   #   Failed test 'Unicode wikilinks'
>   #   at t/unicode.t line 52.
>   Wide character in print at /usr/share/perl/5.20/Test/Builder.pm line 1821.
>   #          got: ..."." href="/\x{e1}\x{83}\x{92}\x{e1}\x{83}\x{90}\x{e1}\x{83}\x{9c}\x{e1}\x{83}\x{94}\x{e1}\x{83}\x{99}\x{e1}\x{83}\x{a3}\x{e1}\x{83}\x{97}\x{e1}\x{83}\x{95}\x{e1}\x{83}\x{9c}\x{e1}\x{83}\x{94}\x{e1}\x{83}\x{91}\x{e1}\x{83}\x{90}.edi"...
>   #       length: 181
>   #     expected: ..."." href="/განეკუთვნება.edit">განეკუთვნება?</a></sp"...
>   #       length: 133
>   #     strings begin to differ at char 86 (line 1 column 86)
>   # Looks like you failed 2 tests of 9.
>   
>   Test Summary Report
>   -------------------
>   t/formatter_file.t            (Wstat: 256 Tests: 14 Failed: 1)
>     Failed test:  8
>     Non-zero exit status: 1
>   t/unicode.t                   (Wstat: 512 Tests: 9 Failed: 2)
>     Failed tests:  7-8
>     Non-zero exit status: 2

t/formatter_file.t passes, t/unicode.t still fails:

#   Failed test 'basic Unicode: page content'
#   at t/unicode.t line 44.
Wide character in print at /usr/share/perl/5.20/Test/Builder.pm line 1821.
#          got: "<p>\x{e1}\x{83}\x{94}\x{e1}\x{83}\x{91}\x{e1}\x{83}\x{a0}\x{e1}\x{83}\x{90}\x{e1}\x{83}\x{a3}\x{e1}\x{83}\x{9a}\x{e1}\x{83}\x{98} \x{e1}\x{83}\x{94}\x{e1}\x{83}\x{9c}\x{e1}\x{83}\x{90} (\x{d7}\x{a2}\x{d7}\x{91}\x{d7}\x{a8}\x{d7}\x{99}\x{d7}\x{aa}, \x{e1}\x{83}"...
#       length: 187
#     expected: "<p>ებრაული ენა (עברית, ივრით), განეკუთვნება სემიტუ"...
#       length: 78
#     strings begin to differ at char 4 (line 1 column 4)

#   Failed test 'Unicode wikilinks'
#   at t/unicode.t line 52.
Wide character in print at /usr/share/perl/5.20/Test/Builder.pm line 1821.
#          got: ..."." href="/\x{e1}\x{83}\x{92}\x{e1}\x{83}\x{90}\x{e1}\x{83}\x{9c}\x{e1}\x{83}\x{94}\x{e1}\x{83}\x{99}\x{e1}\x{83}\x{a3}\x{e1}\x{83}\x{97}\x{e1}\x{83}\x{95}\x{e1}\x{83}\x{9c}\x{e1}\x{83}\x{94}\x{e1}\x{83}\x{91}\x{e1}\x{83}\x{90}.edi"...
#       length: 181
#     expected: ..."." href="/განეკუთვნება.edit">განეკუთვნება?</a></sp"...
#       length: 133
#     strings begin to differ at char 86 (line 1 column 86)
# Looks like you failed 2 tests of 9.
t/unicode.t ..................... 
1..9
ok 1 - use MojoMojo::Formatter::Markdown;
ok 2 - use Catalyst::Test;
ok 3 - use Test::WWW::Mechanize::Catalyst;
ok 4 - save original formatter
ok 5 - set preferred formatter to Markdown
ok 6 - POST /.jsrpc/render
not ok 7 - basic Unicode: page content
not ok 8 - Unicode wikilinks
ok 9 - restore original formatter
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/9 subtests 


Test Summary Report
-------------------
t/unicode.t                   (Wstat: 512 Tests: 9 Failed: 2)
  Failed tests:  7-8
  Non-zero exit status: 2
Files=58, Tests=831, 93 wallclock secs ( 0.28 usr  0.06 sys + 83.77 cusr  4.34 csys = 88.45 CPU)
Result: FAIL
Failed 1/58 test programs. 2/831 subtests failed.


Cheers,
gregor

  

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


More information about the pkg-perl-maintainers mailing list