From owner-freebsd-office@FreeBSD.ORG Thu Feb 7 00:52:00 2013 Return-Path: Delivered-To: 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 7B4E34EB for ; Thu, 7 Feb 2013 00:52:00 +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 2FBBF84C; Thu, 7 Feb 2013 00:52:00 +0000 (UTC) Message-ID: <5112FA50.4040209@FreeBSD.org> Date: Wed, 06 Feb 2013 19:50:24 -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: AN Subject: Re: libreoffice update fails References: <5111416B.6030901@FreeBSD.org> <5111AEF4.10307@FreeBSD.org> <5112B963.4010109@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: 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: Thu, 07 Feb 2013 00:52:00 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2013-02-06 19:27:00 -0500, AN wrote: > On Wed, 6 Feb 2013, Jung-uk Kim wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >> >> On 2013-02-05 20:16:36 -0500, Jung-uk Kim wrote: >>> On 2013-02-05 19:03:01 -0500, AN wrote: >>>> The build is still failing. >>> >>>> FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #33 >>>> r246130: Wed Jan 30 15:00:08 EST 2013 >>>> root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64 >>> >>> ... >>> >>>> gmake[2]: *** >>>> [/tmp/lobuild/workdir/unxfbsd.pro/CustomTarget/testtools/uno_test.done] >>> >>>> >>> >>> >>>> Segmentation fault (core dumped) >>> >>> ... >>> >>> Hmm, interesting... You can try this patch to bypass the >>> test: >>> >>> http://svn.redports.org/office/editors/libreoffice/files/patch-testtools__Module_testtools.mk >>> >> >> >>> Committed >>> >> (r311792). Make sure to turn off C++ unit tests, i.e., unset >> CPPUNIT option. >> >> Jung-uk Kim > > Hi JKim: > > Ok, your patch worked LO builds for me now. However there are > still problems. If I select "About Libreoffice" from the help menu > the program crashes with: # soffice terminate called after throwing > an instance of > 'com::sun::star::loader::CannotActivateFactoryException' Again, it is most likely caused by C++ library inconsistency. > Also, the spellcheck function does not work for me. Does > spellcheck work for you? Yes, it works. > You wrote to me in another email "Mixing binaries built with > different C++ headers/libraries is nothing but asking for trouble. > When people build it from pristine environment, they don't > experience this type of build problems because of that reason. > Probably you can fix the problem by rebuilding all dependencies > with *base* compiler." > > How would I fix the problem by rebuilding all dependencies with > *base* compiler? > > # cat /etc/make.conf #FETCH_CMD=axel #FETCH_BEFORE_ARGS= -n 5 -a > #DISABLE_SIZE=yes > > # added by use.perl 2012-12-05 00:36:53 PERL_VERSION=5.16.2 > > #.include "/usr/local/etc/port_sites.conf" > > QT4_OPTIONS= QGTKSTYLE MALLOC_PRODUCTION=yes > > OVERRIDE_LINUX_BASE_PORT=f10 You can list all dependencies with the following command: pkg info -dq libreoffice Rebuild them with your favorite port management tool, e.g., portmaster. > How did I end up Mixing binaries built with different C++ > headers/libraries, was it by building LO with GCC? Most likely, yes. > Anyway thank you for trying to help me fix this problem. It's too > frustrating right now. I'll just use LO in a Linux virtual machine > for now. I'll stop bothering you with this problem :) No problem. Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJREvpQAAoJECXpabHZMqHOlHcH/3qGvCjvBe3Tvvi7+FecHE1m WzGFsovhUqp1ddaPouBOzxIGS6Rlf1d9DS0J0trDuidH87CtIfB9GXPptqijuufq OLX1wj0yA9hx1ZoKa6aCWOzY0bP8Tm0CFZWFH+80qA4IpR+L1Oizy50dWVGvQ/sw wpzXhw3u9cLKHThcHUVhjHYvJ2ADk9/UD6PrNO0W0xzNMLYYuXX66b7e/Mrd93bR xmZR6s/uhaWs5WucD9YVJOona3Pffx8DEJnW4qVL1HlScr1JWrpuYLQp72JzYLDG 5lWALobRWdZ0W44tk6z3obA9cx0fa0Ej5+6gVWyOnf0O1MczVSWymFMN5AIJhTI= =A3ux -----END PGP SIGNATURE-----