[MacPorts] #45951: perl-critic: installs but does not run because of missing dependencies

MacPorts noreply at macports.org
Thu Nov 20 01:43:11 PST 2014


#45951: perl-critic: installs but does not run because of missing dependencies
----------------------+--------------------------------
 Reporter:  becker@…  |      Owner:  macports-tickets@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.3.2
 Keywords:            |       Port:
----------------------+--------------------------------
 At least 3 additional packages need to be installed by hand

 {{{
 port install p5-email-address p5-ppix-utilities p5-lingua-en-inflect
 }}}

 But even then, perl-critic fails to run because of further missing
 dependencies

 {{{
 $ perlcritic-5.16 some_program.pl
 Couldn't require Perl::Critic::Policy::Documentation::PodSpelling : Can't
 locate File/ShareDir/ProjectDistDir.pm in @INC (@INC contains:
 /opt/local/lib/perl5/site_perl/5.16.3/darwin-thread-multi-2level
 /opt/local/lib/perl5/site_perl/5.16.3
 /opt/local/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-2level
 /opt/local/lib/perl5/vendor_perl/5.16.3 /opt/local/lib/perl5/5.16.3
 /darwin-thread-multi-2level /opt/local/lib/perl5/5.16.3
 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at
 /opt/local/lib/perl5/vendor_perl/5.16.3/Pod/Wordlist.pm line 6.
 BEGIN failed--compilation aborted at
 /opt/local/lib/perl5/vendor_perl/5.16.3/Pod/Wordlist.pm line 6.
 Compilation failed in require at
 /opt/local/lib/perl5/vendor_perl/5.16.3/Pod/Spell.pm line 10.
 BEGIN failed--compilation aborted at
 /opt/local/lib/perl5/vendor_perl/5.16.3/Pod/Spell.pm line 10.
 Compilation failed in require at
 /opt/local/lib/perl5/vendor_perl/5.16.3/Perl/Critic/Policy/Documentation/PodSpelling.pm
 line 14.
 BEGIN failed--compilation aborted at
 /opt/local/lib/perl5/vendor_perl/5.16.3/Perl/Critic/Policy/Documentation/PodSpelling.pm
 line 14.
 Compilation failed in require at (eval 272) line 2.
  at /opt/local/lib/perl5/vendor_perl/5.16.3/Module/Pluggable.pm line 32.
 Can't locate PPIx/Regexp.pm in @INC (@INC contains:
 /opt/local/lib/perl5/site_perl/5.16.3/darwin-thread-multi-2level
 /opt/local/lib/perl5/site_perl/5.16.3
 /opt/local/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-2level
 /opt/local/lib/perl5/vendor_perl/5.16.3 /opt/local/lib/perl5/5.16.3
 /darwin-thread-multi-2level /opt/local/lib/perl5/5.16.3
 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at
 /opt/local/lib/perl5/vendor_perl/5.16.3/Perl/Critic/Document.pm line 21.
 BEGIN failed--compilation aborted at
 /opt/local/lib/perl5/vendor_perl/5.16.3/Perl/Critic/Document.pm line 21.
 Compilation failed in require at
 /opt/local/lib/perl5/vendor_perl/5.16.3/Perl/Critic.pm line 19.
 BEGIN failed--compilation aborted at
 /opt/local/lib/perl5/vendor_perl/5.16.3/Perl/Critic.pm line 19.
 Compilation failed in require at
 /opt/local/lib/perl5/vendor_perl/5.16.3/Perl/Critic/Command.pm line 230.
 }}}

 Installing the p5-file-sharedir port does not fix the problem.

-- 
Ticket URL: <https://trac.macports.org/ticket/45951>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list