interchange / Interchange6

Interchange6 Open Source Shop Machine
5 stars 4 forks source link

Test failure with Method::Generate::Accessor on Perl 5.16.3 #21

Closed racke closed 9 years ago

racke commented 9 years ago
PERL_DL_NONLAZY=1 /home/racke/perl5/perlbrew/perls/perl-5.16.3/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-base.t ....... ok   
t/01-product.t .... Use of uninitialized value $_[0] in string at /home/racke/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 117.
Invalid default '' for Interchange6::Cart::Product->cart not a coderef or a non-ref or code-convertible object at /home/racke/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Method/Generate/Accessor.pm line 620.
Compilation failed in require at t/01-product.t line 12.
BEGIN failed--compilation aborted at t/01-product.t line 12.
# Looks like your test exited with 255 before it could output anything.
t/01-product.t .... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 40/40 subtests 
t/02-cart.t ....... Use of uninitialized value $_[0] in string at /home/racke/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 117.
Invalid default '' for Interchange6::Cart::Product->cart not a coderef or a non-ref or code-convertible object at /home/racke/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Method/Generate/Accessor.pm line 620.
Compilation failed in require at /home/racke/interchange/Interchange6/blib/lib/Interchange6/Cart.pm line 15.
BEGIN failed--compilation aborted at /home/racke/interchange/Interchange6/blib/lib/Interchange6/Cart.pm line 15.
Compilation failed in require at t/02-cart.t line 12.
BEGIN failed--compilation aborted at t/02-cart.t line 12.
t/02-cart.t ....... Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 
t/03-cost.t ....... Use of uninitialized value $_[0] in string at /home/racke/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 117.
Invalid default '' for Interchange6::Cart::Product->cart not a coderef or a non-ref or code-convertible object at /home/racke/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Method/Generate/Accessor.pm line 620.
Compilation failed in require at /home/racke/interchange/Interchange6/blib/lib/Interchange6/Cart.pm line 15.
BEGIN failed--compilation aborted at /home/racke/interchange/Interchange6/blib/lib/Interchange6/Cart.pm line 15.
Compilation failed in require at t/03-cost.t line 11.
BEGIN failed--compilation aborted at t/03-cost.t line 11.
PERL_DL_NONLAZY=1 /home/racke/perl5/perlbrew/perls/perl-5.16.3/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-base.t ....... ok   
t/01-product.t .... Use of uninitialized value $_[0] in string at /home/racke/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 117.
Invalid default '' for Interchange6::Cart::Product->cart not a coderef or a non-ref or code-convertible object at /home/racke/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Method/Generate/Accessor.pm line 620.
Compilation failed in require at t/01-product.t line 12.
BEGIN failed--compilation aborted at t/01-product.t line 12.
# Looks like your test exited with 255 before it could output anything.
t/01-product.t .... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 40/40 subtests 
t/02-cart.t ....... Use of uninitialized value $_[0] in string at /home/racke/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 117.
Invalid default '' for Interchange6::Cart::Product->cart not a coderef or a non-ref or code-convertible object at /home/racke/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Method/Generate/Accessor.pm line 620.
Compilation failed in require at /home/racke/interchange/Interchange6/blib/lib/Interchange6/Cart.pm line 15.
BEGIN failed--compilation aborted at /home/racke/interchange/Interchange6/blib/lib/Interchange6/Cart.pm line 15.
Compilation failed in require at t/02-cart.t line 12.
BEGIN failed--compilation aborted at t/02-cart.t line 12.
t/02-cart.t ....... Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 
t/03-cost.t ....... Use of uninitialized value $_[0] in string at /home/racke/perl5/perlbrew/perls/perl-5.16.3/lib/5.16.3/overload.pm line 117.
Invalid default '' for Interchange6::Cart::Product->cart not a coderef or a non-ref or code-convertible object at /home/racke/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Method/Generate/Accessor.pm line 620.
Compilation failed in require at /home/racke/interchange/Interchange6/blib/lib/Interchange6/Cart.pm line 15.
BEGIN failed--compilation aborted at /home/racke/interchange/Interchange6/blib/lib/Interchange6/Cart.pm line 15.
Compilation failed in require at t/03-cost.t line 11.
BEGIN failed--compilation aborted at t/03-cost.t line 11.
racke commented 9 years ago

This is with Moo 1.003001.

racke commented 9 years ago

Fixed in release 0.061.