Subject: pkg/25923: postgresql* install locale files in root directory
To: None <>
From: None <>
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
>Originator:     Julio M. Merino Vidal
>Release:        NetBSD 2.0F
Julio M. Merino Vidal <>
The NetBSD Project -
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
	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/ file, after a 'make configure',
	is completely empty.

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