<div dir="ltr">Hello folks,<div><pre class="gmail-bz_comment_text" id="gmail-comment_text_0" style="width:50em;color:rgb(0,0,0)">We follow the building guide: <a href="https://wiki.documentfoundation.org/Development/lode" style="color:rgb(0,51,153)">https://wiki.documentfoundation.org/Development/lode</a>
By default, run `make check` everything is ok. It can build and run the app successfully.
But when building a MacOS publish version it failed:
```
core % cat distro-configs/LibreOfficeVanillaMacAppStore.conf >> autogen.input
core % cat autogen.input
--enable-debug
--disable-ext-numbertext
--disable-firebird-sdbc
--disable-lotuswordpro
--disable-lpsolve
--disable-odk
--disable-online-update
--disable-pdfimport
--disable-postgresql-sdbc
--enable-extension-integration
--enable-macosx-sandbox
--enable-mpl-subset
--enable-readonly-installset
--enable-release-build
--enable-symbols
--with-help
--with-myspell-dicts
--with-theme=sukapura
--with-vendor=Collabora
--without-java
--without-package-format
<span style="font-family:Arial,Helvetica,sans-serif">core % </span>./autogen.sh
<span style="font-family:Arial,Helvetica,sans-serif">core % </span>make check 2>&1 | tee build.log
make -j 12 -rs -f /Users/liuxl/work/lode/dev/core/Makefile.gbuild unitcheck slowcheck subsequentcheck check
...
file:///Users/liuxl/work/lode/dev/core//sw/qa/extras/htmlexport/data//xhtml-css.odt:
(anonymous namespace)::testXHTMLUseCSS::TestBody finished in: 472ms
/Users/liuxl/work/lode/dev/core/sw/qa/extras/htmlexport/htmlexport.cxx:3039: Assertion
Test name: (anonymous namespace)::testReqIF_ExportFormulasAsPDF::TestBody
equality assertion failed
- Expected: pdf_Portable_Document_Format
- Actual : generic_Text
Failures !!!
Run: 106 Failure total: 1 Failures: 1 Errors: 0
warn:vcl.schedule.deinit:84372:7077855:vcl/source/app/scheduler.cxx:176: DeInit task: Timer a: 1 p: 1 drawinglayer ImpTimedRefDev destroy mpVirDev 180000ms (0x600006782be0)
warn:vcl.schedule.deinit:84372:7077855:vcl/source/app/scheduler.cxx:176: DeInit task: Timer a: 1 p: 1 MemoryManager::MemoryManager maSwapOutTimer 1000ms (0x10ccdc3d8)
warn:vcl.schedule.deinit:84372:7077855:vcl/source/app/scheduler.cxx:176: DeInit task: Timer a: 1 p: 1 sc ScModule IdleTimer 150ms (0x12cd79340) (ignored)
warn:vcl.schedule.deinit:84372:7077855:vcl/source/app/scheduler.cxx:197: DeInit active tasks: 3 (ignored: 1)
Error: a unit test failed, please do one of:
make CppunitTest_sw_htmlexport CPPUNITTRACE="lldb --" # for interactive debugging on macOS
make CppunitTest_sw_htmlexport VALGRIND=memcheck # for memory checking
You can limit the execution to just one particular test by:
make CppunitTest_sw_htmlexport CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params...
make[1]: *** [/Users/liuxl/work/lode/dev/core/solenv/gbuild/CppunitTest.mk:130: /Users/liuxl/work/lode/dev/core/workdir/CppunitTest/sw_htmlexport.test] Error 1
make[1]: *** Waiting for unfinished jobs....
```</pre><pre class="gmail-bz_comment_text" id="gmail-comment_text_0" style="width:50em;color:rgb(0,0,0)">Also filed the bug here: <a href="https://bugs.documentfoundation.org/show_bug.cgi?id=161407">https://bugs.documentfoundation.org/show_bug.cgi?id=161407</a></pre><pre class="gmail-bz_comment_text" id="gmail-comment_text_0" style="width:50em;color:rgb(0,0,0)">Any pointers on this issue?</pre><pre class="gmail-bz_comment_text" id="gmail-comment_text_0" style="width:50em;color:rgb(0,0,0)"><br></pre><pre class="gmail-bz_comment_text" id="gmail-comment_text_0" style="width:50em;color:rgb(0,0,0)">Thanks,</pre><pre class="gmail-bz_comment_text" id="gmail-comment_text_0" style="width:50em;color:rgb(0,0,0)">Xinliang</pre></div></div>