The cppunit test testCVEs in sc/qa/ucalc.cxx fails in sc for me. The test will be commented for now, so that the other tests can be re-enabled without breaking the build for everyone. @kohei: Could you have a look at the issue? I might very well be that it fails because of my configure/whatever, but for now I wanted to get the other test back ASAP.
To re-enable the test, please revert commit 61f3ffa098242b7ecb790645899e90d7493d52a0. http://cgit.freedesktop.org/libreoffice/calc/commit/?id=61f3ffa098242b7ecb790645899e90d7493d52a0
assign to kohei. please reassign as appropriate.
sc filter searches for libscfilt.so beside the launching binary, hence its not beside it anymore with the different dirs, etc.
fixed in master
closing
I am reopening this bug since testCVE is failing every time on BSD and people reported some breakage on different linux distros too. [ build LNK ] CppunitTest/libtest_sc_ucalc.so R=/home/robert/libreoffice && S=$R/bootstrap && O=$S/solver/350/unxobsd.pro && W=$O/workdir && mkdir -p $W/LinkTarget/CppunitTest/ && g++ -shared -Wl,-z,noexecstack -Wl,-rpath-link,/lib:/usr/lib -Wl,-z,combreloc -L$S/solenv/unxobsd/lib -L$O/lib -L$S/solenv/unxobsd/lib -L/usr/local/lib -L/usr/X11R6/lib -Wl,--strip-all -Wl,-O1 $W/CxxObject/sc/qa/unit/ucalc.o @$W/LinkTarget/Library/libsclo.so.objectlist -Wl,--start-group -Wl,--end-group -lcppunit -lcppunit -lavmedialo -lbasegfxlo -lcomphelpgcc3 -luno_cppu -luno_cppuhelpergcc3 -ldrawinglayerlo -leditenglo -lforlo -lforuilo -li18nisolang1gcc3 -luno_sal -luno_salhelpergcc3 -lsblo -lsfxlo -lsotlo -lsvllo -lsvtlo -lsvxlo -lsvxcorelo -ltklo -ltllo -lucbhelper4gcc3 -lutllo -lvbahelperlo -lvcllo -lxolo -pthread -o $W/LinkTarget/CppunitTest/libtest_sc_ucalc.so TEMPFILE=/tmp/gbuild.hpA2A8 && cat /home/robert/libreoffice/bootstrap/solver/350/unxobsd.pro/workdir/LinkTarget/Library/libsclo.so.objectlist >> ${TEMPFILE} && mv ${TEMPFILE} /home/robert/libreoffice/bootstrap/solver/350/unxobsd.pro/workdir/LinkTarget/CppunitTest/libtest_sc_ucalc.so.objectlist [ build CUT ] sc_ucalc R=/home/robert/libreoffice && S=$R/bootstrap && O=$S/solver/350/unxobsd.pro && W=$O/workdir && mkdir -p $W/CppunitTest/ && LD_LIBRARY_PATH=$O/lib STAR_RESOURCEPATH=$O/bin/ $O/bin/cppunit/cppunittester $W/LinkTarget/CppunitTest/libtest_sc_ucalc.so --headless --invisible "-env:UNO_TYPES= file://$O/bin/udkapi.rdb file://$O/bin/types.rdb" "-env:UNO_SERVICES=file://$O/xml/ure/services.rdb file://$W/RdbTarget/sc_ucalc.rdb" -env:URE_INTERNAL_LIB_DIR=file://$O/lib -env:OOO_BASE_DIR=file://$O/lib -env:BRAND_BASE_DIR=file://$O/lib > $W/CppunitTest/sc_ucalc.test.log 2>&1 || (cat $W/CppunitTest/sc_ucalc.test.log && false) terminate called after throwing an instance of 'com::sun::star::registry::InvalidRegistryException' Abort trap (core dumped)
its not really super-helpful to just state "it fails", there's nothing there to work with. Backtraces ?
what's the current status here, still broken ? I just fixed a problem with windows and attempting to remove a file which was still open.
oh, better add the right cc's
Does this still fail?
Those are enabled by default nowadays.