NetBSD Problem Report #18885

Received: (qmail 17570 invoked by uid 605); 1 Nov 2002 23:40:04 -0000
Message-Id: <26963-1036194004@rainier.reedmedia.net>
Date: Fri, 01 Nov 2002 15:40:05 -0800
From: reed@reedmedia.net
Sender: gnats-bugs-owner@netbsd.org
Reply-To: reed@reedmedia.net
To: gnats-bugs@gnats.netbsd.org
Subject: gettext libintl check problem
X-Send-Pr-Version: 3.95

>Number:         18885
>Category:       pkg
>Synopsis:       libintl gettext check problem in bash2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jlam
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 01 23:41:00 +0000 2002
>Closed-Date:    Tue Nov 26 19:19:03 +0000 2002
>Last-Modified:  Tue Nov 26 19:19:03 +0000 2002
>Originator:     
>Release:        NetBSD 1.6
>Organization:
http://bsd.reedmedia.net/
>Environment:


System: NetBSD rainier.reedmedia.net 1.6 NetBSD 1.6 (JCR-20020927) #3: Sat Sep 28 13:40:20 PDT 2002 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/JCR-20020927 i386
Architecture: i386
Machine: i386
>Description:
The shells/bash2 Makefile checks for gettext intl header but not for
actual library.
>How-To-Repeat:
Try to build bash2 via pkgsrc with /usr/include/libintl.h but no
corresponding library (such as under Debian Linux).
>Fix:
if exists(/usr/include/libintl.h) && (exists(/usr/lib/libintl.so) ||
exists(/usr/lib/libintl.a))
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->jlam 
Responsible-Changed-By: jlam 
Responsible-Changed-When: Mon Nov 18 12:59:00 PST 2002 
Responsible-Changed-Why:  
I'll handle this. 

From: "Johnny C. Lam" <jlam@netbsd.org>
To: reed@reedmedia.net
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/18885: gettext libintl check problem
Date: Mon, 18 Nov 2002 13:02:34 -0800

 On Fri, Nov 01, 2002 at 03:40:05PM -0800, reed@reedmedia.net wrote:
 > 
 > >Description:
 > The shells/bash2 Makefile checks for gettext intl header but not for
 > actual library.
 > >How-To-Repeat:
 > Try to build bash2 via pkgsrc with /usr/include/libintl.h but no
 > corresponding library (such as under Debian Linux).

 On Debian Linux, are the gettext routines directly incorporated into
 glibc or is there another library that contains all of the gettext
 routines?

 	Thanks,

 	-- Johnny Lam <jlam@netbsd.org>

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: "Johnny C. Lam" <jlam@netbsd.org>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/18885: gettext libintl check problem
Date: Mon, 18 Nov 2002 13:19:06 -0800 (PST)

 On Mon, 18 Nov 2002, Johnny C. Lam wrote:

 > On Debian Linux, are the gettext routines directly incorporated into
 > glibc or is there another library that contains all of the gettext
 > routines?

 I believe they are a part of glibc. For example, using Debian package, it
 is included in libc6-dev package.

 Also, I created a glibc-2.2.5 package for NetBSD's pkgsrc. If I understand
 correctly, the gettext routines are included in glibc. But the GNU gettext
 is still needed to construct the message catalog files with the translated
 versions of system messages.

 I don't really know if all of GNU gettext libintl libraries functionality
 is already provided in glibc.

    Jeremy C. Reed
    http://bsd.reedmedia.net/

State-Changed-From-To: open->feedback 
State-Changed-By: jlam 
State-Changed-When: Wed Nov 20 00:43:02 PST 2002 
State-Changed-Why:  
From the commit log for bash2/Makefile: 
---------------------------- 
revision 1.37 
date: 2002/11/20 08:38:16;  author: jlam;  state: Exp;  lines: +6 -3 
Check that the gettext headers and libraries exist before symlinking them. 
---------------------------- 
Please let me know if this fixes building bash2 on Linux systems.  Thanks! 

From: "Johnny C. Lam" <jlam@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:  
Subject: pr/18885 CVS commit: pkgsrc/shells/bash2
Date: Tue, 26 Nov 2002 11:39:11 +0200 (EET)

 Module Name:	pkgsrc
 Committed By:	jlam
 Date:		Tue Nov 26 09:39:11 UTC 2002

 Modified Files:
 	pkgsrc/shells/bash2: Makefile

 Log Message:
 Only add "-lintl" to LIBS if libintl.* is found in the library path.  This
 addresses PR 18885 by Jeremy Reed <reed@reedmedia.net>.


 To generate a diff of this commit:
 cvs rdiff -r1.38 -r1.39 pkgsrc/shells/bash2/Makefile

 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: jlam 
State-Changed-When: Tue Nov 26 11:14:44 PST 2002 
State-Changed-Why:  
PR author replies in private email that the bash2 now builds correctly. 
>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.