Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the GIS-Distance CPAN distribution.

Report information
The Basics
Id: 44776
Status: resolved
Priority: 0/
Queue: GIS-Distance

People
Owner: Nobody in particular
Requestors: blue [...] thisisnotmyrealemail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.02
Fixed in: (no value)



Subject: install failure
Using Moose 0.73 under 5.8.9: [503]# make test PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/00_pod.t ....... ok t/01_accuracy.t .. 1/31 # Failed test 'use GIS::Distance;' # at t/01_accuracy.t line 7. # Tried to use 'GIS::Distance'. # Error: GIS-Distance-Formula contains invalid characters for a type name. Names can contain alphanumeric character, ":", and "." # Compilation failed in require at (eval 3) line 2. # BEGIN failed--compilation aborted at (eval 3) line 2. Can't locate object method "formula" via package "GIS::Distance" at t/01_accuracy.t line 38. # Looks like you planned 31 tests but ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test exited with 255 just after 1. t/01_accuracy.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 31/31 subtests t/02_polar.t ..... 1/2 # Failed test 'use GIS::Distance;' # at t/02_polar.t line 7. # Tried to use 'GIS::Distance'. # Error: GIS-Distance-Formula contains invalid characters for a type name. Names can contain alphanumeric character, ":", and "." # Compilation failed in require at (eval 3) line 2. # BEGIN failed--compilation aborted at (eval 3) line 2. Can't locate object method "formula" via package "GIS::Distance" at t/02_polar.t line 12. # Looks like you planned 2 tests but ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test exited with 255 just after 1. t/02_polar.t ..... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 2/2 subtests Test Summary Report ------------------- t/01_accuracy.t (Wstat: 65280 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 31 tests but ran 1. t/02_polar.t (Wstat: 65280 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 2 tests but ran 1. Files=3, Tests=11, 1 wallclock secs ( 0.03 usr 0.02 sys + 0.91 cusr 0.07 csys = 1.03 CPU) Result: FAIL Failed 2/3 test programs. 2/11 subtests failed. make: *** [test_dynamic] Error 255 [508]# prove t/ t/00_pod.t ....... ok t/01_accuracy.t .. 1/31 The GIS::Distance formula "GIS::Distance::Formula::GeoEllipsoid" can not be found at /opt/local/lib/perl5/site_perl/5.8.9/GIS/Distance.pm line 93. # Looks like you planned 31 tests but ran 21. # Looks like your test exited with 255 just after 21. t/01_accuracy.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 10/31 subtests t/02_polar.t ..... ok Test Summary Report ------------------- t/01_accuracy.t (Wstat: 65280 Tests: 21 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 31 tests but ran 21. Files=3, Tests=32, 1 wallclock secs ( 0.04 usr 0.02 sys + 1.01 cusr 0.07 csys = 1.14 CPU) Result: FAIL Failed 1/3 test programs. 0/32 subtests failed. And instead of posting a separate bug for GIS::Distance::Fast, here's the `make test` for that module: [503]# make test PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/00_pod.t ....... ok t/01_accuracy.t .. 1/4 Attribute (formula) does not pass the type constraint because: Validation failed for 'GIS::Distance::Formula' failed with value GIS::Distance::Formula::Haversine::Fast=HASH(0x84b410) at t/01_accuracy.t line 17 # Looks like you planned 4 tests but ran 1. # Looks like your test exited with 2 just after 1. t/01_accuracy.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 3/4 subtests Test Summary Report ------------------- t/01_accuracy.t (Wstat: 512 Tests: 1 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 4 tests but ran 1. Files=2, Tests=5, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.51 cusr 0.05 csys = 0.60 CPU) Result: FAIL Failed 1/2 test programs. 0/5 subtests failed. make: *** [test_dynamic] Error 2
Fixed in version 0.04.