Skip Menu |

This queue is for tickets about the Moo CPAN distribution.

Report information
The Basics
Id: 101119
Status: rejected
Priority: 0/
Queue: Moo

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

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



Subject: Error: Prototype mismatch: sub Moo::_Utils::_in_global_destruction () vs none
Hi , I recently received CPAN Tester report about one of my package Map::Tube::Barcelona, which uses Moo. http://www.cpantesters.org/cpan/report/3ecdadca-8af6-11e4-a3cc-c65e5ef060ad # Failed test 'use Map::Tube::Barcelona;' # at t/00-load.t line 8. # Tried to use 'Map::Tube::Barcelona'. # Error: Prototype mismatch: sub Moo::_Utils::_in_global_destruction () vs none at /home/sand/src/perl/repoperls/installed-perls/perl/perl-5.8.9/5da8/lib/site_perl/5.8.9/Moo/_Utils.pm line 26. # Compilation failed in require at /home/sand/src/perl/repoperls/installed-perls/perl/perl-5.8.9/5da8/lib/site_perl/5.8.9/Moo.pm line 4. # BEGIN failed--compilation aborted at /home/sand/src/perl/repoperls/installed-perls/perl/perl-5.8.9/5da8/lib/site_perl/5.8.9/Moo.pm line 4 Luckily I never had any issue Moo related in the past. Has anything changed recently that might cause this error? Or is this some kind of side-effect? Please advise. Thanks for the wonderful package Moo. Best Regards, Mohammad S Anwar
On Wed Dec 24 14:46:26 2014, MANWAR wrote: Show quoted text
> Hi , > > I recently received CPAN Tester report about one of my package > Map::Tube::Barcelona, which uses Moo. > > http://www.cpantesters.org/cpan/report/3ecdadca-8af6-11e4-a3cc- > c65e5ef060ad > > # Failed test 'use Map::Tube::Barcelona;' > # at t/00-load.t line 8. > # Tried to use 'Map::Tube::Barcelona'. > # Error: Prototype mismatch: sub > Moo::_Utils::_in_global_destruction () vs none at > /home/sand/src/perl/repoperls/installed-perls/perl/perl- > 5.8.9/5da8/lib/site_perl/5.8.9/Moo/_Utils.pm line 26. > # Compilation failed in require at > /home/sand/src/perl/repoperls/installed-perls/perl/perl- > 5.8.9/5da8/lib/site_perl/5.8.9/Moo.pm line 4. > # BEGIN failed--compilation aborted at > /home/sand/src/perl/repoperls/installed-perls/perl/perl- > 5.8.9/5da8/lib/site_perl/5.8.9/Moo.pm line 4 > > > Luckily I never had any issue Moo related in the past. Has anything > changed recently that might cause this error? Or is this some kind of > side-effect? > > Please advise. > > Thanks for the wonderful package Moo. > > Best Regards, > Mohammad S Anwar
Did you possibly install Alt::Devel::GlobalDestruction::XS::Inline? It is an incompatible implementation that can lead to this error. I don't know of any other way to cause this. It doesn't happen with the standard Devel::GlobalDestruction::XS module.
On Thu Dec 25 08:48:14 2014, haarg wrote: Show quoted text
> On Wed Dec 24 14:46:26 2014, MANWAR wrote:
> > Hi , > > > > I recently received CPAN Tester report about one of my package > > Map::Tube::Barcelona, which uses Moo. > > > > http://www.cpantesters.org/cpan/report/3ecdadca-8af6-11e4-a3cc- > > c65e5ef060ad > > > > # Failed test 'use Map::Tube::Barcelona;' > > # at t/00-load.t line 8. > > # Tried to use 'Map::Tube::Barcelona'. > > # Error: Prototype mismatch: sub > > Moo::_Utils::_in_global_destruction () vs none at > > /home/sand/src/perl/repoperls/installed-perls/perl/perl- > > 5.8.9/5da8/lib/site_perl/5.8.9/Moo/_Utils.pm line 26. > > # Compilation failed in require at > > /home/sand/src/perl/repoperls/installed-perls/perl/perl- > > 5.8.9/5da8/lib/site_perl/5.8.9/Moo.pm line 4. > > # BEGIN failed--compilation aborted at > > /home/sand/src/perl/repoperls/installed-perls/perl/perl- > > 5.8.9/5da8/lib/site_perl/5.8.9/Moo.pm line 4 > > > > > > Luckily I never had any issue Moo related in the past. Has anything > > changed recently that might cause this error? Or is this some kind of > > side-effect? > > > > Please advise. > > > > Thanks for the wonderful package Moo. > > > > Best Regards, > > Mohammad S Anwar
> > > Did you possibly install Alt::Devel::GlobalDestruction::XS::Inline? > It is an incompatible implementation that can lead to this error. I > don't know of any other way to cause this. It doesn't happen with the > standard Devel::GlobalDestruction::XS module.
I missed that this was an error showing up on a CPAN Testers report, so you wouldn't know if the extra module was installed. Under normal circumstances, Alt::Devel::GlobalDestruction::XS::Inline will never be installed by users so they shouldn't run into this problem. So you should be safe in ignoring that test report. I'm looking into how to improve the situation though.
This wasn't a problem in Moo or any of it's dependencies, and I've talked to the person running that smoker to get the issue fixed on their end. The CPAN dist that caused this issue has also been changed its author to further fix this. Marking rejected.