Skip Menu |

This queue is for tickets about the Politics-AU-Geo CPAN distribution.

Report information
The Basics
Id: 132288
Status: new
Priority: 0/
Queue: Politics-AU-Geo

People
Owner: Nobody in particular
Requestors: jkeenan [...] cpan.org
Cc:
AdminCc:

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



Subject: t/01, t/02: Undeclared dependency on Math::Polygon
Data: ##### $ thisperl -v | head -2 | tail -1 This is perl 5, version 32, subversion 0 (v5.32.0 (v5.31.10-27-g7bd6ca05f7)) built for x86_64-linux $ uname -mrs Linux 4.15.0-91-generic x86_64 $ prove -vb t/01_compile.t t/02_main.t t/01_compile.t .. 1..1 not ok 1 - use Politics::AU::Geo; # Failed test 'use Politics::AU::Geo;' # at t/01_compile.t line 12. # Tried to use 'Politics::AU::Geo'. # Error: Can't locate Math/Polygon.pm in @INC (you may need to install the Math::Polygon module) (@INC contains: [snip] ...) lib/Politics/AU/Geo.pm line 25. # BEGIN failed--compilation aborted ... ... t/02_main.t ..... 1..1 Can't locate Math/Polygon.pm in @INC (you may need to install the Math::Polygon module) (@INC contains: ... Compilation failed in require at t/02_main.t line 15. BEGIN failed--compilation aborted at t/02_main.t line 15. # Looks like your test exited with 2 before it could output anything. Dubious, test returned 2 (wstat 512, 0x200) Failed 1/1 subtests Test Summary Report ------------------- t/01_compile.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 t/02_main.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. Files=2, Tests=1, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.19 cusr 0.07 csys = 0.31 CPU) Result: FAIL ##### Although 'Makefile.PL' has this entry: ##### all_from lib/Politics/AU/Geo.pm ##### ... and although we have: ##### $ ack 'Math(::|-)Polygon' . lib/Politics/AU/Geo.pm 25:use Math::Polygon 1.01 (); lib/Politics/AU/Geo/Polygons.pm 6:use Math::Polygon (); 17: unless ( _INSTANCE($polygon, 'Math::Polygon') ) { 18: die("Failed to deserialize the Math::Polygon object"); ##### 'Math::Polygon' appears nowhere in the generated Makefile. So cpanm has not been instructed to install it as a prerequisite for this distribution. Thank you very much. Jim Keenan