Hi Jeff,

I'm back from the festivities, back to work, and I finally got XML::TreeBuilder 5.2 (JFeran special edition) installed and Publican 4.0.0 has built with no errors.

Hooray!

Sadly, my first build after installing it resulted in the following:

$ publican build --langs=en-US --formats=pdf,html,epub

DEBUG: Publican: config loaded
build should be sub-classed!


I've got debug turned on the publican.cfg for this article that I'm using as a test bed.

I did the following, prior to the above test, to rebuild Publican:

./Build realclean
perl Build.PL
./Build
./Build test
sudo ./Build install

The test produced lots of passes and then the following when it tried to build the User Guide:


t/910.publican.Users_Guide.t .. # Testing bin/publican on the Users_Guide
t/910.publican.Users_Guide.t .. 3/5 undefined language: xml at /usr/local/share/perl/5.14.2/Syntax/Highlight/Engine/Kate.pm line 621.
LibXSLT: error coming back from perl-dispatcher in pm file.
        'xml' is not a valid language for highlighting.
 at /usr/lib/perl5/XML/LibXSLT.pm line 81.

at /home/norman/SourceCode/Publican_4/Publican-v4.0.0/blib/lib/Publican/Builder/DocBook.pm line 949.
t/910.publican.Users_Guide.t .. 4/5
#   Failed test 'build the Users Guide'
#   at t/910.publican.Users_Guide.t line 49.
#          got: '512'
#     expected: '0'
Could not open en-US/Adding_Code_Samples.xml for output! at /home/norman/SourceCode/Publican_4/Publican-v4.0.0/blib/lib/Publican/Builder/DocBook4.pm line 142.
t/910.publican.Users_Guide.t .. 5/5
#   Failed test 'build the Users Guide in all formats'
#   at t/910.publican.Users_Guide.t line 56.
#          got: '3328'
#     expected: '0'
# Looks like you failed 2 tests of 5.
t/910.publican.Users_Guide.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/5 subtests
t/920.WebSite.t ............... 1/10 # Testing build a website with publican
t/920.WebSite.t ............... 4/10 Info file missing: build/en-US/xml/Book_Info.xml at /home/norman/SourceCode/Publican_4/Publican-v4.0.0/blib/script/publican line 1139.
t/920.WebSite.t ............... 5/10
#   Failed test 'install the Users Guide on the website'
#   at t/920.WebSite.t line 60.
#          got: '512'
#     expected: '0'
t/920.WebSite.t ............... 6/10 Info file missing: build/en-US/xml/Book_Info.xml at /home/norman/SourceCode/Publican_4/Publican-v4.0.0/blib/script/publican line 1139.
t/920.WebSite.t ............... 7/10
#   Failed test 'install the Users Guide on the website'
#   at t/920.WebSite.t line 69.
#          got: '512'
#     expected: '0'
# Looks like you failed 2 tests of 10.
t/920.WebSite.t ............... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/10 subtests

Test Summary Report
-------------------
t/910.publican.Users_Guide.t (Wstat: 512 Tests: 5 Failed: 2)
  Failed tests:  4-5
  Non-zero exit status: 2
t/920.WebSite.t             (Wstat: 512 Tests: 10 Failed: 2)
  Failed tests:  5, 7
  Non-zero exit status: 2
Files=10, Tests=68, 163 wallclock secs ( 0.11 usr 0.01 sys + 79.09 cusr 3.55 csys = 82.76 CPU)
Result: FAIL
Failed 2/10 test programs. 4/68 subtests failed.


I need a good cider now!


Cheers,
Norm.

--
Norman Dunbar
Dunbar IT Consultants Ltd

Registered address:
27a Lidget Hill
Pudsey
West Yorkshire
United Kingdom
LS28 7LG

Company Number: 05132767

_______________________________________________
publican-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/publican-list
Wiki: https://fedorahosted.org/publican

Reply via email to