Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2009 12:38:55 +1000
From:      andrew clarke <mail@ozzmosis.com>
To:        clsung@FreeBSD.org, lbr@FreeBSD.org, ports@freebsd.org
Subject:   net/p5-Net-Twitter broken
Message-ID:  <20090713023855.GA46001@ozzmosis.com>

next in thread | raw e-mail | index | archive | help
FreeBSD blizzard.phoenix 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:57:44 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

p5-Net-Twitter-3.01000              =   up-to-date with index
p5-Moose-0.81                       =   up-to-date with index
p5-MooseX-Traits-0.06               =   up-to-date with index

I've been trying to get Twirssi (http://www.twirssi.com/) running
under Irssi but am encountering an error relating to Net::Twitter.  My
Perl knowledge is very limited, so I'm not too sure what's going on.
The same error (below) occurs when I try to use this module from my
own program.  I suspect the problem is within p5-Moose but I don't
know how to confirm this.

12:28 ozzmosis@blizzard [~/src/perl]cat twitter-test.pl
use Net::Twitter;

12:28 ozzmosis@blizzard [~/src/perl]perl twitter-test.pl
I do not understand this option (is => bare) on attribute (_trait_namespace) at /usr/local/lib/perl5/site_perl/5.8.9/Moose/Meta/Attribute.pm line 79
	Moose::Meta::Attribute::new('Moose::Meta::Attribute', '_trait_namespace', 'init_arg', undef, 'isa', 'Str', 'is', 'bare') called at /usr/local/lib/perl5/site_perl/5.8.9/Moose/Meta/Attribute.pm line 88
	Moose::Meta::Attribute::interpolate_class_and_new('Moose::Meta::Attribute', '_trait_namespace', 'init_arg', undef, 'isa', 'Str', 'is', 'bare') called at /usr/local/lib/perl5/site_perl/5.8.9/Moose/Meta/Class.pm line 587
	Moose::Meta::Class::_process_new_attribute('Moose::Meta::Class=HASH(0x85fc8b0)', '_trait_namespace', 'init_arg', undef, 'isa', 'Str', 'is', 'bare') called at /usr/local/lib/perl5/site_perl/5.8.9/Moose/Meta/Class.pm line 580
	Moose::Meta::Class::_process_attribute('Moose::Meta::Class=HASH(0x85fc8b0)', '_trait_namespace', 'HASH(0x878ce1c)') called at /usr/local/lib/perl5/site_perl/5.8.9/Moose/Meta/Class.pm line 261
	Moose::Meta::Class::add_attribute('Moose::Meta::Class=HASH(0x85fc8b0)', '_trait_namespace', 'HASH(0x878ce1c)') called at /usr/local/lib/perl5/site_perl/5.8.9/Moose/Meta/Role/Application/ToClass.pm line 122
	Moose::Meta::Role::Application::ToClass::apply_attributes('Moose::Meta::Role::Application::ToClass=HASH(0x8776070)', 'Moose::Meta::Role=HASH(0x8789d74)', 'Moose::Meta::Class=HASH(0x85fc8b0)') called at /usr/local/lib/perl5/site_perl/5.8.9/Moose/Meta/Role/Application.pm line 62
	Moose::Meta::Role::Application::apply('Moose::Meta::Role::Application::ToClass=HASH(0x8776070)', 'Moose::Meta::Role=HASH(0x8789d74)', 'Moose::Meta::Class=HASH(0x85fc8b0)') called at /usr/local/lib/perl5/site_perl/5.8.9/Moose/Meta/Role/Application/ToClass.pm line 31
	Moose::Meta::Role::Application::ToClass::apply('Moose::Meta::Role::Application::ToClass=HASH(0x8776070)', 'Moose::Meta::Role=HASH(0x8789d74)', 'Moose::Meta::Class=HASH(0x85fc8b0)') called at /usr/local/lib/perl5/site_perl/5.8.9/Moose/Meta/Role.pm line 486
	Moose::Meta::Role::apply('Moose::Meta::Role=HASH(0x8789d74)', 'Moose::Meta::Class=HASH(0x85fc8b0)') called at /usr/local/lib/perl5/site_perl/5.8.9/Moose/Util.pm line 117
	Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0x85fc8b0)', 'CODE(0x846f688)', 'MooseX::Traits') called at /usr/local/lib/perl5/site_perl/5.8.9/Moose/Util.pm line 82
	Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0x85fc8b0)', 'MooseX::Traits') called at /usr/local/lib/perl5/site_perl/5.8.9/Moose.pm line 62
	Moose::with('Net::Twitter::Core', 'MooseX::Traits') called at /usr/local/lib/perl5/site_perl/5.8.9/Moose/Exporter.pm line 206
	Moose::with('MooseX::Traits') called at /usr/local/lib/perl5/site_perl/5.8.9/Net/Twitter/Core.pm line 11
	require Net/Twitter/Core.pm called at /usr/local/lib/perl5/site_perl/5.8.9/Net/Twitter.pm line 5
	Net::Twitter::BEGIN() called at /usr/local/lib/perl5/site_perl/5.8.9/Net/Twitter/Core.pm line 0
	eval {...} called at /usr/local/lib/perl5/site_perl/5.8.9/Net/Twitter/Core.pm line 0
	require Net/Twitter.pm called at twitter-test.pl line 1
	main::BEGIN() called at /usr/local/lib/perl5/site_perl/5.8.9/Net/Twitter/Core.pm line 0
	eval {...} called at /usr/local/lib/perl5/site_perl/5.8.9/Net/Twitter/Core.pm line 0
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.9/Net/Twitter.pm line 5.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.9/Net/Twitter.pm line 5.
Compilation failed in require at twitter-test.pl line 1.
BEGIN failed--compilation aborted at twitter-test.pl line 1.


Thanks,

Regards
Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090713023855.GA46001>