[MacPorts] #46482: p5-sysadm-install: requires p5-expect to use provided function hammer()

MacPorts noreply at macports.org
Thu Jan 8 01:44:37 PST 2015


#46482: p5-sysadm-install: requires p5-expect to use provided function hammer()
----------------------+--------------------------------
 Reporter:  devans@…  |      Owner:  macports-tickets@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:  p5-sysadm-install
----------------------+--------------------------------
 A dependency on p5-expect seems to be required for full functionality.

 Configure warns as follows:
 {{{
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_macports_trunk_dports_perl_p5-sysadm-
 install/p5.20-sysadm-install/work/Sysadm-Install-0.44" &&
 /opt/local/bin/perl5.20 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang"
 LD="/usr/bin/clang"'
 DEBUG: Executing command line:  cd
 "/opt/local/var/macports/build/_opt_macports_trunk_dports_perl_p5-sysadm-
 install/p5.20-sysadm-install/work/Sysadm-Install-0.44" &&
 /opt/local/bin/perl5.20 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang"
 LD="/usr/bin/clang"
 WARNING: Expect not found.
          You won't be able to use hammer().
          Install Expect from CPAN later if you want to.
 Checking if your kit is complete...
 Looks good
 }}}

 Tests don't seem to cover this functionality but without p5-expect active
 {{{
 $ perl5.20
 use Sysadm::Install qw(:all);
 hammer("man", "portfile");
 __END__
 Can't locate Expect.pm in @INC (you may need to install the Expect module)
 (@INC contains: /opt/local/lib/perl5/site_perl/5.20/darwin-thread-multi-
 2level /opt/local/lib/perl5/site_perl/5.20
 /opt/local/lib/perl5/vendor_perl/5.20/darwin-thread-multi-2level
 /opt/local/lib/perl5/vendor_perl/5.20 /opt/local/lib/perl5/5.20/darwin-
 thread-multi-2level /opt/local/lib/perl5/5.20 .) at
 /opt/local/lib/perl5/vendor_perl/5.20/Sysadm/Install.pm line 1385.

 }}}

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


More information about the macports-tickets mailing list