LibreOffice fails to build on Mac OS

florino florin.ochiana at yahoo.com
Mon May 5 07:05:28 PDT 2014


Hi,

I'm trying to build the current version of LibreOffice on a Mac OS X 10.9.2
with XCode 5.1.1.

After a sync of the current repository I do ./autogen.sh --without-junit and
then make. 

The build process usually stops at sw_ooxmlexport, sw_ooxmlimport,
sw_rtfexport or sw_rtfimport.

Error: a unit test failed, please do one of:

export DEBUGCPPUNIT=TRUE            # for exception catching
export CPPUNITTRACE="gdb --args"    # for interactive debugging on Linux
export CPPUNITTRACE="\"[full path to devenv.exe]\" /debugexe" # for
interactive debugging in Visual Studio
export VALGRIND=memcheck            # for memory checking

and retry using: make CppunitTest_sw_rtfexport

make[1]: ***
[/Users/florinochiana/Docs/InstaEdit/core.mac/workdir/CppunitTest/sw_rtfexport.test]
Error 1


Error: a unit test failed, please do one of:

export DEBUGCPPUNIT=TRUE            # for exception catching
export CPPUNITTRACE="gdb --args" # for interactive debugging on linux
export CPPUNITTRACE=""[full path to devenv.exe]" /debugexe" # for
interactive debugging in Visual Studio
export VALGRIND=memcheck            # for memory checking

and retry using: make CppunitTest_sw_ooxmlimport

make[1]: ***
[/Users/florinochiana/Docs/InstaEdit/core.mac.4.2.4/workdir/CppunitTest/sw_ooxmlimport.test]
Error 1
make[1]: *** Waiting for unfinished jobs....

I tried to clone an older version of LibreOffice (4.2.4) and do a build but
that also stopped in the same place.

I tried running make verbose=1 and I see that the lines where these tests
are executed get segmentation fault error or bus error.

/bin/sh: line 1: 14672 Bus error: 10          
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH:+$DYLD_LIBRARY_PATH:}"$I/LibreOfficeDev.app/Contents/ure-link/lib:$I/LibreOfficeDev.app/Contents/MacOS":$W/LinkTarget/Library:$W/UnpackedTarball/cppunit/src/cppunit/.libs
$W/LinkTarget/Executable/cppunittester
$W/LinkTarget/CppunitTest/libtest_sw_ooxmlimport.dylib --headless
"-env:BRAND_BASE_DIR=file://$I/LibreOfficeDev.app/Contents"
"-env:BRAND_SHARE_SUBDIR=share"
"-env:UserInstallation=file://$W/CppunitTest/sw_ooxmlimport.test.user"
"-env:CONFIGURATION_LAYERS=xcsxcu:file://$I/LibreOfficeDev.app/Contents/share/registry
xcsxcu:file://$W/unittest/registry"
"-env:UNO_TYPES=file://$I/LibreOfficeDev.app/Contents/MacOS/types/offapi.rdb
file://$I/LibreOfficeDev.app/Contents/ure-link/share/misc/types.rdb"
"-env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb
file://$W/ComponentTarget/basic/util/sb.component
file://$W/ComponentTarget/chart2/source/controller/chartcontroller.component
file://$W/ComponentTarget/chart2/source/chartcore.component
file://$W/ComponentTarget/canvas/source/factory/canvasfactory.component
file://$W/ComponentTarget/comphelper/util/comphelp.component
file://$W/ComponentTarget/configmgr/source/configmgr.component
file://$W/ComponentTarget/drawinglayer/drawinglayer.component
file://$W/ComponentTarget/embeddedobj/util/embobj.component
file://$W/ComponentTarget/filter/source/config/cache/filterconfig1.component
file://$W/ComponentTarget/forms/util/frm.component
file://$W/ComponentTarget/framework/util/fwk.component
file://$W/ComponentTarget/i18npool/util/i18npool.component
file://$W/ComponentTarget/linguistic/source/lng.component
file://$W/ComponentTarget/oox/util/oox.component
file://$W/ComponentTarget/package/source/xstor/xstor.component
file://$W/ComponentTarget/package/util/package2.component
file://$W/ComponentTarget/sax/source/expatwrap/expwrap.component
file://$W/ComponentTarget/sw/util/sw.component
file://$W/ComponentTarget/sw/util/swd.component
file://$W/ComponentTarget/sw/util/msword.component
file://$W/ComponentTarget/sfx2/util/sfx.component
file://$W/ComponentTarget/starmath/util/sm.component
file://$W/ComponentTarget/svl/source/fsstor/fsstorage.component
file://$W/ComponentTarget/svl/util/svl.component
file://$W/ComponentTarget/svtools/util/svt.component
file://$W/ComponentTarget/svx/util/svx.component
file://$W/ComponentTarget/svx/util/svxcore.component
file://$W/ComponentTarget/toolkit/util/tk.component
file://$W/ComponentTarget/ucb/source/core/ucb1.component
file://$W/ComponentTarget/ucb/source/ucp/file/ucpfile1.component
file://$W/ComponentTarget/unotools/util/utl.component
file://$W/ComponentTarget/unoxml/source/service/unoxml.component
file://$W/ComponentTarget/writerfilter/util/writerfilter.component
file://$W/ComponentTarget/xmloff/util/xo.component"
-env:URE_INTERNAL_LIB_DIR=file://$I/LibreOfficeDev.app/Contents/ure-link/lib
-env:LO_LIB_DIR=file://$I/LibreOfficeDev.app/Contents/MacOS
-env:LO_JAVA_DIR=file://$I/LibreOfficeDev.app/Contents/MacOS/classes
--protector $W/LinkTarget/Library/unoexceptionprotector.dylib
unoexceptionprotector --protector
$W/LinkTarget/Library/unobootstrapprotector.dylib unobootstrapprotector >
$W/CppunitTest/sw_ooxmlimport.test.log 2>&1

I tried searching the web for these errors but found nothing. Anyone knows
what else I can try?

Thank you



--
View this message in context: http://nabble.documentfoundation.org/LibreOffice-fails-to-build-on-Mac-OS-tp4107660.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list