Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2001 21:09:34 +0000
From:      Thomas Hurst <freaky@aagh.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32234: Perl ports not $LOCALBASE clean
Message-ID:  <E167NZm-000PtM-00@sploo.aagh.net>

next in thread | raw e-mail | index | archive | help

>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" <shell@shellhung.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E167NZm-000PtM-00>