[blfs-support] help with LibreOffice-5.0.x cppunit test build failure ALWAYS

luxInteg lux-integ at btconnect.com
Thu Oct 15 01:52:34 PDT 2015


Greetings,

I have beed struggling to build libreoffice-5.0.x on a blfs setup.  I tried 
libreoffice5.0.1.2  and eventially decided to try 5.0.2.2.  Both give the same 
resul.t.

The computer has these:
--cpu amd64 2 cores, 8Gbytes DDr3 RAM
--gcc-4.8.1, linux-4.2.1, kde-4.14.3, 




The build fails like so:-

#-------------------------------------------------

DynamicLibraryManagerException: "Failed to load dynamic library: 
/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/LinkTarget/CppunitTest/libtest_vcl_app_test.so
"
Path is 
'/opt/kde/bin:/opt/qt4/bin:/opt/apache/bin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/opt/openJDK/bin:/usr/X11R7.7/bin'
which: no gdb in 
(/opt/kde/bin:/opt/qt4/bin:/opt/apache/bin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/opt/openJDK/bin:/usr/X11R7.7/bin 
)
You need gdb in your path to show backtraces

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 VALGRIND=memcheck            # for memory checking

and retry using: make CppunitTest_vcl_app_test

make[1]: *** 
[/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/CppunitTest/vcl_app_test.test] 
Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [build] Error 2


#-------------------------------------------------



I did the following
################

export PATH=/usr/bin:$PATH
export CPPUNITTRACE="gdb"    # for interactive debugging on Linux

 make CppunitTest_vcl_app_test  2>&1 | tee  /LOGS/WP708-E0B-
libreoffice-5.0.2.2logMAKE



linteg [ ~/BUILD_LO/libreoffice-5.0.2.2 ]$  make CppunitTest_vcl_app_test  
2>&1 | tee  /LOGS/WP12708-E0B-libreoffice-5.0.2.2-wp13-logMAKE
make -j 2 -rs -f /home/linteg/BUILD_LO/libreoffice-5.0.2.2/Makefile.gbuild 
CppunitTest_vcl_app_test
[build CUT] vcl_app_test
gdb: unrecognized option '--headless'
Use `gdb --help' for a complete list of options.
make[1]: *** 
[/home/linteg/BUILD_LO/libreoffice-5.0.2.2/workdir/CppunitTest/vcl_app_test.test] 
Error 1
make: *** [CppunitTest_vcl_app_test] Error 2
linteg [ ~/BUILD_LO/libreoffice-5.0.2.2 ]$ 

################

I dont   where '-- headless' appeared from and I have'nt the foggiest idea of 
the options to pass to gdb.



builds have been tried with:- 
-- a) downloaded cppunit-1.13.2
-- n) passing  --with-system-cppunit   (already i /usr ) to ./configure

all give the same result.

Help/advice would be appreciated.

Sincerely
LuxInteg


More information about the blfs-support mailing list