libreoffice update fails

Jung-uk Kim jkim at FreeBSD.org
Thu Feb 7 00:52:00 UTC 2013


-----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 at 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-----


More information about the freebsd-office mailing list