From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 11:12:33 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDF3D16A4CE for ; Wed, 9 Feb 2005 11:12:33 +0000 (GMT) Received: from highland.isltd.insignia.com (highland.isltd.insignia.com [195.74.141.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D88AA43D31 for ; Wed, 9 Feb 2005 11:12:32 +0000 (GMT) (envelope-from subscriber@insignia.com) Received: from inchgower-e1.isltd.insignia.com (inchgower-e0.isltd.insignia.com [195.74.141.61])j19BCUm2048274 for ; Wed, 9 Feb 2005 11:12:31 GMT (envelope-from subscriber@insignia.com) Received: from dylan.isltd.insignia.com (dylan [172.16.64.69]) j19A7oHO086954 for ; Wed, 9 Feb 2005 10:07:50 GMT (envelope-from subscriber@insignia.com) From: Jim Hatfield To: freebsd-questions@freebsd.org Date: Wed, 09 Feb 2005 10:07:59 +0000 Organization: Insignia Solutions Message-ID: X-Mailer: Forte Agent 2.0/32.652 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.49 on 195.74.141.1 Subject: Failures after upgrading perl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2005 11:12:34 -0000 I have a 4.7-based system I use as a mail gateway. Yesterday I did a portupgrade of perl from 5.6.1 to 5.6.2. Today I find that I have no incoming mail, due to mimedefang no longer functioning: >Feb 9 09:56:39 highland mimedefang-multiplexor[91186]: Slave 0 stderr: = Can't locate MIME/Base64.pm in @INC (@INC contains: = /usr/local/lib/perl5/site_perl/5.6.1 = /usr/local/lib/perl5/site_perl/5.6.2/mach = /usr/local/lib/perl5/site_perl/5.6.2 = /usr/local/lib/perl5/site_perl/5.005/i386-freebsd = /usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl = /usr/local/lib/perl5/5.6.2/BSDPAN /usr/local/lib/perl5/5.6.2/mach = /usr/local/lib/perl5/5.6.2 .) at = /usr/local/lib/perl5/site_perl/5.6.1/MIME/Words.pm line 85. BEGIN = failed--compilation aborted at /usr/local/lib/perl5/site_per But pkg_info shows p5-MIME-Base64 as present! And it is, but not on any of the directories on the @INC path: >highland# find /usr/local/lib -name Base64.pm -print >/usr/local/lib/perl5/site_perl/5.6.1/mach/MIME/Base64.pm >/usr/local/lib/perl5/site_perl/5.6.1/MIME/Decoder/Base64.pm If I try a portupgrade -f it seems to get confused about perl versions: >highland# portupgrade -f p5-MIME-Base64 >---> Reinstalling 'p5-MIME-Base64-3.05' (converters/p5-MIME-Base64) >---> Building '/usr/ports/converters/p5-MIME-Base64' >=3D=3D=3D> Cleaning for perl-5.6.2_2 >=3D=3D=3D> Cleaning for p5-MIME-Base64-3.05 >=3D=3D=3D> Vulnerability check disabled >=3D=3D=3D> Extracting for p5-MIME-Base64-3.05 >=3D> Checksum OK for MIME-Base64-3.05.tar.gz. >=3D=3D=3D> p5-MIME-Base64-3.05 depends on file: = /usr/local/bin/perl5.6.1 - not found >=3D=3D=3D> Verifying install for /usr/local/bin/perl5.6.1 in = /usr/ports/lang/perl5 >=3D=3D=3D> Vulnerability check disabled >=3D=3D=3D> Extracting for perl-5.6.2_2 >=3D> Checksum OK for perl-5.6.2.tar.gz. >=3D> Checksum OK for BSDPAN-5.6.2.tar.gz. It seems to think it's dependent on perl 5.6.1, which isn't present, then wants to install 5.6.2, which is already installed. Do I have to remove and reinstall all the perl addons due to the upgrade of the perl version? And what's the "mach" directory for?