https://bugs.documentfoundation.org/show_bug.cgi?id=161407

            Bug ID: 161407
           Summary: Build LO publish version failed on MacOS M2 pro
           Product: LibreOffice
           Version: 24.8.0.0 alpha1+ Master
          Hardware: ARM
                OS: macOS (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 194532
  --> https://bugs.documentfoundation.org/attachment.cgi?id=194532&action=edit
Build log

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

when 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
./autogen.sh 
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....



```

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to