From owner-freebsd-ports@FreeBSD.ORG Mon Jul 13 23:41:37 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EF591065673 for ; Mon, 13 Jul 2009 23:41:37 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from smtp.mel.people.net.au (smtp.mel.people.net.au [218.214.17.98]) by mx1.freebsd.org (Postfix) with SMTP id AEED08FC13 for ; Mon, 13 Jul 2009 23:41:36 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: (qmail 30567 invoked from network); 13 Jul 2009 23:41:23 -0000 Received: from unknown (HELO smtp.phoenix) (218.215.189.127) by smtp.mel.people.net.au with SMTP; 13 Jul 2009 23:41:23 -0000 Received: by smtp.phoenix (Postfix, from userid 1001) id 890CB17782; Tue, 14 Jul 2009 09:41:33 +1000 (EST) Date: Tue, 14 Jul 2009 09:41:33 +1000 From: andrew clarke To: Cezary Morga Message-ID: <20090713234133.GA58722@ozzmosis.com> References: <20090713023855.GA46001@ozzmosis.com> <4A5B8B9A.8040102@therek.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A5B8B9A.8040102@therek.net> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: ports@freebsd.org, skv@FreeBSD.org Subject: Re: net/p5-Net-Twitter broken X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2009 23:41:37 -0000 On Mon 2009-07-13 21:31:38 UTC+0200, Cezary Morga (cm@therek.net) wrote: > >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. > > Strange, I had no such problem as you described. > First off, I'd start from something like following an look for any > 'missing' modules, or ones that have wrong (too old) version number. I don't think there's anything missing? My ports tree is up-to-date. > cd /usr/ports/net/p5-Net-Twitter && make clean configure > > Than I'd check if it passes all tests: > > cd /usr/ports/net/p5-Net-Twitter && make clean build > cd work/Net-Twitter-3.01000 && make test Ah, I wasn't aware of the "test" target. That should help. OK, after installing devel/p5-Test-Exception, I get the same error as before: PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.9 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/01_basic.t t/02_fails.t t/10_net-twitter-regression.t t/11_useragent.t t/12_identica.t t/13_search.t t/20_exceptions.t t/20_generated.t t/21_wraperror.t t/22_twitter_insanity.t t/30_legacy.t t/99-pod_coverage.t t/99-pod_spelling.t t/99-pod_syntax.t t/01_basic..................... # Failed test 'use Net::Twitter;' # at t/01_basic.t line 63. # Tried to use 'Net::Twitter'. # Error: 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 [...] Digging further, I see some potential problems with devel/p5-MooseX-Traits: ===> Configuring for p5-MooseX-Traits-0.06 Cannot determine perl version info from lib/MooseX/Traits.pm Checking if your kit is complete... Looks good Warning: prerequisite Moose 0.84 not found. We have 0.81. Warning: prerequisite ok 0 not found. Writing Makefile for MooseX::Traits And "make test" fails here, too: PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.9 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/00-load.....Can't locate ok.pm in @INC (@INC contains: /spare/ports/devel/p5-MooseX-Traits/work/MooseX-Traits-0.06/inc /spare/ports/devel/p5-MooseX-Traits/work/MooseX-Traits-0.06/blib/lib /spare/ports/devel/p5-MooseX-Traits/work/MooseX-Traits-0.06/blib/arch /usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach /usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach /usr/local/lib/perl5/5.8.9 . /usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach /usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach /usr/local/lib/perl5/5.8.9 .) at t/00-load.t line 6. BEGIN failed--compilation aborted at t/00-load.t line 6. # Looks like your test exited with 2 before it could output anything. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/basic.......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 [...] Stop in /usr/ports/devel/p5-MooseX-Traits/work/MooseX-Traits-0.06. Regards Andrew