Skip to content
This repository has been archived by the owner on May 24, 2019. It is now read-only.

delete matplotlib from depends_on and use pip version #51

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

smellman
Copy link

@smellman smellman commented Jan 6, 2018

#50
matplotlib removed from homebrew

@yuletide
Copy link

yuletide commented Jan 24, 2018

I get this error when using this script:

[3837/4514] : && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -dynamiclib -Wl,-headerpad_max_install_names -Qunused-arguments -F/Library/Frameworks -compatibility_version 2.99.0 -current_version 2.99.0 -o output/lib/libqgispython.2.99.0.dylib -install_name /tmp/qgis3-dev-20180124-79439-1geo2lp/build/output/lib/libqgispython.2.99.0.dylib src/python/CMakeFiles/qgispython.dir/qgispython.cpp.o src/python/CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o -F/usr/local/opt/qca/lib -L/tmp/qgis3-dev-20180124-79439-1geo2lp/build/src/core -L/tmp/qgis3-dev-20180124-79439-1geo2lp/build/src/gui output/lib/qgis_core.framework/Versions/2.99/qgis_core output/lib/qgis_native.framework/Versions/2.99/qgis_native -framework ApplicationServices -framework CoreFoundation -framework IOKit -framework AppKit /usr/local/lib/libtasn1.dylib /usr/local/opt/qt/lib/QtXml.framework/QtXml /usr/local/opt/qt/lib/QtConcurrent.framework/QtConcurrent /usr/local/opt/qt/lib/QtPrintSupport.framework/QtPrintSupport /usr/local/opt/qt/lib/QtSvg.framework/QtSvg /usr/local/opt/qt5-webkit/lib/QtWebKitWidgets.framework/QtWebKitWidgets /usr/local/opt/qt/lib/QtWidgets.framework/QtWidgets /usr/local/opt/qt5-webkit/lib/QtWebKit.framework/QtWebKit /usr/local/opt/qt/lib/QtGui.framework/QtGui /usr/local/opt/qt/lib/QtNetwork.framework/QtNetwork /usr/local/opt/qt/lib/QtSql.framework/QtSql -framework qca-qt5 /usr/local/lib/libqt5keychain.dylib /usr/local/opt/proj/lib/libproj.dylib /usr/local/opt/geos/lib/libgeos_c.dylib /usr/local/opt/gdal2/lib/libgdal.dylib /usr/local/opt/spatialindex/lib/libspatialindex.dylib /usr/local/opt/expat/lib/libexpat.dylib /usr/local/opt/sqlite/lib/libsqlite3.dylib /usr/local/opt/libspatialite/lib/libspatialite.dylib /usr/local/opt/libzip/lib/libzip.dylib /usr/local/opt/qt/lib/QtPositioning.framework/QtPositioning /usr/local/opt/qt/lib/QtCore.framework/QtCore && :
FAILED: output/lib/libqgispython.2.99.0.dylib
: && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -dynamiclib -Wl,-headerpad_max_install_names -Qunused-arguments -F/Library/Frameworks -compatibility_version 2.99.0 -current_version 2.99.0 -o output/lib/libqgispython.2.99.0.dylib -install_name /tmp/qgis3-dev-20180124-79439-1geo2lp/build/output/lib/libqgispython.2.99.0.dylib src/python/CMakeFiles/qgispython.dir/qgispython.cpp.o src/python/CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o -F/usr/local/opt/qca/lib -L/tmp/qgis3-dev-20180124-79439-1geo2lp/build/src/core -L/tmp/qgis3-dev-20180124-79439-1geo2lp/build/src/gui output/lib/qgis_core.framework/Versions/2.99/qgis_core output/lib/qgis_native.framework/Versions/2.99/qgis_native -framework ApplicationServices -framework CoreFoundation -framework IOKit -framework AppKit /usr/local/lib/libtasn1.dylib /usr/local/opt/qt/lib/QtXml.framework/QtXml /usr/local/opt/qt/lib/QtConcurrent.framework/QtConcurrent /usr/local/opt/qt/lib/QtPrintSupport.framework/QtPrintSupport /usr/local/opt/qt/lib/QtSvg.framework/QtSvg /usr/local/opt/qt5-webkit/lib/QtWebKitWidgets.framework/QtWebKitWidgets /usr/local/opt/qt/lib/QtWidgets.framework/QtWidgets /usr/local/opt/qt5-webkit/lib/QtWebKit.framework/QtWebKit /usr/local/opt/qt/lib/QtGui.framework/QtGui /usr/local/opt/qt/lib/QtNetwork.framework/QtNetwork /usr/local/opt/qt/lib/QtSql.framework/QtSql -framework qca-qt5 /usr/local/lib/libqt5keychain.dylib /usr/local/opt/proj/lib/libproj.dylib /usr/local/opt/geos/lib/libgeos_c.dylib /usr/local/opt/gdal2/lib/libgdal.dylib /usr/local/opt/spatialindex/lib/libspatialindex.dylib /usr/local/opt/expat/lib/libexpat.dylib /usr/local/opt/sqlite/lib/libsqlite3.dylib /usr/local/opt/libspatialite/lib/libspatialite.dylib /usr/local/opt/libzip/lib/libzip.dylib /usr/local/opt/qt/lib/QtPositioning.framework/QtPositioning /usr/local/opt/qt/lib/QtCore.framework/QtCore && :
Undefined symbols for architecture x86_64:
"_PyErr_Fetch", referenced from:
QgsPythonUtilsImpl::getTraceback() in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::getError(QString&, QString&) in qgspythonutilsimpl.cpp.o
"_PyErr_NormalizeException", referenced from:
QgsPythonUtilsImpl::getTraceback() in qgspythonutilsimpl.cpp.o
"_PyErr_Occurred", referenced from:
QgsPythonUtilsImpl::runStringUnsafe(QString const&, bool) in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::getError(QString&, QString&) in qgspythonutilsimpl.cpp.o
"_PyEval_InitThreads", referenced from:
QgsPythonUtilsImpl::init() in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::initPython(QgisInterface*) in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::initServerPython(QgsServerInterface*) in qgspythonutilsimpl.cpp.o
"_PyEval_SaveThread", referenced from:
QgsPythonUtilsImpl::finish() in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::initPython(QgisInterface*) in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::initServerPython(QgsServerInterface*) in qgspythonutilsimpl.cpp.o
"_PyGILState_Ensure", referenced from:
QgsPythonUtilsImpl::runStringUnsafe(QString const&, bool) in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::getTraceback() in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::getError(QString&, QString&) in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::evalString(QString const&, QString&) in qgspythonutilsimpl.cpp.o
"_PyGILState_Release", referenced from:
QgsPythonUtilsImpl::runStringUnsafe(QString const&, bool) in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::getTraceback() in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::getError(QString&, QString&) in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::evalString(QString const&, QString&) in qgspythonutilsimpl.cpp.o
"_PyImport_AddModule", referenced from:
QgsPythonUtilsImpl::init() in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::initPython(QgisInterface*) in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::initServerPython(QgsServerInterface*) in qgspythonutilsimpl.cpp.o
"_PyImport_ImportModule", referenced from:
QgsPythonUtilsImpl::getTraceback() in qgspythonutilsimpl.cpp.o
"_PyModule_GetDict", referenced from:
QgsPythonUtilsImpl::init() in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::initPython(QgisInterface*) in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::initServerPython(QgsServerInterface*) in qgspythonutilsimpl.cpp.o
"_PyObject_CallMethod", referenced from:
QgsPythonUtilsImpl::getTraceback() in qgspythonutilsimpl.cpp.o
"_PyObject_Str", referenced from:
QgsPythonUtilsImpl::PyObjectToQString(_object*) in qgspythonutilsimpl.cpp.o
"_PyRun_StringFlags", referenced from:
QgsPythonUtilsImpl::runStringUnsafe(QString const&, bool) in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::evalString(QString const&, QString&) in qgspythonutilsimpl.cpp.o
"_PyUnicode_AsUTF8", referenced from:
QgsPythonUtilsImpl::getTraceback() in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::PyObjectToQString(_object*) in qgspythonutilsimpl.cpp.o
"_Py_Finalize", referenced from:
QgsPythonUtilsImpl::exitPython() in qgspythonutilsimpl.cpp.o
"_Py_Initialize", referenced from:
QgsPythonUtilsImpl::init() in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::initPython(QgisInterface*) in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::initServerPython(QgsServerInterface*) in qgspythonutilsimpl.cpp.o
"__Py_NoneStruct", referenced from:
QgsPythonUtilsImpl::getTraceback() in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::PyObjectToQString(_object*) in qgspythonutilsimpl.cpp.o
QgsPythonUtilsImpl::getError(QString&, QString&) in qgspythonutilsimpl.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[3838/4514] /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -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 -Dgeorefplugin_EXPORTS -I. -I../src/plugins/georeferencer -I../src/core -I../src/core/expression -I../src/core/geometry -I../src/core/metadata -I../src/core/raster -I../src/core/layout -I../src/core/symbology -I../src/gui -I../src/gui/editorwidgets -I../src/gui/layertree -I../src/plugins -Isrc/core -Isrc/gui -Isrc/app -Isrc/ui -Isrc/plugins/georeferencer -isystem /usr/local/opt/gsl/include -isystem ../src/plugins/georeferencer/include/qgis -isystem /usr/local/opt/gdal2/include -isystem /usr/local/opt/geos/include -isystem /usr/local/opt/qwt/lib/qwt.framework/Headers -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtXml.framework/Headers -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/opt/qt/lib/QtConcurrent.framework/Headers -isystem /usr/local/opt/qt/lib/QtGui.framework/Headers -isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem /usr/local/opt/qt/lib/QtWidgets.framework/Headers -isystem /usr/local/opt/qt/lib/QtPrintSupport.framework/Headers -isystem /usr/local/opt/qt/lib/QtSvg.framework/Headers -isystem /usr/local/opt/qt/lib/QtNetwork.framework/Headers -iframework /usr/local/opt/qt5-webkit/lib -isystem /usr/local/opt/qt5-webkit/lib/QtWebKit.framework/Headers -isystem /usr/local/opt/qt5-webkit/lib/QtWebKitWidgets.framework/Headers -isystem /usr/local/opt/qt/lib/QtSql.framework/Headers -isystem /usr/local/opt/qt/lib/QtPositioning.framework/Headers -isystem /usr/local/opt/qt/include -isystem /usr/local/opt/qt/include/QtUiTools -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -F/usr/local/opt/qca/lib -F/usr/local/opt/qwt/lib -fPIC -std=gnu++11 -MD -MT src/plugins/georeferencer/CMakeFiles/georefplugin.dir/moc_qgsgcplistmodel.cpp.o -MF src/plugins/georeferencer/CMakeFiles/georefplugin.dir/moc_qgsgcplistmodel.cpp.o.d -o src/plugins/georeferencer/CMakeFiles/georefplugin.dir/moc_qgsgcplistmodel.cpp.o -c src/plugins/georeferencer/moc_qgsgcplistmodel.cpp
[3839/4514] /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -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 -Dgeorefplugin_EXPORTS -I. -I../src/plugins/georeferencer -I../src/core -I../src/core/expression -I../src/core/geometry -I../src/core/metadata -I../src/core/raster -I../src/core/layout -I../src/core/symbology -I../src/gui -I../src/gui/editorwidgets -I../src/gui/layertree -I../src/plugins -Isrc/core -Isrc/gui -Isrc/app -Isrc/ui -Isrc/plugins/georeferencer -isystem /usr/local/opt/gsl/include -isystem ../src/plugins/georeferencer/include/qgis -isystem /usr/local/opt/gdal2/include -isystem /usr/local/opt/geos/include -isystem /usr/local/opt/qwt/lib/qwt.framework/Headers -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtXml.framework/Headers -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/opt/qt/lib/QtConcurrent.framework/Headers -isystem /usr/local/opt/qt/lib/QtGui.framework/Headers -isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem /usr/local/opt/qt/lib/QtWidgets.framework/Headers -isystem /usr/local/opt/qt/lib/QtPrintSupport.framework/Headers -isystem /usr/local/opt/qt/lib/QtSvg.framework/Headers -isystem /usr/local/opt/qt/lib/QtNetwork.framework/Headers -iframework /usr/local/opt/qt5-webkit/lib -isystem /usr/local/opt/qt5-webkit/lib/QtWebKit.framework/Headers -isystem /usr/local/opt/qt5-webkit/lib/QtWebKitWidgets.framework/Headers -isystem /usr/local/opt/qt/lib/QtSql.framework/Headers -isystem /usr/local/opt/qt/lib/QtPositioning.framework/Headers -isystem /usr/local/opt/qt/include -isystem /usr/local/opt/qt/include/QtUiTools -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -F/usr/local/opt/qca/lib -F/usr/local/opt/qwt/lib -fPIC -std=gnu++11 -MD -MT src/plugins/georeferencer/CMakeFiles/georefplugin.dir/moc_qgsgcplistwidget.cpp.o -MF src/plugins/georeferencer/CMakeFiles/georefplugin.dir/moc_qgsgcplistwidget.cpp.o.d -o src/plugins/georeferencer/CMakeFiles/georefplugin.dir/moc_qgsgcplistwidget.cpp.o -c src/plugins/georeferencer/moc_qgsgcplistwidget.cpp
[3840/4514] /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -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 -Dgeorefplugin_EXPORTS -I. -I../src/plugins/georeferencer -I../src/core -I../src/core/expression -I../src/core/geometry -I../src/core/metadata -I../src/core/raster -I../src/core/layout -I../src/core/symbology -I../src/gui -I../src/gui/editorwidgets -I../src/gui/layertree -I../src/plugins -Isrc/core -Isrc/gui -Isrc/app -Isrc/ui -Isrc/plugins/georeferencer -isystem /usr/local/opt/gsl/include -isystem ../src/plugins/georeferencer/include/qgis -isystem /usr/local/opt/gdal2/include -isystem /usr/local/opt/geos/include -isystem /usr/local/opt/qwt/lib/qwt.framework/Headers -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtXml.framework/Headers -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/opt/qt/lib/QtConcurrent.framework/Headers -isystem /usr/local/opt/qt/lib/QtGui.framework/Headers -isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem /usr/local/opt/qt/lib/QtWidgets.framework/Headers -isystem /usr/local/opt/qt/lib/QtPrintSupport.framework/Headers -isystem /usr/local/opt/qt/lib/QtSvg.framework/Headers -isystem /usr/local/opt/qt/lib/QtNetwork.framework/Headers -iframework /usr/local/opt/qt5-webkit/lib -isystem /usr/local/opt/qt5-webkit/lib/QtWebKit.framework/Headers -isystem /usr/local/opt/qt5-webkit/lib/QtWebKitWidgets.framework/Headers -isystem /usr/local/opt/qt/lib/QtSql.framework/Headers -isystem /usr/local/opt/qt/lib/QtPositioning.framework/Headers -isystem /usr/local/opt/qt/include -isystem /usr/local/opt/qt/include/QtUiTools -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -F/usr/local/opt/qca/lib -F/usr/local/opt/qwt/lib -fPIC -std=gnu++11 -MD -MT src/plugins/georeferencer/CMakeFiles/georefplugin.dir/moc_qgstransformsettingsdialog.cpp.o -MF src/plugins/georeferencer/CMakeFiles/georefplugin.dir/moc_qgstransformsettingsdialog.cpp.o.d -o src/plugins/georeferencer/CMakeFiles/georefplugin.dir/moc_qgstransformsettingsdialog.cpp.o -c src/plugins/georeferencer/moc_qgstransformsettingsdialog.cpp
ninja: build stopped: subcommand failed.

Do not report this issue to Homebrew/brew or Homebrew/core!

@alexgleith
Copy link

This fixed the build for me. Can we merge this into master, so the build starts working again?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants