Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the App-colourhexdump CPAN distribution.

Report information
The Basics
Id: 67341
Status: resolved
Priority: 0/
Queue: App-colourhexdump

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

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



CC: BOBTFISH [...] cpan.org
Subject: It seems like MooseX-Getopt-0.36 broke App::colourhexdump
It seems that MooseX::Getopt::Dashes 0.36 broke colorhexdump testsuite. I have a perl with passing test with Moose 1.25 and MooseX::Getopt::Dashes 0.35 but many perls that fail the test suite with either Moose 1.24 or 1.25 but with MX:G:D 0.36 or 0.37 This is the diagnostics: We have encountered an attribute conflict with 'usage' during role composition. This attribute is defined in both Moose::Meta::Role::__ANON__::SERIAL::2 and MooseX::Getopt::Dashes. This is a fatal error and cannot be disambiguated. at /home/src/perl/repoperls/installed-perls/perl/v5.13.11-18-gc34fab5/lib/site_perl/5.13.11/x86_64-linux-ld/Moose/Meta/Role/Application/RoleSummation.pm line 137 Moose::Meta::Role::Application::RoleSummation::apply_attributes('Moose::Meta::Role::Application::RoleSummation=HASH(0x16587d8)', 'Moose::Meta::Role::Composite=HASH(0x17d0740)') called at /home/src/perl/repoperls/installed-perls/perl/v5.13.11-18-gc34fab5/lib/site_perl/5.13.11/x86_64-linux-ld/Moose/Meta/Role/Application.pm line 54 Moose::Meta::Role::Application::apply('Moose::Meta::Role::Application::RoleSummation=HASH(0x16587d8)', 'Moose::Meta::Role::Composite=HASH(0x17d0740)') called at /home/src/perl/repoperls/installed-perls/perl/v5.13.11-18-gc34fab5/lib/site_perl/5.13.11/x86_64-linux-ld/Moose/Meta/Role/Composite.pm line 124 Moose::Meta::Role::Composite::apply_params('Moose::Meta::Role::Composite=HASH(0x17d0740)', 'HASH(0x12ca530)') called at /home/src/perl/repoperls/installed-perls/perl/v5.13.11-18-gc34fab5/lib/site_perl/5.13.11/x86_64-linux-ld/Moose/Meta/Role.pm line 513 Moose::Meta::Role::combine('Moose::Meta::Role', 'ARRAY(0x15e32e0)', 'ARRAY(0x15796a8)') called at /home/src/perl/repoperls/installed-perls/perl/v5.13.11-18-gc34fab5/lib/site_perl/5.13.11/x86_64-linux-ld/Moose/Util.pm line 140 Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0x135d420)', undef, 'MooseX::Getopt::GLD', 'MooseX::Getopt::Dashes') called at /home/src/perl/repoperls/installed-perls/perl/v5.13.11-18-gc34fab5/lib/site_perl/5.13.11/x86_64-linux-ld/Moose/Util.pm line 91 Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0x135d420)', 'MooseX::Getopt::GLD', 'MooseX::Getopt::Dashes') called at /home/src/perl/repoperls/installed-perls/perl/v5.13.11-18-gc34fab5/lib/site_perl/5.13.11/x86_64-linux-ld/Moose.pm line 58 Moose::with('Moose::Meta::Class=HASH(0x135d420)', 'MooseX::Getopt::GLD', 'MooseX::Getopt::Dashes') called at /home/src/perl/repoperls/installed-perls/perl/v5.13.11-18-gc34fab5/lib/site_perl/5.13.11/x86_64-linux-ld/Moose/Exporter.pm line 359 Moose::with('MooseX::Getopt::GLD', 'MooseX::Getopt::Dashes') called at lib/App/colourhexdump.pm line 12 require App/colourhexdump.pm called at -e line 1 Compilation failed in require at -e line 1. Let me know whether I can provide more data.
Thanks, it seems for some dumb reason I was implicitly consuming the ::GLD role twice, ( once in GLD, the other indirectly in ::Dashes )

Not sure why this is, but its been fixed, and hopefully this is solved properly in  0.01011315 ( Just released )

Thanks again for reporting. =).