From jdc@pentarou.parodius.com  Tue Oct 28 16:38:34 2003
Return-Path: <jdc@pentarou.parodius.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 824A316A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 28 Oct 2003 16:38:34 -0800 (PST)
Received: from mail.parodius.com (mail.parodius.com [64.71.184.173])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DE28B43FF3
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 28 Oct 2003 16:38:33 -0800 (PST)
	(envelope-from jdc@pentarou.parodius.com)
Received: from pentarou.parodius.com (jdc@localhost [127.0.0.1])
	by mail.parodius.com (8.12.9p2/8.12.9) with ESMTP id h9T0cXAF010066
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 28 Oct 2003 16:38:33 -0800 (PST)
	(envelope-from jdc@pentarou.parodius.com)
Received: (from jdc@localhost)
	by pentarou.parodius.com (8.12.9p2/8.12.9/Submit) id h9T0cXGo010065;
	Tue, 28 Oct 2003 16:38:33 -0800 (PST)
	(envelope-from jdc)
Message-Id: <200310290038.h9T0cXGo010065@pentarou.parodius.com>
Date: Tue, 28 Oct 2003 16:38:33 -0800 (PST)
From: Jeremy Chadwick <freebsd@jdc.parodius.com>
Reply-To: Jeremy Chadwick <freebsd@jdc.parodius.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Time::HiRes included with perl-5.8
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         58663
>Category:       ports
>Synopsis:       Time::HiRes included with perl-5.8
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    leeym
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 28 16:40:17 PST 2003
>Closed-Date:    Thu Oct 30 10:32:42 PST 2003
>Last-Modified:  Thu Oct 30 10:32:42 PST 2003
>Originator:     Jeremy Chadwick
>Release:        FreeBSD 4.9-RC i386
>Organization:
Parodius Networking
>Environment:
FreeBSD gabriel.parodius.com 4.9-RC FreeBSD 4.9-RC #0: Sat Oct 18 21:42:27 PDT 2003     root@pentarou.parodius.com:/usr/obj/usr/src/sys/PARODIUS-SMP  i386
>Description:
Time::HiRes is included with perl-5.8.  This was verified using the latest perl-5.8
ports build (perl-5.8.1_2), but likely applies to 5.8.0 as well:

gabriel# find /usr/local/lib/perl5 -name "*HiRes*" -ls
3154942   28 -r--r--r--    1 root   wheel   12612 Oct 28 16:27 /usr/local/lib/perl5/5.8.1/mach/Time/HiRes.pm
3155536    4 drwxr-xr-x    2 root   wheel     512 Oct 28 16:27 /usr/local/lib/perl5/5.8.1/mach/auto/Time/HiRes
3155537   32 -r-xr-xr-x    1 root   wheel   15716 Oct 28 16:27 /usr/local/lib/perl5/5.8.1/mach/auto/Time/HiRes/HiRes.so
3155538    0 -r--r--r--    1 root   wheel       0 Oct 28 16:27 /usr/local/lib/perl5/5.8.1/mach/auto/Time/HiRes/HiRes.bs
3157586   16 -rw-r--r--    1 root   wheel    6229 Oct 28 16:27 /usr/local/lib/perl5/5.8.1/man/man3/Time::HiRes.3.gz
gabriel# pkg_info | grep HiRes
gabriel#
>How-To-Repeat:
Install razor-agents and find two versions of Time::HiRes floating around.
>Fix:
Move the BUILD_DEPENDS entry for ports/devel/p5-Time-HiRes into the
PERL_LEVEL check section near the bottom of the Makefile.

Sorry I didn't catch this one with my other PR, guys!  :-)
>Release-Note:
>Audit-Trail:

From: Jeremy Chadwick <freebsd@jdc.parodius.com>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/58663: Time::HiRes included with perl-5.8
Date: Tue, 28 Oct 2003 16:51:26 -0800

   Actually, I just realised there's a lot more than just Time::HiRes
 which should be moved into BUILD_DEPENDS for anything less than
 perl 5.8.  I should have done a more thorough review.
 
   BUILD_DEPENDS should have p5-Digest-Nilsimsa and p5-URI.  These
 don't come with perl 5.0, 5.6, or 5.8 (AFAIK).
 
   Builds older than 5.8 (possibly 5.6; see above comment) should
 also depend on p5-Digest-SHA1, p5-Net-DNS, p5-Test-Simple, and
 p5-Time-HiRes.
 
   That's all I've found for now, other than possibly moving the
 RUN_DEPENDS assignment below the PERL_LEVEL check (I'm under the
 impression that most of these modules are required to be installed
 for razor-agents to __run__, not just build).  The present method
 will only check for modules included in the default BUILD_DEPENDS
 up at the top of the Makefile.
 
  Hope this helps!
 
 On Tue, Oct 28, 2003 at 04:40:17PM -0800, FreeBSD-gnats-submit@FreeBSD.org wrote:
 > Thank you very much for your problem report.
 > It has the internal identification `ports/58663'.
 > The individual assigned to look at your
 > report is: freebsd-ports-bugs. 
 > 
 > You can access the state of your problem report at any time
 > via this link:
 > 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=58663
 > 
 > >Category:       ports
 > >Responsible:    freebsd-ports-bugs
 > >Synopsis:       Time::HiRes included with perl-5.8
 > >Arrival-Date:   Tue Oct 28 16:40:17 PST 2003

From: Jeremy Chadwick <freebsd@jdc.parodius.com>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/58663: Time::HiRes included with perl-5.8
Date: Tue, 28 Oct 2003 16:59:01 -0800

   One more update: looks like Digest::SHA1 needs to be included
 regardless (meaning it needs to be put back up into the initial
 pre-requisite BUILD_DEPENDS list).
 
   perl-5.8 has a Digest.pm file which apparently includes SHA1,
 but doesn't have an actual Digest::SHA1 module.
 
   Without this, razor-agents won't build.
 
 On Tue, Oct 28, 2003 at 04:40:17PM -0800, FreeBSD-gnats-submit@FreeBSD.org wrote:
 > Thank you very much for your problem report.
 > It has the internal identification `ports/58663'.
 > The individual assigned to look at your
 > report is: freebsd-ports-bugs. 
 > 
 > You can access the state of your problem report at any time
 > via this link:
 > 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=58663
 > 
 > >Category:       ports
 > >Responsible:    freebsd-ports-bugs
 > >Synopsis:       Time::HiRes included with perl-5.8
 > >Arrival-Date:   Tue Oct 28 16:40:17 PST 2003

From: Jeremy Chadwick <freebsd@jdc.parodius.com>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/58663: Time::HiRes included with perl-5.8
Date: Tue, 28 Oct 2003 17:34:16 -0800

   Another update: looks as if p5-Net-DNS _doesn't_ come
 with perl 5.8.  I'm not sure how the copy I had was still
 on the box (especially with such timestamps); it must've
 been a broken build I was working on.
 
   p5-Net-DNS should be part of the pre-requisites for
 BUILD_DEPENDS after all.
 
 On Tue, Oct 28, 2003 at 04:40:17PM -0800, FreeBSD-gnats-submit@FreeBSD.org wrote:
 > Thank you very much for your problem report.
 > It has the internal identification `ports/58663'.
 > The individual assigned to look at your
 > report is: freebsd-ports-bugs. 
 > 
 > You can access the state of your problem report at any time
 > via this link:
 > 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=58663
 > 
 > >Category:       ports
 > >Responsible:    freebsd-ports-bugs
 > >Synopsis:       Time::HiRes included with perl-5.8
 > >Arrival-Date:   Tue Oct 28 16:40:17 PST 2003
Responsible-Changed-From-To: freebsd-ports-bugs->leeym 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Oct 29 23:16:23 PST 2003 
Responsible-Changed-Why:  
Over to maintainer of mail/razor-agents, which AFAICT this PR 
concerns. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58663 
State-Changed-From-To: open->closed 
State-Changed-By: leeym 
State-Changed-When: Thu Oct 30 10:32:41 PST 2003 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58663 
>Unformatted:
