On 10-stable (FreeBSD 10.2-STABLE #0 r290265M on amd64) and portupgrade()d ports I can't build editors/libreoffice with base clang nor with clang36 from ports. I thought that rebuilt all it's dependencies, but no luck. Tried with minimal options (default CUPS and CTK2) and my default (CUPS, GTK2, VERBOSE, JAVA). Can't figure out, what else need to be rebuilt (or fixed any other way). I had working libreoffice4 before this. Compilation stops with these errors: [build CUT] cppu_qa_any Segmentation fault (core dumped) OK (39) No core file identified in directory /usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/CppunitTest/basegfx.test.core To show backtraces for crashes during test execution, enable core files with: ulimit -c unlimited 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_basegfx /usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/solenv/gbuild/CppunitTest.mk:87: recipe for target '/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/CppunitTest/basegfx.test' failed gmake[3]: *** [/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/CppunitTest/basegfx.test] Error 1 gmake[3]: *** Waiting for unfinished jobs.... Segmentation fault (core dumped) OK (6) No core file identified in directory /usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/CppunitTest/comphelper_syntaxhighlight_test.test.core To show backtraces for crashes during test execution, enable core files with: ulimit -c unlimited 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_comphelper_syntaxhighlight_test /usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/solenv/gbuild/CppunitTest.mk:87: recipe for target '/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/CppunitTest/comphelper_syntaxhighlight_test.test' failed gmake[3]: *** [/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/CppunitTest/comphelper_syntaxhighlight_test.test] Error 1 Segmentation fault (core dumped) OK (12) No core file identified in directory /usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/CppunitTest/comphelper_test.test.core To show backtraces for crashes during test execution, enable core files with: ulimit -c unlimited 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_comphelper_test /usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/solenv/gbuild/CppunitTest.mk:87: recipe for target '/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/CppunitTest/comphelper_test.test' failed gmake[3]: *** [/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/CppunitTest/comphelper_test.test] Error 1
I have the same issue today - on FreeBSD-11.1/i386. The builds of editors/libreoffice (5.3.3) are dying due to crashes of cppunittester-executable. Depending on the options, the crash happens in different tests.
Created attachment 183202 [details] Stack from cppunittester.core Here is the stack from a sample cppunittester.core I'm finding in CppunitTest/sw_odfimport.test.core/ after a build failure...
I turned off all unit test by default, i.e., r442891. It should work around your build issues.
Is this still relevant? Or is it solved? If it is solved, please close here.