Back
From: metabase:user:320bfe00-2aae-11df-837a-5e0a49663a4f
Subject: FAIL XML-LibXML-Fixup-0.03 v5.22.1 GNU/Linux
Date: 2017-03-31T04:22:34Z
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 Nigel Wetters Gourlay,
This is a computer-generated report for XML-LibXML-Fixup-0.03
on perl 5.22.1, 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:
this report is from an automated smoke testing program
and was not reviewed by a human for accuracy
------------------------------
PROGRAM OUTPUT
------------------------------
Output from '/usr/bin/make test':
PERL_DL_NONLAZY=1 "/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.22.1/5ea4/bin/perl" "-Iblib/lib" "-Iblib/arch" test.pl
1..72
# Module loading
ok 1 - use XML::LibXML::Fixup;
ok 2 - require XML::LibXML::Fixup;
ok 3 - throw_exceptions off
ok 4 - An object of class 'XML::LibXML::Fixup' isa 'XML::LibXML::Fixup'
# Checking method existence
ok 5 - XML::LibXML::Fixup->can('valid')
ok 6 - XML::LibXML::Fixup->can('fixed_up')
ok 7 - XML::LibXML::Fixup->can('add_fixup')
ok 8 - XML::LibXML::Fixup->can('clear_fixups')
ok 9 - XML::LibXML::Fixup->can('throw_exceptions')
ok 10 - XML::LibXML::Fixup->can('get_errors')
ok 11 - XML::LibXML::Fixup->can('first_error')
ok 12 - XML::LibXML::Fixup->can('next_error')
# XML::LibXML method inheritance
ok 13 - An object of class 'XML::LibXML::Fixup' isa 'XML::LibXML'
ok 14 - XML::LibXML::Fixup->can('get_last_error')
ok 15 - XML::LibXML::Fixup->can('parse_string')
ok 16 - XML::LibXML::Fixup->can('validation')
ok 17 - XML::LibXML::Fixup->can('parse_fh') # TODO parsing files not yet implemented
ok 18 - XML::LibXML::Fixup->can('parse_file') # TODO parsing files not yet implemented
ok 19 - XML::LibXML::Fixup->can('parse_html_fh') # TODO parsing files not yet implemented
ok 20 - XML::LibXML::Fixup->can('parse_html_file') # TODO parsing files not yet implemented
ok 21 - XML::LibXML::Fixup->can('parse_html_string') # TODO parsing files not yet implemented
# Testing with first valid XML file
ok 22 - footballnews.xml parses
ok 23 - no parse errors in next_error
ok 24 - no parse errors in get_last_error
not ok 25 - footballnews.xml validates
# Failed test 'footballnews.xml validates'
# at test.pl line 59.
not ok 26 - no validation errors in next_error
# Failed test 'no validation errors in next_error'
# at test.pl line 60.
not ok 27 - no validation errors in get_last_error
# Failed test 'no validation errors in get_last_error'
# at test.pl line 61.
# Testing with second valid XML file
ok 28 - footballlatestnews.xml parses
ok 29 - no parse errors in next_error
ok 30 - no parse errors in get_last_error
ok 31 - no fixups applied
not ok 32 - footballlatestnews.xml validates
# Failed test 'footballlatestnews.xml validates'
# at test.pl line 80.
not ok 33 - no validation errors in next_error
# Failed test 'no validation errors in next_error'
# at test.pl line 81.
not ok 34 - no validation errors in get_last_error
# Failed test 'no validation errors in get_last_error'
# at test.pl line 82.
ok 35 - no fixups applied
# Testing with first invalid XML file
ok 36 - badfootballnews.xml parses
ok 37 - no parse errors in next_error
ok 38 - no parse errors in get_last_error
ok 39 - no fixups applied
ok 40 - badfootballnews.xml doesn't validate
ok 41 - validation errors exist in next_error
ok 42 - validation errors exist in get_last_error
ok 43 - still exist in next_error
ok 44 - really, really exist in next_error!
ok 45 - but now they don't
ok 46 - no fixups applied
# Fixing first bad XML file
ok 47 - badfootballnews.xml parses
ok 48 - no parse errors in next_error
ok 49 - no parse errors in get_last_error
ok 50 - no fixups applied
not ok 51 - badfootballnews.xml validates
# Failed test 'badfootballnews.xml validates'
# at test.pl line 125.
ok 52 - validation errors exist in next_error
ok 53 - validation errors exist in get_last_error
ok 54 - fixups have been applied
ok 55 - fixups have been cleared
# Testing with second invalid XML file
ok 56 - throw_exceptions off
ok 57 - throw_exceptions on
ok 58 - badfootballlatestnews.xml doesn't parse
ok 59 - $@ has been set
ok 60 - parse errors exist
ok 61 - no fixups applied
ok 62 - badfootballlatestnews.xml doesn't validate
ok 63 - $@ has been set
ok 64 - validation errors exist in next_error
ok 65 - no fixups applied
# Fixing second bad XML file
ok 66 - badfootballlatestnews.xml parses
ok 67 - parse errors exist
ok 68 - one fixup has been applied
ok 69 - fixups have been cleared
:3: validity error : No declaration for attribute vendorName of element feed
<feed vendorName="RIVALSDM" id="RDM_football_latest_news" status="NORMAL">
^
:3: validity error : No declaration for attribute id of element feed
<feed vendorName="RIVALSDM" id="RDM_football_latest_news" status="NORMAL">
^
:3: validity error : No declaration for attribute status of element feed
<feed vendorName="RIVALSDM" id="RDM_football_latest_news" status="NORMAL">
^
:5: validity error : No declaration for attribute comp-id of element feed-info
<feed-info comp-id="" event-type="" gen-date=""/>
^
:5: validity error : No declaration for attribute event-type of element feed-info
<feed-info comp-id="" event-type="" gen-date=""/>
^
:5: validity error : No declaration for attribute gen-date of element feed-info
<feed-info comp-id="" event-type="" gen-date=""/>
^
:5: validity error : No declaration for element feed-info
<feed-info comp-id="" event-type="" gen-date=""/>
^
:6: validity error : No declaration for attribute id of element content.item
<content.item id="RDM_football_latest_news_20011029" order="1">
^
:6: validity error : No declaration for attribute order of element content.item
<content.item id="RDM_football_latest_news_20011029" order="1">
^
:8: validity error : No declaration for element author
<author>RivalsDM</author>
^
:9: validity error : No declaration for element category
<category>News</category>
^
:10: validity error : No declaration for element copyright
<copyright>RivalsDM</copyright>
^
:11: validity error : No declaration for element vendor
<vendor>RivalsDM</vendor>
^
:13: validity error : No declaration for element keyword
<keyword>Manchester United</keyword>
^
:14: validity error : No declaration for element keyword
<keyword>Beckham</keyword>
^
:15: validity error : No declaration for element keywords
</keywords>
^
:16: validity error : No declaration for element content.meta
</content.meta>
^
:19: validity error : No declaration for element title
<title>Football365 Latest News</title>
^
:20: validity error : No declaration for element dateline
<dateline>29/10/2001 20:23 +0100</dateline>
^
:21: validity error : No declaration for element content.head
</content.head>
^
:25: validity error : No declaration for element FullHeadline
<FullHeadline>Beckham Quits Old Trafford</FullHeadline>
^
:26: validity error : No declaration for element FullStrapline
he is leaving Manchester United after a record 6 Premiership wins</FullStrapline
^
:28: validity error : No declaration for element Para
ade the announcement to a massive gallery of journalists and well wishers.</Para
^
:29: validity error : No declaration for element Para
th Real Madrid and will be leaving Old Trafford at the end of next season </Para
^
:30: validity error : No declaration for element Para
media corps that Beckham was without doubt United's greatest ever player.</Para
^
:31: validity error : No declaration for element FullBodytext
</FullBodytext>
^
:32: validity error : No declaration for element FullVersion
</FullVersion>
^
:34: validity error : No declaration for element ShortHeadline
<ShortHeadline> Beckham Quits Old Trafford </ShortHeadline>
^
:36: validity error : No declaration for element Para
s leaving Manchester United after signing a five year deal at Real Madrid.</Para
^
:37: validity error : No declaration for element Para
n and was described by Sir Alex Ferguson as United's greatest ever player.</Para
^
:38: validity error : No declaration for element ShortBodytext
</ShortBodytext>
^
:39: validity error : No declaration for element ShortVersion
</ShortVersion>
^
:41: validity error : No declaration for element XShortHeadline
<XShortHeadline></XShortHeadline>
^
:42: validity error : No declaration for element XShortBodytext
Manchester United after signing a five year deal at Real Madrid.</XShortBodytext
^
:43: validity error : No declaration for element XShortVersion
</XShortVersion>
^
:44: validity error : No declaration for element article
</article>
^
:45: validity error : No declaration for element content.body
</content.body>
^
:46: validity error : No declaration for element content.item
</content.item>
^
:47: validity error : No declaration for element feed
</feed>
^
# Looks like your test exited with 104 just after 69.
Makefile:844: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 104
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
------------------- ---- --------
Carp 0 1.38
Test::More 0 1.302078
XML::LibXML 0 2.0129
build_requires:
Module Need Have
------------------- ---- --------
ExtUtils::MakeMaker 0 7.24
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
LANG = en_US.UTF-8
PATH = /home/sand/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/perl/bin:/usr/X11/bin:/sbin:/usr/sbin
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 21783
PERL5_CPAN_IS_RUNNING = 21783
PERL_CANARY_STABILITY_NOPROMPT = 1
PERL_MM_USE_DEFAULT = 1
PERL_USE_UNSAFE_INC = 1
SHELL = /usr/bin/zsh
TERM = screen
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.22.1/5ea4/bin/perl
$UID/$EUID = 1005 / 1005
$GID = 1005 1005
$EGID = 1005 1005
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.18
CPAN::Meta 2.150010
Cwd 3.62
ExtUtils::CBuilder 0.280224
ExtUtils::Command 7.24
ExtUtils::Install 2.04
ExtUtils::MakeMaker 7.24
ExtUtils::Manifest 1.70
ExtUtils::ParseXS 3.28
File::Spec 3.62
JSON 2.90
JSON::PP 2.27400
Module::Build 0.4220
Module::Signature 0.81
Parse::CPAN::Meta 2.150010
Test::Harness 3.38
Test::More 1.302078
YAML 1.23
YAML::Syck 1.29
version 0.9909
--
Summary of my perl5 (revision 5 version 22 subversion 1) configuration:
Derived from: 0ab152a1d10861997fe3e1b985cc92f142f4cec7
Platform:
osname=linux, osvers=4.9.0-2-amd64, archname=x86_64-linux-thread-multi-ld
uname='linux k93msid 4.9.0-2-amd64 #1 smp debian 4.9.13-1 (2017-02-27) x86_64 gnulinux '
config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.22.1/5ea4 -Dmyhostname=k93msid -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Dlibswanted=cl pthread socket inet nsl gdbm dbm malloc dl ld sun m crypt sec util c cposix posix ucb BSD gdbm_compat -Duseithreads -Duselongdouble -DDEBUGGING=-g'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
use64bitint=define, use64bitall=define, uselongdouble=define
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -g',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion='', gccversion='6.3.0 20170316', 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='long double', nvsize=16, Off_t='off_t', lseeksize=8
alignbytes=16, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/6/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.24.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.24'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
PERL_USE_DEVEL 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_LONG_DOUBLE
USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
Locally applied patches:
uncommitted-changes
Built under linux
Compiled at Mar 19 2017 12:07:52
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="21783"
PERL5_CPAN_IS_RUNNING="21783"
PERL_CANARY_STABILITY_NOPROMPT="1"
PERL_MM_USE_DEFAULT="1"
PERL_USE_UNSAFE_INC="1"
@INC:
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.22.1/5ea4/lib/site_perl/5.22.1/x86_64-linux-thread-multi-ld
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.22.1/5ea4/lib/site_perl/5.22.1
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.22.1/5ea4/lib/5.22.1/x86_64-linux-thread-multi-ld
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.22.1/5ea4/lib/5.22.1
.