make fails on MacOS 10.13.4 with c++11 related issues

Ch g prsvrrgtd at outlook.com
Wed Apr 4 01:08:52 UTC 2018


Even after "git clean -df" and "git fetch origin && git reset --hard origin/master",

${LODE_HOME}/opt/bin/make clean && ${LODE_HOME}/opt/bin/make GMAKE_OPTIONS='VERBOSE=1'

finished with 2 errors:

...
Failures !!!
Run: 33   Failure total: 2   Failures: 2   Errors: 0
warn:vcl.schedule.deinit:40079:1791628:vcl/source/app/scheduler.cxx:166: DeInit task: Timer a: 1 p: 1 drawinglayer ImpTimedRefDev destroy mpVirDev 180000ms (0x7ff08d2a8020)
warn:vcl.schedule.deinit:40079:1791628:vcl/source/app/scheduler.cxx:166: DeInit task: Timer a: 1 p: 1 svtools::GraphicCache maReleaseTimer 10000ms (0x7ff08baa72a0) (ignored)
warn:vcl.schedule.deinit:40079:1791628:vcl/source/app/scheduler.cxx:166: DeInit task: Timer a: 1 p: 1 sc ScModule IdleTimer 150ms (0x7ff08eb78d68) (ignored)
warn:vcl.schedule.deinit:40079:1791628:vcl/source/app/scheduler.cxx:182: DeInit active tasks: 3 (ignored: 2)
warn:fwk.desktop:40079:1791628:framework/source/services/desktop.cxx:1068: Desktop disposed before terminating it
2018-04-03 23:49:25.565 cppunittester[40079:1791628] *** -[NSAutoreleasePool release]: This pool has already been released, do not drain it (double release).
warn:unotools.config:40079:1791628:unotools/source/config/configmgr.cxx:168: ConfigManager not empty

Error: a unit test failed, please do one of:
make CppunitTest_sw_htmlexport CPPUNITTRACE="lldb --"       # for interactive debugging on OS X
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...

/Users/almas/lode/dev/core/solenv/gbuild/CppunitTest.mk:114: recipe for target '/Users/almas/lode/dev/core/workdir/CppunitTest/sw_htmlexport.test' failed
make[1]: *** [/Users/almas/lode/dev/core/workdir/CppunitTest/sw_htmlexport.test] Error 1
make[1]: *** Waiting for unfinished jobs....
rm /Users/almas/lode/dev/core/workdir/CustomTarget/registry/regcompare_test/psb.urd /Users/almas/lode/dev/core/workdir/CustomTarget/registry/regcompare_test/other2.urd /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.brk /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/char_in.brk /Users/almas/lode/dev/core/workdir/CustomTarget/registry/regcompare_test/usb.urd /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.brk /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/edit_word.txt /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/count_word.brk /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.brk /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/dict_word.txt /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/line.txt /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.brk /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/char.brk /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/sent.brk /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.brk /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/char_in.txt /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.brk /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/char.txt /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/sent.txt /Users/almas/lode/dev/core/workdir/CustomTarget/registry/regcompare_test/pe.urd /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/edit_word.brk /Users/almas/lode/dev/core/workdir/CustomTarget/registry/regcompare_test/other1.urd /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.txt /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.txt /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.txt /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.txt /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/count_word.txt /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/dict_word.brk /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/line.brk /Users/almas/lode/dev/core/workdir/CustomTarget/registry/regcompare_test/ue.urd /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.txt /Users/almas/lode/dev/core/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.txt /Users/almas/lode/dev/core/workdir/CustomTarget/registry/regcompare_test/psa.urd /Users/almas/lode/dev/core/workdir/CustomTarget/registry/regcompare_test/usa.urd
make[1]: Leaving directory '/Users/almas/lode/dev/core'
Makefile:282: recipe for target 'build' failed
make: *** [build] Error 2


I've never get make finished without errors on MacBook 2011 without option "build-nocheck".

https://wiki.documentfoundation.org/Development/GenericBuildingHints#Build_system_internals says:

Development/GenericBuildingHints - The Document Foundation ...<https://wiki.documentfoundation.org/Development/GenericBuildingHints#Build_system_internals>
wiki.documentfoundation.org
This command is to save all the output of the make into a file (build.log), so that you can go back to it later to investigate if needed. Also with a fresh git clone, downloading and corresponding make might take some time.


Checks

make performs a number of checks (e.g. unit tests). That is a subset make check tests. There is a build-nocheck switch that disables the checks when building. It may speed up the build considerably. However, it should definitely not be used when building for the first time, because otherwise you may miss a problem with your setup that will give you a build with strange behavior that nobody else sees.

$ make build-nocheck

It's very likely that future partial builds after cherry-picks result in errors either.
Should I remove $LODE_HOME and start over from the very beginning again or how to get make work?

________________________________
From: tlillqvist at gmail.com <tlillqvist at gmail.com> on behalf of Tor Lillqvist <tml at iki.fi>
Sent: Monday, April 2, 2018 5:54 PM
To: Ch g
Cc: Noel Grandin; libreoffice at lists.freedesktop.org
Subject: Re: make fails on MacOS 10.13.4 with c++11 related issues



On 2 April 2018 at 11:17, Ch g <prsvrrgtd at outlook.com<mailto:prsvrrgtd at outlook.com>> wrote:

I noticed several invalid option, Valgrind, header file not found errors by "grep -C 5 error config.log", the related output are:

That is normal. That is what the configure script does, figures out what options are valid. (Among other things.)

--tml

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20180404/93351cf0/attachment.html>


More information about the LibreOffice mailing list