Date: Tue, 05 Feb 2013 12:57:59 -0500 From: Jung-uk Kim <jkim@FreeBSD.org> To: Jakub Lach <jakub_lach@mailplus.pl> Cc: freebsd-office@freebsd.org Subject: Re: libreoffice 3.6.5 update fail, 9-STABLE amd64 (with gcc47 works) Message-ID: <51114827.5020802@FreeBSD.org> In-Reply-To: <1360066236929-5784049.post@n5.nabble.com> References: <1360066236929-5784049.post@n5.nabble.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51114827.5020802>