From owner-freebsd-ports Fri Nov 23 13:10:11 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 79D8C37B416 for ; Fri, 23 Nov 2001 13:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fANLA1Y64845; Fri, 23 Nov 2001 13:10:01 -0800 (PST) (envelope-from gnats) Received: from sploo.aagh.net (pc2-hart4-0-cust103.mid.cable.ntl.com [213.107.122.103]) by hub.freebsd.org (Postfix) with ESMTP id 0E7EB37B405 for ; Fri, 23 Nov 2001 13:09:36 -0800 (PST) Received: from freaky by sploo.aagh.net with local (Exim 3.33 #1) id 167NZm-000PtM-00 for FreeBSD-gnats-submit@freebsd.org; Fri, 23 Nov 2001 21:09:34 +0000 Message-Id: Date: Fri, 23 Nov 2001 21:09:34 +0000 From: Thomas Hurst Reply-To: Thomas Hurst To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/32234: Perl ports not $LOCALBASE clean 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 >Number: 32234 >Category: ports >Synopsis: Perl ports not $LOCALBASE clean >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 23 13:10:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Thomas Hurst >Release: FreeBSD 4.4-STABLE i386 >Organization: Very little >Environment: System: FreeBSD sploo.freak.lan 4.4-STABLE FreeBSD 4.4-STABLE #0: Sun Nov 11 19:47:37 GMT 2001 root@sploo.freak.lan:/usr/obj/usr/src/sys/SPLOO i386 $LOCALBASE is set to /usr/pkg on this system. >Description: When using an altered $LOCALBASE, Perl module packages (I've noticed this in p5-Mail-Tools-1.41, p5-DBI-1.19, p5-Net-DNS-0.12, p5-Net-Daemon-0.35, p5-Mysql-modules-1.2216, p5-Storable-1.0.13, p5-Term-ANSIColor-1.03, p5-XML-Parser-2.30, p5-PlRPC-0.2015 and p5-Net-1.0703 - in other words, all the Perl 5 packages I have installed. The nature of the problem is that the packages install their files in the default /usr/local, then when compressing any manpages, attempt to compress in the correct $LOCALBASE (which of course fails - they're in /usr/local, not, in this case, /usr/pkg), and generate a packing list for the correct $LOCALBASE. Additionally, any installation checks also seem to fail when a packge depends on one, since they're checked for relative to $LOCALBASE, not /usr/local. Additionally, the build of world seems to ignore $LOCALBASE in setting the compiled-in value of @INC in perl, so if the modules *were* installed in the correct location they wouldn't actually work. Sigh :) >How-To-Repeat: Set 'LOCALBASE=/usr/pkg' or similar in make.conf, attempt to install a p5-* package. >Fix: "Shell, Hin-lik Hung" has submitted a patch for bsd.port.mk for this to have INSTALLSITELIB and INSTALLPRIVLIB passed to make, however I am not sure how much of the problem this will fix. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message