NetBSD Problem Report #43925

From www@NetBSD.org  Wed Sep 29 02:53:14 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 1D51A63B8E6
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 29 Sep 2010 02:53:14 +0000 (UTC)
Message-Id: <20100929025313.A6F8A63B8DB@www.NetBSD.org>
Date: Wed, 29 Sep 2010 02:53:13 +0000 (UTC)
From: nakaji@jp.freebsd.org
Reply-To: nakaji@jp.freebsd.org
To: gnats-bugs@NetBSD.org
Subject: www/neon on Solaris 10 needs BROKEN_GETTEXT_DETECTION=yes and an additional patch
X-Send-Pr-Version: www-1.0

>Number:         43925
>Category:       pkg
>Synopsis:       www/neon on Solaris 10 needs BROKEN_GETTEXT_DETECTION=yes and an additional patch
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 29 02:55:00 +0000 2010
>Last-Modified:  Tue Jun 26 19:55:03 +0000 2012
>Originator:     NAKAJI Hiroyuki
>Release:        Solaris 10 (SPARC)
>Organization:
>Environment:
SunOS janus.4407.kankyo-u.ac.jp 5.10 Generic_141444-09 sun4u sparc sun4u Solaris

>Description:
www/neon needs libintl.so.xx which is installed by devel/gettext-lib, but its configure does not find libintl.

And, neon/src/Makefile.in does not have proper LIBS.

>How-To-Repeat:
cd pkgsrc/www/neon
pfexec bmake

>Fix:
1. At least Solaris needs BROKEN_GETTEXT_DETECTION=yes

2. A tiny additional patch

--- src/Makefile.in.orig        2010-09-29 10:42:35.423688000 +0900
+++ src/Makefile.in     2010-09-29 10:40:27.526737000 +0900
@@ -30,7 +30,7 @@
 NEON_LINK_FLAGS = @NEON_LINK_FLAGS@
 # Note: don't substitute @LIBS@ in here; during a bundled
 # build of this directory, @LIBS@ may include -lneon.
-LIBS = @NEON_LIBS@ @NEON_LTLIBS@
+LIBS = @NEON_LIBS@ @NEON_LTLIBS@ @LIBS@

 COMPILE = $(CC) $(CPPFLAGS) $(CFLAGS)
 LT_COMPILE = $(LIBTOOL) --quiet --mode=compile $(COMPILE)

>Release-Note:

>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/43925: www/neon on Solaris 10 needs
 BROKEN_GETTEXT_DETECTION=yes and an additional patch
Date: Fri, 01 Oct 2010 21:00:00 +0900

 Could you look at config.log and find out why failed to detect `bind_textdomain_codeset
 in -lintl' on Solaris 10?

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Mon, 04 Oct 2010 13:47:55 +0000
Responsible-Changed-Why:
solaris pkgsrc problem.


From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/43925 (www/neon on Solaris 10 needs
 BROKEN_GETTEXT_DETECTION=yes and an additional patch)
Date: Mon, 04 Oct 2010 22:57:13 +0900

 I feel that gettext functions in Solaris 10 is well compatible with GNU gettext,
 and configure detect it in libc.
 But pkgsrc marked all Solaris gettext is incompatible with GNU gettext
 (_INCOMPAT_GETTEXT in devel/gettext-lib/builtin.mk),
 then devel/gettext-lib is installed and its intl.h is used,
 so failed to link.

From: NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
To: gnats-bugs@NetBSD.org
Cc: solaris-pkg-people@NetBSD.org, gnats-admin@NetBSD.org,
        pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/43925 (www/neon on Solaris 10 needs BROKEN_GETTEXT_DETECTION=yes and an additional patch)
Date: Tue, 12 Oct 2010 18:42:10 +0900

 As obache@ mentioned, Solaris's libc has its own gettext functions.
 I think "USE_BUILTIN.gettext=yes" is enough.

 Thanks!
 -- 
 NAKAJI Hiroyuki

From: Sergey Svishchev <svs@ropnet.ru>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/43925
Date: Tue, 26 Jun 2012 23:39:58 +0400

 Indeed, "USE_BUILTIN.gettext=yes" is enough on Solaris 10.

 -- 
 Sergey Svishchev

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.