cpantestlogs/XML::LibXML::Fixup_genfailure.log
2017-05-02 18:44:36 -07:00

283 lines
13 KiB
Text

perl-blead
==========
cpanm (App::cpanminus) 1.7043 on perl 5.026000 built for x86_64-linux
Work directory is /home/ryan/.cpanm/work/1493531087.19382
You have make /usr/bin/make
You have LWP 6.26
You have /bin/tar: tar (GNU tar) 1.29
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching XML::LibXML::Fixup () on cpanmetadb ...
Unpacking XML-LibXML-Fixup-0.03.tar.gz
--> Working on XML::LibXML::Fixup
Fetching http://www.cpan.org/authors/id/N/NW/NWETTERS/XML-LibXML-Fixup-0.03.tar.gz ... OK
XML-LibXML-Fixup-0.03/
XML-LibXML-Fixup-0.03/README
XML-LibXML-Fixup-0.03/Makefile.PL
XML-LibXML-Fixup-0.03/Fixup.pm
XML-LibXML-Fixup-0.03/MANIFEST
XML-LibXML-Fixup-0.03/Changes
XML-LibXML-Fixup-0.03/test.pl
XML-LibXML-Fixup-0.03/TODO
XML-LibXML-Fixup-0.03/sampleXML/
XML-LibXML-Fixup-0.03/sampleXML/footballlatestnews.xml
XML-LibXML-Fixup-0.03/sampleXML/footballnews.xml
XML-LibXML-Fixup-0.03/sampleXML/badfootballnews.xml
XML-LibXML-Fixup-0.03/sampleXML/badfootballlatestnews.xml
Entering XML-LibXML-Fixup-0.03
META.yml/json not found. Creating skeleton for it.
Running Makefile.PL
Configuring XML-LibXML-Fixup-0.03 ... Undefined requirement for Carp treated as '0' at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/ExtUtils/MakeMaker.pm line 466.
Undefined requirement for Test::More treated as '0' at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/ExtUtils/MakeMaker.pm line 466.
Undefined requirement for XML::LibXML treated as '0' at /home/ryan/perl5/perlbrew/perls/perl-blead/lib/site_perl/5.26.0/ExtUtils/MakeMaker.pm line 466.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for XML::LibXML::Fixup
Writing MYMETA.yml and MYMETA.json
Checking dependencies from MYMETA.json ...
Checking if you have XML::LibXML 0 ... Yes (2.0129)
Checking if you have Test::More 0 ... Yes (1.302083)
Checking if you have Carp 0 ... Yes (1.38)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.24)
OK
Building and testing XML-LibXML-Fixup-0.03 ... cp Fixup.pm blib/lib/XML/LibXML/Fixup.pm
Manifying 1 pod document
PERL_DL_NONLAZY=1 "/home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl5.26.0" "-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
! Installing XML::LibXML::Fixup failed. See /home/ryan/.cpanm/work/1493531087.19382/build.log for details. Retry with --force to force install it.
FAIL
Command [cpanm --reinstall --verbose XML::LibXML::Fixup] terminated with exit code 1 ($? = 256) under the following perl environment:
Command terminated with non-zero status.
Current perl:
Name: perl-blead
Path: /home/ryan/perl5/perlbrew/perls/perl-blead/bin/perl
Config: -de -Dprefix=/home/ryan/perl5/perlbrew/perls/perl-blead -Dusedevel -Aeval:scriptdir=/home/ryan/perl5/perlbrew/perls/perl-blead/bin
Compiled at: Mar 30 2017 03:10:09
perlbrew:
version: 0.78
ENV:
PERLBREW_ROOT: /home/ryan/perl5/perlbrew
PERLBREW_HOME: /home/ryan/.perlbrew
PERLBREW_PATH: /home/ryan/perl5/perlbrew/bin:/home/ryan/perl5/perlbrew/perls/perl-blead/bin
PERLBREW_MANPATH: /home/ryan/perl5/perlbrew/perls/perl-blead/man