From owner-freebsd-office@FreeBSD.ORG Wed Jul 25 17:44:28 2012 Return-Path: Delivered-To: office@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 087FF1065672 for ; Wed, 25 Jul 2012 17:44:28 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A9C2C8FC14; Wed, 25 Jul 2012 17:44:27 +0000 (UTC) Message-ID: <5010307A.5060201@FreeBSD.org> Date: Wed, 25 Jul 2012 13:44:26 -0400 From: Jung-uk Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120626 Thunderbird/13.0.1 MIME-Version: 1.0 To: Robert Huff References: <201207250428.q6P4S5bF067314@jerusalem.litteratus.org> <20495.30569.961857.578248@jerusalem.litteratus.org> In-Reply-To: <20495.30569.961857.578248@jerusalem.litteratus.org> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: office@freebsd.org Subject: Re: LibreOffice still not building X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 17:44:28 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-07-25 00:34:49 -0400, Robert Huff wrote: > > On: > > FreeBSD 10.0-CURRENT #0: Tue Jul 24 08:55:46 EDT 2012 amd64 > > and using the system clang, when building I get: > > > ============= (1/1) Building module icc ============= Entering > /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/icc > > Using system SampleICC, nothing to do here. Entering > /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/icc/source/create_sRGB_profile > > Making: create_sRGB_profile /usr/local/lib/libSampleICC.so: > undefined reference to > `std::__detail::_List_node_base::_M_unhook()@GLIBCXX_3.4.15' > /usr/local/lib/libSampleICC.so: undefined reference to > `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15' > > /usr/local/lib/libICC_utils.so: undefined reference to `std::ctype::_M_widen_init() const@GLIBCXX_3.4.11' > /usr/local/lib/libSampleICC.so: undefined reference to > `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, > std::__detail::_List_node_base*)@GLIBCXX_3.4.15' clang++: error: > linker command failed with exit code 1 (use -v to see invocation) > dmake: Error code 1, while making > '../../unxfbsd.pro/bin/create_sRGB_profile' > > ----------------------------------------------------------------------- > > 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 65280 occurred while making > /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/icc/source/create_sRGB_profile > > it seems that the error is inside 'icc', please re-run build > inside this module to isolate the error and/or test your fix: > ----------------------------------------------------------------------- > > I then do: > > /usr/local/bin/bash cd > /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3 > > source ./Env.Host.sh > cd icc rm -Rf > /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.5.3/icc/unxfbsd.pro > # optional module 'clean' build > > and get the same error. I thought this had been fixed with an > update to clang 3.1 .... [I think somebody explained it earlier but I will try again.] You built your graphics/sampleicc with GCC 4.6+. You need to rebuild it with a compiler from the base. Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAQMHoACgkQmlay1b9qnVNwwwCfXaVZxVWm63w+zEQ35qrvaz/B do8AoIeTFgzTq2/1/+/tjYSuj43rvHa/ =yw2h -----END PGP SIGNATURE-----