NetBSD Problem Report #29966

From www@netbsd.org  Thu Apr 14 05:20:13 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 6DC8163B116; Thu, 14 Apr 2005 05:20:13 +0000 (UTC)
Message-Id: <20050414052013.6DC8163B116@narn.netbsd.org>
Date: Thu, 14 Apr 2005 05:20:13 +0000 (UTC)
From: sak8@eecs.cwru.edu
Reply-To: sak8@eecs.cwru.edu
To: gnats-bugs@netbsd.org
Subject: three packages have locale PLIST problems on Solaris (at least)
X-Send-Pr-Version: www-1.0

>Number:         29966
>Category:       pkg
>Synopsis:       three packages have locale PLIST problems on Solaris (at least)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 14 05:21:00 +0000 2005
>Closed-Date:    Sat Jun 09 12:35:19 +0000 2007
>Last-Modified:  Sat Jun 09 12:35:19 +0000 2007
>Originator:     Simon Kuhn
>Release:        pkgsrc-current
>Organization:
Case Western Reserve University
>Environment:
SunOS reducto 5.9 Generic_117171-13 sun4u sparc SUNW,Sun-Fire-V240 Solaris

>Description:
Two packages (that I have found) do not set USE_PKGLOCALDIR=YES in their Makefile, but use ${PKGLOCALEDIR} in their PLIST file.

On Solaris this causes the locale files to install to /usr/local/share/locale rather than /usr/local/lib/locale, and so those files are not properly packaged. On other operating systems where locales go to /usr/local/lib/locale by default this probably goes unnoticed.

The two packages in question are subversion-base and libgnomecups. There are probably others that I have not installed yet.

A third package installs locale files into /usr/local/share/locale/ but does not do anything with them at all. This is bison, which doesn't list its locale files in its PLIST at all. It also needs USE_PKGLOCALEDIR=YES in its Makefile once the PLIST is fixed.
>How-To-Repeat:
Build and install on Solaris 9.
>Fix:
Add to bison/Makefile, subversion-base/Makefile, libgnomecups/Makefile:

USE_PKGLOCALEDIR=      yes

Add to bison/PLIST:

${PKGLOCALEDIR}/locale/da/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/de/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/es/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/et/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/ga/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/hr/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/id/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/it/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/ms/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/nb/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/bison.mo
${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/bison.mo

>Release-Note:

>Audit-Trail:
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/29966 CVS commit: pkgsrc/print/libgnomecups
Date: Sun, 15 Apr 2007 15:42:54 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Sun Apr 15 15:42:54 UTC 2007

 Modified Files:
 	pkgsrc/print/libgnomecups: Makefile

 Log Message:
 Need USE_PKGLOCAKEDIR, pointed out in PR 29966.

 Bump PKGREVISION.


 To generate a diff of this commit:
 cvs rdiff -r1.15 -r1.16 pkgsrc/print/libgnomecups/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: obache@netbsd.org
State-Changed-When: Sun, 15 Apr 2007 15:55:27 +0000
State-Changed-Why:
All packages pointed out by you has been fixed.
Is there any pakcages need to fix?


State-Changed-From-To: feedback->closed
State-Changed-By: obache@netbsd.org
State-Changed-When: Sat, 09 Jun 2007 12:35:19 +0000
State-Changed-Why:
If you find same problem, please reopen this PR or open new PR.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.