Subject: pkg/36504: devel/p5-Carp-Clan-5.8 needs DEPENDS for devel/p5-Test-Exception
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Mark E. Perkins <perkinsm@bway.net>
List: pkgsrc-bugs
Date: 06/17/2007 11:00:01
>Number:         36504
>Category:       pkg
>Synopsis:       devel/p5-Carp-Clan-5.8 needs DEPENDS for devel/p5-Test-Exception
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 17 11:00:00 +0000 2007
>Originator:     Mark E. Perkins
>Release:        Darwin 8.9.0 Power Macintosh
>Organization:
>Environment:


System: Darwin crow.fringe.mep 8.9.0 Darwin Kernel Version 8.9.0: Thu Feb 22 20:54:07 PST 2007; root:xnu-792.17.14~1/RELEASE_PPC Power Macintosh


>Description:


p5-Carp-Clan needs p5-Test-Exception for its test suite
(see Makefile.PL for Carp-Clan).

In the build phase for p5-Carp-Clan, note the warning:

Checking if your kit is complete...
Looks good
Warning: prerequisite Test::Exception 0 not found.


but the acid test comes in the test phase:

t/10basic..........Can't locate Test/Exception.pm in @INC (@INC contains: /Volumes/NetBSD/pkgsrc/devel/p5-Carp-Clan/work/Carp-Clan-5.9/blib/lib /Volumes/NetBSD/pkgsrc/devel/p5-Carp-Clan/work/Carp-Clan-5.9/blib/arch /Volumes/NetBSD/pkg/lib/perl5/site_perl/5.8.0/darwin-thread-multi-2level /Volumes/NetBSD/pkg/lib/perl5/site_perl/5.8.0 /Volumes/NetBSD/pkg/lib/perl5/site_perl /Volumes/NetBSD/pkg/lib/perl5/vendor_perl/5.8.0/darwin-thread-multi-2level /Volumes/NetBSD/pkg/lib/perl5/vendor_perl/5.8.0 /Volumes/NetBSD/pkg/lib/perl5/vendor_perl /Volumes/NetBSD/pkg/lib/perl5/5.8.0/darwin-thread-multi-2level /Volumes/NetBSD/pkg/lib/perl5/5.8.0 .) at t/10basic.t line 5.
BEGIN failed--compilation aborted at t/10basic.t line 5.



>How-To-Repeat:


(b)make test in .../devel/p5-Carp-Clan


>Fix:


add the following to Makefile

DEPENDS+=               p5-Test-Exception>=0:../../devel/p5-Test-Exception