From owner-freebsd-ports@FreeBSD.ORG Sat Aug 17 22:28:03 2013 Return-Path: Delivered-To: freebsd-ports@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 ESMTP id E4723DC1 for ; Sat, 17 Aug 2013 22:28:03 +0000 (UTC) (envelope-from niioka@kk.iij4u.or.jp) Received: from mfo.iij4u.or.jp (mfo10.iij4u.or.jp [210.138.174.80]) by mx1.freebsd.org (Postfix) with ESMTP id 9D46B2F45 for ; Sat, 17 Aug 2013 22:28:02 +0000 (UTC) Received: by mfo.iij4u.or.jp (mfo10) id r7HLvs8O012105; Sun, 18 Aug 2013 06:57:54 +0900 Received: by mo.iij4u.or.jp (mo10) id r7HLvlSp002698; Sun, 18 Aug 2013 06:57:47 +0900 Received: from localhost (w0109-49-135-166-57.uqwimax.jp [49.135.166.57]) by mbox.iij4u.or.jp (mbox10) id r7HLvgMe029412 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT); Sun, 18 Aug 2013 06:57:46 +0900 Date: Sun, 18 Aug 2013 06:57:25 +0900 (JST) Message-Id: <20130818.065725.758771615164437448.ken@iij4u.or.jp> To: freebsd-ports@FreeBSD.org Subject: Re: mozc-tool 1.11.1502.102 build fail From: Kenichi Niioka In-Reply-To: <20130807.224204.709676711689595385.ken@iij4u.or.jp> References: <20130807.224204.709676711689595385.ken@iij4u.or.jp> X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 22:28:04 -0000 From: niioka@kk.iij4u.or.jp Subject: mozc-tool 1.11.1502.102 build fail Date: Wed, 07 Aug 2013 22:42:04 +0900 (JST) > CXX(target) out_linux/Release/obj.target/word_register_dialog_lib/gui/word_register_dialog/word_register_dialog_libmain.o > AR(target) out_linux/Release/obj.target/gui/libcharacter_pad_lib.a > AR(target) out_linux/Release/obj.target/client/libclient.a > AR(target) out_linux/Release/obj.target/gui/libconfig_dialog_lib.a > AR(target) out_linux/Release/obj.target/session/libkey_parser.a > AR(target) out_linux/Release/obj.target/session/libkeymap.a > AR(target) out_linux/Release/obj.target/session/libkey_event_util.a > AR(target) out_linux/Release/obj.target/gui/libdictionary_tool_lib.a > AR(target) out_linux/Release/obj.target/gui/libgui_base.a > AR(target) out_linux/Release/obj.target/gui/libpost_install_dialog_lib.a > AR(target) out_linux/Release/obj.target/gui/libset_default_dialog_lib.a > AR(target) out_linux/Release/obj.target/gui/libword_register_dialog_lib.a > CXX(target) out_linux/Release/obj.target/mozc_tool/gui/tool/mozc_tool_main.o > LINK(target) out_linux/Release/mozc_tool > /usr/bin/ld: : invalid DSO for symbol `libiconv_open' definition > /usr/local/lib/libiconv.so.3: could not read symbols: Bad value > c++: error: linker command failed with exit code 1 (use -v to see invocation) > gmake[4]: *** [out_linux/Release/mozc_tool] Error 1 I tried following patch on FreeBSD 10.0-CURRENT r254221 amd64. I'm not sure whether it is the right way or not. But it seems to be fine. Thanks. --- japanese/mozc-server/Makefile.orig 2013-08-17 21:33:36.000000000 +0900 +++ japanese/mozc-server/Makefile 2013-08-17 21:38:00.000000000 +0900 @@ -16,7 +16,8 @@ LICENSE_FILE= ${WRKSRC}/third_party/gyp/ EXTRACT_DEPENDS=${PYTHON_CMD}:${PYTHON_PORTSDIR} LIB_DEPENDS= protobuf:${PORTSDIR}/devel/protobuf \ - zinnia:${PORTSDIR}/japanese/zinnia + zinnia:${PORTSDIR}/japanese/zinnia \ + iconv:${PORTSDIR}/converters/libiconv RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils USES= pkgconfig iconv @@ -24,7 +25,7 @@ USE_BZIP2= yes USE_GMAKE= yes USE_PYTHON_BUILD=yes USE_OPENSSL= yes - +LDFLAGS+= -L${LOCALBASE}/lib -liconv BUILD_MOZC_LIST?= mozc_server -- Kenichi Niioka