Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2001 09:59:05 -0800 (PST)
From:      gabriel_ambuehl@buz.ch
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/25357: pkg_update won't work under STABLE since warnings.pm isn't supported in Perl 5.00%, only 5.6
Message-ID:  <200102251759.f1PHx5H78617@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 25 10:00:01 PST 2001
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102251759.f1PHx5H78617>