HTML-Tidy5 v1.06 Perl 5 v5.34.0 darwin-thread-multi-2level

Status
Fail
From
Gintautas Grigelionis
Dist
HTML-Tidy5 v1.06
Platform
Perl 5 v5.34.0 darwin-thread-multi-2level
Date
2022-05-01 10:18:21
ID
06f980f8-c938-11ec-b280-ff8f49646cb2
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.34.0, created by CPAN-Reporter-1.2018.

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/local/Cellar/perl/5.34.0/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Tidy5.bs blib/arch/auto/HTML/Tidy5/Tidy5.bs 644
PERL_DL_NONLAZY=1 "/usr/local/Cellar/perl/5.34.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.034000, /usr/local/Cellar/perl/5.34.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(0x7f899e027978)
#     $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,  3 wallclock secs ( 0.14 usr  0.09 sys +  2.27 cusr  0.51 csys =  3.01 CPU)
Result: FAIL
Failed 7/28 test programs. 16/95 subtests failed.
make: *** [test_dynamic] Error 22

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

Prerequisite modules loaded:

requires:

    Module              Need     Have    
    ------------------- -------- --------
    Carp                0        1.52    
    constant            0        1.33    
    Encode              0        3.17    
    Exporter            0        5.74    
    Getopt::Long        0        2.52    
    perl                5.010001 5.034000
    Test::Builder       0        1.302190
    Test::Exception     0        0.43    
    Test::More          0.98     1.302190

build_requires:

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

configure_requires:

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


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

Environment variables:

    LC_CTYPE = UTF-8
    PATH = /Users/gintas/Projects/perl5/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/opt/X11/bin:/Library/Apple/usr/bin
    PERL5LIB = /Users/gintas/Projects/perl5/lib/perl5
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 76090
    PERL5_CPAN_IS_RUNNING = 76090
    PERL_LOCAL_LIB_ROOT = /Users/gintas/Projects/perl5
    PERL_MB_OPT = --install_base "/Users/gintas/Projects/perl5"
    PERL_MM_OPT = INSTALL_BASE=/Users/gintas/Projects/perl5
    PERL_USE_UNSAFE_INC = 1
    SHELL = /bin/bash
    TERM = xterm-256color
    TMPDIR = /var/folders/7j/gsygg6dj3yg5vj5ph2nk1x880000gn/T/

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

    $^X = /usr/local/Cellar/perl/5.34.0/bin/perl
    $UID/$EUID = 501 / 501
    $GID = 20 20 701 12 61 79 80 81 98 703 702 704 33 100 204 250 395
    $EGID = 20 20 701 12 61 79 80 81 98 703 702 704 33 100 204 250 395

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.34    
    CPAN::Meta          2.150010
    Cwd                 3.80    
    ExtUtils::CBuilder  0.280236
    ExtUtils::Command   7.64    
    ExtUtils::Install   2.20    
    ExtUtils::MakeMaker 7.64    
    ExtUtils::Manifest  1.73    
    ExtUtils::ParseXS   3.44    
    File::Spec          3.80    
    JSON                4.05    
    JSON::PP            4.08    
    Module::Build       0.4231  
    Module::Signature   0.88    
    Parse::CPAN::Meta   2.150010
    Test::Harness       3.44    
    Test::More          1.302190
    YAML                1.30    
    YAML::Syck          1.34    
    version             0.9929  


--

Summary of my perl5 (revision 5 version 34 subversion 0) configuration:
   
  Platform:
    osname=darwin
    osvers=21.1.0
    archname=darwin-thread-multi-2level
    uname='darwin monterey 21.1.0 darwin kernel version 21.1.0: sun oct 10 22:00:47 pdt 2021; root:xnu-8019.41.4~4release_x86_64 x86_64 '
    config_args='-des -Dprefix=/usr/local/Cellar/perl/5.34.0 -Dprivlib=/usr/local/Cellar/perl/5.34.0/lib/perl5/5.34.0 -Dsitelib=/usr/local/Cellar/perl/5.34.0/lib/perl5/site_perl/5.34.0 -Dotherlibdirs=/usr/local/lib/perl5/site_perl/5.34.0 -Dperlpath=/usr/local/opt/perl/bin/perl -Dstartperl=#!/usr/local/opt/perl/bin/perl -Dman1dir=/usr/local/Cellar/perl/5.34.0/share/man/man1 -Dman3dir=/usr/local/Cellar/perl/5.34.0/share/man/man3 -Duseshrplib -Duselargefiles -Dusethreads -Dsed=/usr/bin/sed'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=define
    usemultiplicity=define
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
  Compiler:
    cc='cc'
    ccflags ='-fno-common -DPERL_DARWIN -mmacosx-version-min=12.0 -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -DPERL_USE_SAFE_PUTENV'
    optimize='-O3'
    cppflags='-fno-common -DPERL_DARWIN -mmacosx-version-min=12.0 -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='Apple LLVM 13.0.0 (clang-1300.0.29.3)'
    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 =' -mmacosx-version-min=12.0 -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/local/opt/openssl@1.1/lib /usr/local/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/lib /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib /usr/lib
    libs=-lgdbm -ldb
    perllibs=
    libc=
    so=dylib
    useshrplib=true
    libperl=libperl.dylib
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=bundle
    d_dlsymun=undef
    ccdlflags=' '
    cccdlflags=' '
    lddlflags=' -mmacosx-version-min=12.0 -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector-strong'


Characteristics of this binary (from libperl): 
  Compile-time options:
    HAS_TIMES
    MULTIPLICITY
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_IMPLICIT_CONTEXT
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    PERL_USE_SAFE_PUTENV
    USE_64_BIT_ALL
    USE_64_BIT_INT
    USE_ITHREADS
    USE_LARGE_FILES
    USE_LOCALE
    USE_LOCALE_COLLATE
    USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC
    USE_LOCALE_TIME
    USE_PERLIO
    USE_PERL_ATOF
    USE_REENTRANT_API
    USE_THREAD_SAFE_LOCALE
  Built under darwin
  Compiled at Oct 24 2021 06:03:19
  %ENV:
    PERL5LIB="/Users/gintas/Projects/perl5/lib/perl5"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="76090"
    PERL5_CPAN_IS_RUNNING="76090"
    PERL_LOCAL_LIB_ROOT="/Users/gintas/Projects/perl5"
    PERL_MB_OPT="--install_base "/Users/gintas/Projects/perl5""
    PERL_MM_OPT="INSTALL_BASE=/Users/gintas/Projects/perl5"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /Users/gintas/Projects/perl5/lib/perl5/5.34.0/darwin-thread-multi-2level
    /Users/gintas/Projects/perl5/lib/perl5/5.34.0
    /Users/gintas/Projects/perl5/lib/perl5/darwin-thread-multi-2level
    /Users/gintas/Projects/perl5/lib/perl5
    /usr/local/Cellar/perl/5.34.0/lib/perl5/site_perl/5.34.0/darwin-thread-multi-2level
    /usr/local/Cellar/perl/5.34.0/lib/perl5/site_perl/5.34.0
    /usr/local/Cellar/perl/5.34.0/lib/perl5/5.34.0/darwin-thread-multi-2level
    /usr/local/Cellar/perl/5.34.0/lib/perl5/5.34.0
    /usr/local/lib/perl5/site_perl/5.34.0/darwin-thread-multi-2level
    /usr/local/lib/perl5/site_perl/5.34.0
    .