HTML-Tidy5 v1.06 Perl 5 v5.38.2 amd64-freebsd

Status
Fail
From
Slaven Rezić
Dist
HTML-Tidy5 v1.06
Platform
Perl 5 v5.38.2 amd64-freebsd
Date
2023-12-22 22:11:53
ID
1d1e040e-a117-11ee-b0b4-d9e86d8775ea
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.38.2, 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':

"/usr/perl5.38.2/bin/perl5.38.2" -MExtUtils::Command::MM -e 'cp_nonempty' -- Tidy5.bs blib/arch/auto/HTML/Tidy5/Tidy5.bs 644
PERL_DL_NONLAZY=1 "/usr/perl5.38.2/bin/perl5.38.2" "-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.038002, /usr/perl5.38.2/bin/perl5.38.2
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(0x2521ff2adfc0)
#     $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.13 usr  0.02 sys +  1.82 cusr  0.44 csys =  2.41 CPU)
Result: FAIL
Failed 7/28 test programs. 16/95 subtests failed.
*** Error code 255

Stop.
make: stopped in /home/cpansand/.cpan/build/2023122218/HTML-Tidy5-1.06-0

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

Prerequisite modules loaded:

requires:

    Module              Need     Have    
    ------------------- -------- --------
    Carp                0        1.54    
    constant            0        1.33    
    Encode              0        3.20    
    Exporter            0        5.77    
    Getopt::Long        0        2.57    
    perl                5.010001 5.038002
    Test::Builder       0        1.302198
    Test::Exception     0        0.43    
    Test::More          0.98     1.302198

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 = C.UTF-8
    PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cpansand/bin/freebsd14.0:/home/cpansand/bin/sh:/home/cpansand/bin:/usr/games:/home/cpansand/devel:/home/eserte/src/srezic-misc/scripts
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 92237
    PERL5_CPAN_IS_RUNNING = 92237
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 16267,92237
    PERLDOC = -MPod::Perldoc::ToTextOverstrike
    PERL_BATCH = yes
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1023/2023122216/cpanreporter_000_config.ini
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_USE_UNSAFE_INC = 1
    SHELL = /usr/local/bin/zsh
    TERM = screen
    TMPDIR = /var/tmp/cpansmoker-1023/2023122216

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

    $^X = /usr/perl5.38.2/bin/perl5.38.2
    $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.89    
    ExtUtils::CBuilder  0.280238
    ExtUtils::Command   7.70    
    ExtUtils::Install   2.22    
    ExtUtils::MakeMaker 7.70    
    ExtUtils::Manifest  1.75    
    ExtUtils::ParseXS   3.51    
    File::Spec          3.88    
    JSON                4.10    
    JSON::PP            4.16    
    Module::Build       0.4234  
    Module::Signature   0.88    
    Parse::CPAN::Meta   2.150010
    Test2               1.302198
    Test::Harness       3.48    
    Test::More          1.302198
    YAML                1.30    
    YAML::Syck          1.34    
    version             0.9930  


--

Summary of my perl5 (revision 5 version 38 subversion 2) configuration:
   
  Platform:
    osname=freebsd
    osvers=14.0-stable
    archname=amd64-freebsd
    uname='freebsd cloud11.bbbike.org 14.0-stable freebsd 14.0-stable #0 stable14-8d42f85d9: wed dec 13 14:10:27 utc 2023 root@cloud11.bbbike.org:usrobjhomeprojectsfreebsd-srcamd64.amd64sysgeneric amd64 '
    config_args='-ds -e -Dprefix=/usr/perl5.38.2 -Dcf_email=srezic@cpan.org -Doptimize=-O2 -pipe'
    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 ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    optimize='-O2 -pipe'
    cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='FreeBSD Clang 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)'
    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 ='-Wl,-E  -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib /usr/lib/clang/16/lib
    libs=-lpthread -lgdbm -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -ldl -lm -lcrypt -lutil -lc
    libc=
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=so
    d_dlsymun=undef
    ccdlflags=' '
    cccdlflags='-DPIC -fPIC'
    lddlflags='-shared  -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 freebsd
  Compiled at Dec 13 2023 17:28:52
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="92237"
    PERL5_CPAN_IS_RUNNING="92237"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="16267,92237"
    PERLDOC="-MPod::Perldoc::ToTextOverstrike"
    PERL_BATCH="yes"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1023/2023122216/cpanreporter_000_config.ini"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /usr/perl5.38.2/lib/site_perl/5.38.2/amd64-freebsd
    /usr/perl5.38.2/lib/site_perl/5.38.2
    /usr/perl5.38.2/lib/5.38.2/amd64-freebsd
    /usr/perl5.38.2/lib/5.38.2
    .