Subject: | Data::Printer fails pod tests with old Test::Pod |
Hello,
Data::Printer v0.24 failed its Pod tests on a CentOS 6 box that had
Test::Pod v1.40 installed. After upgrading Test::Pod to v1.45 it
passed. I think Data::Printer needs a versioned dependency on Test::Pod
Show quoted text
>= 1.41. When I tried it again with 1.41, it passed.
Thank you for your time and for Data::Printer! It's really slick and
has become my go-to dumper.
Cheers,
Fitz Elliott
cpanm (App::cpanminus) 1.5001 on perl 5.010001 built for
x86_64-linux-thread-multi
Work directory is /root/.cpanm/work/1320171927.32052
You have make /usr/bin/make
You have LWP 6.02
You have /bin/tar: tar (GNU tar) 1.23
Copyright (C) 2010 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 Data::Printer on cpanmetadb ...
--> Working on Data::Printer
Fetching
http://search.cpan.org/CPAN/authors/id/G/GA/GARU/Data-Printer-0.24.tar.gz
-> OK
Unpacking Data-Printer-0.24.tar.gz
Entering Data-Printer-0.24
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.59)
Configuring Data-Printer-0.24
Running Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Data::Printer
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.59)
Checking if you have Scalar::Util 0 ... Yes (1.21)
Checking if you have Term::ANSIColor 3 ... Yes (3.01)
Checking if you have File::HomeDir 0.91 ... Yes (0.98)
Checking if you have Class::MOP 0.65 ... Yes (2.0205)
Checking if you have File::Spec 0 ... Yes (3.30)
Checking if you have Fcntl 0 ... Yes (1.06)
Checking if you have Hash::FieldHash 0 ... Yes (0.10)
Checking if you have Carp 0 ... Yes (1.11)
Checking if you have Test::More 0.88 ... Yes (0.98)
Checking if you have Sort::Naturally 0 ... Yes (1.02)
Checking if you have Clone 0 ... Yes (0.31)
Building and testing Data-Printer-0.24
cp lib/Data/Printer/Filter.pm blib/lib/Data/Printer/Filter.pm
cp lib/Data/Printer/Filter/DateTime.pm
blib/lib/Data/Printer/Filter/DateTime.pm
cp lib/DDP.pm blib/lib/DDP.pm
cp lib/Data/Printer.pm blib/lib/Data/Printer.pm
cp lib/Data/Printer/Filter/DB.pm blib/lib/Data/Printer/Filter/DB.pm
Manifying blib/man3/Data::Printer::Filter.3pm
Manifying blib/man3/Data::Printer::Filter::DateTime.3pm
Manifying blib/man3/Data::Printer::Filter::DB.3pm
Manifying blib/man3/Data::Printer.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Beginning Data::Printer tests in linux with Perl 5.010001, /usr/bin/perl
# Trying to load Data::Printer with Class::MOP 2.0205
# Testing Data::Printer 0.24
t/00-load.t ................. ok
t/01-p.t .................... ok
t/02-colors.t ............... ok
t/03-conf.t ................. ok
t/03-conf_not_ref.t ......... ok
t/04-multiline.t ............ ok
t/05-obj.t .................. ok
t/06-obj2.t ................. ok
t/07-sort.t ................. ok
t/08-deparse.t .............. ok
t/09-alias.t ................ ok
t/10-filter.t ............... ok
t/11-aliased_with_filter.t .. ok
t/12-filter_class.t ......... ok
t/13-filter_datetime.t ...... ok
t/13.2-filter_db.t .......... ok
t/14-local_conf.t ........... ok
t/15-rc_file.t .............. ok
t/16-rc_file2.t ............. ok
t/17-parallel.t ............. ok
t/18-class_method.t ......... ok
t/19-tied.t ................. ok
t/20-handles.t .............. ok
t/21-ddp.t .................. ok
t/22-class_method.t ......... ok
t/23-caller_info.t .......... ok
t/24-no_prototypes.t ........ ok
t/25-weak.t ................. ok
t/26-tainted.t .............. ok
t/27-pass_through.t ......... ok
t/27.2-pass_through.t ....... ok
t/27.3-pass_through-DDP.t ... ok
t/27.4-pass_through-DDP.t ... ok
t/28-void_return.t .......... ok
# Failed test 'blib/lib/Data/Printer.pm'
# at /usr/share/perl5/Test/Pod.pm line 219.
# blib/lib/Data/Printer.pm (1503): L<text|scheme:...> is invalid
according to perlpod
# blib/lib/Data/Printer.pm (1525): L<text|scheme:...> is invalid
according to perlpod
# Looks like you failed 1 test of 5.
t/pod.t .....................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests
Test Summary Report
-------------------
t/pod.t (Wstat: 256 Tests: 5 Failed: 1)
Failed test: 2
Non-zero exit status: 1
Files=35, Tests=300, 5 wallclock secs ( 0.17 usr 0.08 sys + 4.06 cusr
0.67 csys = 4.98 CPU)
Result: FAIL
Failed 1/35 test programs. 1/300 subtests failed.
make: *** [test_dynamic] Error 1
-> FAIL Installing Data::Printer failed. See /root/.cpanm/build.log for
details.