1. git fetch origin && git reset --hard origin/master
2. autogen.input:
--enable-dbgutil
--enable-debug
--enable-symbols
--disable-cve-tests
--without-junit
--with-build-version=$(date +"MacD%Y-%m-%d")
--with-vendor=Almas Inc.
--enable-scripting-javascript
#EOF
#comment: because I've always failed building MacOS without "build-nocheck" 
option, and guessing from previous error messages, I thought junit test could 
be the problem, so I disabled that in autogen.input.

autogen.sh finished with:
...
To build, run:
/Users/almas/lode/opt/bin/make

To view some help, run:
/Users/almas/lode/opt/bin/make help

After the build of LibreOffice has finished successfully, you can immediately 
run LibreOffice using the command:
open instdir/LibreOfficeDev.app

If you want to run the smoketest, run:
/Users/almas/lode/opt/bin/make check

*************************************
* WARNING : Cannot find Clang headers to build compiler plugins, plugins 
disabled.
* WARNING : no suitable nasm (Netwide Assembler) found for internal 
libjpeg-turbo
#EOF

3. ${LODE_HOME}/opt/bin/make clean && ${LODE_HOME}/opt/bin/make -s 
ENABLE_SYMBOLS=true dbglevel=2
finished with:
...
build_20180404-16:28:02.log:12025:/Users/almas/lode/dev/core/svl/source/items/stylepool.cxx:345:11:
 error: field 'mnCount' will be initialized after field 'mpIgnorableItems' 
[-Werror,-Wreorder]
build_20180404-16:28:02.log-12026-          mnCount(0),
build_20180404-16:28:02.log-12027-          ^
--
build_20180404-16:28:02.log-12026-          mnCount(0),
build_20180404-16:28:02.log-12027-          ^
build_20180404-16:28:02.log:12028:1 error generated.
build_20180404-16:28:02.log-12029-/Users/almas/lode/dev/core/solenv/gbuild/LinkTarget.mk:291:
 recipe for target 
'/Users/almas/lode/dev/core/workdir/CxxObject/svl/source/items/stylepool.o' 
failed
--
build_20180404-16:28:02.log-12029-/Users/almas/lode/dev/core/solenv/gbuild/LinkTarget.mk:291:
 recipe for target 
'/Users/almas/lode/dev/core/workdir/CxxObject/svl/source/items/stylepool.o' 
failed
build_20180404-16:28:02.log:12030:make[1]: *** 
[/Users/almas/lode/dev/core/workdir/CxxObject/svl/source/items/stylepool.o] 
Error 1
build_20180404-16:28:02.log-12031-make[1]: *** Waiting for unfinished jobs....
build_20180404-16:28:02.log-12032-Makefile:282: recipe for target 'build' failed
--
build_20180404-16:28:02.log-12031-make[1]: *** Waiting for unfinished jobs....
build_20180404-16:28:02.log-12032-Makefile:282: recipe for target 'build' failed
build_20180404-16:28:02.log:12033:make: *** [build] Error 2


OS and Xcode tools are all updated, how can I make LO build succeed on MacOS 
High Sierra 10.13.4?
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to