Bug 161407 - Build LO publish version failed on MacOS M2 pro
Summary: Build LO publish version failed on MacOS M2 pro
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha1+
Hardware: ARM macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-04 04:09 UTC by xin3liang
Modified: 2024-06-05 11:38 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Build log (1.56 MB, text/plain)
2024-06-04 04:09 UTC, xin3liang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xin3liang 2024-06-04 04:09:13 UTC
Created attachment 194532 [details]
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....



```
Comment 1 Buovjaga 2024-06-04 06:26:11 UTC
Build issues belong to the developer list: https://wiki.documentfoundation.org/QA/BugReport#Not_all_bugs_go_to_Bugzilla

So please at least send a mail there referring to this report.
Comment 2 xin3liang 2024-06-04 08:37:42 UTC
(In reply to Buovjaga from comment #1)
> Build issues belong to the developer list:
> https://wiki.documentfoundation.org/QA/BugReport#Not_all_bugs_go_to_Bugzilla
> 
> So please at least send a mail there referring to this report.

Thanks, Buovjaga. Just sent this building issue to the developer list.
Comment 3 Stéphane Guillou (stragu) 2024-06-05 11:38:00 UTC
Did Cloph's reply on the mailing list help at all?