Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


Hello Tietze,

I update Macbook to latest 10.13.4 and also xcode tools.

I unset CCACHE_CPP2, removed gcc installed from brew.

still get make error saying:

...
checking whether C++11 use of const_iterator in standard containers is broken... yes
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
configure: error: working support for static initializer_list needed
Error running configure at /Users/almas/lode/dev/core/autogen.sh line 289.
Makefile:55: recipe for target '/Users/almas/lode/dev/core/config_host.mk' failed
make: *** [/Users/almas/lode/dev/core/config_host.mk] Error 2
#EOF


Regarding your reply:To purge all modifications do "git fetch --all && git reset --hard 
origin/master".


will "git reset --hard origin/master" undo changes already made in custom branches?

I was cherry-picking from branch A to branch B, 3 week ago.

After the first cherry-pick, I "make && make install" successfully in branch B.

But make failed with errors on locally unmodified files, I thought updating the local master branch 
will help resolve those issues.

So I did "./g pull -r" mistakenly on then-current branch B, which got error because of unstaged 
modification that are cherry-picks.

Then, I switched to branch master, and did "./g pull -r", after update, I still get  "C++11 use of 
const_iterator in standard containers is broken" and similar errors.


gcc -v:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.1.0 (clang-902.0.39.1)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

make -v
GNU Make 4.1
Built for x86_64-apple-darwin17.3.0
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Will I better off "reset hard", then "make && make install", and only after make succeeded, start 
over(do from the beginning?) cherry-pick?

________________________________
From: Heiko Tietze <tietze.heiko@gmail.com>
Sent: Thursday, March 29, 2018 10:33 PM
To: Ch g; libreoffice@lists.freedesktop.org
Subject: Re: autogen.sh fails on MacOS 10.13.3

To purge all modifications do "git fetch --all && git reset --hard origin/master". There are no 
reasons AFAIK to rerun autogen.sh.

On 29.03.2018 12:12, Ch g wrote:
Hello all, I first built LO official source successfully with "build-nocheck" option in this 
January, and could start that built

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.


My settings are following:



autogen.input:

--enable-dbgutil
--enable-symbols
--disable-cve-tests
#EOF


last few lines of

./autogen.sh:

checking for Google Drive client id and secret... set
checking for Alfresco Cloud client id and secret... set
checking for OneDrive client id and secret... set
checking whether to enable dependency tracking... yes
checking for number of processors to use... 4
checking whether C++11 use of const_iterator in standard containers is broken... yes
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
configure: error: working support for static initializer_list needed
Error running configure at ./autogen.sh line 293.
#EOF


CFLAGS, CXXFLAGS and CPPFLAGS are unset.


which g++: /usr/local/opt/ccache/libexec/g++


gcc 7.3 was installed via homebrew and

cd /usr/local/Cellar/gcc/7.3.0_1/bin && ln -s gcc-7 gcc && ln -s g++-7 g++

g++ --version
g++ (Homebrew GCC 7.3.0_1) 7.3.0

gcc --version
gcc (Homebrew GCC 7.3.0_1) 7.3.0

I'm stuck now, I have many more commits for vertical Mongolian editing to cherry-pick to continue 
my work.

I hope anyone could give solutions to me.

Thank you.



_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


--
Dr. Heiko Tietze
UX designer
Tel. +49 (0)179/1268509


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.