Skip Menu |

This queue is for tickets about the MooseX-Role-WithOverloading CPAN distribution.

Report information
The Basics
Id: 72192
Status: rejected
Priority: 0/
Queue: MooseX-Role-WithOverloading

People
Owner: Nobody in particular
Requestors: chisel [...] chizography.net
Cc:
AdminCc:

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



Subject: Missing dependencies: Variable::Magic, Sub::Identify, namespace::autoclean
This module fails to install on a relatively clean system because there's an undeclared dependency on Variable::Magic [520][parleydemo@shell:~]➔ cpanm MooseX::Role::WithOverloading ! ! Can't write to /usr/local/share/perl/5.12.4 and /usr/local/bin: Installing modules to /home/parleydemo/perl5 ! To turn off this warning, you have to do one of the following: ! - run me as a root or with --sudo option (to install to /usr/local/share/perl/5.12.4 and /usr/local/bin) | - run me with --local-lib option e.g. cpanm --local-lib=~/perl5 ! - Set PERL_CPANM_OPT="--local-lib=~/perl5" environment variable (in your shell rc file) ! - Configure local::lib in your shell to set PERL_MM_OPT etc. ! --> Working on MooseX::Role::WithOverloading Fetching http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/MooseX-Role- WithOverloading-0.09.tar.gz ... OK Configuring MooseX-Role-WithOverloading-0.09 ... OK Building and testing MooseX-Role-WithOverloading-0.09 ... FAIL ! Installing MooseX::Role::WithOverloading failed. See /home/parleydemo/.cpanm/build.log for details. [521][parleydemo@shell:~]➔ # Failed test 'use CombiningClass;' # at t/combine_to_class.t line 9. # Tried to use 'CombiningClass'. # Error: Can't locate Variable/Magic.pm in @INC (@INC contains: /home/parleydemo/.cpanm/work/1320452593.9712/MooseX -Role-WithOverloading-0.09/t/lib /home/parleydemo/.cpanm/work/1320452593.9712/MooseX-Role- WithOverloading-0.09/blib/lib /home/parleydemo/.cpanm/work/1320452593.9712/MooseX-Role- WithOverloading-0.09/blib/arch /home/parleydemo/perl5/lib/perl5 /x86_64-linux-gnu-thread-multi /home/parleydemo/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.12.4 /usr/local/share/pe rl/5.12.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12 /usr/local/lib/site_perl .) at /home/p arleydemo/perl5/lib/perl5/B/Hooks/EndOfScope.pm line 14. # BEGIN failed--compilation aborted at /home/parleydemo/perl5/lib/perl5/B/Hooks/EndOfScope.pm line 14. # Compilation failed in require at /home/parleydemo/perl5/lib/perl5/namespace/autoclean.pm line 14. # BEGIN failed--compilation aborted at /home/parleydemo/perl5/lib/perl5/namespace/autoclean.pm line 14. # Compilation failed in require at /home/parleydemo/.cpanm/work/1320452593.9712/MooseX-Role- WithOverloading-0.09/t/lib/C ombiningClass.pm line 4. # BEGIN failed--compilation aborted at /home/parleydemo/.cpanm/work/1320452593.9712/MooseX-Role- WithOverloading-0.09/t/l ib/CombiningClass.pm line 4. # Compilation failed in require at (eval 8) line 2. # BEGIN failed--compilation aborted at (eval 8) line 2. (etc) [525][parleydemo@shell:~]➔ cpanm Variable::Magic --> Working on Variable::Magic Fetching http://search.cpan.org/CPAN/authors/id/V/VP/VPIT/Variable- Magic-0.47.tar.gz ... OK Configuring Variable-Magic-0.47 ... OK Building and testing Variable-Magic-0.47 ... OK Successfully installed Variable-Magic-0.47 [526][parleydemo@shell:~]➔ Next failure is Sub::Identify # Failed test 'use CombiningClass;' # at t/combine_to_class.t line 9. # Tried to use 'CombiningClass'. # Error: Can't locate Sub/Identify.pm in @INC (@INC contains: /home/parleydemo/.cpanm/work/1320452761.9976/MooseX-Role -WithOverloading-0.09/t/lib /home/parleydemo/.cpanm/work/1320452761.9976/MooseX-Role- WithOverloading-0.09/blib/lib /home/pa rleydemo/.cpanm/work/1320452761.9976/MooseX-Role-WithOverloading- 0.09/blib/arch /home/parleydemo/perl5/lib/perl5/x86_64-lin ux-gnu-thread-multi /home/parleydemo/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.12.4 /usr/local/share/perl/5.12.4 /usr /lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12 /usr/local/lib/site_perl .) at /home/parleydemo/perl5/l ib/perl5/namespace/clean.pm line 15. # BEGIN failed--compilation aborted at /home/parleydemo/perl5/lib/perl5/namespace/clean.pm line 15. # Compilation failed in require at /home/parleydemo/perl5/lib/perl5/namespace/autoclean.pm line 16. # BEGIN failed--compilation aborted at /home/parleydemo/perl5/lib/perl5/namespace/autoclean.pm line 16. # Compilation failed in require at /home/parleydemo/.cpanm/work/1320452761.9976/MooseX-Role- WithOverloading-0.09/t/lib/Comb iningClass.pm line 4. # BEGIN failed--compilation aborted at /home/parleydemo/.cpanm/work/1320452761.9976/MooseX-Role- WithOverloading-0.09/t/lib/ CombiningClass.pm line 4. # Compilation failed in require at (eval 8) line 2. # BEGIN failed--compilation aborted at (eval 8) line 2. Next failure appears to be namespace::autoclean # Failed test 'use CombiningClass;' # at t/combine_to_class.t line 9. # Tried to use 'CombiningClass'. # Error: Undefined subroutine &namespace::autoclean::on_scope_end called at /home/parleydemo/perl5/lib/perl5/names /autoclean.pm line 57. # BEGIN failed--compilation aborted at /home/parleydemo/.cpanm/work/1320452859.10194/MooseX-Role- WithOverloading-0.09/t /CombiningClass.pm line 4. # Compilation failed in require at (eval 8) line 2. # BEGIN failed--compilation aborted at (eval 8) line 2. [531][parleydemo@shell:~]➔ perlversion namespace::autoclean [namespace::autoclean] 0.13 [532][parleydemo@shell:~]➔ cpanm namespace::autoclean --> Working on namespace::autoclean Fetching http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/namespace- autoclean-0.13.tar.gz ... OK Configuring namespace-autoclean-0.13 ... OK ==> Found dependencies: namespace::clean --> Working on namespace::clean Fetching http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/namespace-clean- 0.21.tar.gz ... OK Configuring namespace-clean-0.21 ... OK Building and testing namespace-clean-0.21 ... OK Successfully installed namespace-clean-0.21 (upgraded from 0.18) Building and testing namespace-autoclean-0.13 ... OK Successfully installed namespace-autoclean-0.13 (upgraded from 0.11) [533][parleydemo@shell:~]➔ perlversion namespace::autoclean [namespace::autoclean] 0.13 Finally - success! [534][parleydemo@shell:~]➔ cpanm MooseX::Role::WithOverloading ! ! Can't write to /usr/local/share/perl/5.12.4 and /usr/local/bin: Installing modules to /home/parleydemo/perl5 ! To turn off this warning, you have to do one of the following: ! - run me as a root or with --sudo option (to install to /usr/local/share/perl/5.12.4 and /usr/local/bin) | - run me with --local-lib option e.g. cpanm --local-lib=~/perl5 ! - Set PERL_CPANM_OPT="--local-lib=~/perl5" environment variable (in your shell rc file) ! - Configure local::lib in your shell to set PERL_MM_OPT etc. ! --> Working on MooseX::Role::WithOverloading Fetching http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/MooseX-Role- WithOverloading-0.09.tar.gz ... OK Configuring MooseX-Role-WithOverloading-0.09 ... OK Building and testing MooseX-Role-WithOverloading-0.09 ... OK Successfully installed MooseX-Role-WithOverloading-0.09 [535][parleydemo@shell:~]➔
The dependency on namespace::autoclean is declared in both META.{json,yml} and Makefile.PL. Variable::Magic and Sub::Identify aren't used directly by the module. (They're used by namespace::clean, a dependency of namespace::autoclean, sometimes, but they're properly declared dependencies there.)