-
-
Notifications
You must be signed in to change notification settings - Fork 31
Can't build QGIS3 Dev #66
Comments
I remember that I had this problem as well, but don't precisely remember what solved it. Can you try to upgrade bison? |
Here's the errors I get.
|
|
Teste ** agora vai ** $$ \ forall x \ in X, \ quad \ existe y \ leq \ epsilon$$ |
@alexgleith This seems to be the same error message as #62 (which I also encountered and the workaround there helped me resolving at least this error message). |
Hmm, you're right, @sgerke. I'll shift this over there. |
I just did a /usr/local/Cellar/bison/3.0.4_1/bin/bison test.y
Last 15 lines from /Users/lpuerto/Library/Logs/Homebrew/bison/test.01.bison:
2018-03-10 13:26:00 +0200
/usr/local/Cellar/bison/3.0.4_1/bin/bison
test.y
Error: bison: failed
Failed executing: /usr/local/Cellar/bison/3.0.4_1/bin/bison test.y
/usr/local/Homebrew/Library/Homebrew/formula.rb:1792:in `block in system'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1730:in `open'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1730:in `system'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/bison.rb:54:in `block in <class:Bison>'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1636:in `block (3 levels) in run_test'
/usr/local/Homebrew/Library/Homebrew/utils.rb:554:in `with_env'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1635:in `block (2 levels) in run_test'
/usr/local/Homebrew/Library/Homebrew/formula.rb:835:in `with_logging'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1634:in `block in run_test'
/usr/local/Homebrew/Library/Homebrew/extend/fileutils.rb:14:in `block in mktemp'
/usr/local/Homebrew/Library/Homebrew/extend/fileutils.rb:74:in `block in run'
/usr/local/Homebrew/Library/Homebrew/extend/fileutils.rb:74:in `chdir'
/usr/local/Homebrew/Library/Homebrew/extend/fileutils.rb:74:in `run'
/usr/local/Homebrew/Library/Homebrew/extend/fileutils.rb:13:in `mktemp'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1628:in `run_test'
/usr/local/Homebrew/Library/Homebrew/test.rb:28:in `block in <main>'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/timeout.rb:91:in `block in timeout'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/timeout.rb:33:in `block in catch'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/timeout.rb:33:in `catch'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/timeout.rb:33:in `catch'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/lib/ruby/2.3.0/timeout.rb:106:in `timeout'
/usr/local/Homebrew/Library/Homebrew/test.rb:27:in `<main>' |
I just reinstalled bison and now the test is correct. $ brew reinstall bison
==> Reinstalling bison
==> Downloading https://homebrew.bintray.com/bottles/bison-3.0.4_1.high_sierra.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/57/5701d6ce4222aac2a510772d6755777bb6162599c5c9169e11781f08fbcebca2?__gd
######################################################################## 100.0%
==> Pouring bison-3.0.4_1.high_sierra.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local,
because some formulae require a newer version of bison.
If you need to have this software first in your PATH run:
echo 'export PATH="/usr/local/opt/bison/bin:$PATH"' >> ~/.zshrc
For compilers to find this software you may need to set:
LDFLAGS: -L/usr/local/opt/bison/lib
==> Summary
🍺 /usr/local/Cellar/bison/3.0.4_1: 52 files, 2MB
$ brew test bison
Testing bison
==> /usr/local/Cellar/bison/3.0.4_1/bin/bison test.y
==> /usr/bin/clang++ test.tab.c -o test
==> echo "((()(())))()" | ./test
==> echo "())" | ./test |
however... I got the same outcome again: ==> Cloning https://github.com/qgis/QGIS.git
Updating /Users/lpuerto/Library/Caches/Homebrew/qgis3-dev--git
==> Checking out branch master
==> /usr/local/bin/pip3 install --user future psycopg2 python-dateutil httplib2 pytz six nose2 pygments jinja2 pyyaml re
==> cmake -G Ninja -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local
==> cmake --build . --target all -- -j 8
Last 15 lines from /Users/lpuerto/Library/Logs/Homebrew/qgis3-dev/03.cmake:
[700/4734] /usr/local/Cellar/cmake/3.10.2/bin/cmake -E copy ../src/core/qgsfeaturesource.h output/lib/qgis_core.framework/Versions/3.1/Headers/qgsfeaturesource.h
[701/4734] /usr/local/Cellar/cmake/3.10.2/bin/cmake -E copy ../src/core/qgsfeaturestore.h output/lib/qgis_core.framework/Versions/3.1/Headers/qgsfeaturestore.h
[702/4734] /usr/local/Cellar/cmake/3.10.2/bin/cmake -E copy ../src/core/geometry/qgsabstractgeometry.h output/lib/qgis_core.framework/Versions/3.1/Headers/qgsabstractgeometry.h
[703/4734] cd /tmp/qgis3-dev-20180310-38398-153sz4u/build/python/plugins/db_manager/db_plugins/vlayers && /usr/local/bin/pyrcc5 -o /tmp/qgis3-dev-20180310-38398-153sz4u/build/python/plugins/db_manager/db_plugins/vlayers/resources_rc.py /tmp/qgis3-dev-20180310-38398-153sz4u/python/plugins/db_manager/db_plugins/vlayers/resources.qrc
FAILED: python/plugins/db_manager/db_plugins/vlayers/resources_rc.py
cd /tmp/qgis3-dev-20180310-38398-153sz4u/build/python/plugins/db_manager/db_plugins/vlayers && /usr/local/bin/pyrcc5 -o /tmp/qgis3-dev-20180310-38398-153sz4u/build/python/plugins/db_manager/db_plugins/vlayers/resources_rc.py /tmp/qgis3-dev-20180310-38398-153sz4u/python/plugins/db_manager/db_plugins/vlayers/resources.qrc
ImportError: No module named site
[704/4734] cd /tmp/qgis3-dev-20180310-38398-153sz4u/build/src/ui && /usr/local/opt/qt/bin/uic -o /tmp/qgis3-dev-20180310-38398-153sz4u/build/src/ui/ui_qgscategorizedsymbolrendererv2widget.h /tmp/qgis3-dev-20180310-38398-153sz4u/src/ui/qgscategorizedsymbolrendererv2widget.ui
[705/4734] cd /tmp/qgis3-dev-20180310-38398-153sz4u/build/src/ui && /usr/local/opt/qt/bin/uic -o /tmp/qgis3-dev-20180310-38398-153sz4u/build/src/ui/ui_qgscharacterselectdialogbase.h /tmp/qgis3-dev-20180310-38398-153sz4u/src/ui/qgscharacterselectdialogbase.ui
[706/4734] cd /tmp/qgis3-dev-20180310-38398-153sz4u/build/src/ui && /usr/local/opt/qt/bin/uic -o /tmp/qgis3-dev-20180310-38398-153sz4u/build/src/ui/ui_qgscolorbrewercolorrampwidgetbase.h /tmp/qgis3-dev-20180310-38398-153sz4u/src/ui/qgscolorbrewercolorrampwidgetbase.ui
[707/4734] cd /tmp/qgis3-dev-20180310-38398-153sz4u/build/src/ui && /usr/local/opt/qt/bin/uic -o /tmp/qgis3-dev-20180310-38398-153sz4u/build/src/ui/ui_qgscolordialog.h /tmp/qgis3-dev-20180310-38398-153sz4u/src/ui/qgscolordialog.ui
[708/4734] cd /tmp/qgis3-dev-20180310-38398-153sz4u/build/src/ui && /usr/local/opt/qt/bin/uic -o /tmp/qgis3-dev-20180310-38398-153sz4u/build/src/ui/ui_qgscompoundcolorwidget.h /tmp/qgis3-dev-20180310-38398-153sz4u/src/ui/qgscompoundcolorwidget.ui
[709/4734] /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_NO_CAST_TO_ASCII -DWITH_BINDINGS -DWITH_QTWEBKIT -Dqgis_native_EXPORTS -I. -I../src/native -Isrc/native -isystem /usr/local/Cellar/grass7/7.2.2/grass-base/include -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=gnu++11 -x objective-c++ -MD -MT src/native/CMakeFiles/qgis_native.dir/mac/qgsmacnative.mm.o -MF src/native/CMakeFiles/qgis_native.dir/mac/qgsmacnative.mm.o.d -o src/native/CMakeFiles/qgis_native.dir/mac/qgsmacnative.mm.o -c ../src/native/mac/qgsmacnative.mm
[710/4734] /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_NO_CAST_TO_ASCII -DWITH_BINDINGS -DWITH_QTWEBKIT -Dqgis_native_EXPORTS -I. -I../src/native -Isrc/native -isystem /usr/local/Cellar/grass7/7.2.2/grass-base/include -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=gnu++11 -x objective-c++ -MD -MT src/native/CMakeFiles/qgis_native.dir/mac/cocoainitializer.mm.o -MF src/native/CMakeFiles/qgis_native.dir/mac/cocoainitializer.mm.o.d -o src/native/CMakeFiles/qgis_native.dir/mac/cocoainitializer.mm.o -c ../src/native/mac/cocoainitializer.mm
ninja: build stopped: subcommand failed.
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/qgis/homebrew-qgisdev/issues
These open issues may also help:
Update qgis3-dev.rb https://github.com/qgis/homebrew-qgisdev/pull/63
Update qgis3-dev.rb https://github.com/qgis/homebrew-qgisdev/pull/61
Can't build QGIS3 Dev https://github.com/qgis/homebrew-qgisdev/issues/66
Python 3.6.0 upgrade breaks existing qgis3-dev https://github.com/qgis/homebrew-qgisdev/issues/11 |
Ok.. after reinstalling gdal2 with: brew reinstall gdal2 \
--with-armadillo --with-complete --with-libkml \
--with-opencl --with-postgresql --with-unsupported
==> Cloning https://github.com/qgis/QGIS.git
Updating /Users/lpuerto/Library/Caches/Homebrew/qgis3-dev--git
==> Checking out branch master
==> /usr/local/bin/pip3 install --user future psycopg2 python-dateutil httplib2 pytz six nose2 pygments jinja2 pyyaml re
==> cmake -G Ninja -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local
==> cmake --build . --target all -- -j 8
Last 15 lines from /Users/lpuerto/Library/Logs/Homebrew/qgis3-dev/03.cmake:
FAILED: python/plugins/db_manager/resources_rc.py
cd /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/plugins/db_manager && /usr/local/bin/pyrcc5 -o /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/plugins/db_manager/resources_rc.py /tmp/qgis3-dev-20180310-92979-1v1k7mi/python/plugins/db_manager/resources.qrc
ImportError: No module named site
[4280/4734] /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DHAVE_PGCONFIG=1 -DPROJ_HAS_INFO -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_UITOOLS_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DWITH_BINDINGS -DWITH_QTWEBKIT -DWITH_QWTPOLAR -Dqgis_app_EXPORTS -I. -I../external/libdxfrw -I../external/nmea -I../src/app -I../src/app/layout -I../src/app/pluginmanager -I../src/app/gps -I../src/app/dwg -I../src/app/locator -I../src/analysis/raster -I../src/core -I../src/core/annotations -I../src/core/auth -I../src/core/expression -I../src/core/gps -I../src/core/dxf -I../src/core/geometry -I../src/core/geocms/geonode -I../src/core/metadata -I../src/core/layertree -I../src/core/locator -I../src/core/providers/memory -I../src/core/raster -I../src/core/scalebar -I../src/core/symbology -I../src/gui -I../src/gui/symbology -I../src/gui/attributetable -I../src/gui/auth -I../src/gui/ogr -I../src/gui/raster -I../src/gui/editorwidgets -I../src/gui/editorwidgets/core -I../src/gui/layertree -I../src/gui/locator -I../src/plugins -I../src/python -I../src/native -Isrc/core -Isrc/gui -Isrc/python -Isrc/analysis -Isrc/app -Isrc/ui -Isrc/native -isystem /usr/local/opt/qwt/lib/qwt.framework/Headers -isystem /usr/local/opt/qscintilla2/include -isystem ../external/qextserialport -I../src/app/../analysis/processing -I../src/app/../analysis/raster -I../src/app/../core -I../src/app/../core/annotations -I../src/app/../core/auth -I../src/app/../core/gps -I../src/app/../core/dxf -I../src/app/../core/geometry -I../src/app/../core/geocms/geonode -I../src/app/../core/layout -I../src/app/../core/metadata -I../src/app/../core/layertree -I../src/app/../core/processing -I../src/app/../core/providers/memory -I../src/app/../core/raster -I../src/app/../core/scalebar -I../src/app/../core/symbology -I../src/app/../gui -I../src/app/../gui/symbology -I../src/app/../gui/attributetable -I../src/app/../gui/auth -I../src/app/../gui/ogr -I../src/app/../gui/raster -I../src/app/../gui/editorwidgets -I../src/app/../gui/editorwidgets/core -I../src/app/../gui/layertree -I../src/app/../gui/layout -I../src/app/../plugins -I../src/app/../python -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/lib/qwtpolar.framework/Headers -isystem /usr/local/opt/qca/lib/qca-qt5.framework/Headers -isystem /usr/local/include/qt5keychain -I../src/native/mac -isystem /usr/local/Cellar/postgresql/10.3/include -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtSql.framework/Headers -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/opt/qt/include -isystem /usr/local/opt/qt/include/QtUiTools -isystem /usr/local/opt/qt/lib/QtWidgets.framework/Headers -isystem /usr/local/opt/qt/lib/QtGui.framework/Headers -isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -iframework /usr/local/opt/qt5-webkit/lib -isystem /usr/local/opt/qt5-webkit/lib/QtWebKitWidgets.framework/Headers -isystem /usr/local/opt/qt5-webkit/lib/QtWebKit.framework/Headers -isystem /usr/local/opt/qt/lib/QtNetwork.framework/Headers -isystem /usr/local/opt/qt/lib/QtXml.framework/Headers -isystem /usr/local/opt/qt/lib/QtSvg.framework/Headers -isystem /usr/local/opt/qt/lib/QtPrintSupport.framework/Headers -isystem /usr/local/opt/qt/lib/QtConcurrent.framework/Headers -isystem /usr/local/opt/qt/lib/QtPositioning.framework/Headers -isystem /usr/local/Cellar/grass7/7.2.2/grass-base/include -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -F/usr/local/opt/qwt/lib -F/usr/local/opt/qwtpolar/lib -F/usr/local/opt/qca/lib -fPIC -std=gnu++11 -MD -MT src/app/CMakeFiles/qgis_app.dir/pluginmanager/moc_qgspluginmanager.cpp.o -MF src/app/CMakeFiles/qgis_app.dir/pluginmanager/moc_qgspluginmanager.cpp.o.d -o src/app/CMakeFiles/qgis_app.dir/pluginmanager/moc_qgspluginmanager.cpp.o -c src/app/pluginmanager/moc_qgspluginmanager.cpp
[4281/4734] /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DHAVE_PGCONFIG=1 -DPROJ_HAS_INFO -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_UITOOLS_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DWITH_BINDINGS -DWITH_QTWEBKIT -DWITH_QWTPOLAR -Dqgis_app_EXPORTS -I. -I../external/libdxfrw -I../external/nmea -I../src/app -I../src/app/layout -I../src/app/pluginmanager -I../src/app/gps -I../src/app/dwg -I../src/app/locator -I../src/analysis/raster -I../src/core -I../src/core/annotations -I../src/core/auth -I../src/core/expression -I../src/core/gps -I../src/core/dxf -I../src/core/geometry -I../src/core/geocms/geonode -I../src/core/metadata -I../src/core/layertree -I../src/core/locator -I../src/core/providers/memory -I../src/core/raster -I../src/core/scalebar -I../src/core/symbology -I../src/gui -I../src/gui/symbology -I../src/gui/attributetable -I../src/gui/auth -I../src/gui/ogr -I../src/gui/raster -I../src/gui/editorwidgets -I../src/gui/editorwidgets/core -I../src/gui/layertree -I../src/gui/locator -I../src/plugins -I../src/python -I../src/native -Isrc/core -Isrc/gui -Isrc/python -Isrc/analysis -Isrc/app -Isrc/ui -Isrc/native -isystem /usr/local/opt/qwt/lib/qwt.framework/Headers -isystem /usr/local/opt/qscintilla2/include -isystem ../external/qextserialport -I../src/app/../analysis/processing -I../src/app/../analysis/raster -I../src/app/../core -I../src/app/../core/annotations -I../src/app/../core/auth -I../src/app/../core/gps -I../src/app/../core/dxf -I../src/app/../core/geometry -I../src/app/../core/geocms/geonode -I../src/app/../core/layout -I../src/app/../core/metadata -I../src/app/../core/layertree -I../src/app/../core/processing -I../src/app/../core/providers/memory -I../src/app/../core/raster -I../src/app/../core/scalebar -I../src/app/../core/symbology -I../src/app/../gui -I../src/app/../gui/symbology -I../src/app/../gui/attributetable -I../src/app/../gui/auth -I../src/app/../gui/ogr -I../src/app/../gui/raster -I../src/app/../gui/editorwidgets -I../src/app/../gui/editorwidgets/core -I../src/app/../gui/layertree -I../src/app/../gui/layout -I../src/app/../plugins -I../src/app/../python -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/lib/qwtpolar.framework/Headers -isystem /usr/local/opt/qca/lib/qca-qt5.framework/Headers -isystem /usr/local/include/qt5keychain -I../src/native/mac -isystem /usr/local/Cellar/postgresql/10.3/include -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtSql.framework/Headers -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/opt/qt/include -isystem /usr/local/opt/qt/include/QtUiTools -isystem /usr/local/opt/qt/lib/QtWidgets.framework/Headers -isystem /usr/local/opt/qt/lib/QtGui.framework/Headers -isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -iframework /usr/local/opt/qt5-webkit/lib -isystem /usr/local/opt/qt5-webkit/lib/QtWebKitWidgets.framework/Headers -isystem /usr/local/opt/qt5-webkit/lib/QtWebKit.framework/Headers -isystem /usr/local/opt/qt/lib/QtNetwork.framework/Headers -isystem /usr/local/opt/qt/lib/QtXml.framework/Headers -isystem /usr/local/opt/qt/lib/QtSvg.framework/Headers -isystem /usr/local/opt/qt/lib/QtPrintSupport.framework/Headers -isystem /usr/local/opt/qt/lib/QtConcurrent.framework/Headers -isystem /usr/local/opt/qt/lib/QtPositioning.framework/Headers -isystem /usr/local/Cellar/grass7/7.2.2/grass-base/include -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -F/usr/local/opt/qwt/lib -F/usr/local/opt/qwtpolar/lib -F/usr/local/opt/qca/lib -fPIC -std=gnu++11 -MD -MT src/app/CMakeFiles/qgis_app.dir/locator/moc_qgsinbuiltlocatorfilters.cpp.o -MF src/app/CMakeFiles/qgis_app.dir/locator/moc_qgsinbuiltlocatorfilters.cpp.o.d -o src/app/CMakeFiles/qgis_app.dir/locator/moc_qgsinbuiltlocatorfilters.cpp.o -c src/app/locator/moc_qgsinbuiltlocatorfilters.cpp
[4282/4734] /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DHAVE_PGCONFIG=1 -DPROJ_HAS_INFO -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_UITOOLS_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DWITH_BINDINGS -DWITH_QTWEBKIT -DWITH_QWTPOLAR -Dqgis_app_EXPORTS -I. -I../external/libdxfrw -I../external/nmea -I../src/app -I../src/app/layout -I../src/app/pluginmanager -I../src/app/gps -I../src/app/dwg -I../src/app/locator -I../src/analysis/raster -I../src/core -I../src/core/annotations -I../src/core/auth -I../src/core/expression -I../src/core/gps -I../src/core/dxf -I../src/core/geometry -I../src/core/geocms/geonode -I../src/core/metadata -I../src/core/layertree -I../src/core/locator -I../src/core/providers/memory -I../src/core/raster -I../src/core/scalebar -I../src/core/symbology -I../src/gui -I../src/gui/symbology -I../src/gui/attributetable -I../src/gui/auth -I../src/gui/ogr -I../src/gui/raster -I../src/gui/editorwidgets -I../src/gui/editorwidgets/core -I../src/gui/layertree -I../src/gui/locator -I../src/plugins -I../src/python -I../src/native -Isrc/core -Isrc/gui -Isrc/python -Isrc/analysis -Isrc/app -Isrc/ui -Isrc/native -isystem /usr/local/opt/qwt/lib/qwt.framework/Headers -isystem /usr/local/opt/qscintilla2/include -isystem ../external/qextserialport -I../src/app/../analysis/processing -I../src/app/../analysis/raster -I../src/app/../core -I../src/app/../core/annotations -I../src/app/../core/auth -I../src/app/../core/gps -I../src/app/../core/dxf -I../src/app/../core/geometry -I../src/app/../core/geocms/geonode -I../src/app/../core/layout -I../src/app/../core/metadata -I../src/app/../core/layertree -I../src/app/../core/processing -I../src/app/../core/providers/memory -I../src/app/../core/raster -I../src/app/../core/scalebar -I../src/app/../core/symbology -I../src/app/../gui -I../src/app/../gui/symbology -I../src/app/../gui/attributetable -I../src/app/../gui/auth -I../src/app/../gui/ogr -I../src/app/../gui/raster -I../src/app/../gui/editorwidgets -I../src/app/../gui/editorwidgets/core -I../src/app/../gui/layertree -I../src/app/../gui/layout -I../src/app/../plugins -I../src/app/../python -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/lib/qwtpolar.framework/Headers -isystem /usr/local/opt/qca/lib/qca-qt5.framework/Headers -isystem /usr/local/include/qt5keychain -I../src/native/mac -isystem /usr/local/Cellar/postgresql/10.3/include -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtSql.framework/Headers -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/opt/qt/include -isystem /usr/local/opt/qt/include/QtUiTools -isystem /usr/local/opt/qt/lib/QtWidgets.framework/Headers -isystem /usr/local/opt/qt/lib/QtGui.framework/Headers -isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -iframework /usr/local/opt/qt5-webkit/lib -isystem /usr/local/opt/qt5-webkit/lib/QtWebKitWidgets.framework/Headers -isystem /usr/local/opt/qt5-webkit/lib/QtWebKit.framework/Headers -isystem /usr/local/opt/qt/lib/QtNetwork.framework/Headers -isystem /usr/local/opt/qt/lib/QtXml.framework/Headers -isystem /usr/local/opt/qt/lib/QtSvg.framework/Headers -isystem /usr/local/opt/qt/lib/QtPrintSupport.framework/Headers -isystem /usr/local/opt/qt/lib/QtConcurrent.framework/Headers -isystem /usr/local/opt/qt/lib/QtPositioning.framework/Headers -isystem /usr/local/Cellar/grass7/7.2.2/grass-base/include -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -F/usr/local/opt/qwt/lib -F/usr/local/opt/qwtpolar/lib -F/usr/local/opt/qca/lib -fPIC -std=gnu++11 -MD -MT src/app/CMakeFiles/qgis_app.dir/gps/moc_qgsgpsinformationwidget.cpp.o -MF src/app/CMakeFiles/qgis_app.dir/gps/moc_qgsgpsinformationwidget.cpp.o.d -o src/app/CMakeFiles/qgis_app.dir/gps/moc_qgsgpsinformationwidget.cpp.o -c src/app/gps/moc_qgsgpsinformationwidget.cpp
[4283/4734] cd /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python && /usr/local/Cellar/cmake/3.10.2/bin/cmake -E echo && /usr/local/Cellar/cmake/3.10.2/bin/cmake -E touch /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/server/sip_serverpart0.cpp /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/server/sip_serverpart1.cpp /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/server/sip_serverpart2.cpp /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/server/sip_serverpart3.cpp && /usr/local/Cellar/sip/4.19.8_1/bin/sip -w -e -x TESTS -x ANDROID -x ARM -x MOBILITY_LOCATION -t WS_MACX -t Qt_5_10_1 -g -o -a /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/qgis.server.api -j 4 -c /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/server -I /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/server -I /usr/local/share/sip/Qt5 -I /tmp/qgis3-dev-20180310-92979-1v1k7mi/python /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/server/server.sip
[4284/4734] cd /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python && /usr/local/Cellar/cmake/3.10.2/bin/cmake -E echo && /usr/local/Cellar/cmake/3.10.2/bin/cmake -E touch /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/analysis/sip_analysispart0.cpp /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/analysis/sip_analysispart1.cpp /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/analysis/sip_analysispart2.cpp /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/analysis/sip_analysispart3.cpp && /usr/local/Cellar/sip/4.19.8_1/bin/sip -w -e -x TESTS -x ANDROID -x ARM -x MOBILITY_LOCATION -t WS_MACX -t Qt_5_10_1 -g -o -a /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/qgis.analysis.api -j 4 -c /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/analysis -I /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/analysis -I /usr/local/share/sip/Qt5 -I /tmp/qgis3-dev-20180310-92979-1v1k7mi/python /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/analysis/analysis.sip
[4285/4734] cd /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python && /usr/local/Cellar/cmake/3.10.2/bin/cmake -E echo && /usr/local/Cellar/cmake/3.10.2/bin/cmake -E touch /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/core/sip_corepart0.cpp /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/core/sip_corepart1.cpp /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/core/sip_corepart2.cpp /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/core/sip_corepart3.cpp && /usr/local/Cellar/sip/4.19.8_1/bin/sip -w -e -x TESTS -x ANDROID -x ARM -x MOBILITY_LOCATION -t WS_MACX -t Qt_5_10_1 -g -o -a /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/qgis.core.api -j 4 -c /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/core -I /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/core -I /usr/local/share/sip/Qt5 -I /tmp/qgis3-dev-20180310-92979-1v1k7mi/python /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/core/core.sip
[4286/4734] cd /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python && /usr/local/Cellar/cmake/3.10.2/bin/cmake -E echo && /usr/local/Cellar/cmake/3.10.2/bin/cmake -E touch /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/gui/sip_guipart0.cpp /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/gui/sip_guipart1.cpp /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/gui/sip_guipart2.cpp /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/gui/sip_guipart3.cpp && /usr/local/Cellar/sip/4.19.8_1/bin/sip -w -e -x TESTS -x ANDROID -x ARM -x MOBILITY_LOCATION -t WS_MACX -t Qt_5_10_1 -g -o -a /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/qgis.gui.api -I /usr/local/share/sip -j 4 -c /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/gui -I /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/gui -I /usr/local/share/sip/Qt5 -I /tmp/qgis3-dev-20180310-92979-1v1k7mi/python /tmp/qgis3-dev-20180310-92979-1v1k7mi/build/python/gui/gui.sip
ninja: build stopped: subcommand failed.
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/qgis/homebrew-qgisdev/issues
These open issues may also help:
Update qgis3-dev.rb https://github.com/qgis/homebrew-qgisdev/pull/63
Update qgis3-dev.rb https://github.com/qgis/homebrew-qgisdev/pull/61
Can't build QGIS3 Dev https://github.com/qgis/homebrew-qgisdev/issues/66
Python 3.6.0 upgrade breaks existing qgis3-dev https://github.com/qgis/homebrew-qgisdev/issues/11 Something related to python... |
Hey @luisspuerto, try the fix listed here: #62 (comment) I am running the build now, after also doing a reinstall of gdal2 using |
@alexgleith I've already reinstalled gdal2 not only with $ brew reinstall gdal2 \
--with-armadillo --with-complete --with-libkml \
--with-opencl --with-postgresql --with-unsupported So... I don't thing it's going to be that in my case. I also tried to replacing |
So, @luisspuerto, I think if you're still getting this error |
@alexgleith thanks!! I made it happen. Problem was I replaced Anyhow, this is plain weird because as far as I know |
I did exactly the same thing, @luisspuerto! Er... I think it depends whether I'm not sure what 'best practice' is, but it seems safer to use |
Well apparently it depends... I had it working with |
Is homebrew or osgeo4mac who is messing now with python? I mean... I deleted osgeo4mac and all the related formulae like yesterday or two days ago. Then I checked |
I just thinking this since the formulae to install qgis haven't been updated since Christmas and they didn't reflect the change in the homebrew's python policy. |
I think this is also relevant: |
Thanks for that, @luisspuerto. It's good to know that there's a PEP for that, and so, python should always refer to python2. |
I get this on terminal.
Any idea of what is the problem?
The text was updated successfully, but these errors were encountered: