Hi all,
I'm trying to install perl-DateTime-Format-Strptime from SBo (
http://slackbuilds.org/repository/14...rmat-Strptime/) but I keep getting the error below. I have installed perl-DateTime dependency.
Any idea what I could be missing?
Code:
Checking if your kit is complete...
Looks good [0/1766]
Writing Makefile for DateTime::Format::Strptime
Writing MYMETA.yml and MYMETA.json
cp lib/DateTime/Format/Strptime.pm blib/lib/DateTime/Format/Strptime.pm
Manifying blib/man3/DateTime::Format::Strptime.3
PERL_DL_NONLAZY=1 /usr/bin/perl5.18.1 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/001_load.t ................ ok
t/002_dates.t ............... ok
t/003_every.t ............... ok
t/004_locale_defaults.t ..... ok
t/005_croak.t ............... ok
t/006_locales.t ............. ok
t/007_edge.t ................ ok
t/008_epoch.t ............... ok
The 'pattern' parameter ("(?^:%Y-%m-%d)") to DateTime::Format::Strptime::new was an 'unknown', which is not one of the allowed types: scalar scalarref
at /usr/lib/perl5/vendor_perl/Params/ValidatePP.pm line 630.
Params::Validate::__ANON__('The \'pattern\' parameter ("(?^:%Y-%m-%d)") to DateTime::Form...') called at /usr/lib/perl5/vendor_perl/Params/ValidatePP.pm line 484
Params::Validate::_validate_one_param('Regexp=REGEXP(0x8667400)', 'HASH(0x8b8f808)', 'HASH(0x8682580)', 'The \'pattern\' parameter ("(?^:%Y-%m-%d)")') called at /usr/lib/perl5/vendor_perl/Params/ValidatePP.pm line 353
Params::Validate::validate('ARRAY(0x8b005a0)', 'HASH(0x8b8f878)') called at /tmp/SBo/DateTime-Format-Strptime-1.54/blib/lib/DateTime/Format/Strptime.pm line 130
DateTime::Format::Strptime::new(undef, 'pattern', 'Regexp=REGEXP(0x8667400)', 'locale', 'en', 'time_zone', 'UTC', 'diagnostic', 0, ...) called at t/009_regexp.t line 46
main::test('pattern', 'Regexp=REGEXP(0x8667400)', 'input', '2009-07-13', 'output', 'HASH(0x8666860)') called at t/009_regexp.t line 9
t/009_regexp.t ..............
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
t/author-001_all_locales.t .. skipped: these tests are for testing by the author
t/release-eol.t ............. skipped: these tests are for release candidate testing
t/release-no-tabs.t ......... skipped: these tests are for release candidate testing
t/release-pod-coverage.t .... skipped: these tests are for release candidate testing
t/release-pod-linkcheck.t ... skipped: these tests are for release candidate testing
t/release-pod-spell.t ....... skipped: these tests are for release candidate testing
t/release-pod-syntax.t ...... skipped: these tests are for release candidate testing
Test Summary Report
-------------------
t/009_regexp.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=16, Tests=424, 2 wallclock secs ( 0.12 usr 0.01 sys + 1.77 cusr 0.06 csys = 1.96 CPU)
Result: FAIL
Failed 1/16 test programs. 0/424 subtests failed.
make: *** [test_dynamic] Error 255