Build LO publish version failed on MacOS M2 pro

Xinliang Liu xinliang.liu at linaro.org
Tue Jun 4 08:31:16 UTC 2024


Hello folks,

We follow the building guide:
https://wiki.documentfoundation.org/Development/lode

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-formatcore % ./autogen.sh core % 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....

```

Also filed the bug here:
https://bugs.documentfoundation.org/show_bug.cgi?id=161407

Any pointers on this issue?


Thanks,

Xinliang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20240604/2face242/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 1636791 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20240604/2face242/attachment-0001.obj>


More information about the LibreOffice mailing list