pkgsrc-Users archive

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

Re: Catalyst problem with recent update



Hi,

I have just modified these 3 packages to fix this problem.

devel/p5-Package-Stash
devel/p5-Module-Runtime
devel/p5-Class-Load

Can you please update your pkgsrc tree, and see if your problem occurs
again?

At Wed, 12 Oct 2011 20:29:55 -0700 (PDT),
newhouse%gandpline.com@localhost (Paul Newhouse) wrote:
> 
> Thanks to David Brownlee who solved my last problem with Catalyst.  That put 
> me on HEAD pkgsrc. 
> 
> 
> Running
> 
> : uname -a
> NetBSD pimin 5.99.55 NetBSD 5.99.55 (MONOLITHIC) #0: Sun Sep 25 15:21:20 PDT 
> 2011  root@pimin:/glorp/obj/sys/arch/i386/compile/MONOLITHIC i386
> 
> Running pkgsrc HEAD, at about Oct 12 20:00:00 PDT 2011
> 
> : cd /usr/pkgsrc
> : cvs update -Pd && pkg_rolling-replace -rsuv
> : cd ~/Catalyst
> : catalyst.pl Test
> : cd Test
> : perl Makefile.PL
> : script/test_server.pl -r -d
> 
> produces this:
> 
> 
> Couldn't load class (Catalyst::Script::Server) because: Couldn't load class 
> (Catalyst::ScriptRole) because: Can't locate Module/Runtime.pm in @INC (@INC 
> contains: /Xhome/newhouse/Catalyst/Test/script/../lib 
> /usr/pkg/lib/perl5/site_perl/5.14.0/i386-netbsd-thread-multi 
> /usr/pkg/lib/perl5/site_perl/5.14.0 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/i386-netbsd-thread-multi 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0 
> /usr/pkg/lib/perl5/5.14.0/i386-netbsd-thread-multi /usr/pkg/lib/perl5/5.14.0 
> .) at /usr/pkg/lib/perl5/vendor_perl/5.14.0/Class/Load.pm line 10.
> BEGIN failed--compilation aborted at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/Class/Load.pm line 10.
> Compilation failed in require at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/MooseX/Types/LoadableClass.pm line 7.
> BEGIN failed--compilation aborted at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/MooseX/Types/LoadableClass.pm line 7.
> Compilation failed in require at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/Catalyst/ScriptRole.pm line 7.
> BEGIN failed--compilation aborted at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/Catalyst/ScriptRole.pm line 7.
> Compilation failed in require at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/i386-netbsd-thread-multi/Class/MOP.pm 
> line 117.
>  at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/i386-netbsd-thread-multi/Class/MOP.pm 
> line 123
>       Class::MOP::__ANON__('Can\'t locate Module/Runtime.pm in @INC (@INC 
> contains: /Xhom...') called at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/Try/Tiny.pm line 100
>       Try::Tiny::try('CODE(0xbae37100)', 'Try::Tiny::Catch=REF(0xbafb2930)') 
> called at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/i386-netbsd-thread-multi/Class/MOP.pm 
> line 128
>       Class::MOP::load_first_existing_class('Catalyst::ScriptRole') called at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/i386-netbsd-thread-multi/Class/MOP.pm 
> line 140
>       Class::MOP::load_class('Catalyst::ScriptRole', undef) called at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/i386-netbsd-thread-multi/Moose/Util.pm 
> line 131
>       Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0xbafd9da0)', 
> undef, 'Catalyst::ScriptRole') called at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/i386-netbsd-thread-multi/Moose/Util.pm 
> line 98
>       Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0xbafd9da0)', 
> 'Catalyst::ScriptRole') called at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/i386-netbsd-thread-multi/Moose.pm line 
> 65
>       Moose::with('Moose::Meta::Class=HASH(0xbafd9da0)', 
> 'Catalyst::ScriptRole') called at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/i386-netbsd-thread-multi/Moose/Exporter.pm
>  line 356
>       Moose::with('Catalyst::ScriptRole') called at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/Catalyst/Script/Server.pm line 9
>       require Catalyst/Script/Server.pm called at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/i386-netbsd-thread-multi/Class/MOP.pm 
> line 117
>       Class::MOP::__ANON__() called at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/Try/Tiny.pm line 71
>       eval {...} called at /usr/pkg/lib/perl5/vendor_perl/5.14.0/Try/Tiny.pm 
> line 67
>       Try::Tiny::try('CODE(0xbaf630d0)', 'Try::Tiny::Catch=REF(0xbb721470)') 
> called at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/i386-netbsd-thread-multi/Class/MOP.pm 
> line 128
>       Class::MOP::load_first_existing_class('Catalyst::Script::Server') 
> called at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/i386-netbsd-thread-multi/Class/MOP.pm 
> line 140
>       Class::MOP::load_class('Catalyst::Script::Server') called at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/Catalyst/ScriptRunner.pm line 18
>       Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'Test', 'Server') 
> called at script/test_server.pl line 8
> Compilation failed in require at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/i386-netbsd-thread-multi/Class/MOP.pm 
> line 117.
>  at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/i386-netbsd-thread-multi/Class/MOP.pm 
> line 123
>       Class::MOP::__ANON__('Couldn\'t load class (Catalyst::ScriptRole) 
> because: Can\'t l...') called at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/Try/Tiny.pm line 100
>       Try::Tiny::try('CODE(0xbaf630d0)', 'Try::Tiny::Catch=REF(0xbb721470)') 
> called at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/i386-netbsd-thread-multi/Class/MOP.pm 
> line 128
>       Class::MOP::load_first_existing_class('Catalyst::Script::Server') 
> called at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/i386-netbsd-thread-multi/Class/MOP.pm 
> line 140
>       Class::MOP::load_class('Catalyst::Script::Server') called at 
> /usr/pkg/lib/perl5/vendor_perl/5.14.0/Catalyst/ScriptRunner.pm line 18
>       Catalyst::ScriptRunner::run('Catalyst::ScriptRunner', 'Test', 'Server') 
> called at script/test_server.pl line 8
> 
> 
> TIA,
> Paul
-- 
// HIRAMATSU Yoshifumi
// hiramatu%boreas.dti.ne.jp@localhost


Home | Main Index | Thread Index | Old Index