Comments (19)
Yay! It worked! 🎉
from homebrew-qgisdev.
Doing a combination of suggestions in this thread got it to work for me:
brew tap-pin qgis/qgisdev
brew reinstall gdal2 --with-complete
(orbrew install gdal2 --with-complete
if not already installed)brew install pyqt
(if not installed already)- edit
/usr/local/bin/pyrcc5
to:
#!/bin/sh
exec python3 -m PyQt5.pyrcc_main ${1+"$@"}
brew install --no-sandbox qgis3-dev
Thanks!
from homebrew-qgisdev.
from homebrew-qgisdev.
The culprit seems to be PyQt5. Installing it using pip allows me to complete a build of qgis3 but there still are errors when launching the app. Now I'm not sure anymore if this is really an issue of the qgis Formula and not the PyQt5 one.
from homebrew-qgisdev.
Well... I’ve tried a number of different things. I've managed to get all dependencies installed and, at least I think, working properly (passing brew test). PyQt tools now work again. I had to build it all from source (gdal2 wasn’t working when using the bottle). I still get an error saying “no module named site”.
Full logs here : gist-logs
from homebrew-qgisdev.
Eureka ! Found the problem ! In my case, the /usr/local/bin/pyrcc5 executable had the following in it :
#!/bin/sh
exec pythonw2.7 -m PyQt5.pyrcc_main ${1+"$@"}
replacing pythonw2.7
with python3
did it for me. Calling pythonw2.7
with the PYTHONHOME and PYTHONPATH from the qgis3-dev Formula was throwing the "ImportError: No module named site".
I still don't really know if my issue is a problem of the qgis3-dev formula (probably not...) but if others run into the same issue at least you'll have a "hack" to work with.
from homebrew-qgisdev.
Ok, I tried the change the the pyrcc5
file, and it seems to get further. Now I'm stuck with:
FAILED: python/plugins/db_manager/ui_DlgCreateTable.py
cd /tmp/qgis3-dev-20180310-54526-ap49is/build/python/plugins/db_manager && /tmp/qgis3-dev-20180310-54526-ap49is/scripts/pyuic-wrapper.sh /usr/local/bin/pyuic5 /tmp/qgis3-dev-20180310-54526-ap49is/build/output/lib /tmp/qgis3-dev-20180310-54526-ap49is/build/output/python /usr/local/bin/python3 /tmp/qgis3-dev-20180310-54526-ap49is/python/plugins/db_manager/ui/DlgCreateTable.ui -o /tmp/qgis3-dev-20180310-54526-ap49is/build/python/plugins/db_manager/ui_DlgCreateTable.py
Traceback (most recent call last):
File "/tmp/qgis3-dev-20180310-54526-ap49is/scripts/pyuic-wrapper.py", line 26, in <module>
import qgis.PyQt.uic.pyuic
File "/tmp/qgis3-dev-20180310-54526-ap49is/build/output/python/qgis/__init__.py", line 72, in <module>
from qgis.core import QgsFeature, QgsGeometry
File "/tmp/qgis3-dev-20180310-54526-ap49is/build/output/python/qgis/core/__init__.py", line 34, in <module>
from qgis._core import *
ImportError: dlopen(/tmp/qgis3-dev-20180310-54526-ap49is/build/output/python/qgis/_core.so, 2): Library not loaded: /usr/local/opt/proj/lib/libproj.12.dylib
Referenced from: /usr/local/opt/gdal2/lib/libgdal.20.dylib
Reason: image not found
ninja: build stopped: subcommand failed.
from homebrew-qgisdev.
Uninstall gdal2 and build it from source (option --build-from-source
).
I believe that proj is now version 5 and that breaks the gdal2 bottle.
from homebrew-qgisdev.
Well, that gdal build failed too... I think I'm trying to live a bit close to the edge!
Last 15 lines from /Users/alex/Library/Logs/Homebrew/gdal2/02.make:
libtool: compile: clang -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gcore -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/alg -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr/ogrsf_frmts -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gnm -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/apps -arch x86_64 -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -I/usr/local/opt/sqlite/include -Wall -Wdeclaration-after-statement -Wextra -Winit-self -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wformat -Werror=format-security -Wno-format-nonliteral -Wshorten-64-to-32 -Wshadow -Werror=vla -Wdeclaration-after-statement -Wdate-time -Wnull-dereference -Wcomma -Wfloat-conversion -Wdocumentation -Wno-documentation-deprecated-sync -I. -DGDALDRIVER -DGNM_ENABLED -I/usr/local/Cellar/gdal2/2.2.3/include -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/libpng -I/usr/local/opt/libpng/include -I/usr -I/usr/include -DGDAL_COMPILATION -c blx.c -fno-common -DPIC -o ../o/.libs/blx.o
/bin/sh /private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/libtool --mode=compile --tag=CXX clang++ -std=gnu++11 -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gcore -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/alg -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr/ogrsf_frmts -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gnm -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/apps -arch x86_64 -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -g -O2 -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wshorten-64-to-32 -Wshadow -Werror=vla -Wdate-time -Wnull-dereference -Wcomma -Wfloat-conversion -Wdocumentation -Wno-documentation-deprecated-sync -Wunused-private-field -Wmissing-prototypes -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wimplicit-fallthrough -DGNM_ENABLED -I/usr/local/Cellar/gdal2/2.2.3/include -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/libpng -I/usr/local/opt/libpng/include -I/usr -I/usr/include -DGDAL_COMPILATION -I. -DGDAL_SUPPORT -c -o ../o/msg_basic_types.lo msg_basic_types.cpp
libtool: compile: clang++ -std=gnu++11 -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gcore -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/alg -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr/ogrsf_frmts -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gnm -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/apps -arch x86_64 -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -g -O2 -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wshorten-64-to-32 -Wshadow -Werror=vla -Wdate-time -Wnull-dereference -Wcomma -Wfloat-conversion -Wdocumentation -Wno-documentation-deprecated-sync -Wunused-private-field -Wmissing-prototypes -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wimplicit-fallthrough -DGNM_ENABLED -I/usr/local/Cellar/gdal2/2.2.3/include -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/libpng -I/usr/local/opt/libpng/include -I/usr -I/usr/include -DGDAL_COMPILATION -I. -DGDAL_SUPPORT -c msgndataset.cpp -fno-common -DPIC -o ../o/.libs/msgndataset.o
libtool: compile: clang++ -std=gnu++11 -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gcore -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/alg -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr/ogrsf_frmts -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gnm -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/apps -arch x86_64 -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -g -O2 -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wshorten-64-to-32 -Wshadow -Werror=vla -Wdate-time -Wnull-dereference -Wcomma -Wfloat-conversion -Wdocumentation -Wno-documentation-deprecated-sync -Wunused-private-field -Wmissing-prototypes -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wimplicit-fallthrough -DGNM_ENABLED -I/usr/local/Cellar/gdal2/2.2.3/include -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/libpng -I/usr/local/opt/libpng/include -I/usr -I/usr/include -DGDAL_COMPILATION -I. -DGDAL_SUPPORT -c msg_basic_types.cpp -fno-common -DPIC -o ../o/.libs/msg_basic_types.o
libtool: compile: clang++ -std=gnu++11 -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gcore -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/alg -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr/ogrsf_frmts -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gnm -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/apps -arch x86_64 -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -g -O2 -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wshorten-64-to-32 -Wshadow -Werror=vla -Wdate-time -Wnull-dereference -Wcomma -Wfloat-conversion -Wdocumentation -Wno-documentation-deprecated-sync -Wunused-private-field -Wmissing-prototypes -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wimplicit-fallthrough -DGNM_ENABLED -I/usr/local/Cellar/gdal2/2.2.3/include -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/libpng -I/usr/local/opt/libpng/include -I/usr -I/usr/include -DGDAL_COMPILATION -c terragendataset.cpp -o ../o/terragendataset.o >/dev/null 2>&1
make[1]: *** [pds-install-obj] Error 2
make[1]: *** Waiting for unfinished jobs....
/bin/sh /private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/libtool --mode=compile --tag=CXX clang++ -std=gnu++11 -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gcore -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/alg -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr/ogrsf_frmts -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gnm -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/apps -arch x86_64 -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -g -O2 -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wshorten-64-to-32 -Wshadow -Werror=vla -Wdate-time -Wnull-dereference -Wcomma -Wfloat-conversion -Wdocumentation -Wno-documentation-deprecated-sync -Wunused-private-field -Wmissing-prototypes -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wimplicit-fallthrough -DGNM_ENABLED -I/usr/local/Cellar/gdal2/2.2.3/include -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/libpng -I/usr/local/opt/libpng/include -I/usr -I/usr/include -DGDAL_COMPILATION -I. -DGDAL_SUPPORT -c -o ../o/msg_reader_core.lo msg_reader_core.cpp
libtool: compile: clang++ -std=gnu++11 -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gcore -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/alg -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr/ogrsf_frmts -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gnm -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/apps -arch x86_64 -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -g -O2 -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wshorten-64-to-32 -Wshadow -Werror=vla -Wdate-time -Wnull-dereference -Wcomma -Wfloat-conversion -Wdocumentation -Wno-documentation-deprecated-sync -Wunused-private-field -Wmissing-prototypes -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wimplicit-fallthrough -DGNM_ENABLED -I/usr/local/Cellar/gdal2/2.2.3/include -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/libpng -I/usr/local/opt/libpng/include -I/usr -I/usr/include -DGDAL_COMPILATION -I. -DGDAL_SUPPORT -c msg_reader_core.cpp -fno-common -DPIC -o ../o/.libs/msg_reader_core.o
libtool: compile: clang++ -std=gnu++11 -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gcore -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/alg -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr/ogrsf_frmts -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gnm -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/apps -arch x86_64 -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -g -O2 -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wshorten-64-to-32 -Wshadow -Werror=vla -Wdate-time -Wnull-dereference -Wcomma -Wfloat-conversion -Wdocumentation -Wno-documentation-deprecated-sync -Wunused-private-field -Wmissing-prototypes -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wimplicit-fallthrough -I. -DGDALDRIVER -DGNM_ENABLED -I/usr/local/Cellar/gdal2/2.2.3/include -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/libpng -I/usr/local/opt/libpng/include -I/usr -I/usr/include -DGDAL_COMPILATION -c blxdataset.cpp -o ../o/blxdataset.o >/dev/null 2>&1
libtool: compile: clang++ -std=gnu++11 -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gcore -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/alg -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr/ogrsf_frmts -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gnm -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/apps -arch x86_64 -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -g -O2 -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wshorten-64-to-32 -Wshadow -Werror=vla -Wdate-time -Wnull-dereference -Wcomma -Wfloat-conversion -Wdocumentation -Wno-documentation-deprecated-sync -Wunused-private-field -Wmissing-prototypes -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wimplicit-fallthrough -DGNM_ENABLED -I/usr/local/Cellar/gdal2/2.2.3/include -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/libpng -I/usr/local/opt/libpng/include -I/usr -I/usr/include -DGDAL_COMPILATION -I. -DGDAL_SUPPORT -c msg_basic_types.cpp -o ../o/msg_basic_types.o >/dev/null 2>&1
libtool: compile: clang -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gcore -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/alg -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr/ogrsf_frmts -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gnm -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/apps -arch x86_64 -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -I/usr/local/opt/sqlite/include -Wall -Wdeclaration-after-statement -Wextra -Winit-self -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wformat -Werror=format-security -Wno-format-nonliteral -Wshorten-64-to-32 -Wshadow -Werror=vla -Wdeclaration-after-statement -Wdate-time -Wnull-dereference -Wcomma -Wfloat-conversion -Wdocumentation -Wno-documentation-deprecated-sync -I. -DGDALDRIVER -DGNM_ENABLED -I/usr/local/Cellar/gdal2/2.2.3/include -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/libpng -I/usr/local/opt/libpng/include -I/usr -I/usr/include -DGDAL_COMPILATION -c blx.c -o ../o/blx.o >/dev/null 2>&1
libtool: compile: clang++ -std=gnu++11 -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gcore -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/alg -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr/ogrsf_frmts -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gnm -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/apps -arch x86_64 -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -g -O2 -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wshorten-64-to-32 -Wshadow -Werror=vla -Wdate-time -Wnull-dereference -Wcomma -Wfloat-conversion -Wdocumentation -Wno-documentation-deprecated-sync -Wunused-private-field -Wmissing-prototypes -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wimplicit-fallthrough -DGNM_ENABLED -I/usr/local/Cellar/gdal2/2.2.3/include -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/libpng -I/usr/local/opt/libpng/include -I/usr -I/usr/include -DGDAL_COMPILATION -I. -DGDAL_SUPPORT -c msg_reader_core.cpp -o ../o/msg_reader_core.o >/dev/null 2>&1
libtool: compile: clang++ -std=gnu++11 -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gcore -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/alg -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/ogr/ogrsf_frmts -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/gnm -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/apps -arch x86_64 -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -g -O2 -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wshorten-64-to-32 -Wshadow -Werror=vla -Wdate-time -Wnull-dereference -Wcomma -Wfloat-conversion -Wdocumentation -Wno-documentation-deprecated-sync -Wunused-private-field -Wmissing-prototypes -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wimplicit-fallthrough -DGNM_ENABLED -I/usr/local/Cellar/gdal2/2.2.3/include -I/private/tmp/gdal2-20180310-76821-15xhugu/gdal-2.2.3/port -I/usr/local -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/libpng -I/usr/local/opt/libpng/include -I/usr -I/usr/include -DGDAL_COMPILATION -I. -DGDAL_SUPPORT -c msgndataset.cpp -o ../o/msgndataset.o >/dev/null 2>&1
make: *** [frmts-target] Error 2
from homebrew-qgisdev.
For me, reinstalling gdal2 brew reinstall gdal2 --with-complete
helped without compiling from source.
from homebrew-qgisdev.
Sorry... That’s one error I haven’t come across.
I was always starting with a fresh homebrew install, making sure that brew doctor
was clean and brew test $(brew list)
passes all tests without issues.
from homebrew-qgisdev.
This is a clean Mac OS install. Just started it up yesterday!
from homebrew-qgisdev.
And using @sgerke reinstall command for gdal2?
To be honest I've done so many different tries since Tuesday that I don't remember everything I might have tweaked.
from homebrew-qgisdev.
Yeah, the comment above was from reinstalling. #62 (comment)
from homebrew-qgisdev.
Hey @harelw, did you need to change the MatPlotLib dependency?
from homebrew-qgisdev.
from homebrew-qgisdev.
I managed to compile and launch QGIS 3.1.0-master but when adding vector or raster layers to the map canvas nothing displays. I also get "No QgsCoordinateTransformContext context set for transform" errors in the log
Does anyone else have issues like this? I'm wondering if this has something to do with Proj5. The about dialog says it complied against and running Proj 5.01.
from homebrew-qgisdev.
Ok editing the homebrew proj formula to use Proj.4 worked. I had to edit proj.rb to switch to the Proj 4.9.3 source code:
url "http://download.osgeo.org/proj/proj-4.9.3.tar.gz"
sha256 "6984542fea333488de5c82eea58d699e4aff4b359200a9971537cd7e047185f7"
Then I recompiled from source the following packages:
brew reinstall proj --build-from-source
brew reinstall libspatialite --build-from-source
brew reinstall libgeotiff --build-from-source
brew reinstall gdal --with-complete
Then I rebuilded qgis3-dev:
brew reinstall -v --no-sandbox --with-3d qgis3-dev
from homebrew-qgisdev.
I would suggest we need to get a Proj4 package going again and make that a dependency for qgis3-dev as Proj.5 doesn't look ready for prime time in QGIS. I can raise a issue for this if others agree.
from homebrew-qgisdev.
Related Issues (20)
- Can't compile qgis3-dev HOT 4
- Support for tabs in main window HOT 2
- Launching QGIS 3 dev for the first time error HOT 2
- cannot build on mac high sierra (bison illegal instruction) HOT 1
- cannot locate libqgis_core and libqgis_gui HOT 4
- Cmake errors installing on mac os 10.13.1
- QGIS3 Install Failed on Matplotlib Dependency HOT 17
- Error with python in cmake
- Character range error when attempting to install QGIS Dev via Homebrew HOT 4
- Import error-- image not found
- Error: homebrew/science was deprecated HOT 1
- Use 'depends_on "python3"' instead. HOT 1
- Error: homebrew/science was deprecated HOT 4
- Homebrew making python3 the default python HOT 38
- QGIS 3 is built without 3D support HOT 2
- Can't build QGIS3 Dev HOT 21
- cannot tap qgis/qgisdev HOT 2
- Build fails with Python-3.7 pip 10 due to ninja? HOT 1
- can't install qgis dev
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-qgisdev.