<div dir="ltr"><div>I've tried building 5.2 with the suggested options disabled.  Everything seems to go okay until the module tests start.  Below is what I get:<br><br>[CUT] binaryurp_test-cache<br>/usr/ports/editors/libreoffice/work/libreoffice-5.2.3.3/basegfx/test/basegfx2d.cxx:145:basegfx2d::b2dsvgdimpex::impex<br>assertion failed<br>- Expression: aExport.equalsAscii(sExportString)<br>- exporting rectangle to SVG-D<br><br>/usr/ports/editors/libreoffice/work/libreoffice-5.2.3.3/basegfx/test/basegfx2d.cxx:825:basegfx2d::b2dpolygontools::testIsRectangle<br>assertion failed<br>- Expression: tools::isRectangle( aRect1 )<br>- checking rectangle-ness of rectangle 1<br><br>/usr/ports/editors/libreoffice/work/libreoffice-5.2.3.3/basegfx/test/boxclipper.cxx:235:basegfx2d::boxclipper::verifyPoly<br>assertion failed<br>- Expression: normalizePoly(aTmp2) == normalizePoly(aTmp1)<br>- disjunct<br><br>/usr/ports/editors/libreoffice/work/libreoffice-5.2.3.3/basegfx/test/clipstate.cxx:112:basegfx2d::clipstate::verifySimpleRange<br>assertion failed<br>- Expression: aTmp2 == aTmp1<br>- union<br><br>/usr/ports/editors/libreoffice/work/libreoffice-5.2.3.3/basegfx/test/clipstate.cxx:112:basegfx2d::clipstate::verifyMixedClips<br>assertion failed<br>- Expression: aTmp2 == aTmp1<br>- mixed clip<br><br>/usr/ports/editors/libreoffice/work/libreoffice-5.2.3.3/basegfx/test/genericclipper.cxx:101:basegfx2d::genericclipper::validateOr<br>assertion failed<br>- Expression: basegfx::tools::exportToSvgD(aRes, true, true, false) == aValid<br>- validateOr<br><br>/usr/ports/editors/libreoffice/work/libreoffice-5.2.3.3/basegfx/test/genericclipper.cxx:101:basegfx2d::genericclipper::validateXor<br>assertion failed<br>- Expression: basegfx::tools::exportToSvgD(aRes, true, true, false) == aValid<br>- validateXor<br><br>/usr/ports/editors/libreoffice/work/libreoffice-5.2.3.3/basegfx/test/genericclipper.cxx:101:basegfx2d::genericclipper::validateAnd<br>assertion failed<br>- Expression: basegfx::tools::exportToSvgD(aRes, true, true, false) == aValid<br>- validateAnd<br><br>/usr/ports/editors/libreoffice/work/libreoffice-5.2.3.3/basegfx/test/genericclipper.cxx:101:basegfx2d::genericclipper::validateDiff<br>assertion failed<br>- Expression: basegfx::tools::exportToSvgD(aRes, true, true, false) == aValid<br>- validateDiff<br><br>/usr/ports/editors/libreoffice/work/libreoffice-5.2.3.3/basegfx/test/genericclipper.cxx:142:basegfx2d::genericclipper::checkCrossoverSolver<br>assertion failed<br>- Expression: basegfx::tools::exportToSvgD( tools::solveCrossovers(aInputPoly), true, true, false) == aValid<br>- partially intersecting<br><br>basegfx2d.cxx:145:Assertion<br>Test name: basegfx2d::b2dsvgdimpex::impex<br>assertion failed<br>- Expression: aExport.equalsAscii(sExportString)<br>- exporting rectangle to SVG-D<br><br>basegfx2d.cxx:825:Assertion<br>Test name: basegfx2d::b2dpolygontools::testIsRectangle<br>assertion failed<br>- Expression: tools::isRectangle( aRect1 )<br>- checking rectangle-ness of rectangle 1<br><br>boxclipper.cxx:235:Assertion<br>Test name: basegfx2d::boxclipper::verifyPoly<br>assertion failed<br>- Expression: normalizePoly(aTmp2) == normalizePoly(aTmp1)<br>- disjunct<br><br>clipstate.cxx:112:Assertion<br>Test name: basegfx2d::clipstate::verifySimpleRange<br>assertion failed<br>- Expression: aTmp2 == aTmp1<br>- union<br><br>clipstate.cxx:112:Assertion<br>Test name: basegfx2d::clipstate::verifyMixedClips<br>assertion failed<br>- Expression: aTmp2 == aTmp1<br>- mixed clip<br><br>genericclipper.cxx:101:Assertion<br>Test name: basegfx2d::genericclipper::validateOr<br>assertion failed<br>- Expression: basegfx::tools::exportToSvgD(aRes, true, true, false) == aValid<br>- validateOr<br><br>genericclipper.cxx:101:Assertion<br>Test name: basegfx2d::genericclipper::validateXor<br>assertion failed<br>- Expression: basegfx::tools::exportToSvgD(aRes, true, true, false) == aValid<br>- validateXor<br><br>genericclipper.cxx:101:Assertion<br>Test name: basegfx2d::genericclipper::validateAnd<br>assertion failed<br>- Expression: basegfx::tools::exportToSvgD(aRes, true, true, false) == aValid<br>- validateAnd<br><br>genericclipper.cxx:101:Assertion<br>Test name: basegfx2d::genericclipper::validateDiff<br>assertion failed<br>- Expression: basegfx::tools::exportToSvgD(aRes, true, true, false) == aValid<br>- validateDiff<br><br>genericclipper.cxx:142:Assertion<br>Test name: basegfx2d::genericclipper::checkCrossoverSolver<br>assertion failed<br>- Expression: basegfx::tools::exportToSvgD( tools::solveCrossovers(aInputPoly), true, true, false) == aValid<br>- partially intersecting<br><br>Failures !!!<br>Run: 38   Failure total: 10   Failures: 10   Errors: 0<br><br>Error: a unit test failed, please do one of:<br>make CppunitTest_basegfx CPPUNITTRACE="gdb --args"<br>    # for interactive debugging on Linux<br>make CppunitTest_basegfx VALGRIND=memcheck<br>    # for memory checking<br>make CppunitTest_basegfx DEBUGCPPUNIT=TRUE<br>    # for exception catching<br><br>/usr/ports/editors/libreoffice/work/libreoffice-5.2.3.3/solenv/gbuild/CppunitTest.mk:99: recipe for target '/usr/ports/editors/libreoffice/work/libreoffice-5.2.3.3/workdir/CppunitTest/basegfx.test' failed<br>gmake[3]: *** [/usr/ports/editors/libreoffice/work/libreoffice-5.2.3.3/workdir/CppunitTest/basegfx.test] Error 1<br>gmake[3]: *** Waiting for unfinished jobs....<br>gmake[3]: Leaving directory '/usr/ports/editors/libreoffice/work/libreoffice-5.2.3.3'<br>Makefile:256: recipe for target 'build' failed<br>gmake[2]: *** [build] Error 2<br>gmake[2]: Leaving directory '/usr/ports/editors/libreoffice/work/libreoffice-5.2.3.3'<br>===> Compilation failed unexpectedly.<br>Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to<br>the maintainer.<br>*** Error code 1<br><br>Stop.<br>make[1]: stopped in /usr/ports/editors/libreoffice<br>*** Error code 1<br><br>Stop.<br>make: stopped in /usr/ports/editors/libreoffice<br>root@lenoil8:/usr/ports/editors/libreoffice # <br><br><br></div>Any ideas as to what's gone wrong?<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 18, 2016 at 7:04 PM, Tor Lillqvist <span dir="ltr"><<a href="mailto:tml@iki.fi" target="_blank">tml@iki.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div bgcolor="#FFFFFF"><font face="Helvetica, Arial, sans-serif" size="-1">i've tried building 5.2 which looks for firebird,</font></div></blockquote><div><br></div></span><div>Not if you use the --disable-firebird-sdbc configure option. </div><div><br></div><div>When doing a LibreOffice port to some new and/or exotic platform, it's a good idea to check what all non-essential features you can opt out from at start, to get core LibreOffice working first without wasting time on potentially hard-to-port less often used functionality.</div><div><br></div><div>This could be a start:</div><div><br></div><div><div>--disable-collada</div><div>--disable-firebird-sdbc</div><div>--disable-gltf</div><div>--disable-odk</div><div>--disable-pdfimport</div><div>--disable-postgresql-sdbc</div></div><div>--without-java</div><div><br></div><div>--tml</div><div><br></div></div></div></div>
</blockquote></div><br></div>