Skip Menu |
 

This queue is for tickets about the Mail-SPF CPAN distribution.

Report information
The Basics
Id: 24130
Status: resolved
Priority: 0/
Queue: Mail-SPF

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

Bug Information
Severity: Important
Broken in: 2.002
Fixed in: 2.003



Subject: Make Test failures under FreeBSD 5.4-RELEASE and Perl 5.6.2
Download (untitled) / with headers
text/plain 10.5k
FreeBSD 5.4-RELEASE, Perl 5.6.2...Here's the log: Testing (/usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002)... t/00.00-class-misc............Using /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib ok t/00.01-class-util............Using /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib # Failed test 'use Mail::SPF::Util;' # at t/00.01-class-util.t line 14. # Tried to use 'Mail::SPF::Util'. # Error: Constant name 'HASH(0x81bc814)' has invalid characters at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Util.pm line 227 # BEGIN failed--compilation aborted at t/00.01-class-util.t line 14. # Compilation failed in require at (eval 6) line 2. # BEGIN failed--compilation aborted at (eval 6) line 2. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-2 Failed 2/16 tests, 87.50% okay t/00.02-class-request......... # Failed test 'Mail::SPF::Util->hostname() defined' # at t/00.01-class-util.t line 20. # undef # ne # undef # Looks like you failed 2 tests of 16. Using /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1, 3-43 Failed 42/43 tests, 2.33% okay # Failed test 'use Mail::SPF::Request;' # at t/00.02-class-request.t line 13. # Tried to use 'Mail::SPF::Request'. # Error: Constant name 'HASH(0x82119f4)' has invalid characters at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Util.pm line 227 # BEGIN failed--compilation aborted at t/00.02-class-request.t line 13. # Compilation failed in require at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Request.pm line 26. # BEGIN failed--compilation aborted at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Request.pm line 26. # Compilation failed in require at (eval 6) line 2. # BEGIN failed--compilation aborted at (eval 6) line 2. Can't locate object method "versions" via package "Mail::SPF::Request" (perhaps you forgot to load "Mail::SPF::Request"?) at t/00.02-class-request.t line 32. # Looks like you planned 43 tests but only ran 2. # Looks like you failed 1 test of 2 run. # Looks like your test died just after 2. t/00.03-class-result..........Using /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib Constant name 'HASH(0x8187440)' has invalid characters at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Util.pm line 227 BEGIN failed--compilation aborted at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Util.pm line 230. Compilation failed in require at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Request.pm line 26. BEGIN failed--compilation aborted at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Request.pm line 26. Compilation failed in require at t/00.03-class-result.t line 9. BEGIN failed--compilation aborted at t/00.03-class-result.t line 9. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-16 Failed 16/16 tests, 0.00% okay t/00.04-class-server..........Using /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib dubious Test returned status 2 (wstat 512, 0x200) t/00.05-class-macrostring.....Can't locate Net/DNS/Resolver/Programmable.pm in @INC (@INC contains: /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/arch /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/arch /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/_build/lib /usr/local/lib/perl5/site_perl/5.6.2/mach /usr/local/lib/perl5/site_perl/5.6.2 /usr/local/lib/perl5/site_perl/5.6.2 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.6.2/BSDPAN /usr/local/lib/perl5/5.6.2/mach /usr/local/lib/perl5/5.6.2 . /usr/local/lib/perl5/site_perl/5.6.2/mach /usr/local/lib/perl5/site_perl/5.6.2 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.6.2/BSDPAN /usr/local/lib/perl5/5.6.2/mach /usr/local/lib/perl5/5.6.2 .) at t/00.04-class-server.t line 6. BEGIN failed--compilation aborted at t/00.04-class-server.t line 6. Using /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib dubious Test returned status 2 (wstat 512, 0x200) t/00.99-class-misc............Can't locate Net/DNS/Resolver/Programmable.pm in @INC (@INC contains: /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/arch /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/arch /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/_build/lib /usr/local/lib/perl5/site_perl/5.6.2/mach /usr/local/lib/perl5/site_perl/5.6.2 /usr/local/lib/perl5/site_perl/5.6.2 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.6.2/BSDPAN /usr/local/lib/perl5/5.6.2/mach /usr/local/lib/perl5/5.6.2 . /usr/local/lib/perl5/site_perl/5.6.2/mach /usr/local/lib/perl5/site_perl/5.6.2 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.6.2/BSDPAN /usr/local/lib/perl5/5.6.2/mach /usr/local/lib/perl5/5.6.2 .) at t/00.05-class-macrostring.t line 6. BEGIN failed--compilation aborted at t/00.05-class-macrostring.t line 6. Using /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib Unrecognized escape \p in character class passed through before HERE mark in regex m/ \p{IsAlpha} [\p << HERE {IsAlnum}\-_.]* / at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Term.pm line 31. Unrecognized escape \p in character class passed through before HERE mark in regex m/ \p{IsAlnum}* \p{IsAlpha} \p{IsAlnum}* | \p{IsAlnum}+ - [\p << HERE {IsAlnum}-]* \p{IsAlnum} / at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Term.pm line 54. Unrecognized escape \p in character class passed through before HERE mark in regex m/ \. (?x-ism: \p{IsAlnum}* \p{IsAlpha} \p{IsAlnum}* | \p{IsAlnum}+ - [\p << HERE {IsAlnum}-]* \p{IsAlnum} ) \.? | (?x-ism: % (?: { \p{IsAlpha} (?-xism:\d*r?) (?-xism:[.\-+,/_=])* } | [%_-] ) ) / at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Term.pm line 56. Unrecognized escape \p in character class passed through before HERE mark in regex m/ (?x-ism: (?: (?x-ism: % (?: { \p{IsAlpha} (?-xism:\d*r?) (?-xism:[.\-+,/_=])* } | [%_-] ) ) | (?-xism:[!-\$&-~]) )* ) (?x-ism: \. (?x-ism: \p{IsAlnum}* \p{IsAlpha} \p{IsAlnum}* | \p{IsAlnum}+ - [\p << HERE {IsAlnum}-]* \p{IsAlnum} ) \.? | (?x-ism: % (?: { \p{IsAlpha} (?-xism:\d*r?) (?-xism:[.\-+,/_=])* } | [%_-] ) ) ) / at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Term.pm line 61. # Failed test 'use Mail::SPF::Mech;' # at t/00.99-class-misc.t line 11. # Tried to use 'Mail::SPF::Mech'. # Error: Constant name 'HASH(0x825332c)' has invalid characters at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Util.pm line 227 # BEGIN failed--compilation aborted at t/00.99-class-misc.t line 11. # Compilation failed in require at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Result.pm line 25. # BEGIN failed--compilation aborted at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Result.pm line 25. # Compilation failed in require at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Record.pm line 30. # BEGIN failed--compilation aborted at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Record.pm line 30. # Compilation failed in require at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Mech.pm line 27. # BEGIN failed--compilation aborted at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Mech.pm line 27. # Compilation failed in require at (eval 11) line 2. # BEGIN failed--compilation aborted at (eval 11) line 2. # Failed test 'use Mail::SPF::Mech::All;' # at t/00.99-class-misc.t line 12. # Tried to use 'Mail::SPF::Mech::All'. # Error: Can't locate object method "explanation_templates_by_result_code" via package "Mail::SPF::Mech::All" (perhaps you forgot to load "Mail::SPF::Mech::All"?) at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Mech/All.pm line 31. # BEGIN failed--compilation aborted at t/00.99-class-misc.t line 12. # Compilation failed in require at (eval 13) line 2. # BEGIN failed--compilation aborted at (eval 13) line 2. # Failed test 'use Mail::SPF::Mech::IP4;' # at t/00.99-class-misc.t line 13. # Tried to use 'Mail::SPF::Mech::IP4'. # Error: Can't locate object method "explanation_templates_by_result_code" via package "Mail::SPF::SenderIPAddrMech" (perhaps you forgot to load "Mail::SPF::SenderIPAddrMech"?) at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/SenderIPAddrMech.pm line 29. # BEGIN failed--compilation aborted at t/00.99-class-misc.t line 13. # Compilation failed in require at (eval 16) line 3. # ...propagated at /usr/local/lib/perl5/5.6.2/base.pm line 62. # BEGIN failed--compilation aborted at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Mech/IP4.pm line 22. # Compilation failed in require at (eval 15) line 2. # BEGIN failed--compilation aborted at (eval 15) line 2. Unrecognized escape \p in character class passed through before HERE mark in regex m/ (?x-ism: \p{IsAlpha} [\p << HERE {IsAlnum}\-_.]* ) (?= = ) / at /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib/lib/Mail/SPF/Mod.pm line 29. # Looks like you failed 3 tests of 17. dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 2-4 Failed 3/17 tests, 82.35% okay t/10.00-rfc4408...............Using /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib skipped all skipped: Mail::SPF::Test required for testing Mail::SPF's RFC compliance t/10.01-rfc4406...............Using /usr/ports/mail/p5-Mail-SPF/work/Mail-SPF-2.002/blib skipped all skipped: Mail::SPF::Test required for testing Mail::SPF's RFC compliance t/90-author-pod-validation....skipped all skipped: Test::Pod 1.00 required for testing POD validity Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/00.01-class-util.t 2 512 16 2 1-2 t/00.02-class-request.t 255 65280 43 83 1 3-43 t/00.03-class-result.t 255 65280 16 32 1-16 t/00.04-class-server.t 2 512 ?? ?? ?? t/00.05-class-macrostring.t 2 512 ?? ?? ?? t/00.99-class-misc.t 3 768 17 3 2-4 3 tests skipped. Failed 6/10 test scripts. 63/94 subtests failed. Files=10, Tests=94, 5 wallclock secs ( 2.14 cusr + 0.45 csys = 2.59 CPU) Failed 6/10 test programs. 63/94 subtests failed.
Download (untitled) / with headers
text/plain 161b
Apparently there were several issues with Mail::SPF's Perl 5.6 compatibility. They have been resolved in the Mail::SPF 2.003 release of today. Please try it.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.