Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-Sender CPAN distribution.

Report information
The Basics
Id: 84007
Status: resolved
Priority: 0/
Queue: Email-Sender

People
Owner: Nobody in particular
Requestors: jan [...] delinquent.de
Cc:
AdminCc:

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



Subject: Tests fail because of Method::Generate::Accessor
When I tried to make test, I get the following output: --snip-- PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-compile.t ................ 18/24 You cannot overwrite a locally defined method (allow_partial_success) with a reader at /usr/local/share/perl/5.10.1/Method/Generate/Accessor.pm line 24. Compilation failed in require at -e line 1. # Failed test 'Email::Sender::Transport::Test loaded ok' # at t/00-compile.t line 62. # '' # doesn't match '(?s-xim:^\s*Email::Sender::Transport::Test ok)' # Looks like you failed 1 test of 24. t/00-compile.t ................ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/24 subtests t/00-load.t ................... 1/? # Failed test 'use Email::Sender::Transport::Test;' # at t/00-load.t line 3. # Tried to use 'Email::Sender::Transport::Test'. # Error: You cannot overwrite a locally defined method (allow_partial_success) with a reader at /usr/local/share/perl/5.10.1/Method/Generate/Accessor.pm line 24. # Compilation failed in require at (eval 64) line 2. # BEGIN failed--compilation aborted at (eval 64) line 2. Bailout called. Further testing stopped: can't even compile all relevant modules FAILED--Further testing stopped: can't even compile all relevant modules make: *** [test_dynamic] Error 255 --snip-- It seems to work fine after I went ahead and installed anyway. This is one debian squeeze with perl v5.10.1 and Moo 1.001000. Any other Information I can provide?
Thanks ever so much for this report! This bug had previously been fixed in 0.102360 but the fix was reverted during Moo-ification and not caught until Moo got the same strictness in construction as Moose previously had. I have just uploaded 1.300006 with a fix. -- rjbs