[MacPorts] #35666: [p5-net-twitter] [@3.180.10] missing dependency MooseX::Aliases

MacPorts noreply at macports.org
Mon Aug 13 22:15:36 PDT 2012


#35666: [p5-net-twitter] [@3.180.10] missing dependency MooseX::Aliases
-----------------------------------+----------------------------------------
 Reporter:  david.crook@…          |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  2.1.2                                
 Keywords:                         |        Port:  p5-net-twitter p5-moosex-aliases     
-----------------------------------+----------------------------------------
 I am on OS X 10.8 Mountain Lion and have XCode 4.4.1

 I attempted to install p5-net-twitter package on perl 5.12.4.  I got the
 following runtime/compilation error with perl when trying to run a script
 using the module, making the p5-net-twitter module unusable


 {{{
 Can't locate MooseX/Aliases.pm in @INC (@INC contains:
 /opt/local/lib/perl5/site_perl/5.12.4/darwin-thread-multi-2level
 /opt/local/lib/perl5/site_perl/5.12.4
 /opt/local/lib/perl5/vendor_perl/5.12.4/darwin-thread-multi-2level
 /opt/local/lib/perl5/vendor_perl/5.12.4 /opt/local/lib/perl5/5.12.4
 /darwin-thread-multi-2level /opt/local/lib/perl5/5.12.4
 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at
 /opt/local/lib/perl5/vendor_perl/5.12.4/Net/Twitter/Core.pm line 4.
 BEGIN failed--compilation aborted at
 /opt/local/lib/perl5/vendor_perl/5.12.4/Net/Twitter/Core.pm line 4.
 Compilation failed in require at
 /opt/local/lib/perl5/vendor_perl/5.12.4/Net/Twitter.pm line 5.
 BEGIN failed--compilation aborted at
 /opt/local/lib/perl5/vendor_perl/5.12.4/Net/Twitter.pm line 5.
 Compilation failed in require at ./tweet_bin2ascii.pl line 4.
 BEGIN failed--compilation aborted at ./tweet_bin2ascii.pl line 4.
 }}}

 I think the following is the reason.
 While the portfile for p5-net-twitter includes a dependency for  p5
 -moosex-multiinitarg ./Core.pm of Net::Twitter has :

 {{{
 use MooseX::Aliases;
 }}}

 so I think something like the following might solve the issue.
 Creation of a p5-moosex-aliases port and including that port in the
 portfile dependency map for p5-net-twitter

 I left the 'Type' as defect, but it might involve submission/request
 tickets as well.  This is my first ticket filed, and while I used the
 guidelines, I may have missed something.

-- 
Ticket URL: <https://trac.macports.org/ticket/35666>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list