This appears to be a bug in older versions of the xpath library. I have a patch but I won't get around to committing it until Tuesday. Mstahl may beat me to it :)<div><br></div><div>For now just ignore it. <span></span><br><br>On Friday, 3 April 2015, David Gerard <<a href="mailto:dgerard@gmail.com">dgerard@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I routinely run LO master, compiled from source (because I can). I run<br>
Xubuntu 14.04.<br>
<br>
On my old laptop (which has successfully compiled LO from git for the<br>
past year or so), I was getting this error:<br>
<br>
====<br>
xmltesttools.cxx:70:Assertion<br>
Test name: testSectionProtection::Import_Export_Import<br>
equality assertion failed<br>
- Expected: 1<br>
- Actual  : 2<br>
- In <file:///tmp/lu1i6q7w.tmp>, XPath '//w:formProt[1]' number of<br>
nodes is incorrect<br>
<br>
Failures !!!<br>
Run: 106   Failure total: 1   Failures: 1   Errors: 0<br>
<br>
Error: a unit test failed, please do one of:<br>
<br>
export DEBUGCPPUNIT=TRUE            # for exception catching<br>
export CPPUNITTRACE="gdb --args"    # for interactive debugging on Linux<br>
export VALGRIND=memcheck            # for memory checking<br>
<br>
and retry using: make CppunitTest_sw_ooxmlexport5<br>
<br>
make[1]: *** [/home/fun/libreoffice/workdir/CppunitTest/sw_ooxmlexport5.test]<br>
Error 1<br>
make[1]: *** Waiting for unfinished jobs....<br>
make: *** [build] Error 2<br>
====<br>
<br>
I tried "make clean" (just in case of artifacts messing something up),<br>
tried again and it still happened.<br>
<br>
As it happened I got a new laptop yesterday, fresh Xubuntu, git cloned<br>
LO afresh and tried again ... and got the same error. This has been<br>
happening since Wednesday evening or so.<br>
<br>
I presume because it hasn't been fixed that it's not happening for<br>
everyone. Is it happening for anyone else?<br>
<br>
I note this commit by Miklos Vajna, related to this error:<br>
<br>
<a href="http://cgit.freedesktop.org/libreoffice/core/commit/?id=3a54090f1ef4469cf824fcdb22c100c49d2ab7db
CppunitTest_sw_ooxmlexport5" target="_blank">http://cgit.freedesktop.org/libreoffice/core/commit/?id=3a54090f1ef4469cf824fcdb22c100c49d2ab7db<br>
CppunitTest_sw_ooxmlexport5</a>: try to make MacOSX_37-tdf-buildbot happy<br>
<br>
Presumably this was to fix the same problem on MacOSX.<br>
<br>
So ... what's going on with my setup? (I have both laptops here for<br>
the weekend and can test stuff.)<br>
<br>
<br>
- d.<br>
_______________________________________________<br>
LibreOffice mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'LibreOffice@lists.freedesktop.org')">LibreOffice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</blockquote></div>