From nobody@FreeBSD.org  Sun Feb 25 09:59:06 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id DF21037B401
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Feb 2001 09:59:05 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f1PHx5H78617;
	Sun, 25 Feb 2001 09:59:05 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200102251759.f1PHx5H78617@freefall.freebsd.org>
Date: Sun, 25 Feb 2001 09:59:05 -0800 (PST)
From: gabriel_ambuehl@buz.ch
To: freebsd-gnats-submit@FreeBSD.org
Subject: pkg_update won't work under STABLE since warnings.pm isn't supported in Perl 5.00%, only 5.6
X-Send-Pr-Version: www-1.0

>Number:         25357
>Category:       misc
>Synopsis:       pkg_update won't work under STABLE since warnings.pm isn't supported in Perl 5.00%, only 5.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    paul
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 25 10:00:01 PST 2001
>Closed-Date:    Tue Apr 3 08:38:04 PDT 2001
>Last-Modified:  Tue Apr 03 08:40:05 PDT 2001
>Originator:     Gabriel Ambuehl
>Release:        4.2 STABLE
>Organization:
>Environment:
FreeBSD local.root.li 4.2-STABLE FreeBSD 4.2-STABLE #2: Wed Feb 21 19:26:39 CET 2001 
>Description:
The newly introduced pkg_update utility (which I really would like to use) doesn't work under Perl 5.005 since that one hasn't got warnings.pm. CPAN lists it as standard module for =>5.6 but not for 5.005:
http://search.cpan.org/search?mode=module&query=warnings

>How-To-Repeat:
Take a 4.2 STABLE box after the commit of pkg_update and try to start pkg_update:
$ pkg_update
Can't locate warnings.pm in @INC (@INC contains: /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at /usr/sbin/pkg_update line 32.
BEGIN failed--compilation aborted at /usr/sbin/pkg_update line 32.

>Fix:
My 5 Current box lies down, so I can't test it just now. Might be enough to integrate warnings.pm into 4-STABLE.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: bmah 
State-Changed-When: Tue Apr 3 08:38:04 PDT 2001 
State-Changed-Why:  
PR 25302 contained a fix, committed 2001/03/16 by paul. 


Responsible-Changed-From-To: freebsd-bugs->paul 
Responsible-Changed-By: bmah 
Responsible-Changed-When: Tue Apr 3 08:38:04 PDT 2001 
Responsible-Changed-Why:  
paul wrote pkg_update. 

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