NetBSD Problem Report #25923
>Number: 25923
>Category: pkg
>Synopsis: postgresql* install locale files in root directory
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: grant
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 14 09:57:00 +0000 2004
>Closed-Date: Tue Jun 15 11:00:33 +0000 2004
>Last-Modified: Tue Jun 15 11:00:33 +0000 2004
>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:
State-Changed-From-To: open->feedback
State-Changed-By: cube
State-Changed-When: Mon Jun 14 20:51:26 UTC 2004
State-Changed-Why:
It should be fixed now. Can you confirm?
From: Quentin Garnier <cube@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/25923 CVS commit: pkgsrc/databases/postgresql74
Date: Mon, 14 Jun 2004 20:51:11 +0000 (UTC)
Module Name: pkgsrc
Committed By: cube
Date: Mon Jun 14 20:51:11 UTC 2004
Modified Files:
pkgsrc/databases/postgresql74: Makefile.common
Log Message:
'localedir' is actually two spaces away from the beginning of the line in
the configure script. Let's play safe and use '\s+'. Should fix PR 25923
by jmmv.
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 pkgsrc/databases/postgresql74/Makefile.common
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Julio M. Merino Vidal" <jmmv@menta.net>
To: gnats-bugs@gnats.netbsd.org
Cc: cube@netbsd.org
Subject: Re: pkg/25923
Date: Mon, 14 Jun 2004 23:49:40 +0200
On 14 Jun 2004 20:51:58 -0000
cube@netbsd.org wrote:
> Synopsis: postgresql* install locale files in root directory
>
> State-Changed-From-To: open->feedback
> State-Changed-By: cube
> State-Changed-When: Mon Jun 14 20:51:26 UTC 2004
> State-Changed-Why:
> It should be fixed now. Can you confirm?
postgresql74* are ok now. (I thought postgresql 7.3 was affected too, but
it looks like it doesn't install locale files anyway).
Thanks!
--
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/
Responsible-Changed-From-To: pkg-manager->grant
Responsible-Changed-By: cube
Responsible-Changed-When: Mon Jun 14 21:51:32 UTC 2004
Responsible-Changed-Why:
grant will put a final work on it.
From: grant beattie <grant@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/25923 CVS commit: pkgsrc/databases/postgresql74
Date: Tue, 15 Jun 2004 10:55:24 +0000 (UTC)
Module Name: pkgsrc
Committed By: grant
Date: Tue Jun 15 10:55:24 UTC 2004
Modified Files:
pkgsrc/databases/postgresql74: Makefile.common
Log Message:
really replace the localedir properly - we need USE_PKGLOCALEDIR for the
_LOCALEDIR definition. fixes PR pkg/25923.
To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 pkgsrc/databases/postgresql74/Makefile.common
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: feedback->closed
State-Changed-By: grant
State-Changed-When: Tue Jun 15 10:58:56 UTC 2004
State-Changed-Why:
this appeared to work with the previous revision of Makefile.common because
the regex wasn't matching anything so nothing changed on NetBSD.
I have just tested and committed a working fix for this.
thanks!
>Unformatted:
Received: (qmail 6041 invoked from network); 14 Jun 2004 09:56:22 -0000
Received: from smtp07.auna.com (HELO smtp07.retemail.es) (62.81.186.17)
by mail.netbsd.org with SMTP; 14 Jun 2004 09:56:22 -0000
Received: from sun.local ([62.57.121.60]) by smtp07.retemail.es
(InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with ESMTP
id <20040614095616.CZVF18116.smtp07.retemail.es@sun.local>
for <gnats-bugs@gnats.NetBSD.org>;
Mon, 14 Jun 2004 11:56:16 +0200
Received: from dawn.local (dawn.local [192.168.1.3])
by sun.local (Postfix) with SMTP id 5E72A2C09
for <gnats-bugs@gnats.NetBSD.org>; Mon, 14 Jun 2004 11:56:15 +0200 (CEST)
Received: (from jmmv@dawn.local)
by dawn.local (mini_sendmail/1.3.2 21nov2002 nb4 7oct2003);
Mon, 14 Jun 2004 11:56:15 CEST
(sender jmmv@dawn.local)
Message-Id: <20040614095615.5E72A2C09@sun.local>
Date: Mon, 14 Jun 2004 11:56:15 +0200 (CEST)
From: jmmv@menta.net
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: jmmv@menta.net
To: gnats-bugs@gnats.NetBSD.org
Subject: postgresql* install locale files in root directory
X-Send-Pr-Version: 3.95
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.