<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<div id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hello Tietze,</p>
<p style="margin-top:0;margin-bottom:0">I update Macbook to latest 10.13.4 and also xcode tools.</p>
<p style="margin-top:0;margin-bottom:0">I unset CCACHE_CPP2, removed gcc installed from brew.</p>
<p style="margin-top:0;margin-bottom:0">still get make error saying:</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div>...</div>
<div>checking whether C++11 use of const_iterator in standard containers is broken... yes</div>
<div>checking whether /Users/almas/lode/opt/bin/ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -m64  -stdlib=libc++ -mmacosx-version-min=10.9 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
 has broken static initializer_list support... yes</div>
<div>configure: error: working support for static initializer_list needed</div>
<div>Error running configure at /Users/almas/lode/dev/core/autogen.sh line 289.</div>
<div>Makefile:55: recipe for target '/Users/almas/lode/dev/core/config_host.mk' failed</div>
<div>make: *** [/Users/almas/lode/dev/core/config_host.mk] Error 2</div>
#EOF
<p></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><span>Regarding your reply:<span style="color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont; font-size: 14.6667px;">To purge all modifications do
 "git fetch --all && git reset --hard origin/master".</span></span></p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span>will "git reset --hard origin/master" undo changes already made in custom branches?</span><br>
</p>
<p style="margin-top:0;margin-bottom:0"><span>I was cherry-picking from branch A to branch B, 3 week ago.</span></p>
<p style="margin-top:0;margin-bottom:0"><span>After the first <span style="font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">
cherry-pick, I "make && make install" successfully in branch B.</span></span></p>
<p style="margin-top:0;margin-bottom:0"><span><span style="font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">But make
 failed with errors on locally unmodified files, I thought updating the local master branch will help resolve those issues.</span></span></p>
<p style="margin-top:0;margin-bottom:0"><span><span style="font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">So I did
 "./g pull -r" mistakenly on then-current branch B, which got error because of unstaged modification that are cherry-picks.</span></span></p>
<p style="margin-top:0;margin-bottom:0"><span>Then, I switched to branch master, and did <span style="font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">"./g
 pull -r</span><span style="font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">", after update, I still get  "<span style="font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">C++11
 use of const_iterator in standard containers is broken" and similar errors.</span></span></span></p>
<p style="margin-top:0;margin-bottom:0"><span><span style="font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span style="font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><br>
</span></span></span></p>
g<span style="font-size: 12pt;">cc -v:</span>
<div>Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1</div>
<div>Apple LLVM version 9.1.0 (clang-902.0.39.1)</div>
<div>Target: x86_64-apple-darwin17.5.0</div>
<div>Thread model: posix</div>
<div>InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin</div>
<br>
<div>make -v</div>
<div>GNU Make 4.1</div>
<div>Built for x86_64-apple-darwin17.3.0</div>
<div>Copyright (C) 1988-2014 Free Software Foundation, Inc.</div>
<div>License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html></div>
<div>This is free software: you are free to change and redistribute it.</div>
<div>There is NO WARRANTY, to the extent permitted by law.</div>
<br>
Will I better off "reset hard", then "make && make install", and only after make succeeded, start over(do from the beginning?) cherry-pick?</div>
<div id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" dir="ltr">
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Heiko Tietze <tietze.heiko@gmail.com><br>
<b>Sent:</b> Thursday, March 29, 2018 10:33 PM<br>
<b>To:</b> Ch g; libreoffice@lists.freedesktop.org<br>
<b>Subject:</b> Re: autogen.sh fails on MacOS 10.13.3</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">To purge all modifications do "git fetch --all && git reset --hard origin/master". There are no reasons AFAIK to rerun autogen.sh.<br>
<br>
On 29.03.2018 12:12, Ch g wrote:<br>
> Hello all, I first built LO official source successfully with "build-nocheck" option in this January, and could start that built<br>
> <br>
> app. But last week, I cherry-picked 3 commits from a forked repo which enabled vertical Mongolian editing, then make failed with errors occurred in unedited files. So, I thought maybe "./g pull r" could resolve those issues, but not.<br>
> <br>
> <br>
> My settings are following:<br>
> <br>
>  <br>
> <br>
> autogen.input:<br>
> <br>
> --enable-dbgutil<br>
> --enable-symbols<br>
> --disable-cve-tests<br>
> #EOF<br>
> <br>
> <br>
> last few lines of <br>
> <br>
> ./autogen.sh:<br>
> <br>
> checking for Google Drive client id and secret... set<br>
> checking for Alfresco Cloud client id and secret... set<br>
> checking for OneDrive client id and secret... set<br>
> checking whether to enable dependency tracking... yes<br>
> checking for number of processors to use... 4<br>
> checking whether C++11 use of const_iterator in standard containers is broken... yes<br>
> checking whether /Users/almas/lode/opt/bin/ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -m64  -stdlib=libc++ -mmacosx-version-min=10.9 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
 has broken static initializer_list support... yes<br>
> configure: error: working support for static initializer_list needed<br>
> Error running configure at ./autogen.sh line 293.<br>
> #EOF<br>
> <br>
> <br>
> CFLAGS, CXXFLAGS and CPPFLAGS are unset.<br>
> <br>
> <br>
> which g++: /usr/local/opt/ccache/libexec/g++<br>
> <br>
> <br>
> gcc 7.3 was installed via homebrew and <br>
> <br>
> cd /usr/local/Cellar/gcc/7.3.0_1/bin && ln -s gcc-7 gcc && ln -s g++-7 g++<br>
> <br>
> g++ --version<br>
> g++ (Homebrew GCC 7.3.0_1) 7.3.0<br>
> <br>
> gcc --version<br>
> gcc (Homebrew GCC 7.3.0_1) 7.3.0<br>
> <br>
> I'm stuck now, I have many more commits for vertical Mongolian editing to cherry-pick to continue my work.<br>
> <br>
> I hope anyone could give solutions to me.<br>
> <br>
> Thank you.<br>
> <br>
> <br>
> <br>
> _______________________________________________<br>
> LibreOffice mailing list<br>
> LibreOffice@lists.freedesktop.org<br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice" id="LPlnk105923" previewremoved="true">
https://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
> <br>
<br>
-- <br>
Dr. Heiko Tietze<br>
UX designer<br>
Tel. +49 (0)179/1268509<br>
<br>
</div>
</span></font></div>
</div>
</div>
</div>
</body>
</html>