Bug 153782 - devel/p5-ExtUtils-CBuilder missing IPC::Run dependency
Summary: devel/p5-ExtUtils-CBuilder missing IPC::Run dependency
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Andrej Zverev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-08 00:30 UTC by Phil Pennock
Modified: 2011-01-08 12:45 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Pennock 2011-01-08 00:30:15 UTC
The FreeBSD port devel/p5-ExtUtils-CBuilder is missing a dependency upon devel/p5-IPC-Run and succeeds with install but fails at run-time.

There's a complaint in the forums at:
  http://forums.freebsd.org/showthread.php?t=20571

Verified on my system:
% perl -e 'use ExtUtils::CBuilder'
Can't locate IPC/Cmd.pm in @INC (@INC contains: [...]

This affected my ability to install converters/p5-Encode-Punycode as it led to "configure"-time complaints:

Warning: ExtUtils::CBuilder not installed or no compiler detected
Proceeding with configuration, but compilation may fail during Build

Marking serious as it is leading to port build failures with diagnostics which hide a dependency.

Fix: 

ports/devel/p5-ExtUtils-CBuilder/Makefile needs to gain something like:
  RUN_DEPENDS=  p5-IPC-Run>=0:${PORTSDIR}/devel/p5-IPC-Run

(warning: untested, I just installed the module manually to get things working)
How-To-Repeat: Attempt to install converters/p5-Encode-Punycode on a clean system.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-01-08 07:49:28 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

Fix synopsis and assign.
Comment 2 Andrej Zverev freebsd_committer freebsd_triage 2011-01-08 08:31:47 UTC
Responsible Changed
From-To: perl->az
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-01-08 11:04:28 UTC
az          2011-01-08 11:04:21 UTC

  FreeBSD ports repository

  Modified files:
    devel/p5-ExtUtils-CBuilder Makefile 
  Log:
  - Put workaround with missed dep IPC::Cmd which exists in coremodules at
  perl5.10 but not in 5.8.
  
  PR:             ports/153782
  Submitted by:   Phil Pennock <phil.pennock@globnix.org>
  
  Revision  Changes    Path
  1.32      +9 -1      ports/devel/p5-ExtUtils-CBuilder/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Andrej Zverev freebsd_committer freebsd_triage 2011-01-08 12:45:25 UTC
State Changed
From-To: open->closed

Committed. Thanks!