HTML-Tidy5 v1.06 Perl 5 v5.40.0 x86_64-linux

Status
Fail
From
Slaven Rezić
Dist
HTML-Tidy5 v1.06
Platform
Perl 5 v5.40.0 x86_64-linux
Date
2024-07-24 06:44:23
ID
29ba5c66-4988-11ef-b9e3-20196e8775ea
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language.  See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org


--
Dear Andy Lester,

This is a computer-generated report for HTML-Tidy5-1.06
on perl 5.40.0, created by CPAN-Reporter-1.2019.

Thank you for uploading your work to CPAN.  However, there was a problem
testing your distribution.

If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:

http://wiki.cpantesters.org/wiki/CPANAuthorNotes

Sections of this report:

    * Tester comments
    * Program output
    * Prerequisites
    * Environment and other context

------------------------------
TESTER COMMENTS
------------------------------

Additional comments from tester:

none provided

------------------------------
PROGRAM OUTPUT
------------------------------

Output from '/usr/bin/make test':

"/opt/perl-5.40.0/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Tidy5.bs blib/arch/auto/HTML/Tidy5/Tidy5.bs 644
PERL_DL_NONLAZY=1 "/opt/perl-5.40.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Testing HTML::Tidy5 1.06, tidy library version 5.8.0, Perl 5.040000, /opt/perl-5.40.0/bin/perl
t/00-load.t ................ ok
t/cfg-for-parse.t .......... ok
t/clean-crash.t ............ ok
t/clean.t .................. ok

    #   Failed test at t/drop-empty-elements.t line 34.
    #     Structures begin differing at:
    #          $got->[0] = 'test (4:9) Warning: blank 'title' element'
    #     $expected->[0] = 'test (7:9) Warning: trimming empty <span>'
    # Looks like you failed 1 test of 2.

#   Failed test 'default constructor warns about empty spans'
#   at t/drop-empty-elements.t line 37.

    #   Failed test at t/drop-empty-elements.t line 46.
    #     Structures begin differing at:
    #          $got->[0] = 'test (4:9) Warning: blank 'title' element'
    #     $expected->[0] = 'test (7:9) Warning: trimming empty <span>'
    # Looks like you failed 1 test of 2.

#   Failed test 'drop_empty_elements => 1 gives message'
#   at t/drop-empty-elements.t line 49.

    #   Failed test at t/drop-empty-elements.t line 58.
    #     Structures begin differing at:
    #          $got->[0] = 'test (4:9) Warning: blank 'title' element'
    #     $expected->[0] = Does not exist
    # Looks like you failed 1 test of 2.

#   Failed test 'drop_empty_elements => 0 gives no messages'
#   at t/drop-empty-elements.t line 59.
# Looks like you failed 3 tests of 3.
t/drop-empty-elements.t .... 
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/3 subtests 
t/extra-quote.t ............ ok

    #   Failed test 'html_fragment_tidy_ok can handle it'
    #   at t/html_fragment_tidy_ok.t line 49.
    # STDOUT is:
    # >     not ok 1 - html_fragment_tidy_ok can handle it
    # not:
    # >     ok 1 - html_fragment_tidy_ok can handle it
    # as expected
    # STDERR is:
    # >     #   Failed test 'html_fragment_tidy_ok can handle it'
    # >     #   at t/html_fragment_tidy_ok.t line 48.
    # >     # Errors: html_fragment_tidy_ok can handle it
    # >     # (-2:9) Warning: blank 'title' element
    # >     # 1 message on the page
    # not:
    # > 
    # > 
    # > 
    # > 
    # > 
    # as expected
    # Looks like you failed 1 test of 2.

#   Failed test 'html_tidy_ok fails on a fragment, but html_fragment_tidy_ok is OK'
#   at t/html_fragment_tidy_ok.t line 50.

    #   Failed test 'html_fragment_tidy_ok on sloppy doc'
    #   at t/html_fragment_tidy_ok.t line 85.
    # STDERR is:
    # >     #   Failed test 'html_fragment_tidy_ok on sloppy doc'
    # >     #   at t/html_fragment_tidy_ok.t line 84.
    # >     # Errors: html_fragment_tidy_ok on sloppy doc
    # >     # (2:59) Warning: discarding unexpected </td>
    # >     # (-2:9) Warning: blank 'title' element
    # >     # (3:5) Warning: <img> lacks "alt" attribute
    # >     # 3 messages on the page
    # not:
    # > /\ \ \ \ #\s+Failed\ test.*?\n?.*?at\ t\/html_fragment_tidy_ok\.t line 84.*\n?/
    # >     # Errors: html_fragment_tidy_ok on sloppy doc
    # >     # (2:59) Warning: discarding unexpected </td>
    # >     # (3:5) Warning: <img> lacks "alt" attribute
    # >     # 2 messages on the page
    # > 
    # > 
    # as expected
    # Looks like you failed 1 test of 2.

#   Failed test 'html_fragment_tidy_ok gets the same errors as html_tidy_ok'
#   at t/html_fragment_tidy_ok.t line 86.
# Looks like you failed 2 tests of 3.
t/html_fragment_tidy_ok.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests 

    #   Failed test 'html_tidy_ok on full document works'
    #   at t/html_tidy_ok.t line 46.
    # STDOUT is:
    # >     not ok 1 - Called html_tidy_ok on full document
    # not:
    # >     ok 1 - Called html_tidy_ok on full document
    # as expected
    # STDERR is:
    # >     #   Failed test 'Called html_tidy_ok on full document'
    # >     #   at t/html_tidy_ok.t line 45.
    # >     # Errors: Called html_tidy_ok on full document
    # >     # (4:9) Warning: blank 'title' element
    # >     # 1 message on the page
    # not:
    # > 
    # > 
    # > 
    # > 
    # > 
    # as expected
    # Looks like you failed 1 test of 1.

#   Failed test 'html_tidy_ok without errors'
#   at t/html_tidy_ok.t line 47.

    #   Failed test 'html_tidy_ok works on empty paragraph'
    #   at t/html_tidy_ok.t line 103.
    # STDERR is:
    # >     #   Failed test 'Empty paragraph'
    # >     #   at t/html_tidy_ok.t line 102.
    # >     # Errors: Empty paragraph
    # >     # (4:9) Warning: blank 'title' element
    # >     # (12:9) Warning: trimming empty <p>
    # >     # 2 messages on the page
    # not:
    # > /\ \ \ \ #\s+Failed\ test.*?\n?.*?at\ t\/html_tidy_ok\.t line 102.*\n?/
    # >     # Errors: Empty paragraph
    # >     # (12:9) Warning: trimming empty <p>
    # >     # 1 message on the page
    # > 
    # > 
    # as expected

    #   Failed test 'html_tidy_ok with user-specified tidy works'
    #   at t/html_tidy_ok.t line 110.
    # STDOUT is:
    # >     not ok 1 - Relaxed tidy
    # not:
    # >     ok 1 - Relaxed tidy
    # as expected
    # STDERR is:
    # >     #   Failed test 'Relaxed tidy'
    # >     #   at t/html_tidy_ok.t line 109.
    # >     # Errors: Relaxed tidy
    # >     # (4:9) Warning: blank 'title' element
    # >     # 1 message on the page
    # not:
    # > 
    # > 
    # > 
    # > 
    # > 
    # as expected
    # Looks like you failed 2 tests of 3.

#   Failed test 'Test passing our own Tidy object'
#   at t/html_tidy_ok.t line 111.
# Looks like you failed 2 tests of 5.
t/html_tidy_ok.t ........... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/5 subtests 
t/ignore-text.t ............ ok
t/ignore.t ................. ok
t/illegal-options.t ........ ok
t/levels.t ................. ok
t/message.t ................ ok

    #   Failed test at t/new-tags.t line 56.
    #     Structures begin differing at:
    #          $got->[9] = 'test (4:9) Warning: blank 'title' element'
    #     $expected->[9] = Does not exist
    # Looks like you failed 1 test of 2.

#   Failed test 'default constructor warns about <nav> tag'
#   at t/new-tags.t line 57.

    #   Failed test 'Excluded the block errors'
    #   at t/new-tags.t line 67.
    #     Structures begin differing at:
    #          $got->[3] = 'test (4:9) Warning: blank 'title' element'
    #     $expected->[3] = Does not exist
    # Looks like you failed 1 test of 2.

#   Failed test 'Only add new blocklevel'
#   at t/new-tags.t line 68.

    #   Failed test 'Excluded the inline errors'
    #   at t/new-tags.t line 78.
    #     Structures begin differing at:
    #          $got->[6] = 'test (4:9) Warning: blank 'title' element'
    #     $expected->[6] = Does not exist
    # Looks like you failed 1 test of 2.

#   Failed test 'Only add new inline'
#   at t/new-tags.t line 79.

    #   Failed test 'Quieted all errors'
    #   at t/new-tags.t line 92.
    #     Structures begin differing at:
    #          $got->[0] = 'test (4:9) Warning: blank 'title' element'
    #     $expected->[0] = Does not exist
    # Looks like you failed 1 test of 2.

#   Failed test 'Add new line and blocklevel'
#   at t/new-tags.t line 93.
# Looks like you failed 4 tests of 4.
t/new-tags.t ............... 
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/4 subtests 

#   Failed test 'Cleaned stuff looks like what we expected'
#   at t/opt-00.t line 68.
#     Structures begin differing at:
#          $got->[9] = ' span.myprefix1 {color: blue}'
#     $expected->[9] = ' span.myprefix-1 {color: blue}'
# Looks like you failed 1 test of 1.
t/opt-00.t ................. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 
t/parse-errors.t ........... ok
t/parse.t .................. ok
t/perfect.t ................ ok

#   Failed test 'The cleaned stuff shouldn't have any errors'
#   at t/roundtrip.t line 31.
#     Structures begin differing at:
#          $got->[0] = HTML::Tidy5::Message=HASH(0x10a4208)
#     $expected->[0] = Does not exist
# Looks like you failed 1 test of 3.
t/roundtrip.t .............. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 
t/segfault-form.t .......... ok

    #   Failed test at t/show-info.t line 33.
    #     Structures begin differing at:
    #          $got->[1] = 'test (4:9) Warning: blank 'title' element'
    #     $expected->[1] = Does not exist
    # Looks like you failed 1 test of 2.

#   Failed test 'default constructor shows info'
#   at t/show-info.t line 36.

    #   Failed test at t/show-info.t line 45.
    #     Structures begin differing at:
    #          $got->[1] = 'test (4:9) Warning: blank 'title' element'
    #     $expected->[1] = Does not exist
    # Looks like you failed 1 test of 2.

#   Failed test 'show_info => 1 shows info'
#   at t/show-info.t line 48.

    #   Failed test at t/show-info.t line 57.
    #     Structures begin differing at:
    #          $got->[0] = 'test (4:9) Warning: blank 'title' element'
    #     $expected->[0] = Does not exist
    # Looks like you failed 1 test of 2.

#   Failed test 'show_info => 0'
#   at t/show-info.t line 58.
# Looks like you failed 3 tests of 3.
t/show-info.t .............. 
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/3 subtests 
t/simple.t ................. ok
t/too-many-titles.t ........ ok
t/unicode-nbsp.t ........... ok
t/unicode.t ................ ok
t/venus.t .................. ok
t/version.t ................ ok
t/wordwrap.t ............... ok

Test Summary Report
-------------------
t/drop-empty-elements.t  (Wstat: 768 (exited 3) Tests: 3 Failed: 3)
  Failed tests:  1-3
  Non-zero exit status: 3
t/html_fragment_tidy_ok.t (Wstat: 512 (exited 2) Tests: 3 Failed: 2)
  Failed tests:  2-3
  Non-zero exit status: 2
t/html_tidy_ok.t         (Wstat: 512 (exited 2) Tests: 5 Failed: 2)
  Failed tests:  2, 4
  Non-zero exit status: 2
t/new-tags.t             (Wstat: 1024 (exited 4) Tests: 4 Failed: 4)
  Failed tests:  1-4
  Non-zero exit status: 4
t/opt-00.t               (Wstat: 256 (exited 1) Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
t/roundtrip.t            (Wstat: 256 (exited 1) Tests: 3 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
t/show-info.t            (Wstat: 768 (exited 3) Tests: 3 Failed: 3)
  Failed tests:  1-3
  Non-zero exit status: 3
Files=28, Tests=95,  2 wallclock secs ( 0.08 usr  0.04 sys +  1.21 cusr  0.29 csys =  1.62 CPU)
Result: FAIL
Failed 7/28 test programs. 16/95 subtests failed.
make: *** [Makefile:1097: test_dynamic] Error 255

------------------------------
PREREQUISITES
------------------------------

Prerequisite modules loaded:

requires:

    Module              Need     Have    
    ------------------- -------- --------
    Carp                0        1.54    
    constant            0        1.33    
    Encode              0        3.21    
    Exporter            0        5.78    
    Getopt::Long        0        2.57    
    perl                5.010001 5.040000
    Test::Builder       0        1.302199
    Test::Exception     0        0.43    
    Test::More          0.98     1.302199

build_requires:

    Module              Need     Have    
    ------------------- -------- --------
    ExtUtils::MakeMaker 0        7.70    

configure_requires:

    Module              Need     Have    
    ------------------- -------- --------
    ExtUtils::MakeMaker 0        7.70    


------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    LANG = en_US.UTF-8
    PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cpansand/bin/linux-gnu:/home/cpansand/bin/sh:/home/cpansand/bin:/usr/games:/home/cpansand/devel:/home/eserte/src/srezic-misc/scripts
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 3114632
    PERL5_CPAN_IS_RUNNING = 3114632
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 3112842,3114632
    PERLDOC = -MPod::Perldoc::ToTextOverstrike
    PERL_BATCH = yes
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1023/2024072320/cpanreporter_000_config.ini
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_USE_UNSAFE_INC = 1
    SHELL = /usr/bin/zsh
    TERM = screen
    TMPDIR = /var/tmp/cpansmoker-1023/2024072320

Perl special variables (and OS-specific diagnostics, for MSWin32):

    $^X = /opt/perl-5.40.0/bin/perl
    $UID/$EUID = 1023 / 1023
    $GID = 1023 1023
    $EGID = 1023 1023

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.36    
    CPAN::Meta          2.150010
    Cwd                 3.90    
    ExtUtils::CBuilder  0.280240
    ExtUtils::Command   7.70    
    ExtUtils::Install   2.22    
    ExtUtils::MakeMaker 7.70    
    ExtUtils::Manifest  1.75    
    ExtUtils::ParseXS   3.51    
    File::Spec          3.90    
    JSON                4.10    
    JSON::PP            4.16    
    Module::Build       0.4234  
    Module::Signature   n/a     
    Parse::CPAN::Meta   2.150010
    Test2               1.302199
    Test::Harness       3.48    
    Test::More          1.302199
    YAML                1.31    
    YAML::Syck          1.34    
    version             0.9930  


--

Summary of my perl5 (revision 5 version 40 subversion 0) configuration:
   
  Platform:
    osname=linux
    osvers=6.8.9-100.fc38.x86_64
    archname=x86_64-linux
    uname='linux fedora39-2gb-hil 6.8.9-100.fc38.x86_64 #1 smp preempt_dynamic thu may 2 18:50:49 utc 2024 x86_64 gnulinux '
    config_args='-ds -e -Dprefix=/opt/perl-5.40.0 -Dcf_email=srezic@cpan.org'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=undef
    usemultiplicity=undef
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
  Compiler:
    cc='cc'
    ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2'
    optimize='-O2'
    cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='13.2.1 20240316 (Red Hat 13.2.1-7)'
    gccosandvers=''
    intsize=4
    longsize=8
    ptrsize=8
    doublesize=8
    byteorder=12345678
    doublekind=3
    d_longlong=define
    longlongsize=8
    d_longdbl=define
    longdblsize=16
    longdblkind=3
    ivtype='long'
    ivsize=8
    nvtype='double'
    nvsize=8
    Off_t='off_t'
    lseeksize=8
    alignbytes=8
    prototype=define
  Linker and Libraries:
    ld='cc'
    ldflags =' -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /usr/lib64 /usr/local/lib64
    libs=-lpthread -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -ldl -lm -lcrypt -lutil -lc
    libc=/lib/../lib64/libc.so.6
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version='2.38'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=so
    d_dlsymun=undef
    ccdlflags='-Wl,-E'
    cccdlflags='-fPIC'
    lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector-strong'


Characteristics of this binary (from libperl): 
  Compile-time options:
    HAS_LONG_DOUBLE
    HAS_STRTOLD
    HAS_TIMES
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_HASH_FUNC_SIPHASH13
    PERL_HASH_USE_SBOX32
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    PERL_USE_SAFE_PUTENV
    USE_64_BIT_ALL
    USE_64_BIT_INT
    USE_LARGE_FILES
    USE_LOCALE
    USE_LOCALE_COLLATE
    USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC
    USE_LOCALE_TIME
    USE_PERLIO
    USE_PERL_ATOF
  Built under linux
  Compiled at Jun 10 2024 21:14:12
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="3114632"
    PERL5_CPAN_IS_RUNNING="3114632"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="3112842,3114632"
    PERLDOC="-MPod::Perldoc::ToTextOverstrike"
    PERL_BATCH="yes"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1023/2024072320/cpanreporter_000_config.ini"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /opt/perl-5.40.0/lib/site_perl/5.40.0/x86_64-linux
    /opt/perl-5.40.0/lib/site_perl/5.40.0
    /opt/perl-5.40.0/lib/5.40.0/x86_64-linux
    /opt/perl-5.40.0/lib/5.40.0
    .