Ticket #504 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

perl moose: Class::MOP::load_class is deprecated - Fedora 20

Reported by: kmaclean Owned by: kmaclean
Priority: minor Milestone:
Component: Scripts Version: 0.1-alpha
Keywords: Cc:

Description (last modified by kmaclean) (diff)

Class::MOP::load_class is deprecated at /usr/local/lib64/perl5/Class/MOP.pm line 73.
	Class::MOP::load_class('Parse::Method::Signatures::Sig') called at /usr/share/perl5/vendor_perl/Parse/Method/Signatures.pm line 90
	Parse::Method::Signatures::BUILD('Parse::Method::Signatures=HASH(0x639a350)', 'HASH(0x639a2d8)') called at constructor Parse::Method::Signatures::new (defined at /usr/share/perl5/vendor_perl/Parse/Method/Signatures.pm line 825) line 104
	Parse::Method::Signatures::new('Parse::Method::Signatures', 'input', '()', 'from_namespace', 'Corpus::ForumUpload::Website::Webgui::Mock') called at /usr/share/perl5/vendor_perl/Parse/Method/Signatures.pm line 241
	Parse::Method::Signatures::signature('Parse::Method::Signatures', 'input', '()', 'from_namespace', 'Corpus::ForumUpload::Website::Webgui::Mock') called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 200
	MooseX::Method::Signatures::Meta::Method::_build_parsed_signature('MooseX::Method::Signatures::Meta::Method=HASH(0x639a3b0)') called at reader MooseX::Method::Signatures::Meta::Method::parsed_signature (defined at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 37) line 7
	MooseX::Method::Signatures::Meta::Method::parsed_signature('MooseX::Method::Signatures::Meta::Method=HASH(0x639a3b0)') called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 320
	MooseX::Method::Signatures::Meta::Method::_build__positional_args('MooseX::Method::Signatures::Meta::Method=HASH(0x639a3b0)') called at reader MooseX::Method::Signatures::Meta::Method::_positional_args (defined at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 63) line 7
	MooseX::Method::Signatures::Meta::Method::_positional_args('MooseX::Method::Signatures::Meta::Method=HASH(0x639a3b0)') called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 370
	MooseX::Method::Signatures::Meta::Method::_build_type_constraint('MooseX::Method::Signatures::Meta::Method=HASH(0x639a3b0)') called at reader MooseX::Method::Signatures::Meta::Method::type_constraint (defined at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 82) line 7
	MooseX::Method::Signatures::Meta::Method::type_constraint('MooseX::Method::Signatures::Meta::Method=HASH(0x639a3b0)') called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 175
	Class::MOP::Class:::around('CODE(0x22e6f30)', 'MooseX::Method::Signatures::Meta::Method', 'CODE(0x439ca10)', 'signature', '()', 'package_name', 'Corpus::ForumUpload::Website::Webgui::Mock', 'name', 'login', ...) called at /usr/local/lib64/perl5/Class/MOP/Method/Wrapped.pm line 163
	Class::MOP::Method::Wrapped::__ANON__('MooseX::Method::Signatures::Meta::Method', 'CODE(0x439ca10)', 'signature', '()', 'package_name', 'Corpus::ForumUpload::Website::Webgui::Mock', 'name', 'login') called at /usr/local/lib64/perl5/Class/MOP/Method/Wrapped.pm line 92
	MooseX::Method::Signatures::Meta::Method::wrap('MooseX::Method::Signatures::Meta::Method', 'CODE(0x439ca10)', 'signature', '()', 'package_name', 'Corpus::ForumUpload::Website::Webgui::Mock', 'name', 'login') called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures.pm line 261
	MooseX::Method::Signatures::_parser('MooseX::Method::Signatures=HASH(0x6399d38)') called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures.pm line 202
	eval {...} called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures.pm line 202
	MooseX::Method::Signatures::parser('MooseX::Method::Signatures=HASH(0x6399d38)') called at /usr/local/share/perl5/MooseX/Declare/Syntax/MethodDeclaration.pm line 51
	MooseX::Declare::Syntax::MethodDeclaration::parse('MooseX::Declare::Syntax::Keyword::Method=HASH(0x633a668)', 'MooseX::Declare::Context=HASH(0x6399b70)') called at /usr/local/share/perl5/MooseX/Declare/Syntax/KeywordHandling.pm line 98
	MooseX::Declare::Syntax::KeywordHandling::parse_declaration('MooseX::Declare::Syntax::Keyword::Method=HASH(0x633a668)', 't/lib/Corpus/ForumUpload/ForumUploadUnitTest.pm', 'HASH(0x638ca28)', 'method', 2) called at /usr/local/share/perl5/MooseX/Declare/Syntax/KeywordHandling.pm line 52
	MooseX::Declare::Syntax::KeywordHandling::__ANON__('method', 2) called at /usr/lib64/perl5/vendor_perl/Devel/Declare.pm line 276
	Devel::Declare::linestr_callback('const', 'method', 2) called at t/lib/Corpus/ForumUpload/ForumUploadUnitTest.pm line 137
	require Corpus/ForumUpload/ForumUploadUnitTest.pm called at /home/kmaclean/VoxForge-dev/Main/Scripts/VoxForge/VoxForge.t line 113
	VoxForge::BEGIN() called at t/lib/Corpus/ForumUpload/ForumUploadUnitTest.pm line 137
	eval {...} called at t/lib/Corpus/ForumUpload/ForumUploadUnitTest.pm line 137
Class::MOP::load_class is deprecated at /usr/local/lib64/perl5/Class/MOP.pm line 73.
	Class::MOP::load_class('Parse::Method::Signatures::Param::Bindable') called at /usr/share/perl5/vendor_perl/MooseX/Traits/Util.pm line 49
	MooseX::Traits::Util::resolve_traits('Parse::Method::Signatures::Param', 'Bindable', 'Positional') called at /usr/share/perl5/vendor_perl/MooseX/Traits/Util.pm line 66
	MooseX::Traits::Util::new_class_with_traits('Parse::Method::Signatures::Param', 'Bindable', 'Positional') called at /usr/share/perl5/vendor_perl/MooseX/Traits.pm line 24
	MooseX::Traits::with_traits('Parse::Method::Signatures::Param', 'Bindable', 'Positional') called at /usr/share/perl5/vendor_perl/MooseX/Traits.pm line 46
	MooseX::Traits::new_with_traits('Parse::Method::Signatures::Param', 'traits', 'ARRAY(0x3be0fb8)', 'required', 1, 'sigil', '$', 'variable_name', '$submissionUploadObj', ...) called at /usr/share/perl5/vendor_perl/Parse/Method/Signatures.pm line 113
	Parse::Method::Signatures::create_param('Parse::Method::Signatures=HASH(0x6412190)', 'HASH(0x64124c0)') called at /usr/share/perl5/vendor_perl/Parse/Method/Signatures.pm line 359
	Parse::Method::Signatures::param('Parse::Method::Signatures=HASH(0x6412190)') called at /usr/share/perl5/vendor_perl/Parse/Method/Signatures.pm line 248
	Parse::Method::Signatures::signature('Parse::Method::Signatures', 'input', '(Corpus::ForumUpload::SubmissionUpload $submissionUploadObj)', 'from_namespace', 'Corpus::ForumUpload::Website::Webgui::Mock') called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 200
	MooseX::Method::Signatures::Meta::Method::_build_parsed_signature('MooseX::Method::Signatures::Meta::Method=HASH(0x6412238)') called at reader MooseX::Method::Signatures::Meta::Method::parsed_signature (defined at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 37) line 7
	MooseX::Method::Signatures::Meta::Method::parsed_signature('MooseX::Method::Signatures::Meta::Method=HASH(0x6412238)') called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 320
	MooseX::Method::Signatures::Meta::Method::_build__positional_args('MooseX::Method::Signatures::Meta::Method=HASH(0x6412238)') called at reader MooseX::Method::Signatures::Meta::Method::_positional_args (defined at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 63) line 7
	MooseX::Method::Signatures::Meta::Method::_positional_args('MooseX::Method::Signatures::Meta::Method=HASH(0x6412238)') called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 370
	MooseX::Method::Signatures::Meta::Method::_build_type_constraint('MooseX::Method::Signatures::Meta::Method=HASH(0x6412238)') called at reader MooseX::Method::Signatures::Meta::Method::type_constraint (defined at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 82) line 7
	MooseX::Method::Signatures::Meta::Method::type_constraint('MooseX::Method::Signatures::Meta::Method=HASH(0x6412238)') called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 175
	Class::MOP::Class:::around('CODE(0x22e6f30)', 'MooseX::Method::Signatures::Meta::Method', 'CODE(0x439ca10)', 'name', 'upload', 'package_name', 'Corpus::ForumUpload::Website::Webgui::Mock', 'signature', '(Corpus::ForumUpload::SubmissionUpload $submissionUploadObj)', ...) called at /usr/local/lib64/perl5/Class/MOP/Method/Wrapped.pm line 163
	Class::MOP::Method::Wrapped::__ANON__('MooseX::Method::Signatures::Meta::Method', 'CODE(0x439ca10)', 'name', 'upload', 'package_name', 'Corpus::ForumUpload::Website::Webgui::Mock', 'signature', '(Corpus::ForumUpload::SubmissionUpload $submissionUploadObj)') called at /usr/local/lib64/perl5/Class/MOP/Method/Wrapped.pm line 92
	MooseX::Method::Signatures::Meta::Method::wrap('MooseX::Method::Signatures::Meta::Method', 'CODE(0x439ca10)', 'name', 'upload', 'package_name', 'Corpus::ForumUpload::Website::Webgui::Mock', 'signature', '(Corpus::ForumUpload::SubmissionUpload $submissionUploadObj)') called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures.pm line 261
	MooseX::Method::Signatures::_parser('MooseX::Method::Signatures=HASH(0x6399c00)') called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures.pm line 202
	eval {...} called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures.pm line 202
	MooseX::Method::Signatures::parser('MooseX::Method::Signatures=HASH(0x6399c00)') called at /usr/local/share/perl5/MooseX/Declare/Syntax/MethodDeclaration.pm line 51
	MooseX::Declare::Syntax::MethodDeclaration::parse('MooseX::Declare::Syntax::Keyword::Method=HASH(0x633a668)', 'MooseX::Declare::Context=HASH(0x6399f78)') called at /usr/local/share/perl5/MooseX/Declare/Syntax/KeywordHandling.pm line 98
	MooseX::Declare::Syntax::KeywordHandling::parse_declaration('MooseX::Declare::Syntax::Keyword::Method=HASH(0x633a668)', 't/lib/Corpus/ForumUpload/ForumUploadUnitTest.pm', 'HASH(0x638ca28)', 'method', 2) called at /usr/local/share/perl5/MooseX/Declare/Syntax/KeywordHandling.pm line 52
	MooseX::Declare::Syntax::KeywordHandling::__ANON__('method', 2) called at /usr/lib64/perl5/vendor_perl/Devel/Declare.pm line 276
	Devel::Declare::linestr_callback('const', 'method', 2) called at t/lib/Corpus/ForumUpload/ForumUploadUnitTest.pm line 138
	require Corpus/ForumUpload/ForumUploadUnitTest.pm called at /home/kmaclean/VoxForge-dev/Main/Scripts/VoxForge/VoxForge.t line 113
	VoxForge::BEGIN() called at t/lib/Corpus/ForumUpload/ForumUploadUnitTest.pm line 138
	eval {...} called at t/lib/Corpus/ForumUpload/ForumUploadUnitTest.pm line 138

Change History

comment:1 Changed 7 years ago by kmaclean

updated update MooseX::Traits from 0.11 to 0.12 per: https://rt.cpan.org/Public/Bug/Display.html?id=88530 using cpan (rather than yum - to get most current package)

then started getting:

{{{
Class::MOP::load_class is deprecated at /usr/local/lib64/perl5/Class/MOP.pm line 73.
	Class::MOP::load_class('Parse::Method::Signatures::Sig') called at /usr/share/perl5/vendor_perl/Parse/Method/Signatures.pm line 90
	Parse::Method::Signatures::BUILD('Parse::Method::Signatures=HASH(0x44fb9b8)', 'HASH(0x44fb940)') called at constructor Parse::Method::Signatures::new (defined at /usr/share/perl5/vendor_perl/Parse/Method/Signatures.pm line 825) line 104
	Parse::Method::Signatures::new('Parse::Method::Signatures', 'input', '()', 'from_namespace', 'LWP::UserAgent::Mock::Result') called at /usr/share/perl5/vendor_perl/Parse/Method/Signatures.pm line 241
	Parse::Method::Signatures::signature('Parse::Method::Signatures', 'input', '()', 'from_namespace', 'LWP::UserAgent::Mock::Result') called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 200
	MooseX::Method::Signatures::Meta::Method::_build_parsed_signature('MooseX::Method::Signatures::Meta::Method=HASH(0x44fba18)') called at reader MooseX::Method::Signatures::Meta::Method::parsed_signature (defined at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 37) line 7
	MooseX::Method::Signatures::Meta::Method::parsed_signature('MooseX::Method::Signatures::Meta::Method=HASH(0x44fba18)') called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 320
	MooseX::Method::Signatures::Meta::Method::_build__positional_args('MooseX::Method::Signatures::Meta::Method=HASH(0x44fba18)') called at reader MooseX::Method::Signatures::Meta::Method::_positional_args (defined at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 63) line 7
	MooseX::Method::Signatures::Meta::Method::_positional_args('MooseX::Method::Signatures::Meta::Method=HASH(0x44fba18)') called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 370
	MooseX::Method::Signatures::Meta::Method::_build_type_constraint('MooseX::Method::Signatures::Meta::Method=HASH(0x44fba18)') called at reader MooseX::Method::Signatures::Meta::Method::type_constraint (defined at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 82) line 7
	MooseX::Method::Signatures::Meta::Method::type_constraint('MooseX::Method::Signatures::Meta::Method=HASH(0x44fba18)') called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures/Meta/Method.pm line 175
	Class::MOP::Class:::around('CODE(0x19f1f00)', 'MooseX::Method::Signatures::Meta::Method', 'CODE(0x3aa6940)', 'signature', '()', 'name', 'is_success', 'package_name', 'LWP::UserAgent::Mock::Result', ...) called at /usr/local/lib64/perl5/Class/MOP/Method/Wrapped.pm line 163
	Class::MOP::Method::Wrapped::__ANON__('MooseX::Method::Signatures::Meta::Method', 'CODE(0x3aa6940)', 'signature', '()', 'name', 'is_success', 'package_name', 'LWP::UserAgent::Mock::Result') called at /usr/local/lib64/perl5/Class/MOP/Method/Wrapped.pm line 92
	MooseX::Method::Signatures::Meta::Method::wrap('MooseX::Method::Signatures::Meta::Method', 'CODE(0x3aa6940)', 'signature', '()', 'name', 'is_success', 'package_name', 'LWP::UserAgent::Mock::Result') called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures.pm line 261
	MooseX::Method::Signatures::_parser('MooseX::Method::Signatures=HASH(0x4526510)') called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures.pm line 202
	eval {...} called at /usr/share/perl5/vendor_perl/MooseX/Method/Signatures.pm line 202
	MooseX::Method::Signatures::parser('MooseX::Method::Signatures=HASH(0x4526510)') called at /usr/local/share/perl5/MooseX/Declare/Syntax/MethodDeclaration.pm line 51
	MooseX::Declare::Syntax::MethodDeclaration::parse('MooseX::Declare::Syntax::Keyword::Method=HASH(0x3c7c9a0)', 'MooseX::Declare::Context=HASH(0x4521ac8)') called at /usr/local/share/perl5/MooseX/Declare/Syntax/KeywordHandling.pm line 98
	MooseX::Declare::Syntax::KeywordHandling::parse_declaration('MooseX::Declare::Syntax::Keyword::Method=HASH(0x3c7c9a0)', 't/lib/Corpus/ForumUpload/WebsiteLoginUnitTest.pm', 'HASH(0x4520be0)', 'method', 5) called at /usr/local/share/perl5/MooseX/Declare/Syntax/KeywordHandling.pm line 52
	MooseX::Declare::Syntax::KeywordHandling::__ANON__('method', 5) called at /usr/lib64/perl5/vendor_perl/Devel/Declare.pm line 276
	Devel::Declare::linestr_callback('const', 'method', 5) called at t/lib/Corpus/ForumUpload/WebsiteLoginUnitTest.pm line 122
	require Corpus/ForumUpload/WebsiteLoginUnitTest.pm called at /home/kmaclean/VoxForge-dev/Main/Scripts/VoxForge/VoxForge.t line 115
	VoxForge::BEGIN() called at t/lib/Corpus/ForumUpload/WebsiteLoginUnitTest.pm line 122
	eval {...} called at t/lib/Corpus/ForumUpload/WebsiteLoginUnitTest.pm line 122
}}}
Last edited 7 years ago by kmaclean (previous) (diff)

comment:2 Changed 7 years ago by kmaclean

  • Summary changed from perl moose: Class::MOP::load_class is deprecated to perl moose: Class::MOP::load_class is deprecated - Fedora 20

comment:3 Changed 7 years ago by kmaclean

  • Description modified (diff)

comment:4 Changed 7 years ago by kmaclean

then installed via cpan (to get most current version): Parse::Method::Signatures (Parse-Method-Signatures-1.003016.tar.gz)

Last edited 7 years ago by kmaclean (previous) (diff)

comment:5 Changed 7 years ago by kmaclean

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.