Hello,
I am trying to compile LibreOffice from master (commit
3b585737ff6bda7d28dd293465f5061ad5006f6e) but it will not work. I want to test
a patch that I developed for a bug that I found earlier. I have applied this
patch to the sources of 4.4.1.2 (from the tarball) and it works there. But I
also want to check if it works on HEAD. When I compile I get an error message
from the unit tests. And then when I run it, it crashes. So I wonder if HEAD is
supposed to be a working version.
And now the details.
I am working on a Macbook with Mac OS X 10.10.2 (Yosemite). I have run
./autogen.sh --with-ant-home=/Users/piet/Downloads/Developer/apache-ant-1.9.4
--with-junit=/Library/JUnit/junit-4.10.jar --enable-python=no
and then
make verbose=t 2>&1 | tee build3.log
I had to use --enable-python=no to compile it, otherwise thew compilation
failed (I will address this in a separate message).
The compilation ends with an error:
/Users/piet/Downloads/LibreOffice/core/postprocess/qa/services.cxx:231:(anonymous
namespace)::Test::test
forced failure
- creating "com.sun.star.wizards.agenda.CallWizard" caused
com.sun.star.uno.RuntimeException "unsatisfied query for interface of type
com.sun.star.loader.XImplementationLoader!"
/Users/piet/Downloads/LibreOffice/core/postprocess/qa/services.cxx:231:
Assertion
Test name: (anonymous namespace)::Test::test
forced failure
- creating "com.sun.star.wizards.agenda.CallWizard" caused
com.sun.star.uno.RuntimeException "unsatisfied query for interface of type
com.sun.star.loader.XImplementationLoader!"
Failures !!!
Run: 1 Failure total: 1 Failures: 1 Errors: 0
2015-03-08 06:09:16.039 cppunittester[45005:20238158] *** -[NSAutoreleasePool
release]: This pool has already been released, do not drain it (double release).
S=/Users/piet/Downloads/LibreOffice/core && I=$S/instdir && W=$S/workdir &&
mkdir -p $W/CppunitTest/ && rm -fr $W/CppunitTest/sd_export_tests.test.user &&
mkdir $W/CppunitTest/sd_export_tests.test.user &&
(DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH:+$DYLD_LIBRARY_PATH:}"$I/LibreOfficeDev.app/Contents/Frameworks:$I/LibreOfficeDev.app/Contents/Frameworks":$W/LinkTarget/Library:$W/UnpackedTarball/cppunit/src/cppunit/.libs
$W/LinkTarget/Executable/cppunittester
$W/LinkTarget/CppunitTest/libtest_sd_export_tests.dylib --headless
"-env:BRAND_BASE_DIR=file://$I/LibreOfficeDev.app/Contents"
"-env:BRAND_SHARE_SUBDIR=Resources"
"-env:UserInstallation=file://$W/CppunitTest/sd_export_tests.test.user"
"-env:CONFIGURATION_LAYERS=xcsxcu:file://$I/LibreOfficeDev.app/Contents/Resources/registry
xcsxcu:file://$W/unittest/registry"
"-env:UNO_TYPES=file://$I/LibreOfficeDev.app/Contents/Resources/types/offapi.rdb
file://$I/LibreOfficeDev.app/Contents/Resources/ure/share/misc/types.rdb"
"-env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb file://$W/Rdb/services.rdb"
-env:URE_INTERNAL_LIB_DIR=file://$I/LibreOfficeDev.app/Contents/Frameworks
-env:LO_LIB_DIR=file://$I/LibreOfficeDev.app/Contents/Frameworks
-env:LO_JAVA_DIR=file://$I/LibreOfficeDev.app/Contents/Resources/java
--protector $W/LinkTarget/Library/unoexceptionprotector.dylib
unoexceptionprotector --protector
$W/LinkTarget/Library/unobootstrapprotector.dylib unobootstrapprotector
--protector $W/LinkTarget/Library/libvclbootstrapprotector.dylib
vclbootstrapprotector "-env:SVG_DISABLE_FONT_EMBEDDING=YEAH" >
$W/CppunitTest/sd_export_tests.test.log 2>&1 || ( cat
$W/CppunitTest/sd_export_tests.test.log; $S/solenv/bin/unittest-failed.sh
Cppunit sd_export_tests MACOSX))
[build CUT] chart2_export
Error: a unit test failed, please do one of:
export DEBUGCPPUNIT=TRUE # for exception catching
export CPPUNITTRACE="lldb --" # for interactive debugging on OS X
export VALGRIND=memcheck # for memory checking
and retry using: make CppunitTest_services
make[1]: ***
[/Users/piet/Downloads/LibreOffice/core/workdir/CppunitTest/services.test]
Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [build] Error 2
Then when I run it it crashes:
~ $
~/Downloads/LibreOffice/core/instdir/LibreOfficeDev.app/Contents/MacOS/soffice
libc++abi.dylib: terminating with uncaught exception of type
com::sun::star::uno::DeploymentException
Abort trap: 6
I got a backtrace from the system:
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
abort() called
terminating with uncaught exception of type
com::sun::star::uno::DeploymentException
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff988c0286 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff927d7b53 abort + 129
2 libc++abi.dylib 0x00007fff964fda21 abort_message + 257
3 libc++abi.dylib 0x00007fff965259d1
default_terminate_handler() + 267
4 libobjc.A.dylib 0x00007fff9b1167eb _objc_terminate() +
124
5 libc++abi.dylib 0x00007fff965230a1
std::__terminate(void (*)()) + 8
6 libc++abi.dylib 0x00007fff96522b30 __cxa_throw + 121
7 libutllo.dylib 0x000000010af31925
com::sun::star::configuration::theDefaultProvider::get(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>
const&) + 357
8 libutllo.dylib 0x000000010af30ac2
utl::ConfigManager::acquireTree(utl::ConfigItem&) + 1058
9 libutllo.dylib 0x000000010af30ee4
utl::ConfigManager::addConfigItem(utl::ConfigItem&) + 68
10 libutllo.dylib 0x000000010af24822
utl::ConfigItem::ConfigItem(rtl::OUString const&, short) + 162
11 libutllo.dylib 0x000000010af79d96
SvtSysLocaleOptions_Impl::SvtSysLocaleOptions_Impl() + 70
12 libutllo.dylib 0x000000010af7bd39
SvtSysLocaleOptions::SvtSysLocaleOptions() + 89
13 libutllo.dylib 0x000000010afa4f94
SvtSysLocale_Impl::SvtSysLocale_Impl() + 36
14 libutllo.dylib 0x000000010afa57a9
SvtSysLocale::SvtSysLocale() + 57
15 libvcllo.dylib 0x000000010b366cca
ImplAllSettingsData::ImplAllSettingsData() + 522
16 libvcllo.dylib 0x000000010b367162
AllSettings::AllSettings() + 66
17 libvcllo.dylib 0x000000010b36be9b
Application::InitSettings(ImplSVData*) + 59
18 libvcllo.dylib 0x000000010b36bf5f
Application::GetSettings() + 31
19 libsofficeapp.dylib 0x00000001093d164e
desktop::Desktop::GetDesktopResManager() + 158
20 libsofficeapp.dylib 0x00000001093d3daa
desktop::Desktop::HandleBootstrapErrors(desktop::Desktop::BootstrapError,
rtl::OUString const&) + 1306
21 libsofficeapp.dylib 0x00000001093d6e10
desktop::Desktop::Main() + 288
22 libvcllo.dylib 0x000000010b36ed52 ImplSVMain() + 50
23 libvcllo.dylib 0x000000010b3dd1d4
AquaSalInstance::handleAppDefinedEvent(NSEvent*) + 84
24 libvcllo.dylib 0x000000010b412ec1 -[VCL_NSApplication
sendEvent:] + 321
25 com.apple.AppKit 0x00007fff9b316608 -[NSApplication run]
+ 711
26 com.apple.AppKit 0x00007fff9b301a14 NSApplicationMain +
1832
27 libvcllo.dylib 0x000000010b3dc529 ImplSVMainHook(int*)
+ 329
28 libvcllo.dylib 0x000000010b36f93a SVMain() + 26
29 libsofficeapp.dylib 0x0000000109403bc0 soffice_main + 224
30 org.libreoffice.script 0x0000000109358f20 main + 16
31 libdyld.dylib 0x00007fff96f845c9 start + 1
Is there anything I did wrong? What can I do to get a working version?
--
Piet van Oostrum <[email protected]>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice