From owner-freebsd-ports@FreeBSD.ORG Sat Mar 1 20:16:43 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A25D0106567B; Sat, 1 Mar 2008 20:16:43 +0000 (UTC) (envelope-from prvs=1946b5bf4c=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id DE7E38FC23; Sat, 1 Mar 2008 20:16:42 +0000 (UTC) (envelope-from prvs=1946b5bf4c=killing@multiplay.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=multiplay.co.uk; s=Multiplay; t=1204402336; x=1205007136; q=dns/txt; h=Received: Message-ID:From:To:Cc:References:Subject:Date:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=Wd0UUrigbQW2VIFI30xVB 7laqrBDoZUpm7sofF//9xI=; b=DDJ5xdjmaJT1xJKILb6KoKfYePh2Fd/g7AkLY sz002ihftVHzr0WHOug9bDztT1UaH1jPPn2MsfUz2UAMkvRNB4c2PVXGXc+tbpNc 0nCkHUHoMErX4R7PVsuLPHwCjnYgyiu84aR50zOVbP7zO+YZS8ARTJ3zu+d863Tt 6Yu8lU= X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-14.7 required=6.0 tests=BAYES_00, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=ham version=3.1.8 Received: from r2d2 by mail1.multiplay.co.uk (MDaemon PRO v9.6.3) with ESMTP id md50005185812.msg; Sat, 01 Mar 2008 20:12:15 +0000 Message-ID: <018b01c87bd8$8a555660$b6db87d4@multiplay.co.uk> From: "Steven Hartland" To: "Kris Kennaway" References: <00ab01c87b64$29c7b8c0$b6db87d4@multiplay.co.uk> <47C95FBC.1030907@FreeBSD.org> Date: Sat, 1 Mar 2008 20:12:13 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Authenticated-Sender: Killing@multiplay.co.uk X-MDRemoteIP: 212.135.219.182 X-Return-Path: prvs=1946b5bf4c=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-Spam-Processed: mail1.multiplay.co.uk, Sat, 01 Mar 2008 20:12:16 +0000 X-MDAV-Processed: mail1.multiplay.co.uk, Sat, 01 Mar 2008 20:12:16 +0000 Cc: ports@freebsd.org, stable@FreeBSD.org Subject: Re: portupgrade, recommended by 7 release notes, breaks perl X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Mar 2008 20:16:43 -0000 ----- Original Message ----- From: "Kris Kennaway" > I think something is not quite right in your analysis, because perl does > not depend on any external perl modules (it cannot, by definition). I know what your saying there Kris, this shouldn't happen. So I've spent some time digging through the info I had here from the upgrade, luckily I saved a list of installed ports before starting. The issue appears to down to the fact ExtUtils::MakeMaker when installed via CPAN installs to: /usr/local/lib/perl5/5.8.8 So obviously when portupgrade finds it and attempts to upgrade it, it first deletes it which trashes the base perl install as it now has no MakeMaker to fall back to. Usually I would expect CPAN modules to install to: /usr/local/lib/perl5/site_perl/5.8.8/ Which would ensure that there are still base files left to fall back on when upgrading. Of note here is that port p5-ExtUtils-MakeMaker correctly installs under site_perl its only the CPAN module which has this problem. Now I don't know if there are any other modules which suffer from this or if its just a "feature of MakeMaker". The underlying cause of this is in the MakeMaker Makefile.PL Makefile.PL: INSTALLDIRS => 'perl', changing this to: Makefile.PL: INSTALLDIRS => 'site', Would fix this particular package but again: how many others do this? Maybe this is something that BSDPAN could / should override? Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.