From owner-freebsd-bugs Sun Feb 25 10: 0: 5 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B9EA537B65D for ; Sun, 25 Feb 2001 10:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1PI01I78846; Sun, 25 Feb 2001 10:00:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DF21037B401 for ; 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 X-Send-Pr-Version: www-1.0 Subject: misc/25357: pkg_update won't work under STABLE since warnings.pm isn't supported in Perl 5.00%, only 5.6 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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