From owner-freebsd-ports Sun Sep 8 9:34:58 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13F3D37B400 for ; Sun, 8 Sep 2002 09:34:56 -0700 (PDT) Received: from epaper.eslitebooks.com (210-58-229-92.eslitebooks.com [210.58.229.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id E75DD43E6E for ; Sun, 8 Sep 2002 09:34:54 -0700 (PDT) (envelope-from clive@tongi.org) Received: from epaper.eslitebooks.com (localhost.eslitebooks.com [127.0.0.1]) by epaper.eslitebooks.com (8.12.3/8.12.3) with SMTP id g88GYgmC040266; Mon, 9 Sep 2002 00:34:42 +0800 (CST) (envelope-from clive@tongi.org) Received: (nullmailer pid 40264 invoked by uid 1000); Sun, 08 Sep 2002 16:34:42 -0000 Date: Mon, 9 Sep 2002 00:34:42 +0800 From: Clive Lin To: Erwin Lansing Cc: freebsd-ports@FreeBSD.org Subject: Re: ports/42361: update archivers/p5-Archive-Zip to 1.03 Message-ID: <20020908163442.GA38971@epaper.eslitebooks.com> References: <200209030810.g838Ac0s055503@freefall.freebsd.org> <20020907141632.GA30996@epaper.eslitebooks.com> <20020908091308.GM52330@droso.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020908091308.GM52330@droso.net> X-Operating-System: FreeBSD i386 X-PGP-key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA008C03E User-Agent: Mutt/1.5.1i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, perl in RELENG_4 is 5.00503, it's built-in File::Spec is 0.6. I guess you have perl 5.6 installed ? In a typical RELENG_4 box (e.g. no lang/perl5*, nor upgrade perl by CPAN, etc), File::Spec should be 0.6. yup, the problem is not Archive::Zip. The problem is, if we installed a new File::Spec via ports, it will be placed under /usr/local/lib/perl5/site_perl/5.005, although there's another old one kept in /usr/libdata/perl/5.00503. And perl searches modules within /usr/libdata/perl/5.00503 first. Here's the problem. My suggestion is, if it needs a new File::Spec, please do not use devel/p5-File-Spec. Simply define USE_PERL5=yes. I think this is the only way to prevent any patches. Regards, Clive On Sun, Sep 08, 2002 at 11:13:08AM +0200, Erwin Lansing wrote: > On Sat, Sep 07, 2002 at 10:16:32PM +0800, Clive Lin wrote: > > Update of archivers/p5-Archive-Zip breaks many things, like > > amavis*, spamassassin on systems have perl 5.00503 (say, RELENG_4). > > > I have another bugreport, but haven't had the time yet to look into it. > > > Archive-Zip needs File::Spec 0.8, while File::Spec in base system > > is 0.6. Perl will always try to find modules in base system first. > > > The installation of p5-File-Spec gives a lot of warnings. People should > take these warnings more seriously. If this is the only problem, I could > add another warning to p5-Archive-Zip, but I feel this belongs in > p5-File-Spec, not p5-Archive-Zip. > > I'll have a look if I can duplicate the error, my amavis is running like > a charm on -stable. > > -erwin > > -- > _._ _,-'""`-._ > Erwin Lansing (,-.`._,'( |\`-/| http://droso.org/ > erwin@lansing.dk `-.-' \ )-`( , o o) http://fnidder.dk/ > -bf- `- \`_`"'- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message