Product: Fedora EPEL https://bugzilla.redhat.com/show_bug.cgi?id=955687 Bug ID: 955687 Summary: Missing require for perl-Catalyst-Runtime Product: Fedora EPEL Version: el6 Component: perl-Catalyst-Runtime Severity: medium Priority: unspecified Assignee: iarnell@xxxxxxxxx Reporter: bjhiggins@xxxxxxx QA Contact: extras-qa@xxxxxxxxxxxxxxxxx CC: iarnell@xxxxxxxxx, perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, tremble@xxxxxxxxxxxxxx Category: --- Description of problem: In following the Catalyst Tutorial (http://search.cpan.org/~hkclark/Catalyst-Manual-5.9006/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod) on Scientific Linux 6.4, after creating a Catalyst application you are supposed to be able to execute "scripts/PROJECTNAME_server.pl" to run a development server. When doing so on an up to date version of Scientific Linux 6.4, you receive a perl stack trace - the root cause apparently being "Params::Validate version 0.97 required--this is only version ..." I believe that there should be a version requirement on the RPM indicating the required version of Params::Validate on either perl-Catalyst-Runtime, perl-Catalyst-Devel or underlaying perl-MooseX. Further, the required version of perl-Params-Validate should likely be in EPEL as an additional package. Version-Release number of selected component (if applicable): perl-Catalyst-Runtime-5.8003301.el6.noarch perl-Catalyst-Devel-1.28-1.el6.1.noarch How reproducible: Reproducible every time. Steps to Reproduce: 1. catalyst.pl Hello 2. cd Hello 3. script/hello_server.pl Actual results: Couldn't load class (Catalyst::Script::Server) because: Couldn't load class (Catalyst::ScriptRole) because: Couldn't load class (MooseX::Getopt::GLD) because: Params::Validate version 0.97 required--this is only version 0.92 at /usr/share/perl5/vendor_perl/Getopt/Long/Descriptive.pm line 13. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Getopt/Long/Descriptive.pm line 13. Compilation failed in require at /usr/share/perl5/vendor_perl/MooseX/Getopt/GLD.pm line 12. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/MooseX/Getopt/GLD.pm line 12. Compilation failed in require at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 114. at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 120 Class::MOP::__ANON__('Params::Validate version 0.97 required--this is only version ...') called at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 100 Try::Tiny::try('CODE(0x34fabd8)', 'Try::Tiny::Catch=REF(0x30eb450)') called at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 125 Class::MOP::load_first_existing_class('MooseX::Getopt::GLD') called at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 137 Class::MOP::load_class('MooseX::Getopt::GLD', undef) called at /usr/lib64/perl5/vendor_perl/Moose/Util.pm line 112 Moose::Util::_apply_all_roles('Moose::Meta::Role=HASH(0x34f49d0)', undef, 'MooseX::Getopt::GLD') called at /usr/lib64/perl5/vendor_perl/Moose/Util.pm line 90 Moose::Util::apply_all_roles('Moose::Meta::Role=HASH(0x34f49d0)', 'MooseX::Getopt::GLD') called at /usr/lib64/perl5/vendor_perl/Moose/Role.pm line 26 Moose::Role::with('Moose::Meta::Role=HASH(0x34f49d0)', 'MooseX::Getopt::GLD') called at /usr/lib64/perl5/vendor_perl/Moose/Exporter.pm line 322 Moose::Role::with('MooseX::Getopt::GLD') called at /usr/share/perl5/vendor_perl/MooseX/Getopt.pm line 12 require MooseX/Getopt.pm called at /usr/share/perl5/vendor_perl/Catalyst/ScriptRole.pm line 5 Catalyst::ScriptRole::BEGIN() called at /usr/share/perl5/vendor_perl/MooseX/Getopt.pm line 0 eval {...} called at /usr/share/perl5/vendor_perl/MooseX/Getopt.pm line 0 require Catalyst/ScriptRole.pm called at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 114 Class::MOP::__ANON__() called at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 71 eval {...} called at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 67 Try::Tiny::try('CODE(0x3171068)', 'Try::Tiny::Catch=REF(0x3063238)') called at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 125 Class::MOP::load_first_existing_class('Catalyst::ScriptRole') called at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 137 Class::MOP::load_class('Catalyst::ScriptRole', undef) called at /usr/lib64/perl5/vendor_perl/Moose/Util.pm line 112 Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0x2afd5b0)', undef, 'Catalyst::ScriptRole') called at /usr/lib64/perl5/vendor_perl/Moose/Util.pm line 90 Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0x2afd5b0)', 'Catalyst::ScriptRole') called at /usr/lib64/perl5/vendor_perl/Moose.pm line 58 Moose::with('Moose::Meta::Class=HASH(0x2afd5b0)', 'Catalyst::ScriptRole') called at /usr/lib64/perl5/vendor_perl/Moose/Exporter.pm line 322 Moose::with('Catalyst::ScriptRole') called at /usr/share/perl5/vendor_perl/Catalyst/Script/Server.pm line 14 require Catalyst/Script/Server.pm called at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 114 Class::MOP::__ANON__() called at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 71 eval {...} called at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 67 Try::Tiny::try('CODE(0x2abeca8)', 'Try::Tiny::Catch=REF(0x2abe8e8)') called at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 125 Class::MOP::load_first_existing_class('Catalyst::Script::Server') called at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 137 Class::MOP::load_class('Catalyst::Script::Server') called at /usr/share/perl5/vendor_perl/Catalyst/ScriptRunner.pm line 18 Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'Hello', 'Server') called at script/hello_server.pl line 8 Compilation failed in require at /usr/share/perl5/vendor_perl/Catalyst/ScriptRole.pm line 5. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Catalyst/ScriptRole.pm line 5. Compilation failed in require at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 114. at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 120 Class::MOP::__ANON__('Couldn\'t load class (MooseX::Getopt::GLD) because: Params::V...') called at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 100 Try::Tiny::try('CODE(0x3171068)', 'Try::Tiny::Catch=REF(0x3063238)') called at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 125 Class::MOP::load_first_existing_class('Catalyst::ScriptRole') called at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 137 Class::MOP::load_class('Catalyst::ScriptRole', undef) called at /usr/lib64/perl5/vendor_perl/Moose/Util.pm line 112 Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0x2afd5b0)', undef, 'Catalyst::ScriptRole') called at /usr/lib64/perl5/vendor_perl/Moose/Util.pm line 90 Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0x2afd5b0)', 'Catalyst::ScriptRole') called at /usr/lib64/perl5/vendor_perl/Moose.pm line 58 Moose::with('Moose::Meta::Class=HASH(0x2afd5b0)', 'Catalyst::ScriptRole') called at /usr/lib64/perl5/vendor_perl/Moose/Exporter.pm line 322 Moose::with('Catalyst::ScriptRole') called at /usr/share/perl5/vendor_perl/Catalyst/Script/Server.pm line 14 require Catalyst/Script/Server.pm called at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 114 Class::MOP::__ANON__() called at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 71 eval {...} called at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 67 Try::Tiny::try('CODE(0x2abeca8)', 'Try::Tiny::Catch=REF(0x2abe8e8)') called at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 125 Class::MOP::load_first_existing_class('Catalyst::Script::Server') called at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 137 Class::MOP::load_class('Catalyst::Script::Server') called at /usr/share/perl5/vendor_perl/Catalyst/ScriptRunner.pm line 18 Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'Hello', 'Server') called at script/hello_server.pl line 8 Compilation failed in require at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 114. at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 120 Class::MOP::__ANON__('Couldn\'t load class (Catalyst::ScriptRole) because: Couldn\'...') called at /usr/share/perl5/vendor_perl/Try/Tiny.pm line 100 Try::Tiny::try('CODE(0x2abeca8)', 'Try::Tiny::Catch=REF(0x2abe8e8)') called at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 125 Class::MOP::load_first_existing_class('Catalyst::Script::Server') called at /usr/lib64/perl5/vendor_perl/Class/MOP.pm line 137 Class::MOP::load_class('Catalyst::Script::Server') called at /usr/share/perl5/vendor_perl/Catalyst/ScriptRunner.pm line 18 Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'Hello', 'Server') called at script/hello_server.pl line 8 Expected results: [debug] Debug messages enabled [debug] Statistics enabled [debug] Loaded plugins: .----------------------------------------------------------------------------. | Catalyst::Plugin::ConfigLoader 0.30 | '----------------------------------------------------------------------------' [debug] Loaded dispatcher "Catalyst::Dispatcher" [debug] Loaded engine "Catalyst::Engine" [debug] Found home "/home/catalyst/Hello" [debug] Loaded Config "/home/catalyst/Hello/hello.conf" [debug] Loaded components: .-----------------------------------------------------------------+----------. | Class | Type | +-----------------------------------------------------------------+----------+ | Hello::Controller::Root | instance | '-----------------------------------------------------------------+----------' [debug] Loaded Private actions: .----------------------+--------------------------------------+--------------. | Private | Class | Method | +----------------------+--------------------------------------+--------------+ | /default | Hello::Controller::Root | default | | /end | Hello::Controller::Root | end | | /index | Hello::Controller::Root | index | '----------------------+--------------------------------------+--------------' [debug] Loaded Path actions: .-------------------------------------+--------------------------------------. | Path | Private | +-------------------------------------+--------------------------------------+ | / | /index | | / | /default | '-------------------------------------+--------------------------------------' [info] Hello powered by Catalyst 5.80002 HTTP::Server::PSGI: Accepting connections at http://0:3000/ Additional info: -- 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=ydLeqZskci&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