Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Nov 2015 02:47:57 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        waitman@waitman.net, bugzilla-noreply@freebsd.org
Cc:        office@freebsd.org
Subject:   Re: maintainer-feedback requested: [Bug 204353] can't build editors/libreoffice
Message-ID:  <563DACAD.6090806@FreeBSD.org>
In-Reply-To: <549441718294e0cf7fd88064578930c4.squirrel@mx.waitman.net>
References:  <bug-204353-25061@https.bugs.freebsd.org/bugzilla/> <bug-204353-25061-9Td0zjp7Qy@https.bugs.freebsd.org/bugzilla/> <549441718294e0cf7fd88064578930c4.squirrel@mx.waitman.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 11/07/2015 02:21, Waitman Gobble wrote:
> Running all the unit tests is retarded in my opinion, it takes 75%
> of the build time for no reason (IMHO). A few years ago I posted a
> way to build without the unit tests, the tests should be a port
> option I think.

Actually, CppUnit tests were turned off for 4.x but I turned them back
on for 5.0 because many FreeBSD users are suffering from ABI
incompatibility issues with mixing g++-compiled binaries and
clang++-compiled binaries.  In other words, I actually wanted to make
them fail at compile-time, not at run-time.

Jung-uk Kim

> On Fri, November 6, 2015 11:11 pm, bugzilla-noreply@freebsd.org
> wrote:
>> gja822@narod.ru has reassigned Bugzilla Automation 
>> <bugzilla@FreeBSD.org>'s request for maintainer-feedback to
>> office@FreeBSD.org: Bug 204353: can't build editors/libreoffice 
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204353
>> 
>> 
>> 
>> 
>> --- Description --- 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/Cppun
itTes
>>
>> 
t/bas egfx.test.core To show backtraces for crashes during test executio
n,
>> 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
/Cpp
>>
>> 
unitTe st.mk:87:
>> recipe for target 
>> '/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/Cppu
nitT
>>
>> 
est/ba segfx.test' failed gmake[3]: ***
>> [/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/Cppu
nitTe
>>
>> 
st/ba segfx.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/Cppun
itTes
>>
>> 
t/com phelper_syntaxhighlight_test.test.core To show backtraces for cras
hes
>> 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
/Cpp
>>
>> 
unitTe st.mk:87:
>> recipe for target 
>> '/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/Cppu
nitT
>>
>> 
est/co mphelper_syntaxhighlight_test.test' failed gmake[3]: ***
>> [/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/Cppu
nitTe
>>
>> 
st/co mphelper_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/Cppun
itTes
>>
>> 
t/com phelper_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
/Cpp
>>
>> 
unitTe st.mk:87:
>> recipe for target 
>> '/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/Cppu
nitT
>>
>> 
est/co mphelper_test.test' failed gmake[3]: ***
>> [/usr/ports/editors/libreoffice/work/libreoffice-5.0.3.2/workdir/Cppu
nitTe
>>
>> 
st/co mphelper_test.test] Error 1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJWPayoAAoJEHyflib82/FGpNYH/RTs00cwLMb3KI2tOkMI/KPK
vtENUyfcTBmSXCnR1+Mox7w90793c/hZ0RTRVIMmjVH21nYID11C+VuEeB685ikK
lX++3PbxXHrv8QRD1YehkEDDl6d53+CJbEjTnyFc0+OGcxgqsFpa+A4Cxezlaezh
YbPC/VabXcK7fwSe+Lyog6l7S/Id2Fp5YuqxMhSkopC7PL23eUC82l016asVj+mI
EZzk0Wz/FIWub7IWo/aYtLfUUaxDh9In2F/Dywarad7YgqO+qdq/R/Qpaict/VZQ
fqLmx/tk+Cd3+4q9gZaw8nQQbwimw8tkdBI3oWNJGuZCZ4MqfwFvFAt9BH5cALA=
=r+ki
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?563DACAD.6090806>