From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 20 06:10:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 42FC9673 for ; Thu, 20 Feb 2014 06:10:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2B2C1167C for ; Thu, 20 Feb 2014 06:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1K6A0mh082165 for ; Thu, 20 Feb 2014 06:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1K6A0MD082164; Thu, 20 Feb 2014 06:10:00 GMT (envelope-from gnats) Date: Thu, 20 Feb 2014 06:10:00 GMT Message-Id: <201402200610.s1K6A0MD082164@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: =?ISO-2022-JP?B?GyRCRmJGI000MGxPOhsoQg==?= Subject: Re: ports/186563: databases/postgis21: error: use of undeclared identifier 'ICONV_SET_TRANSLITERATE' X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: =?ISO-2022-JP?B?GyRCRmJGI000MGxPOhsoQg==?= List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Feb 2014 06:10:01 -0000 The following reply was made to PR ports/186563; it has been noted by GNATS. From: =?ISO-2022-JP?B?GyRCRmJGI000MGxPOhsoQg==?= To: bug-followup@FreeBSD.org, ohartman@zedat.fu-berlin.de Cc: Subject: Re: ports/186563: databases/postgis21: error: use of undeclared identifier 'ICONV_SET_TRANSLITERATE' Date: Thu, 20 Feb 2014 15:07:36 +0900 --089e01538a7a67ab3b04f2d0524b Content-Type: text/plain; charset=ISO-8859-1 Hello. I'm facing same problem on FreeBSD 10.0-R. For quick fix, please apply following path. --- Makefile.org 2014-02-20 14:22:22.000000000 +0900 +++ Makefile 2014-02-20 14:24:56.000000000 +0900 @@ -19,7 +19,7 @@ USE_GNOME= libxml2 USE_PGSQL= yes -USES= gmake iconv perl5 pkgconfig +USES= gmake iconv:wchar_t perl5 pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes USE_PERL5= build This problem occurs when all following conditions are satisfied. 1. on FreeBSD 10.0-R or later (means base system has iconv library) 2. converters/libiconv is installed 3. a ports application is using iconvctl() function. For the condition 1. and 2. , ports/Mk/Uses/iconv.mk adds 'CFLAGS+=-DLIBICONV_PLUG' . LIBICONV_PLUG undefines iconvctl() and ICONV_SET_TRANSLITERATE in /usr/local/include/iconv.h This is the reason of the compile error. But I'm not sure this path is correct fix by the following reasons. a) postgis does not need wchar_t conversion. (Making iconv:iconvctl option is better solution?) b) if postgis configure does not detect iconvctl() function, they do not use iconvctl() and the defenitions. (I should make a problem report of autoconf ?) -- Yuichiro NAITO (naito.yuichiro@gmail.com) --089e01538a7a67ab3b04f2d0524b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello.

I'm facing same problem = on FreeBSD 10.0-R.
For quick fix, please apply following path.
=
--- Makefile.org=A0=A0=A0 2014-02-20 14:22:22.000000000 +0900
+++ Ma= kefile=A0=A0=A0 2014-02-20 14:24:56.000000000 +0900
@@ -19,7 +19,7 @@
=A0
=A0USE_GNOME=3D=A0=A0=A0 libxml2
=A0USE_PGSQ= L=3D=A0=A0=A0 yes
-USES=3D=A0=A0=A0 =A0=A0=A0 gmake iconv perl5 pkgconfi= g
+USES=3D=A0=A0=A0 =A0=A0=A0 gmake iconv:wchar_t perl5 pkgconfig
=A0= USE_LDCONFIG=3D=A0=A0=A0 yes
=A0GNU_CONFIGURE=3D=A0=A0=A0 yes
=A0USE_PERL5=3D=A0=A0=A0 build

This problem occurs when all followin= g conditions are=A0 satisfied.
=A0 1. on FreeBSD 10.0-R or later (m= eans base system has iconv library)
=A0 2. converters/libicon= v is installed
=A0 3. a ports application is using iconvctl() function.

For the condition 1. and 2.= =A0 , ports/Mk/Uses/iconv.mk adds 'CFLA= GS+=3D-DLIBICONV_PLUG' .
LIBICONV_PLUG undefines iconvctl() and ICONV_SET_TRANSLITERATE= =A0 in /usr/local/include/iconv.h

This is the reason of t= he compile error.

But I'm not sure this path is = correct fix by the following reasons.

=A0a) postgis does not need wchar_t conversion.
=A0=A0=A0=A0=A0 (Making iconv:iconvctl option is better solution?)<= br>
=A0b) if postgis configure does not detect iconvctl() fun= ction, they=A0 do not use iconvctl() and the defenitions.
=A0=A0=A0=A0=A0 (I should make a problem report of autoconf ?)


--
Yuichiro NAITO
(naito.yuichiro@gmail.com)
--089e01538a7a67ab3b04f2d0524b--