Skip Menu |

This queue is for tickets about the Math-Symbolic-Custom-Pattern CPAN distribution.

Report information
The Basics
Id: 24106
Status: resolved
Priority: 0/
Queue: Math-Symbolic-Custom-Pattern

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

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



Subject: Make Test failures under FreeBSD 5.4-RELEASE and Perl 5.6.2
FreeBSD 5.4-RELEASE, Perl 5.6.2: Testing (/usr/ports/math/p5-Math-Symbolic-Custom-Pattern/work/Math-Symbolic-Custom-Pattern-1.20)... PERL_DL_NONLAZY=1 /usr/local/bin/perl5.6.2 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00pod.........ok t/00podcover....ok t/01basic....... dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2, 5-273 Failed 270/273 tests, 1.10% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/01basic.t 255 65280 273 539 2 5-273 Failed 1/3 test scripts. 270/277 subtests failed. Files=3, Tests=277, 2 wallclock secs ( 1.54 cusr + 0.21 csys = 1.75 CPU) # Failed test 'use Math::Symbolic::Custom::Pattern;' # at t/01basic.t line 8. # Tried to use 'Math::Symbolic::Custom::Pattern'. # Error: Constant name 'HASH(0x841702c)' has invalid characters at /usr/ports/math/p5-Math-Symbolic-Custom-Pattern/work/Math-Symbolic-Custom-Pattern-1.20/blib/lib/Math/Symbolic/Custom/Pattern.pm line 18 # BEGIN failed--compilation aborted at t/01basic.t line 8. # Compilation failed in require at (eval 13) line 2. # BEGIN failed--compilation aborted at (eval 13) line 2. Can't locate object method "new" via package "Math::Symbolic::Custom::Pattern" (perhaps you forgot to load "Math::Symbolic::Custom::Pattern"?) at t/01basic.t line 15, <DATA> line 3. # Looks like you planned 273 tests but only ran 4. # Looks like you failed 1 test of 4 run. # Looks like your test died just after 4. *** Error code 35
This seems to be related to your ancient perl plus the use of "use constant {....};" in the module. I replaced "use constant {...}" with separate "use constant" statements and made a 1.21 release. Please retry with that release. I'm marking the ticket resolved. To reopen it, just send a reply.