Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QGIS 2.18.11 fails to build #258

Closed
nextstopsun opened this issue Aug 11, 2017 · 26 comments

Comments

@nextstopsun
Copy link

commented Aug 11, 2017

Still no luck in building qgis.
Building with

brew install --with-grass --with-isolation --with-qspatialite --with-r qgis2

Logs here:
https://gist.github.com/e13c6853f7580eee9730b6099e3e0618

@dakcarto

This comment has been minimized.

Copy link
Member

commented Aug 12, 2017

Hi @nextstopsun, thanks for reporting!

Not able to replicate here on 10.11.6. Trying that config on 10.12.6. However, I can not find any error in your logs (other than final one on make exit), or anything that points to an issue.

Could you have run out of disk space or RAM?

@ReneMalenfant

This comment has been minimized.

Copy link

commented Aug 12, 2017

Same problem here. Dies at 92% with no informative error message when using brew install qgis2 --with-grass --with-saga-gis-lts
https://gist.github.com/9ec905dc6bb317183a51b5ac53ebeb13

@cbertelli

This comment has been minimized.

Copy link

commented Aug 12, 2017

I have another issue on MacOS 10.9.5, maybe related to yours, but anyway with the same result:
Error: osgeo/osgeo4mac/qgis2 contains conflicting version recursive dependencies: qwt-qt4, qwt-qt4@5.2
I had qwt-qt4@6.3 and got the same conflict, I installed qwt-qt4@5.2 which is in the same tap, but the error is still there.

@xanthoes

This comment has been minimized.

Copy link

commented Aug 12, 2017

Not much to contribute. I'm having the same issue: Dies at 92% with no noticeable errors... just:
make: *** [all] Error 2

@luispuerto

This comment has been minimized.

Copy link
Collaborator

commented Aug 12, 2017

here what I got

==> Installing qgis2 from osgeo/osgeo4mac
==> Downloading https://github.com/qgis/QGIS/archive/final-2_18_11.tar.gz
==> Downloading from https://codeload.github.com/qgis/QGIS/tar.gz/final-2_18_11
######################################################################## 100.0%
==> cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cella
==> make
Last 15 lines from /Users/lpuerto/Library/Logs/Homebrew/qgis2/02.make:
cd /tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DHAVE_PGCONFIG=1 -DQGISDEBUG=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WEBKIT_LIB -DQT_XML_LIB -DWITH_QTWEBKIT -DWITH_QWTPOLAR -Dqgis_app_EXPORTS -isystem /usr/local/Cellar/qt-4/4.8.7/include -iframework /usr/local/Cellar/qt-4/4.8.7/lib -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtSvg -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtWebKit -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtGui -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtXml -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtSql -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtNetwork -isystem /usr/local/Cellar/qt-4/4.8.7/lib/QtCore.framework/Headers -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/composer -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/legend -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/pluginmanager -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app/../ui -isystem /usr/local/opt/qwt-qt4/lib/qwt.framework/Headers -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtUiTools -isystem /usr/local/opt/qscintilla2-qt4/libexec/include -isystem /tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/core/gps/qextserialport -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../analysis/raster -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../analysis/openstreetmap -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/auth -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/gps -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/composer -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/dxf -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/geometry -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/layertree -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/raster -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/symbology-ng -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/symbology-ng -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/attributetable -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/auth -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/raster -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/editorwidgets -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/editorwidgets/core -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/layertree -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../plugins -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../python -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/gps -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/openstreetmap -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/dwg -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/dwg/libdxfrw -isystem /usr/local/opt/libspatialite/include -isystem /usr/local/opt/sqlite/include -isystem /usr/local/opt/proj/include -isystem /usr/local/opt/geos/include -isystem /usr/local/opt/gdal2/include -isystem /usr/local/opt/qwtpolar-qt4/lib/qwtpolar.framework/Headers -isystem /usr/local/opt/qca-qt4/lib/qca.framework/Headers -isystem /usr/local/Cellar/postgresql/9.6.4/include -F/usr/local/opt/qwt-qt4/lib -F/usr/local/opt/qwtpolar-qt4/lib  -isystem /usr/local/Cellar/grass7/7.2.1/grass-base/include -isystem /usr/local/opt/gettext/include -F/usr/local/opt/qt-4/lib -DSPATIALITE_VERSION_GE_4_0_0 -DSPATIALITE_VERSION_G_4_1_1 -DSPATIALITE_HAS_INIT_EX -std=c++11 -Wno-error=c++11-narrowing -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.11 -fPIC -fvisibility=hidden   -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT= -DANALYSIS_EXPORT=  -DCUSTOMWIDGETS_EXPORT= -DSERVER_EXPORT= "-DAPP_EXPORT=__attribute__ ((visibility (\"default\")))" -F/usr/local/opt/qca-qt4/lib  -o CMakeFiles/qgis_app.dir/pluginmanager/moc_qgspluginsortfilterproxymodel.cxx.o -c /tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app/pluginmanager/moc_qgspluginsortfilterproxymodel.cxx
[ 92%] Building CXX object src/app/CMakeFiles/qgis_app.dir/pluginmanager/moc_qgspluginitemdelegate.cxx.o
cd /tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DHAVE_PGCONFIG=1 -DQGISDEBUG=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WEBKIT_LIB -DQT_XML_LIB -DWITH_QTWEBKIT -DWITH_QWTPOLAR -Dqgis_app_EXPORTS -isystem /usr/local/Cellar/qt-4/4.8.7/include -iframework /usr/local/Cellar/qt-4/4.8.7/lib -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtSvg -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtWebKit -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtGui -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtXml -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtSql -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtNetwork -isystem /usr/local/Cellar/qt-4/4.8.7/lib/QtCore.framework/Headers -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/composer -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/legend -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/pluginmanager -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app/../ui -isystem /usr/local/opt/qwt-qt4/lib/qwt.framework/Headers -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtUiTools -isystem /usr/local/opt/qscintilla2-qt4/libexec/include -isystem /tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/core/gps/qextserialport -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../analysis/raster -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../analysis/openstreetmap -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/auth -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/gps -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/composer -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/dxf -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/geometry -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/layertree -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/raster -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/symbology-ng -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/symbology-ng -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/attributetable -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/auth -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/raster -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/editorwidgets -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/editorwidgets/core -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/layertree -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../plugins -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../python -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/gps -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/openstreetmap -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/dwg -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/dwg/libdxfrw -isystem /usr/local/opt/libspatialite/include -isystem /usr/local/opt/sqlite/include -isystem /usr/local/opt/proj/include -isystem /usr/local/opt/geos/include -isystem /usr/local/opt/gdal2/include -isystem /usr/local/opt/qwtpolar-qt4/lib/qwtpolar.framework/Headers -isystem /usr/local/opt/qca-qt4/lib/qca.framework/Headers -isystem /usr/local/Cellar/postgresql/9.6.4/include -F/usr/local/opt/qwt-qt4/lib -F/usr/local/opt/qwtpolar-qt4/lib  -isystem /usr/local/Cellar/grass7/7.2.1/grass-base/include -isystem /usr/local/opt/gettext/include -F/usr/local/opt/qt-4/lib -DSPATIALITE_VERSION_GE_4_0_0 -DSPATIALITE_VERSION_G_4_1_1 -DSPATIALITE_HAS_INIT_EX -std=c++11 -Wno-error=c++11-narrowing -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.11 -fPIC -fvisibility=hidden   -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT= -DANALYSIS_EXPORT=  -DCUSTOMWIDGETS_EXPORT= -DSERVER_EXPORT= "-DAPP_EXPORT=__attribute__ ((visibility (\"default\")))" -F/usr/local/opt/qca-qt4/lib  -o CMakeFiles/qgis_app.dir/pluginmanager/moc_qgspluginitemdelegate.cxx.o -c /tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app/pluginmanager/moc_qgspluginitemdelegate.cxx
[ 92%] Building CXX object src/app/CMakeFiles/qgis_app.dir/moc_qgsnewspatialitelayerdialog.cxx.o
cd /tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DHAVE_PGCONFIG=1 -DQGISDEBUG=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WEBKIT_LIB -DQT_XML_LIB -DWITH_QTWEBKIT -DWITH_QWTPOLAR -Dqgis_app_EXPORTS -isystem /usr/local/Cellar/qt-4/4.8.7/include -iframework /usr/local/Cellar/qt-4/4.8.7/lib -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtSvg -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtWebKit -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtGui -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtXml -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtSql -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtNetwork -isystem /usr/local/Cellar/qt-4/4.8.7/lib/QtCore.framework/Headers -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/composer -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/legend -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/pluginmanager -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app/../ui -isystem /usr/local/opt/qwt-qt4/lib/qwt.framework/Headers -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtUiTools -isystem /usr/local/opt/qscintilla2-qt4/libexec/include -isystem /tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/core/gps/qextserialport -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../analysis/raster -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../analysis/openstreetmap -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/auth -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/gps -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/composer -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/dxf -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/geometry -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/layertree -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/raster -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/symbology-ng -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/symbology-ng -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/attributetable -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/auth -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/raster -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/editorwidgets -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/editorwidgets/core -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/layertree -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../plugins -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../python -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/gps -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/openstreetmap -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/dwg -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/dwg/libdxfrw -isystem /usr/local/opt/libspatialite/include -isystem /usr/local/opt/sqlite/include -isystem /usr/local/opt/proj/include -isystem /usr/local/opt/geos/include -isystem /usr/local/opt/gdal2/include -isystem /usr/local/opt/qwtpolar-qt4/lib/qwtpolar.framework/Headers -isystem /usr/local/opt/qca-qt4/lib/qca.framework/Headers -isystem /usr/local/Cellar/postgresql/9.6.4/include -F/usr/local/opt/qwt-qt4/lib -F/usr/local/opt/qwtpolar-qt4/lib  -isystem /usr/local/Cellar/grass7/7.2.1/grass-base/include -isystem /usr/local/opt/gettext/include -F/usr/local/opt/qt-4/lib -DSPATIALITE_VERSION_GE_4_0_0 -DSPATIALITE_VERSION_G_4_1_1 -DSPATIALITE_HAS_INIT_EX -std=c++11 -Wno-error=c++11-narrowing -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.11 -fPIC -fvisibility=hidden   -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT= -DANALYSIS_EXPORT=  -DCUSTOMWIDGETS_EXPORT= -DSERVER_EXPORT= "-DAPP_EXPORT=__attribute__ ((visibility (\"default\")))" -F/usr/local/opt/qca-qt4/lib  -o CMakeFiles/qgis_app.dir/moc_qgsnewspatialitelayerdialog.cxx.o -c /tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app/moc_qgsnewspatialitelayerdialog.cxx
[ 92%] Building CXX object src/app/CMakeFiles/qgis_app.dir/moc_qgssettingstree.cxx.o
cd /tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DHAVE_PGCONFIG=1 -DQGISDEBUG=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WEBKIT_LIB -DQT_XML_LIB -DWITH_QTWEBKIT -DWITH_QWTPOLAR -Dqgis_app_EXPORTS -isystem /usr/local/Cellar/qt-4/4.8.7/include -iframework /usr/local/Cellar/qt-4/4.8.7/lib -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtSvg -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtWebKit -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtGui -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtXml -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtSql -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtNetwork -isystem /usr/local/Cellar/qt-4/4.8.7/lib/QtCore.framework/Headers -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/composer -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/legend -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/pluginmanager -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app/../ui -isystem /usr/local/opt/qwt-qt4/lib/qwt.framework/Headers -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtUiTools -isystem /usr/local/opt/qscintilla2-qt4/libexec/include -isystem /tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/core/gps/qextserialport -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../analysis/raster -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../analysis/openstreetmap -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/auth -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/gps -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/composer -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/dxf -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/geometry -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/layertree -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/raster -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/symbology-ng -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/symbology-ng -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/attributetable -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/auth -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/raster -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/editorwidgets -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/editorwidgets/core -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/layertree -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../plugins -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../python -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/gps -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/openstreetmap -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/dwg -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/dwg/libdxfrw -isystem /usr/local/opt/libspatialite/include -isystem /usr/local/opt/sqlite/include -isystem /usr/local/opt/proj/include -isystem /usr/local/opt/geos/include -isystem /usr/local/opt/gdal2/include -isystem /usr/local/opt/qwtpolar-qt4/lib/qwtpolar.framework/Headers -isystem /usr/local/opt/qca-qt4/lib/qca.framework/Headers -isystem /usr/local/Cellar/postgresql/9.6.4/include -F/usr/local/opt/qwt-qt4/lib -F/usr/local/opt/qwtpolar-qt4/lib  -isystem /usr/local/Cellar/grass7/7.2.1/grass-base/include -isystem /usr/local/opt/gettext/include -F/usr/local/opt/qt-4/lib -DSPATIALITE_VERSION_GE_4_0_0 -DSPATIALITE_VERSION_G_4_1_1 -DSPATIALITE_HAS_INIT_EX -std=c++11 -Wno-error=c++11-narrowing -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.11 -fPIC -fvisibility=hidden   -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT= -DANALYSIS_EXPORT=  -DCUSTOMWIDGETS_EXPORT= -DSERVER_EXPORT= "-DAPP_EXPORT=__attribute__ ((visibility (\"default\")))" -F/usr/local/opt/qca-qt4/lib  -o CMakeFiles/qgis_app.dir/moc_qgssettingstree.cxx.o -c /tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app/moc_qgssettingstree.cxx
[ 92%] Building CXX object src/app/CMakeFiles/qgis_app.dir/moc_qgsvariantdelegate.cxx.o
cd /tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DHAVE_PGCONFIG=1 -DQGISDEBUG=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WEBKIT_LIB -DQT_XML_LIB -DWITH_QTWEBKIT -DWITH_QWTPOLAR -Dqgis_app_EXPORTS -isystem /usr/local/Cellar/qt-4/4.8.7/include -iframework /usr/local/Cellar/qt-4/4.8.7/lib -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtSvg -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtWebKit -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtGui -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtXml -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtSql -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtNetwork -isystem /usr/local/Cellar/qt-4/4.8.7/lib/QtCore.framework/Headers -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/composer -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/legend -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/pluginmanager -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app/../ui -isystem /usr/local/opt/qwt-qt4/lib/qwt.framework/Headers -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtUiTools -isystem /usr/local/opt/qscintilla2-qt4/libexec/include -isystem /tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/core/gps/qextserialport -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../analysis/raster -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../analysis/openstreetmap -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/auth -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/gps -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/composer -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/dxf -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/geometry -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/layertree -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/raster -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../core/symbology-ng -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/symbology-ng -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/attributetable -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/auth -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/raster -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/editorwidgets -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/editorwidgets/core -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../gui/layertree -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../plugins -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/../python -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/gps -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/openstreetmap -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/dwg -I/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/src/app/dwg/libdxfrw -isystem /usr/local/opt/libspatialite/include -isystem /usr/local/opt/sqlite/include -isystem /usr/local/opt/proj/include -isystem /usr/local/opt/geos/include -isystem /usr/local/opt/gdal2/include -isystem /usr/local/opt/qwtpolar-qt4/lib/qwtpolar.framework/Headers -isystem /usr/local/opt/qca-qt4/lib/qca.framework/Headers -isystem /usr/local/Cellar/postgresql/9.6.4/include -F/usr/local/opt/qwt-qt4/lib -F/usr/local/opt/qwtpolar-qt4/lib  -isystem /usr/local/Cellar/grass7/7.2.1/grass-base/include -isystem /usr/local/opt/gettext/include -F/usr/local/opt/qt-4/lib -DSPATIALITE_VERSION_GE_4_0_0 -DSPATIALITE_VERSION_G_4_1_1 -DSPATIALITE_HAS_INIT_EX -std=c++11 -Wno-error=c++11-narrowing -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.11 -fPIC -fvisibility=hidden   -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT= -DANALYSIS_EXPORT=  -DCUSTOMWIDGETS_EXPORT= -DSERVER_EXPORT= "-DAPP_EXPORT=__attribute__ ((visibility (\"default\")))" -F/usr/local/opt/qca-qt4/lib  -o CMakeFiles/qgis_app.dir/moc_qgsvariantdelegate.cxx.o -c /tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app/moc_qgsvariantdelegate.cxx
[ 92%] Linking CXX shared library ../../output/lib/libqgis_app.dylib
cd /tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app && /usr/local/Cellar/cmake/3.9.1/bin/cmake -E cmake_link_script CMakeFiles/qgis_app.dir/link.txt --verbose=1
/usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -isystem /usr/local/Cellar/grass7/7.2.1/grass-base/include -isystem /usr/local/opt/gettext/include -F/usr/local/opt/qt-4/lib -DSPATIALITE_VERSION_GE_4_0_0 -DSPATIALITE_VERSION_G_4_1_1 -DSPATIALITE_HAS_INIT_EX -std=c++11 -Wno-error=c++11-narrowing -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.11 -dynamiclib -Wl,-headerpad_max_install_names  -Qunused-arguments -F/Library/Frameworks -compatibility_version 2.18.11 -current_version 2.18.11 -o ../../output/lib/libqgis_app.2.18.11.dylib -install_name /tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/output/lib/libqgis_app.2.18.11.dylib CMakeFiles/qgis_app.dir/qgisapp.cpp.o CMakeFiles/qgis_app.dir/qgisappinterface.cpp.o CMakeFiles/qgis_app.dir/qgisappstylesheet.cpp.o CMakeFiles/qgis_app.dir/qgsabout.cpp.o CMakeFiles/qgis_app.dir/qgsalignrasterdialog.cpp.o CMakeFiles/qgis_app.dir/qgsapplayertreeviewmenuprovider.cpp.o CMakeFiles/qgis_app.dir/qgsaddattrdialog.cpp.o CMakeFiles/qgis_app.dir/qgsaddtaborgroup.cpp.o CMakeFiles/qgis_app.dir/qgsjoindialog.cpp.o CMakeFiles/qgis_app.dir/qgsannotationwidget.cpp.o CMakeFiles/qgis_app.dir/qgsattributeactiondialog.cpp.o CMakeFiles/qgis_app.dir/qgsattributeactionpropertiesdialog.cpp.o CMakeFiles/qgis_app.dir/qgsattributetypedialog.cpp.o CMakeFiles/qgis_app.dir/qgsattributetabledialog.cpp.o CMakeFiles/qgis_app.dir/qgsbookmarks.cpp.o CMakeFiles/qgis_app.dir/qgsbrowserdockwidget.cpp.o CMakeFiles/qgis_app.dir/qgsclipboard.cpp.o CMakeFiles/qgis_app.dir/qgscustomization.cpp.o CMakeFiles/qgis_app.dir/qgscustomprojectiondialog.cpp.o CMakeFiles/qgis_app.dir/qgsdecorationitem.cpp.o CMakeFiles/qgis_app.dir/qgsdecorationcopyright.cpp.o CMakeFiles/qgis_app.dir/qgsdecorationcopyrightdialog.cpp.o CMakeFiles/qgis_app.dir/qgsdecorationnortharrow.cpp.o CMakeFiles/qgis_app.dir/qgsdecorationnortharrowdialog.cpp.o CMakeFiles/qgis_app.dir/qgsdecorationscalebar.cpp.o CMakeFiles/qgis_app.dir/qgsdecorationscalebardialog.cpp.o CMakeFiles/qgis_app.dir/qgsdecorationgrid.cpp.o CMakeFiles/qgis_app.dir/qgsdecorationgriddialog.cpp.o CMakeFiles/qgis_app.dir/qgsdxfexportdialog.cpp.o CMakeFiles/qgis_app.dir/qgsformannotationdialog.cpp.o CMakeFiles/qgis_app.dir/qgsguivectorlayertools.cpp.o CMakeFiles/qgis_app.dir/qgshtmlannotationdialog.cpp.o CMakeFiles/qgis_app.dir/qgsdelattrdialog.cpp.o CMakeFiles/qgis_app.dir/qgsdiagramproperties.cpp.o CMakeFiles/qgis_app.dir/qgsdisplayangle.cpp.o CMakeFiles/qgis_app.dir/qgsfieldcalculator.cpp.o CMakeFiles/qgis_app.dir/qgsfieldsproperties.cpp.o CMakeFiles/qgis_app.dir/qgsidentifyresultsdialog.cpp.o CMakeFiles/qgis_app.dir/qgsfeatureaction.cpp.o CMakeFiles/qgis_app.dir/qgslabeldialog.cpp.o CMakeFiles/qgis_app.dir/qgslabelpropertydialog.cpp.o CMakeFiles/qgis_app.dir/qgslabelengineconfigdialog.cpp.o CMakeFiles/qgis_app.dir/qgslabelinggui.cpp.o CMakeFiles/qgis_app.dir/qgslabelingwidget.cpp.o CMakeFiles/qgis_app.dir/qgslabelpreview.cpp.o CMakeFiles/qgis_app.dir/qgsloadstylefromdbdialog.cpp.o CMakeFiles/qgis_app.dir/qgsmaplayerstyleguiutils.cpp.o CMakeFiles/qgis_app.dir/qgsrulebasedlabelingwidget.cpp.o CMakeFiles/qgis_app.dir/qgssavestyletodbdialog.cpp.o CMakeFiles/qgis_app.dir/qgsstatusbarcoordinateswidget.cpp.o CMakeFiles/qgis_app.dir/qgsstatusbarmagnifierwidget.cpp.o CMakeFiles/qgis_app.dir/qgsstatusbarscalewidget.cpp.o CMakeFiles/qgis_app.dir/qgsversioninfo.cpp.o CMakeFiles/qgis_app.dir/qgswelcomepageitemsmodel.cpp.o CMakeFiles/qgis_app.dir/qgswelcomepage.cpp.o CMakeFiles/qgis_app.dir/qgsmaptooladdfeature.cpp.o CMakeFiles/qgis_app.dir/qgsmaptooladdpart.cpp.o CMakeFiles/qgis_app.dir/qgsmaptooladdring.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolfillring.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolannotation.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolchangelabelproperties.cpp.o CMakeFiles/qgis_app.dir/qgsmaptooldeletering.cpp.o CMakeFiles/qgis_app.dir/qgsmaptooldeletepart.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolfeatureaction.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolformannotation.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolhtmlannotation.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolpinlabels.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolshowhidelabels.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolidentifyaction.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoollabel.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolmeasureangle.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolmovefeature.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolmovelabel.cpp.o CMakeFiles/qgis_app.dir/qgsmaptooloffsetcurve.cpp.o CMakeFiles/qgis_app.dir/qgsmaptooloffsetpointsymbol.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolpointsymbol.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolreshape.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolrotatefeature.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolrotatelabel.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolrotatepointsymbols.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolselect.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolselectrectangle.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolselectfreehand.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolselectpolygon.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolselectradius.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolselectutils.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolsimplify.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolsplitfeatures.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolsplitparts.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolsvgannotation.cpp.o CMakeFiles/qgis_app.dir/qgsmaptooltextannotation.cpp.o CMakeFiles/qgis_app.dir/nodetool/qgsmaptoolnodetool.cpp.o CMakeFiles/qgis_app.dir/nodetool/qgsselectedfeature.cpp.o CMakeFiles/qgis_app.dir/nodetool/qgsvertexentry.cpp.o CMakeFiles/qgis_app.dir/nodetool/qgsnodeeditor.cpp.o CMakeFiles/qgis_app.dir/qgslayerstylingwidget.cpp.o CMakeFiles/qgis_app.dir/qgsmeasuredialog.cpp.o CMakeFiles/qgis_app.dir/qgsmeasuretool.cpp.o CMakeFiles/qgis_app.dir/qgsmergeattributesdialog.cpp.o CMakeFiles/qgis_app.dir/qgsoptions.cpp.o CMakeFiles/qgis_app.dir/qgspointmarkeritem.cpp.o CMakeFiles/qgis_app.dir/qgspointrotationitem.cpp.o CMakeFiles/qgis_app.dir/qgspluginmetadata.cpp.o CMakeFiles/qgis_app.dir/qgspluginregistry.cpp.o CMakeFiles/qgis_app.dir/qgsprojectlayergroupdialog.cpp.o CMakeFiles/qgis_app.dir/qgsprojectproperties.cpp.o CMakeFiles/qgis_app.dir/qgsrastercalcdialog.cpp.o CMakeFiles/qgis_app.dir/qgsrasterlayerproperties.cpp.o CMakeFiles/qgis_app.dir/qgsrelationmanagerdialog.cpp.o CMakeFiles/qgis_app.dir/qgsrelationadddlg.cpp.o CMakeFiles/qgis_app.dir/qgsselectbyformdialog.cpp.o CMakeFiles/qgis_app.dir/qgsstatisticalsummarydockwidget.cpp.o CMakeFiles/qgis_app.dir/qgssubstitutionlistwidget.cpp.o CMakeFiles/qgis_app.dir/qgstextannotationdialog.cpp.o CMakeFiles/qgis_app.dir/qgssnappingdialog.cpp.o CMakeFiles/qgis_app.dir/qgssvgannotationdialog.cpp.o CMakeFiles/qgis_app.dir/qgsundowidget.cpp.o CMakeFiles/qgis_app.dir/qgstipgui.cpp.o CMakeFiles/qgis_app.dir/qgstipfactory.cpp.o CMakeFiles/qgis_app.dir/qgsvectorlayerproperties.cpp.o CMakeFiles/qgis_app.dir/qgsvisibilitypresets.cpp.o CMakeFiles/qgis_app.dir/qgshandlebadlayers.cpp.o CMakeFiles/qgis_app.dir/qgsmaptooladdcircularstring.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolcircularstringcurvepoint.cpp.o CMakeFiles/qgis_app.dir/qgsmaptoolcircularstringradius.cpp.o CMakeFiles/qgis_app.dir/composer/qgsattributeselectiondialog.cpp.o CMakeFiles/qgis_app.dir/composer/qgscomposer.cpp.o CMakeFiles/qgis_app.dir/composer/qgscomposerarrowwidget.cpp.o CMakeFiles/qgis_app.dir/composer/qgscomposerattributetablewidget.cpp.o CMakeFiles/qgis_app.dir/composer/qgscomposerhtmlwidget.cpp.o CMakeFiles/qgis_app.dir/composer/qgscomposerimageexportoptionsdialog.cpp.o CMakeFiles/qgis_app.dir/composer/qgscomposeritemwidget.cpp.o CMakeFiles/qgis_app.dir/composer/qgscomposerlabelwidget.cpp.o CMakeFiles/qgis_app.dir/composer/qgscomposerpicturewidget.cpp.o CMakeFiles/qgis_app.dir/composer/qgscomposermanager.cpp.o CMakeFiles/qgis_app.dir/composer/qgscomposermapwidget.cpp.o CMakeFiles/qgis_app.dir/composer/qgscomposerscalebarwidget.cpp.o CMakeFiles/qgis_app.dir/composer/qgscomposershapewidget.cpp.o CMakeFiles/qgis_app.dir/composer/qgscomposerpolygonwidget.cpp.o CMakeFiles/qgis_app.dir/composer/qgscomposerpolylinewidget.cpp.o CMakeFiles/qgis_app.dir/composer/qgscomposertablewidget.cpp.o CMakeFiles/qgis_app.dir/composer/qgscomposertablebackgroundcolorsdialog.cpp.o CMakeFiles/qgis_app.dir/composer/qgscomposerlegenditemdialog.cpp.o CMakeFiles/qgis_app.dir/composer/qgscomposerlegendlayersdialog.cpp.o CMakeFiles/qgis_app.dir/composer/qgscomposerlegendwidget.cpp.o CMakeFiles/qgis_app.dir/composer/qgscompositionwidget.cpp.o CMakeFiles/qgis_app.dir/composer/qgsatlascompositionwidget.cpp.o CMakeFiles/qgis_app.dir/legend/qgsapplegendinterface.cpp.o CMakeFiles/qgis_app.dir/ogr/qgsogrhelperfunctions.cpp.o CMakeFiles/qgis_app.dir/ogr/qgsopenvectorlayerdialog.cpp.o CMakeFiles/qgis_app.dir/ogr/qgsnewogrconnection.cpp.o CMakeFiles/qgis_app.dir/ogr/qgsvectorlayersaveasdialog.cpp.o CMakeFiles/qgis_app.dir/gps/qgsgpsinformationwidget.cpp.o CMakeFiles/qgis_app.dir/gps/qgsgpsmarker.cpp.o CMakeFiles/qgis_app.dir/openstreetmap/qgsosmdownloaddialog.cpp.o CMakeFiles/qgis_app.dir/openstreetmap/qgsosmimportdialog.cpp.o CMakeFiles/qgis_app.dir/openstreetmap/qgsosmexportdialog.cpp.o CMakeFiles/qgis_app.dir/dwg/qgsdwgimportdialog.cpp.o CMakeFiles/qgis_app.dir/dwg/qgsdwgimporter.cpp.o CMakeFiles/qgis_app.dir/pluginmanager/qgspluginmanager.cpp.o CMakeFiles/qgis_app.dir/pluginmanager/qgspluginmanager_texts.cpp.o CMakeFiles/qgis_app.dir/pluginmanager/qgsapppluginmanagerinterface.cpp.o CMakeFiles/qgis_app.dir/pluginmanager/qgspluginsortfilterproxymodel.cpp.o CMakeFiles/qgis_app.dir/pluginmanager/qgspluginitemdelegate.cpp.o CMakeFiles/qgis_app.dir/qgsnewspatialitelayerdialog.cpp.o CMakeFiles/qgis_app.dir/qgssettingstree.cpp.o CMakeFiles/qgis_app.dir/qgsvariantdelegate.cpp.o CMakeFiles/qgis_app.dir/moc_qgisapp.cxx.o CMakeFiles/qgis_app.dir/moc_qgisappinterface.cxx.o CMakeFiles/qgis_app.dir/moc_qgisappstylesheet.cxx.o CMakeFiles/qgis_app.dir/moc_qgsabout.cxx.o CMakeFiles/qgis_app.dir/moc_qgsaddattrdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsalignrasterdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsjoindialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsaddtaborgroup.cxx.o CMakeFiles/qgis_app.dir/moc_qgsannotationwidget.cxx.o CMakeFiles/qgis_app.dir/moc_qgsapplayertreeviewmenuprovider.cxx.o CMakeFiles/qgis_app.dir/moc_qgsattributeactiondialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsattributeactionpropertiesdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsattributetypedialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsattributetabledialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsbookmarks.cxx.o CMakeFiles/qgis_app.dir/moc_qgsbrowserdockwidget.cxx.o CMakeFiles/qgis_app.dir/moc_qgsclipboard.cxx.o CMakeFiles/qgis_app.dir/moc_qgscustomization.cxx.o CMakeFiles/qgis_app.dir/moc_qgscustomprojectiondialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsdecorationitem.cxx.o CMakeFiles/qgis_app.dir/moc_qgsdecorationcopyright.cxx.o CMakeFiles/qgis_app.dir/moc_qgsdecorationcopyrightdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsdecorationnortharrow.cxx.o CMakeFiles/qgis_app.dir/moc_qgsdecorationnortharrowdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsdecorationscalebar.cxx.o CMakeFiles/qgis_app.dir/moc_qgsdecorationscalebardialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsdecorationgrid.cxx.o CMakeFiles/qgis_app.dir/moc_qgsdecorationgriddialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsdelattrdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsdiagramproperties.cxx.o CMakeFiles/qgis_app.dir/moc_qgsdisplayangle.cxx.o CMakeFiles/qgis_app.dir/moc_qgsdxfexportdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsfeatureaction.cxx.o CMakeFiles/qgis_app.dir/moc_qgsfieldcalculator.cxx.o CMakeFiles/qgis_app.dir/moc_qgsfieldsproperties.cxx.o CMakeFiles/qgis_app.dir/moc_qgsformannotationdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsguivectorlayertools.cxx.o CMakeFiles/qgis_app.dir/moc_qgshtmlannotationdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsidentifyresultsdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgslabeldialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgslabelengineconfigdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgslabelinggui.cxx.o CMakeFiles/qgis_app.dir/moc_qgslabelpreview.cxx.o CMakeFiles/qgis_app.dir/moc_qgslabelingwidget.cxx.o CMakeFiles/qgis_app.dir/moc_qgslabelpropertydialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsloadstylefromdbdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaplayerstyleguiutils.cxx.o CMakeFiles/qgis_app.dir/moc_qgsrulebasedlabelingwidget.cxx.o CMakeFiles/qgis_app.dir/moc_qgssavestyletodbdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsstatusbarcoordinateswidget.cxx.o CMakeFiles/qgis_app.dir/moc_qgsstatusbarmagnifierwidget.cxx.o CMakeFiles/qgis_app.dir/moc_qgsstatusbarscalewidget.cxx.o CMakeFiles/qgis_app.dir/moc_qgsversioninfo.cxx.o CMakeFiles/qgis_app.dir/moc_qgswelcomepageitemsmodel.cxx.o CMakeFiles/qgis_app.dir/moc_qgswelcomepage.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptooladdfeature.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolannotation.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolcircularstringradius.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptooladdpart.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptooladdring.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolfillring.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolchangelabelproperties.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptooldeletepart.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptooldeletering.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolfeatureaction.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolformannotation.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolhtmlannotation.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolpinlabels.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolshowhidelabels.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolidentifyaction.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolmeasureangle.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolmovefeature.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolmovelabel.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoollabel.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptooloffsetcurve.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptooloffsetpointsymbol.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolpointsymbol.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolreshape.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolrotatefeature.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolrotatelabel.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolrotatepointsymbols.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolselectfreehand.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolselect.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolselectpolygon.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolselectradius.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolselectrectangle.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolsimplify.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolsplitfeatures.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolsplitparts.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolsvgannotation.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptooltextannotation.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptooladdcircularstring.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmaptoolcircularstringcurvepoint.cxx.o CMakeFiles/qgis_app.dir/nodetool/moc_qgsmaptoolnodetool.cxx.o CMakeFiles/qgis_app.dir/nodetool/moc_qgsselectedfeature.cxx.o CMakeFiles/qgis_app.dir/nodetool/moc_qgsnodeeditor.cxx.o CMakeFiles/qgis_app.dir/moc_qgslayerstylingwidget.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmeasuredialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmeasuretool.cxx.o CMakeFiles/qgis_app.dir/moc_qgsmergeattributesdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsoptions.cxx.o CMakeFiles/qgis_app.dir/moc_qgsprojectlayergroupdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsprojectproperties.cxx.o CMakeFiles/qgis_app.dir/moc_qgsrastercalcdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsrasterlayerproperties.cxx.o CMakeFiles/qgis_app.dir/moc_qgsrelationmanagerdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsrelationadddlg.cxx.o CMakeFiles/qgis_app.dir/moc_qgsselectbyformdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgssnappingdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgsstatisticalsummarydockwidget.cxx.o CMakeFiles/qgis_app.dir/moc_qgssubstitutionlistwidget.cxx.o CMakeFiles/qgis_app.dir/moc_qgssvgannotationdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgstextannotationdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgstipgui.cxx.o CMakeFiles/qgis_app.dir/moc_qgstipfactory.cxx.o CMakeFiles/qgis_app.dir/moc_qgsundowidget.cxx.o CMakeFiles/qgis_app.dir/moc_qgsvectorlayerproperties.cxx.o CMakeFiles/qgis_app.dir/moc_qgsvisibilitypresets.cxx.o CMakeFiles/qgis_app.dir/moc_qgshandlebadlayers.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgsattributeselectiondialog.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposer.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerarrowwidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerattributetablewidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerhtmlwidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerimageexportoptionsdialog.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposeritemwidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerlabelwidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerlegendwidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerlegenditemdialog.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerlegendlayersdialog.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposermanager.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposermapwidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerpicturewidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerscalebarwidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposertablewidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposertablebackgroundcolorsdialog.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposershapewidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerpolygonwidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscomposerpolylinewidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgscompositionwidget.cxx.o CMakeFiles/qgis_app.dir/composer/moc_qgsatlascompositionwidget.cxx.o CMakeFiles/qgis_app.dir/legend/moc_qgsapplegendinterface.cxx.o CMakeFiles/qgis_app.dir/ogr/moc_qgsopenvectorlayerdialog.cxx.o CMakeFiles/qgis_app.dir/ogr/moc_qgsnewogrconnection.cxx.o CMakeFiles/qgis_app.dir/ogr/moc_qgsvectorlayersaveasdialog.cxx.o CMakeFiles/qgis_app.dir/gps/moc_qgsgpsinformationwidget.cxx.o CMakeFiles/qgis_app.dir/openstreetmap/moc_qgsosmdownloaddialog.cxx.o CMakeFiles/qgis_app.dir/openstreetmap/moc_qgsosmimportdialog.cxx.o CMakeFiles/qgis_app.dir/openstreetmap/moc_qgsosmexportdialog.cxx.o CMakeFiles/qgis_app.dir/dwg/moc_qgsdwgimportdialog.cxx.o CMakeFiles/qgis_app.dir/pluginmanager/moc_qgspluginmanager.cxx.o CMakeFiles/qgis_app.dir/pluginmanager/moc_qgsapppluginmanagerinterface.cxx.o CMakeFiles/qgis_app.dir/pluginmanager/moc_qgspluginsortfilterproxymodel.cxx.o CMakeFiles/qgis_app.dir/pluginmanager/moc_qgspluginitemdelegate.cxx.o CMakeFiles/qgis_app.dir/moc_qgsnewspatialitelayerdialog.cxx.o CMakeFiles/qgis_app.dir/moc_qgssettingstree.cxx.o CMakeFiles/qgis_app.dir/moc_qgsvariantdelegate.cxx.o -F/usr/local/Cellar/qt-4/4.8.7/lib -F/usr/local/opt/qca-qt4/lib  -L/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/core  -L/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/gui -Wl,-rpath,/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/core -Wl,-rpath,/tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/gui /usr/local/opt/qwt-qt4/lib/qwt.framework/qwt -framework QtSql /usr/local/Cellar/qt-4/4.8.7/lib/libQtUiTools.a -framework QtWebKit /usr/local/opt/qwtpolar-qt4/lib/qwtpolar.framework/qwtpolar /usr/local/opt/gdal2/lib/libgdal.dylib ../../output/lib/qgis_gui.framework/Versions/2.18/qgis_gui ../../output/lib/qgis_analysis.framework/Versions/2.18/qgis_analysis dwg/libdxfrw/liblibdxfrw.a -framework ApplicationServices /usr/local/opt/qwt-qt4/lib/qwt.framework/qwt /usr/local/Cellar/qt-4/4.8.7/lib/libQtUiTools.a /usr/local/opt/qscintilla2-qt4/libexec/lib/libqscintilla2.dylib ../../output/lib/qgis_core.framework/Versions/2.18/qgis_core -framework CoreFoundation -framework IOKit -framework QtXml -framework QtCore -framework QtGui -framework QtNetwork -framework QtSvg -framework QtSql -framework QtWebKit -framework qca /usr/local/lib/libproj.dylib /usr/local/Cellar/geos/3.6.2/lib/libgeos_c.dylib /usr/local/opt/gdal2/lib/libgdal.dylib /usr/local/lib/libspatialindex.dylib /usr/local/opt/expat/lib/libexpat.dylib /usr/local/opt/sqlite/lib/libsqlite3.dylib /usr/local/lib/libspatialite.dylib
cd /tmp/qgis2-20170812-43094-1kw56ss/QGIS-final-2_18_11/build/src/app && /usr/local/Cellar/cmake/3.9.1/bin/cmake -E cmake_symlink_library ../../output/lib/libqgis_app.2.18.11.dylib ../../output/lib/libqgis_app.2.18.11.dylib ../../output/lib/libqgis_app.dylib
[ 92%] Built target qgis_app
make: *** [all] Error 2
@luispuerto

This comment has been minimized.

Copy link
Collaborator

commented Aug 14, 2017

@justb4

This comment has been minimized.

Copy link

commented Aug 14, 2017

Similar problem here on 10.11.6:

brew tap osgeo/osgeo4mac
brew install qgis2

Build ended with:

make: *** [all] Error 2

In make output found:

[ 83%] Building CXX object src/app/CMakeFiles/qgis_app.dir/qgsstatusbarcoordinateswidget.cpp.o                                                                                                                                                                                       
cd /tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/build/src/app && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DHAVE_PGCONFIG=1 -DQGISDEBUG=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WE\
BKIT_LIB -DQT_XML_LIB -DWITH_QTWEBKIT -DWITH_QWTPOLAR -Dqgis_app_EXPORTS -isystem /usr/local/Cellar/qt-4/4.8.7/include -iframework /usr/local/Cellar/qt-4/4.8.7/lib -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtSvg -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtWebKit -isys\
tem /usr/local/Cellar/qt-4/4.8.7/include/QtGui -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtXml -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtSql -isystem /usr/local/Cellar/qt-4/4.8.7/include/QtNetwork -isystem /usr/local/Cellar/qt-4/4.8.7/lib/QtCore.framework/Headers -I\
/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/build -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/composer -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/legend -I/tmp/qgis2\
-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/pluginmanager -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/build/src/app -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/build/src/app/../ui -isystem /usr/local/opt/qwt-qt4/lib/qwt.framework/Headers -isystem \
/usr/local/Cellar/qt-4/4.8.7/include/QtUiTools -isystem /usr/local/opt/qscintilla2-qt4/libexec/include -isystem /tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/core/gps/qextserialport -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/../analysis/raster -\
I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/../analysis/openstreetmap -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/../core -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/../core/auth -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-\
final-2_18_11/src/app/../core/gps -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/../core/composer -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/../core/dxf -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/../core/geometry -I/tmp/\
qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/../core/layertree -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/../core/raster -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/../core/symbology-ng -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS\
-final-2_18_11/src/app/../gui -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/../gui/symbology-ng -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/../gui/attributetable -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/../gui/auth -I/\
tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/../gui/raster -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/../gui/editorwidgets -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/../gui/editorwidgets/core -I/tmp/qgis2-20170814-68436-1\
tq5zmh/QGIS-final-2_18_11/src/app/../gui/layertree -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/../plugins -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/../python -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/gps -I/tmp/qgis\
2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/openstreetmap -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/dwg -I/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/dwg/libdxfrw -isystem /usr/local/opt/libspatialite/include -isystem /usr/local/o\
pt/sqlite/include -isystem /usr/local/opt/proj/include -isystem /usr/local/opt/geos/include -isystem /usr/local/opt/gdal2/include -isystem /usr/local/opt/qwtpolar-qt4/lib/qwtpolar.framework/Headers -isystem /usr/local/opt/qca-qt4/lib/qca.framework/Headers -isystem /usr/local/\
Cellar/postgresql/9.6.4/include -F/usr/local/opt/qwt-qt4/lib -F/usr/local/opt/qwtpolar-qt4/lib  -F/usr/local/opt/qt-4/lib -DSPATIALITE_VERSION_GE_4_0_0 -DSPATIALITE_VERSION_G_4_1_1 -DSPATIALITE_HAS_INIT_EX -std=c++11 -Wno-error=c++11-narrowing -Wall -Wextra -Wno-long-long -Wf\
ormat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.11 -fPIC -fvisibilit\
y=hidden   -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT= -DANALYSIS_EXPORT=  -DCUSTOMWIDGETS_EXPORT= -DSERVER_EXPORT= "-DAPP_EXPORT=__attribute__ ((visibility (\"default\")))" -F/usr/local/opt/qca-qt4/lib  -o CMakeFiles/qgis_app.dir/qgsstatusbarcoordinateswidget.cpp.o -c /tmp\
/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/app/qgsstatusbarcoordinateswidget.cpp                                                                                                                                                                                           
In file included from /tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/customwidgets/qgsexpressionbuilderwidgetplugin.cpp:17:                                                                                                                                                
In file included from /tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/customwidgets/../gui/qgsexpressionbuilderwidget.h:20:                                                                                                                                                 
In file included from /tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/build/src/customwidgets/../ui/ui_qgsexpressionbuilder.h:32:                                                                                                                                               
In file included from /tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/customwidgets/../gui/qgscodeeditorpython.h:19:                                                                                                                                                        
/tmp/qgis2-20170814-68436-1tq5zmh/QGIS-final-2_18_11/src/customwidgets/../gui/qgscodeeditor.h:22:10: fatal error: 'Qsci/qsciapis.h' file not found                                                                                                                                   
#include <Qsci/qsciapis.h>                                                                                                                                                                                                                                                           

Which is strange as the command denotes -isystem /usr/local/opt/qscintilla2-qt4/libexec/include and that dir contains Qsci/qsciapis.h.

Which looks related to #255 where it is suggested to switch to an older qscintilla2 (2.9.3_1) version. Further info:

brew info qscintilla2-qt4
osgeo/osgeo4mac/qscintilla2-qt4: stable 2.9.3
Port to Qt of the Scintilla editing component
https://www.riverbankcomputing.com/software/qscintilla/intro
/usr/local/Cellar/qscintilla2-qt4/2.9.3_2 (135 files, 6.2MB) *
  Built from source on 2017-08-14 at 11:49:03
From: https://github.com/osgeo/homebrew-osgeo4mac/blob/master/Formula/qscintilla2-qt4.rb
==> Dependencies
Required: pyqt-qt4 ✔
==> Requirements
Recommended: python ✔
==> Options
--without-plugin
	Skip building the Qt Designer plugin
--without-python
	Skip building the Python bindings
==> Caveats
Libraries installed in /usr/local/opt/qscintilla2-qt4/libexec/lib

Headers installed in /usr/local/opt/qscintilla2-qt4/libexec/include

Python modules installed in:
  /usr/local/lib/qt-4/python2.7/site-packages/PyQt4

Will try suggesion in #255 and let you know, builds take a while...

@pat-s

This comment has been minimized.

Copy link
Contributor

commented Aug 14, 2017

FYI: Builds fine for me with qscintilla2-qt4 v 2.9.3 on 10.12.6

@dakcarto

This comment has been minimized.

Copy link
Member

commented Aug 14, 2017

Hi everyone, thanks for reporting on this. We are actively working towards a solution, though a bit at a loss right now.

Important: Please make sure not to perform any hacks or re-installing older versions, then report those as solutions here. We are trying to move the formulae forward (overcoming issues with Homebrew new mandatory sandboxing) and need to ensure reports focus on the current formulae and do not mix in older non-sandboxed formulae.

Thanks!

@dakcarto

This comment has been minimized.

Copy link
Member

commented Aug 14, 2017

Hi, seems some of the symlinking, whose routines needed to change due to new sandboxing issues, are not getting set up correctly.

Anyone having issues, please run brew doctor and fix any issues with unlinked formulae (brew link --overwrite <formula>) or dead symlinks (brew prune <formula>).

Note: you may need to run brew link --overwrite pyqt-qt4 multiple times, if you get the dreaded "Error: Permission denied - /opt/pyqt-qt4".

Ensure all brew doctor feedback about *-qt4 formulae is addressed prior to re-running a qgis* formula test build. Thanks!

@joaoponceleao

This comment has been minimized.

Copy link

commented Aug 14, 2017

I also can't get it to build on sierra.
It stops here:

[ 92%] Built target qgis_app
make: *** [all] Error 2

The only thing I managed to find in the console logs is this file not found error:

In file included from /tmp/qgis2-20170814-16216-fkn3z/QGIS-final-2_18_11/src/customwidgets/../gui/qgscodeeditorpython.h:19:
/tmp/qgis2-20170814-16216-fkn3z/QGIS-final-2_18_11/src/customwidgets/../gui/qgscodeeditor.h:22:10: fatal error: 'Qsci/qsciapis.h' file not found
#include <Qsci/qsciapis.h>

and:

1 error generated.
make[2]: *** [src/customwidgets/CMakeFiles/qgis_customwidgets.dir/qgsexpressionbuilderwidgetplugin.cpp.o] Error 1
make[1]: *** [src/customwidgets/CMakeFiles/qgis_customwidgets.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 82%]

But that happens before it reaches here:

[ 92%] Built target qgis_app
make: *** [all] Error 2
@pat-s

This comment has been minimized.

Copy link
Contributor

commented Aug 14, 2017

On my second mac at home I also get the error now - that's strange. Cannot replicate it on my other machine.

@eldang

This comment has been minimized.

Copy link
Contributor

commented Aug 14, 2017

I am still finding that QGIS 2.18.11 installation fails, but the process no longer breaks the existing 2.18.10 install on the same machine, so this is useful progress. Here's the output I get, after having cleaned up everything brew doctor warned about and made sure that the osgeo4mac version of pyqt-qt4 is the only one present. The tmp log files referenced appear not to exist.

==> Upgrading 1 outdated package, with result:
osgeo/osgeo4mac/qgis2 2.18.11
==> Upgrading osgeo/osgeo4mac/qgis2 
==> Downloading https://github.com/qgis/QGIS/archive/final-2_18_11.tar.gz
Already downloaded: /Users/eldan/Library/Caches/Homebrew/qgis2-2.18.11.tar.gz
==> cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/qgis2/2.18.11 -DCMAKE_BUILD_TYPE=Release -
Last 15 lines from /Users/eldan/Library/Logs/Homebrew/qgis2/01.cmake:
-- Found PythonInterp: /usr/local/opt/python/bin/python2.7 (found suitable version "2.7.13", minimum required is "2.7") 
-- Found PythonInterp: /usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/Current/bin/python (found suitable version "2.7.13", minimum required is "2.7") 
-- Found Python executable: /usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/Current/bin/python
-- Found Python version: 2.7.13
-- Found Python library: /usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/Current/Python
-- Found PyQt4 version: 4.11.4
-- Found SIP version: 4.18.1
-- Found QScintilla2 PyQt module: 2.9.3
-- Found QwtPolar: /usr/local/opt/qwtpolar-qt4/lib/qwtpolar.framework/qwtpolar
-- Found GSL: -L/usr/local/Cellar/gsl/2.4/lib -lgsl -lgslcblas
-- Found FCGI: /usr/local/opt/fcgi/lib/libfcgi.dylib
-- txt2tags not found - disabled
-- Configuring incomplete, errors occurred!
See also "/tmp/qgis2-20170814-8521-1au5u3s/QGIS-final-2_18_11/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/qgis2-20170814-8521-1au5u3s/QGIS-final-2_18_11/build/CMakeFiles/CMakeError.log".
@ReneMalenfant

This comment has been minimized.

Copy link

commented Aug 15, 2017

Thanks, dakcarto. It's working fine for me now.

@dakcarto

This comment has been minimized.

Copy link
Member

commented Aug 15, 2017

As @ReneMalenfant notes, it should be fixed in d08b888 (2.18.11_1). Also, 3c1aaea adds a Sierra bottle; so, if you are building from source on that macOS version, you will need to specify brew install --build-from-source ... to skip the bottled install (assuming you want to test the fix).

@joaoponceleao

This comment has been minimized.

Copy link

commented Aug 15, 2017

Builds fine now with the latest fix and my usual settings (never could get otb to build here):
brew install qgis2 --with-grass --with-qspatialite --with-saga-gis-lts --without-debug --without-postgresql --without-server
Thanks dakcarto.

@justb4

This comment has been minimized.

Copy link

commented Aug 15, 2017

@dakcarto and others here: thanks a lot for instant (re)actions: 2.18.11_1 builds and runs fine now on Mac OSX 10.11.6 (El Capitan) !

Seems it was the ${QSCINTILLA_INCLUDE_DIR} missing in src/customwidgets/CMakeLists.txt. Together we tackled this beast.

First cleaned Homebrew installation with brew doctor before build. First lines build show @dakcarto 's patch applied:

brew install qgis2
==> Installing qgis2 from osgeo/osgeo4mac
==> Downloading https://github.com/qgis/QGIS/archive/final-2_18_11.tar.gz
Already downloaded: /Users/just/Library/Caches/Homebrew/qgis2-2.18.11.tar.gz
==> Downloading https://gist.githubusercontent.com/dakcarto/cc7f7324b01cd71dc79aca58289cbfbe/raw/8e3c6b181fc156b92ebb2048873c8807d43b4220/release-2_18_patch1.diff
######################################################################## 100,0%
==> Patching
==> Applying release-2_18_patch1.diff
patching file src/customwidgets/CMakeLists.txt
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 114 with fuzz 1.
==> cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/qgis2/2.18.11_1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DHAVE_CLOCK_GETTIME:INTERNAL=0 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBISON_EXECUTABLE=/usr/local/
==> make
@dakcarto

This comment has been minimized.

Copy link
Member

commented Aug 15, 2017

Cool! Closing; please reopen if needed.

@dakcarto dakcarto closed this Aug 15, 2017

@luispuerto

This comment has been minimized.

Copy link
Collaborator

commented Aug 15, 2017

Working fine now here! Thanks for your hard work folks!

@eldang

This comment has been minimized.

Copy link
Contributor

commented Aug 15, 2017

Afraid I'm continuing to get the same error as I reported above in #258 (comment)

Same whether I use --build-from-source or not, and same after uninstalling my existing QGIS 2.18.10 first.

Having previously switched qscintilla2-qt4 to version 2.9.3_1 to render QGIS 2.18.10 usable, I switched back to 2.9.3_2. brew install qgis2 without --build-from-source got me:

[long spew of make output - I can share the whole lot if it's going to be helpful] ...
final-2_18_11/build/src/gui /usr/local/opt/qwt-qt4/lib/qwt.framework/qwt -framework QtSql /usr/local/Cellar/qt-4/4.8.7/lib/libQtUiTools.a -framework QtWebKit /usr/local/opt/qwtpolar-qt4/lib/qwtpolar.framework/qwtpolar /usr/local/opt/gdal2/lib/libgdal.dylib ../../output/lib/qgis_gui.framework/Versions/2.18/qgis_gui ../../output/lib/qgis_analysis.framework/Versions/2.18/qgis_analysis dwg/libdxfrw/liblibdxfrw.a -framework ApplicationServices /usr/local/opt/qwt-qt4/lib/qwt.framework/qwt /usr/local/Cellar/qt-4/4.8.7/lib/libQtUiTools.a /usr/local/opt/qscintilla2-qt4/libexec/lib/libqscintilla2.dylib ../../output/lib/qgis_core.framework/Versions/2.18/qgis_core -framework CoreFoundation -framework IOKit -framework QtXml -framework QtCore -framework QtGui -framework QtNetwork -framework QtSvg -framework QtSql -framework QtWebKit -framework qca /usr/local/lib/libproj.dylib /usr/local/Cellar/geos/3.6.2/lib/libgeos_c.dylib /usr/local/opt/gdal2/lib/libgdal.dylib /usr/local/lib/libspatialindex.dylib /usr/local/opt/expat/lib/libexpat.dylib /usr/local/opt/sqlite/lib/libsqlite3.dylib /usr/local/lib/libspatialite.dylib 
cd /tmp/qgis2-20170815-97190-u0emn/QGIS-final-2_18_11/build/src/app && /usr/local/Cellar/cmake/3.9.1/bin/cmake -E cmake_symlink_library ../../output/lib/libqgis_app.2.18.11.dylib ../../output/lib/libqgis_app.2.18.11.dylib ../../output/lib/libqgis_app.dylib
[ 79%] Built target qgis_app
make: *** [all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/osgeo/homebrew-osgeo4mac/issues

Attempting to use --build-from-source has so far got me into a dependency hell with numpy, which I suspect is a problem unrelated to this project. If I can resolve that, I'll return and post the results.

@luispuerto

This comment has been minimized.

Copy link
Collaborator

commented Aug 15, 2017

did you update homebrew? you need the new formulae for qgis2

brew update && brew upgrade

@eldang

This comment has been minimized.

Copy link
Contributor

commented Aug 15, 2017

I did. Tried brew update again now just to make sure, and the only thing updated this time is caskroom/cask.

@eldang

This comment has been minimized.

Copy link
Contributor

commented Aug 15, 2017

Can anyone advise me on how to get back to the working QGIS 2.8.10? I was overhasty in uninstalling it having seen claims that the 2.8.11 was fixed, and am now stuck without an essential tool.

@dakcarto

This comment has been minimized.

Copy link
Member

commented Aug 15, 2017

@eldang something is off for you. Doing just brew install qgis2, i.e. without any options, should only install a bottle, not build from source (assuming you are on 10.12, otherwise it will build from source).

When reporting, please follow the Homebrew practice of submitting Troubleshooting logs.

Going back to 2.18.10 is highly discouraged as it will leave you in a somewhat broken state. It is best to try and get 2.18.11 working, as it has many more changes relative to new updates in the Homebrew project.

@eldang

This comment has been minimized.

Copy link
Contributor

commented Aug 15, 2017

Sorry about the lack of logs earlier. I am on 10.11, because another project on which I rely doesn't yet have a 10.12 build. I just tried running brew install qgis2 again, and this is what I got:
https://gist.github.com/fd9ffd310a6a8ca3abcc06ba0a10e0cb

I've linked postgresql and I'm trying again now, though it seems to take about an hour to get to where it fails so it'll be a little while.

I understand your concerns about rolling back versions, but I'm currently in a completely broken state, and getting rather desperate as I do have work that I need a functioning QGIS to do. Until this morning, keeping 2.8.10 usable was how I was able to proceed.

@eldang

This comment has been minimized.

Copy link
Contributor

commented Aug 15, 2017

My apologies. Linking postgresql allowed the rest of the process to complete. I don't know at what stage that broke, but it seems likely to have either been nothing to do with this project or a result of something transient that's already fixed. In case it's of any value, here's the gist from after successfully installing QGIS 2.18.11:
https://gist.github.com/eldang/2243d3ffa574d19b955a50799ed1d406

Thank you for all your hard work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
10 participants
You can’t perform that action at this time.