Skip Menu |

This queue is for tickets about the Time-Format CPAN distribution.

Report information
The Basics
Id: 70281
Status: rejected
Worked: 30 min
Priority: 0/
Queue: Time-Format

People
Owner: eric.roode.cpan [...] gmail.com
Requestors: Kristofer.Wempa [...] sig.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.11
Fixed in: (no value)



Subject: Unit Test Failures in Date::Manip due to undefined subroutine
I'm attempting to build/install Time::Format 1.11 for Perl 5.14.1 on a Windows XP 32-bit desktop. I get the unit test results shown below. It's not clear to me whether this is a Date::Manip bug or a Time::Format bug. The Date::Manip code looks correct to me. I tried a few simple tweaks to the TZ.pm file, but couldn't resolve these unit test errors. One other thing I noticed is that the allegedly undefined subroutine "_sortByLength" is successfully called by an earlier unit test (I believe t/DateManip.t). Any workarounds would be fine, too. I just need some confidence that this module is actually built correctly so I can install it. Thanks in advance. ===== UNIT TEST RESULTS ===== K:\Toolchains\WindowsXP\X86\sig1\perl-5.14.1\bin\perl.exe "- MExtUtils::C ommand::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/0-signature.t .. ok t/1-load.t ....... ok t/DateManip.t .... ok t/DateTime.t ..... ok t/die.t .......... ok Undefined subroutine in sort at K:/Toolchains/WindowsXP/X86/sig1/perl- 5.14.1/sit e/lib/Date/Manip/TZ.pm line 1365, <DATA> line 1. # Looks like you planned 26 tests but ran 23. # Looks like your test exited with 255 just after 23. t/doc.t .......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 3/26 subtests t/epoch.t ........ ok t/export1.t ...... ok t/export2.t ...... ok t/export3.t ...... ok Undefined subroutine in sort at K:/Toolchains/WindowsXP/X86/sig1/perl- 5.14.1/sit e/lib/Date/Manip/TZ.pm line 1365, <DATA> line 1. # Looks like you planned 18 tests but ran 12. # Looks like your test exited with 255 just after 12. t/funcs.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 6/18 subtests t/locale.t ....... ok Undefined subroutine in sort at K:/Toolchains/WindowsXP/X86/sig1/perl- 5.14.1/sit e/lib/Date/Manip/TZ.pm line 1365. # Looks like you planned 6 tests but ran 1. # Looks like your test exited with 255 just after 1. t/manip.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 5/6 subtests t/past.t ......... ok t/quot.t ......... ok t/strftime.t ..... ok t/string.t ....... ok t/time.t ......... ok t/xs_DateTime.t .. ok t/xs_doc.t ....... ok t/xs_funcs.t ..... ok t/xs_locale.t .... ok t/xs_quot.t ...... ok t/xs_time.t ...... ok Test Summary Report ------------------- t/doc.t (Wstat: 65280 Tests: 23 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 26 tests but ran 23. t/funcs.t (Wstat: 65280 Tests: 12 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 18 tests but ran 12. t/manip.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 6 tests but ran 1. Files=24, Tests=384, 31 wallclock secs ( 0.20 usr + 0.61 sys = 0.81 CPU) Result: FAIL Failed 3/24 test programs. 0/384 subtests failed.
From: ken.fallon [...] gmail.com
Same problem on Fedora 17 "perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-thread-multi" On Mon Aug 15 14:53:46 2011, kowrip wrote: Show quoted text
> I'm attempting to build/install Time::Format 1.11 for Perl 5.14.1 on a > Windows XP 32-bit desktop. I get the unit test results shown below. > It's not clear to me whether this is a Date::Manip bug or a Time::Format > bug. The Date::Manip code looks correct to me. I tried a few simple > tweaks to the TZ.pm file, but couldn't resolve these unit test errors. > One other thing I noticed is that the allegedly undefined subroutine > "_sortByLength" is successfully called by an earlier unit test (I > believe t/DateManip.t). Any workarounds would be fine, too. I just > need some confidence that this module is actually built correctly so I > can install it. Thanks in advance. > > > ===== UNIT TEST RESULTS ===== > K:\Toolchains\WindowsXP\X86\sig1\perl-5.14.1\bin\perl.exe "- > MExtUtils::C > ommand::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t > t/0-signature.t .. ok > t/1-load.t ....... ok > t/DateManip.t .... ok > t/DateTime.t ..... ok > t/die.t .......... ok > Undefined subroutine in sort at K:/Toolchains/WindowsXP/X86/sig1/perl- > 5.14.1/sit > e/lib/Date/Manip/TZ.pm line 1365, <DATA> line 1. > # Looks like you planned 26 tests but ran 23. > # Looks like your test exited with 255 just after 23. > t/doc.t .......... > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 3/26 subtests > t/epoch.t ........ ok > t/export1.t ...... ok > t/export2.t ...... ok > t/export3.t ...... ok > Undefined subroutine in sort at K:/Toolchains/WindowsXP/X86/sig1/perl- > 5.14.1/sit > e/lib/Date/Manip/TZ.pm line 1365, <DATA> line 1. > # Looks like you planned 18 tests but ran 12. > # Looks like your test exited with 255 just after 12. > t/funcs.t ........ > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 6/18 subtests > t/locale.t ....... ok > Undefined subroutine in sort at K:/Toolchains/WindowsXP/X86/sig1/perl- > 5.14.1/sit > e/lib/Date/Manip/TZ.pm line 1365. > # Looks like you planned 6 tests but ran 1. > # Looks like your test exited with 255 just after 1. > t/manip.t ........ > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 5/6 subtests > t/past.t ......... ok > t/quot.t ......... ok > t/strftime.t ..... ok > t/string.t ....... ok > t/time.t ......... ok > t/xs_DateTime.t .. ok > t/xs_doc.t ....... ok > t/xs_funcs.t ..... ok > t/xs_locale.t .... ok > t/xs_quot.t ...... ok > t/xs_time.t ...... ok > > Test Summary Report > ------------------- > t/doc.t (Wstat: 65280 Tests: 23 Failed: 0) > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 26 tests but ran 23. > t/funcs.t (Wstat: 65280 Tests: 12 Failed: 0) > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 18 tests but ran 12. > t/manip.t (Wstat: 65280 Tests: 1 Failed: 0) > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 6 tests but ran 1. > Files=24, Tests=384, 31 wallclock secs ( 0.20 usr + 0.61 sys = 0.81 > CPU) > Result: FAIL > Failed 3/24 test programs. 0/384 subtests failed.
Subject: test.log
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/DateManip.t .... ok t/DateTime.t ..... ok t/die.t .......... ok t/doc.t .......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 3/26 subtests t/export1.t ...... ok t/export2.t ...... ok t/export3.t ...... ok t/funcs.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 5/15 subtests t/locale.t ....... ok t/manip.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 5/6 subtests t/quot.t ......... ok t/strftime.t ..... ok t/string.t ....... ok t/time.t ......... ok t/xs_DateTime.t .. ok t/xs_doc.t ....... ok t/xs_funcs.t ..... ok t/xs_locale.t .... ok t/xs_quot.t ...... ok t/xs_time.t ...... ok Test Summary Report ------------------- t/doc.t (Wstat: 65280 Tests: 23 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 26 tests but ran 23. t/funcs.t (Wstat: 65280 Tests: 10 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 15 tests but ran 10. t/manip.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 6 tests but ran 1. Files=20, Tests=364, 2 wallclock secs ( 0.12 usr 0.05 sys + 0.94 cusr 0.12 csys = 1.23 CPU) Result: FAIL
Subject: error.log
Use of qw(...) as parentheses is deprecated at t/DateManip.t line 17. Use of qw(...) as parentheses is deprecated at (eval 16) line 31, <DATA> chunk 1. Use of qw(...) as parentheses is deprecated at t/DateTime.t line 17. Use of qw(...) as parentheses is deprecated at (eval 48) line 31, <DATA> chunk 1. Use of qw(...) as parentheses is deprecated at t/doc.t line 37. Use of qw(...) as parentheses is deprecated at (eval 20) line 31, <DATA> chunk 1. Undefined subroutine in sort at /usr/share/perl5/vendor_perl/Date/Manip/TZ.pm line 1384, <DATA> line 1. # Looks like you planned 26 tests but ran 23. # Looks like your test exited with 255 just after 23. Use of qw(...) as parentheses is deprecated at t/funcs.t line 37. Use of qw(...) as parentheses is deprecated at (eval 18) line 31, <DATA> chunk 1. Undefined subroutine in sort at /usr/share/perl5/vendor_perl/Date/Manip/TZ.pm line 1384, <DATA> line 1. # Looks like you planned 15 tests but ran 10. # Looks like your test exited with 255 just after 10. Use of qw(...) as parentheses is deprecated at (eval 7) line 31, <DATA> chunk 1. Undefined subroutine in sort at /usr/share/perl5/vendor_perl/Date/Manip/TZ.pm line 1384. # Looks like you planned 6 tests but ran 1. # Looks like your test exited with 255 just after 1. Use of qw(...) as parentheses is deprecated at t/quot.t line 17. Use of qw(...) as parentheses is deprecated at (eval 6) line 31, <DATA> chunk 1. Use of qw(...) as parentheses is deprecated at t/string.t line 16. Use of qw(...) as parentheses is deprecated at (eval 5) line 31, <DATA> chunk 1. Use of qw(...) as parentheses is deprecated at t/time.t line 16. Use of qw(...) as parentheses is deprecated at (eval 6) line 31, <DATA> chunk 1. Use of qw(...) as parentheses is deprecated at t/xs_DateTime.t line 17. Use of qw(...) as parentheses is deprecated at t/xs_doc.t line 21. Use of qw(...) as parentheses is deprecated at t/xs_funcs.t line 17. Use of qw(...) as parentheses is deprecated at t/xs_quot.t line 16. Use of qw(...) as parentheses is deprecated at t/xs_time.t line 15. Failed 3/20 test programs. 0/364 subtests failed. make: *** [test_dynamic] Error 255
Can't reproduce. I'm stumped. Maybe try a more recent version of Date::Manip?