[Bug 1089247] perl-Git-CPAN-Patch-0.8.0-5.fc21 FTBFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1089247



--- Comment #1 from Petr Pisar <ppisar@xxxxxxxxxx> ---
Well, it's because MooseX::App::Cmd::Command uses Any::Moose and Any::Moose
prefers Mouse:

$ perl -e 'use MooseX::App::Cmd::Command'
Could not load class (MouseX::Getopt) because : Can't locate MouseX/Getopt.pm
in @INC (you may need to install the MouseX::Getopt module) (@INC contains:
/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
/usr/lib64/perl5/vendor_perl/Mouse/Util.pm line 283.
 at /usr/lib64/perl5/vendor_perl/Mouse/Util.pm line 292.
        Mouse::Util::load_class("MouseX::Getopt") called at
/usr/lib64/perl5/vendor_perl/Mouse/Util.pm line 315
        Mouse::Util::apply_all_roles("MooseX::App::Cmd::Command",
"MouseX::Getopt") called at /usr/lib64/perl5/vendor_perl/Mouse.pm line 40
        Mouse::with("MouseX::Getopt") called at
/usr/share/perl5/vendor_perl/MooseX/App/Cmd/Command.pm line 10
        require MooseX/App/Cmd/Command.pm called at -e line 1
        main::BEGIN() called at
/usr/share/perl5/vendor_perl/MooseX/App/Cmd/Command.pm line 0
        eval {...} called at
/usr/share/perl5/vendor_perl/MooseX/App/Cmd/Command.pm line 0
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

While:

$ perl -e 'use Moose; use MooseX::App::Cmd::Command'

passes. 

This could be a bug in MooseX::App::Cmd::Command which does that for backward
compatibility. I think we can solve that by adding an exception to the
t/000-report-versions.t because there is already list of such exceptions.

The only MooseX::App::Cmd::Command usage is in
lib/Git/CPAN/Patch/Command/sources.pm which uses Moose explicitly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=0Vl2V2vcVc&a=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux