Source: libhtml-tidy-perl
Version: 1.56-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Dear Maintainer,

libhtml-tidy-perl fails to build from source in unstable/amd64:

  [..]

  t/extra-quote.t ...... 
  1..4
  ok 1 - An object of class 'HTML::Tidy' isa 'HTML::Tidy'
  ok 2 - Parsed OK
  ok 3 - Should have exactly three messages
  ok 4 - Matching warnings
  ok
  
  #   Failed test 'Matching warnings'
  #   at t/ignore-text.t line 33.
  #     Structures begin differing at:
  #          $got->[0] = Does not exist
  #     $expected->[0] = 'DATA (24:XX) Warning: unescaped & which should be 
written as &'
  # Looks like you failed 1 test of 3.
  t/ignore-text.t ...... 
  1..3
  ok 1 - An object of class 'HTML::Tidy' isa 'HTML::Tidy'
  ok 2 - Parsed OK
  not ok 3 - Matching warnings
  Dubious, test returned 1 (wstat 256, 0x100)
  Failed 1/3 subtests 
  
  #   Failed test 'Matching warnings'
  #   at t/ignore.t line 38.
  #     Structures begin differing at:
  #          $got->[2] = Does not exist
  #     $expected->[2] = '- (24:XX) Warning: unescaped & which should be 
written as &'
  # Looks like you failed 1 test of 9.
  t/ignore.t ........... 
  1..9
  ok 1 - An object of class 'HTML::Tidy' isa 'HTML::Tidy'
  ok 2 - Parsed OK
  not ok 3 - Matching warnings
  ok 4 - An object of class 'HTML::Tidy' isa 'HTML::Tidy'
  ok 5 - Parsed OK
  ok 6 - Matching errors
  ok 7 - An object of class 'HTML::Tidy' isa 'HTML::Tidy'
  ok 8 - eval should fail
  ok 9 - Throws an error
  Dubious, test returned 1 (wstat 256, 0x100)
  Failed 1/9 subtests 
  
  #   Failed test 'Matching messages'
  #   at t/levels.t line 28.
  #     Structures begin differing at:
  #          $got->[3] = Does not exist
  #     $expected->[3] = '- (24:XX) Warning: unescaped & which should be 
written as &'
  # Looks like you failed 1 test of 3.
  t/levels.t ........... 
  1..3
  ok 1 - An object of class 'HTML::Tidy' isa 'HTML::Tidy'
  ok 2 - Parsed OK
  not ok 3 - Matching messages
  Dubious, test returned 1 (wstat 256, 0x100)
  Failed 1/3 subtests 
  t/message.t .......... 
  1..4
  ok 1 - An object of class 'HTML::Tidy::Message' isa 'HTML::Tidy::Message'
      # Subtest: _matchup( With line numbers )
      1..6
      ok 1 - as_string matches
      ok 2 - column matches
      ok 3 - file matches
      ok 4 - line matches
      ok 5 - text matches
      ok 6 - type matches
  ok 2 - _matchup( With line numbers )
  ok 3 - An object of class 'HTML::Tidy::Message' isa 'HTML::Tidy::Message'
      # Subtest: _matchup( Without line numbers )
      1..6
      ok 1 - as_string matches
      ok 2 - column matches
      ok 3 - file matches
      ok 4 - line matches
      ok 5 - text matches
      ok 6 - type matches
  ok 4 - _matchup( Without line numbers )
  ok
  HTML::Tidy: Unknown error type: Tidy found 7 warnings and 0 errors! at 
t/opt-00.t line 64.
  t/opt-00.t ........... 
  1..1
  ok 1 - Cleaned stuff looks like what we expected
  ok
  t/perfect.t .......... 
  1..3
  ok 1 - An object of class 'HTML::Tidy' isa 'HTML::Tidy'
  ok 2 - Parsed OK
  ok 3 - Should have no messages
  ok
  t/pod-coverage.t ..... 
  1..2
  ok 1 - Pod coverage on HTML::Tidy
  ok 2 - Pod coverage on HTML::Tidy::Message
  ok
  t/pod.t .............. 
  1..3
  ok 1 - POD test for blib/lib/HTML/Tidy.pm
  ok 2 - POD test for blib/lib/HTML/Tidy/Message.pm
  ok 3 - POD test for blib/script/webtidy (no pod)
  ok
  HTML::Tidy: Unknown error type: Tidy found 4 warnings and 0 errors! at 
t/roundtrip.t line 18.
  
  #   Failed test 'Cleaned up properly'
  #   at t/roundtrip.t line 31.
  #          got: '<!DOCTYPE html>
  # <html>
  # <head>
  # <meta name="generator" content="HTML Tidy for HTML5 for Linux version 
5.2.0">
  # <title></title>
  # </head>
  # <body>
  # <a href="http://www.example.com/";><em>This is a test.</em></a>
  # </body>
  # </html>
  # '
  #     expected: '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
  # <html>
  # <head>
  # <meta name="generator" content="Tidy">
  # <title></title>
  # </head>
  # <body>
  # <a href="http://www.example.com/";><em>This is a test.</em></a>
  # </body>
  # </html>
  # '
  # Looks like you failed 1 test of 3.
  t/roundtrip.t ........ 
  1..3
  ok 1 - An object of class 'HTML::Tidy' isa 'HTML::Tidy'
  ok 2 - The cleaned stuff shouldn't have any errors
  not ok 3 - Cleaned up properly
  Dubious, test returned 1 (wstat 256, 0x100)
  Failed 1/3 subtests 
  HTML::Tidy: Unknown error type: Tidy found 8 warnings and 1 error! at 
t/segfault-form.t line 12.
  t/segfault-form.t .... 
  1..3
  ok 1 - An object of class 'HTML::Tidy' isa 'HTML::Tidy'
  ok 2 - An object of class 'HTML::Tidy' isa 'HTML::Tidy'
  ok 3 - Cleaned OK
  ok
  t/simple.t ........... 
  1..4
  ok 1 - An object of class 'HTML::Tidy' isa 'HTML::Tidy'
  ok 2 - Parsed OK
  ok 3 - Right number of initial messages
  ok 4 - Cleared the messages
  ok
  t/too-many-titles.t .. 
  1..3
  ok 1 - An object of class 'HTML::Tidy' isa 'HTML::Tidy'
  ok 2 - Parsed OK
  ok 3 - Matching warnings
  ok
  t/unicode-nbsp.t ..... 
  1..2
  ok 1 - Perl chars OK
  ok 2 - Byte string OK
  ok
  
  #   Failed test 'Cleanup didn't break anything'
  #   at t/unicode.t line 35.
  Wide character in print at /usr/share/perl/5.22/Test/Builder.pm line 1826, 
<DATA> line 1.
  #          got: '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
  # <html>
  # <head>
  # <meta name="generator" content="HTML Tidy for HTML5 for Linux version 
5.2.0">
  # <title>日本語のホムページ</title>
  # </head>
  # <body>
  # <p>Unicodeが好きですか?</p>
  # </body>
  # </html>
  # '
  #     expected: '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
  # <html>
  # <head>
  # <meta name="generator" content="Tidy">
  # <title>日本語のホムページ</title>
  # </head>
  # <body>
  # <p>Unicodeが好きですか?</p>
  # </body>
  # </html>
  # '
      
      #   Failed test 'Cleanup didn't break anything'
      #   at t/unicode.t line 54.
  Wide character in print at /usr/share/perl/5.22/Test/Builder.pm line 1826, 
<DATA> line 1.
      #          got: '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
      # <html>
      # <head>
      # <meta name="generator" content="HTML Tidy for HTML5 for Linux version 
5.2.0">
      # <title>日本語のホムページ</title>
      # </head>
      # <body>
      # <p>Unicodeが好きですか?</p>
      # </body>
      # </html>
      # '
      #     expected: '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
      # <html>
      # <head>
      # <meta name="generator" content="Tidy">
      # <title>日本語のホムページ</title>
      # </head>
      # <body>
      # <p>Unicodeが好きですか?</p>
      # </body>
      # </html>
      # '
      # Looks like you failed 1 test of 3.
  
  #   Failed test 'Try send bytes to clean method.'
  #   at t/unicode.t line 55.
  # Looks like you failed 2 tests of 9.
  t/unicode.t .......... 
  1..9
  ok 1 - html is utf8
  ok 2 - reference is utf8
  ok 3 - cleaned output is also unicode
  not ok 4 - Cleanup didn't break anything
  ok 5 - There still shouldn't be any errors
  ok 6 - An object of class 'HTML::Tidy' isa 'HTML::Tidy'
  ok 7 - Parsed OK
  ok 8 - There still shouldn't be any errors
      # Subtest: Try send bytes to clean method.
      ok 1 - html is row bytes
      ok 2 - but cleaned output is string
      not ok 3 - Cleanup didn't break anything
      1..3
  not ok 9 - Try send bytes to clean method.
  Dubious, test returned 2 (wstat 512, 0x200)
  Failed 2/9 subtests 
  
  #   Failed test 'Cooked stuff looks like what we expected'
  #   at t/venus.t line 25.
  #     Structures begin differing at:
  #          $got->[47] = '    <address>'
  #     $expected->[47] = '    <center>'
  # Looks like you failed 1 test of 2.
  t/venus.t ............ 
  1..2
  ok 1 - An object of class 'HTML::Tidy' isa 'HTML::Tidy'
  not ok 2 - Cooked stuff looks like what we expected
  Dubious, test returned 1 (wstat 256, 0x100)
  Failed 1/2 subtests 
  t/version.t .......... 
  1..4
  ok 1 # skip libtidy_version has been removed in Debian
  ok 2 # skip libtidy_version has been removed in Debian
  ok 3 # skip libtidy_version has been removed in Debian
  ok 4 # skip libtidy_version has been removed in Debian
  ok
  HTML::Tidy: Unknown error type: Tidy found 5 warnings and 0 errors! at 
t/wordwrap.t line 34.
  
  #   Failed test 'Cleaned stuff looks like what we expected'
  #   at t/wordwrap.t line 36.
  #     Structures begin differing at:
  #          $got->[1] = 'html>'
  #     $expected->[1] = 'html PUBLIC "-//W3C//DTD HTML 3.2//EN">'
  # Looks like you failed 1 test of 1.
  t/wordwrap.t ......... 
  1..1
  not ok 1 - Cleaned stuff looks like what we expected
  Dubious, test returned 1 (wstat 256, 0x100)
  Failed 1/1 subtests 
  
  Test Summary Report
  -------------------
  t/ignore-text.t    (Wstat: 256 Tests: 3 Failed: 1)
    Failed test:  3
    Non-zero exit status: 1
  t/ignore.t         (Wstat: 256 Tests: 9 Failed: 1)
    Failed test:  3
    Non-zero exit status: 1
  t/levels.t         (Wstat: 256 Tests: 3 Failed: 1)
    Failed test:  3
    Non-zero exit status: 1
  t/roundtrip.t      (Wstat: 256 Tests: 3 Failed: 1)
    Failed test:  3
    Non-zero exit status: 1
  t/unicode.t        (Wstat: 512 Tests: 9 Failed: 2)
    Failed tests:  4, 9
    Non-zero exit status: 2
  t/venus.t          (Wstat: 256 Tests: 2 Failed: 1)
    Failed test:  2
    Non-zero exit status: 1
  t/wordwrap.t       (Wstat: 256 Tests: 1 Failed: 1)
    Failed test:  1
    Non-zero exit status: 1
  Files=21, Tests=69,  0 wallclock secs ( 0.07 usr  0.02 sys +  0.56 cusr  0.08 
csys =  0.73 CPU)
  Result: FAIL
  Failed 7/21 test programs. 8/69 subtests failed.
  Makefile:1045: recipe for target 'test_dynamic' failed
  make[1]: *** [test_dynamic] Error 1
  make[1]: Leaving directory 
'/home/lamby/temp/cdt.20160703075054.BvNvIeAxgJ.libhtml-tidy-perl/libhtml-tidy-perl-1.56'
  dh_auto_test: make -j1 test TEST_VERBOSE=1 returned exit code 2
  debian/rules:10: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-

Attachment: libhtml-tidy-perl.1.56-1.unstable.amd64.log.txt.gz
Description: Binary data

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to