From owner-freebsd-office@FreeBSD.ORG Tue Feb 5 17:59:33 2013 Return-Path: Delivered-To: freebsd-office@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1B70EE29 for ; Tue, 5 Feb 2013 17:59:33 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id B9034D4C; Tue, 5 Feb 2013 17:59:32 +0000 (UTC) Message-ID: <51114827.5020802@FreeBSD.org> Date: Tue, 05 Feb 2013 12:57:59 -0500 From: Jung-uk Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130128 Thunderbird/17.0.2 MIME-Version: 1.0 To: Jakub Lach Subject: Re: libreoffice 3.6.5 update fail, 9-STABLE amd64 (with gcc47 works) References: <1360066236929-5784049.post@n5.nabble.com> In-Reply-To: <1360066236929-5784049.post@n5.nabble.com> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-office@freebsd.org X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2013 17:59:33 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2013-02-05 07:10:36 -0500, Jakub Lach wrote: > With base clang: > > ============= (31/40) Building module cli_ure ============= > Entering > /usr/obj/usr/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/cli_ure/inc > > Entering > /usr/obj/usr/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/cli_ure/version > > cp version.txt ../unxfbsd.pro/bin/cliureversion.mk cli_ure > deliver Module 'cli_ure' delivered successfully. 1 files copied, 4 > files unchanged > > ----------------------------------------------------------------------- > > Oh dear - something failed during the build - sorry ! > For more help with debugging build errors, please see the section > in: http://wiki.documentfoundation.org/Development > > internal build errors: > > ERROR: error 512 occurred while making > /usr/obj/usr/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/l10ntools/prj > > it seems that the error is inside 'l10ntools', please re-run > build inside this module to isolate the error and/or test your > fix: > > build_error.log should contain the captured output of the failed > module(s) > > ----------------------------------------------------------------------- > > To rebuild a specific module: > > gmake l10ntools.clean # optional gmake l10ntools > > Built with gcc47 it works, albeit core dumps on "About Libreoffice" > page. > > Most of dependencies were build with gcc47, but on second test > build I've enabled clang for all ports, no difference. > > Isolated ln10tools problem with clang: > > (gmake l10ntools) > > http://pastebin.com/XReFMHck - --- SNIP --- ... /usr/local/lib/libclucene-core.so: undefined reference to `std::__detail::_List_node_base::_M_unhook()@GLIBCXX_3.4.15' /usr/local/lib/libclucene-core.so: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15' clang++: error: linker command failed with exit code 1 (use -v to see invocation) ... This is one of those "you shall not mix and match C++ compilers, STL headers, and libraries" issues. Basically, libclucene-core.so is looking for symbols from libstdc++.so of different origin, probably gcc47. Please try this: ldd /usr/local/lib/libclucene-core.so.2.3.3.4 objdump -p /usr/local/lib/libclucene-core.so.2.3.3.4 and show me the output to confirm. If you just want to quickly fix the build problem, you may rebuild and reinstall textproc/clucene with the *base* GCC compiler and try again. Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJREUgnAAoJECXpabHZMqHOk3AH/3vQ3KvtNr+Ylc8SeyZZKUPN 6HxGxBpm3zzPfIvrSdAcoNLvmIDLT6tlHjEwUFbtLyAf602rIbCGyouzepI6xXcb sc/OFIywvUOxeScgQRr0RFWKAsqniCbsItWYCuhJbypEo0QjJ3MpSpY6ni7/IOXb 5LfHITCGK1aQp6ZVPcN7DYBTyzytFW6RAhZYxxrc7+5xQMpiQY5WNXO0ZVXG6Ho9 30LF0zrwOIUx0ZPc4cgnfZiEdy7KRaXNbJkTdXNloKKs/6AoZmmJl79+Sh9qJI9k 6iyjNbV0vLLpqJq48KleFVF7ezs6rCGywXB/VIcwYC786lor+k6KQdx8ZlrXO1M= =h4uD -----END PGP SIGNATURE-----