Subject: pkg/25923: postgresql* install locale files in root directory
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <jmmv@menta.net>
List: pkgsrc-bugs
Date: 06/14/2004 11:56:15
>Number:         25923
>Category:       pkg
>Synopsis:       postgresql* install locale files in root directory
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 14 09:57:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Julio M. Merino Vidal
>Release:        NetBSD 2.0F
>Organization:
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/
>Environment:
	
	
System: NetBSD dawn.local 2.0F NetBSD 2.0F (DAWN) #1: Wed Jun 9 19:57:07 CEST 2004 jmmv@dawn.local:/home/build/obj/usr/src/sys/arch/i386/compile/DAWN i386
Architecture: i386
Machine: i386
>Description:
	During the installation of the postgresql74 meta package, I noticed
	that several files were not installed properly by the subpackages
	during the package registration.  Failed files were locales.

	I wondered were did they go... and today, did a 'ls /' and found
	my root directory polluted with lots of locale directories (i.e.,
	/zh_TW/LC_MESSAGES) containing the catalog files for all the
	postgresql74* packages.

	After a quick look at the packages, I found that the 'localedir'
	variable in the src/Makefile.global file, after a 'make configure',
	is completely empty.

	This also happens with postgresql 7.3, AFAICT.  (the localedir
	variable ends up empty too).
>How-To-Repeat:
	Install postgresql74.  Note how locale files are not registered
	properly, and are directly installed into /.
>Fix:
	Unknown... sorry, haven't got the time to debug this right now.
>Release-Note:
>Audit-Trail:
>Unformatted: