Build LO publish version failed on MacOS M2 pro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-format
core % ./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

Attachment: build.log
Description: Binary data


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux