Closed juanfcocontreras closed 5 years ago
@juanfcocontreras I'll check this.
I will need before: brew gist-logs qgis-res
Thanks for giving notice about the problem.
Thanks @fjperini!
It's my first time using gist-logs command, but I can't get it working:
> brew gist-logs qgis-res
Error: Not Found
Can you help me?
I did a quick test, with only pyodbc
and it seems that it builds well.
==> /usr/local/Cellar/qgis-res/3.4.4/libexec/vendor/bin/pip install -v --no-deps --no-binary :all: --ignore-installed pyodbc
Created temporary directory: /private/tmp/pip-ephem-wheel-cache-njsder5l
Created temporary directory: /private/tmp/pip-req-tracker-v5sivjdh
Created requirements tracker '/private/tmp/pip-req-tracker-v5sivjdh'
Created temporary directory: /private/tmp/pip-install-ahd2xirn
Collecting pyodbc
1 location(s) to search for versions of pyodbc:
* https://pypi.org/simple/pyodbc/
Getting page https://pypi.org/simple/pyodbc/
Looking up "https://pypi.org/simple/pyodbc/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/pyodbc/ HTTP/1.1" 200 30921
Updating cache with response from "https://pypi.org/simple/pyodbc/"
Caching due to etag
Analyzing links from page https://pypi.org/simple/pyodbc/
Found link https://files.pythonhosted.org/packages/b4/41/f3eb5e56af207a8fcc02f1f84cc3fed9fcf315565e65f418ae815e399929/pyodbc-4.0.26.tar.gz#sha256=e52700b5d24a846483b5ab80acd9153f8e593999c9184ffea11596288fb33de3 (from https://pypi.org/simple/pyodbc/), version: 4.0.26
Using version 4.0.26 (newest of versions: 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.1.7, 2.1.8, 2.1.9, 2.1.10, 2.1.11, 3.0.3, 3.0.6, 3.0.7, 3.0.8, 3.0.9, 3.0.10, 3.1.1, 4.0.1, 4.0.2, 4.0.3, 4.0.5, 4.0.6, 4.0.7, 4.0.8, 4.0.9, 4.0.10, 4.0.11, 4.0.12, 4.0.13, 4.0.14, 4.0.15, 4.0.16, 4.0.17, 4.0.18, 4.0.19, 4.0.20, 4.0.21, 4.0.22, 4.0.23, 4.0.24, 4.0.25, 4.0.26)
Created temporary directory: /private/tmp/pip-unpack-tut9_nlb
Looking up "https://files.pythonhosted.org/packages/b4/41/f3eb5e56af207a8fcc02f1f84cc3fed9fcf315565e65f418ae815e399929/pyodbc-4.0.26.tar.gz" in the cache
No cache entry available
Starting new HTTPS connection (1): files.pythonhosted.org:443
https://files.pythonhosted.org:443 "GET /packages/b4/41/f3eb5e56af207a8fcc02f1f84cc3fed9fcf315565e65f418ae815e399929/pyodbc-4.0.26.tar.gz HTTP/1.1" 200 219802
Downloading https://files.pythonhosted.org/packages/b4/41/f3eb5e56af207a8fcc02f1f84cc3fed9fcf315565e65f418ae815e399929/pyodbc-4.0.26.tar.gz (219kB)
Downloading from URL https://files.pythonhosted.org/packages/b4/41/f3eb5e56af207a8fcc02f1f84cc3fed9fcf315565e65f418ae815e399929/pyodbc-4.0.26.tar.gz#sha256=e52700b5d24a846483b5ab80acd9153f8e593999c9184ffea11596288fb33de3 (from https://pypi.org/simple/pyodbc/)
Ignoring unknown cache-control directive: immutable
Updating cache with response from "https://files.pythonhosted.org/packages/b4/41/f3eb5e56af207a8fcc02f1f84cc3fed9fcf315565e65f418ae815e399929/pyodbc-4.0.26.tar.gz"
Caching due to etag
Added pyodbc from https://files.pythonhosted.org/packages/b4/41/f3eb5e56af207a8fcc02f1f84cc3fed9fcf315565e65f418ae815e399929/pyodbc-4.0.26.tar.gz#sha256=e52700b5d24a846483b5ab80acd9153f8e593999c9184ffea11596288fb33de3 to build tracker '/private/tmp/pip-req-tracker-v5sivjdh'
Running setup.py (path:/private/tmp/pip-install-ahd2xirn/pyodbc/setup.py) egg_info for package pyodbc
Running command python setup.py egg_info
running egg_info
creating pip-egg-info/pyodbc.egg-info
writing pip-egg-info/pyodbc.egg-info/PKG-INFO
writing dependency_links to pip-egg-info/pyodbc.egg-info/dependency_links.txt
writing top-level names to pip-egg-info/pyodbc.egg-info/top_level.txt
writing manifest file 'pip-egg-info/pyodbc.egg-info/SOURCES.txt'
reading manifest file 'pip-egg-info/pyodbc.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pip-egg-info/pyodbc.egg-info/SOURCES.txt'
Source in /private/tmp/pip-install-ahd2xirn/pyodbc has version 4.0.26, which satisfies requirement pyodbc from https://files.pythonhosted.org/packages/b4/41/f3eb5e56af207a8fcc02f1f84cc3fed9fcf315565e65f418ae815e399929/pyodbc-4.0.26.tar.gz#sha256=e52700b5d24a846483b5ab80acd9153f8e593999c9184ffea11596288fb33de3
Removed pyodbc from https://files.pythonhosted.org/packages/b4/41/f3eb5e56af207a8fcc02f1f84cc3fed9fcf315565e65f418ae815e399929/pyodbc-4.0.26.tar.gz#sha256=e52700b5d24a846483b5ab80acd9153f8e593999c9184ffea11596288fb33de3 from build tracker '/private/tmp/pip-req-tracker-v5sivjdh'
Skipping bdist_wheel for pyodbc, due to binaries being disabled for it.
Installing collected packages: pyodbc
Created temporary directory: /private/tmp/pip-record-658ts54l
Running setup.py install for pyodbc: started
Running command /usr/local/Cellar/qgis-res/3.4.4/libexec/vendor/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-install-ahd2xirn/pyodbc/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/tmp/pip-record-658ts54l/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/qgis-res/3.4.4/libexec/vendor/bin/../include/site/python3.7/pyodbc
running install
running build
running build_ext
building 'pyodbc' extension
creating build
creating build/temp.macosx-10.14-x86_64-3.7
creating build/temp.macosx-10.14-x86_64-3.7/src
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPYODBC_VERSION=4.0.26 -UMAC_OS_X_VERSION_10_7 -I/usr/local/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/buffer.cpp -o build/temp.macosx-10.14-x86_64-3.7/src/buffer.o -Wno-write-strings -Wno-deprecated-declarations
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPYODBC_VERSION=4.0.26 -UMAC_OS_X_VERSION_10_7 -I/usr/local/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/cnxninfo.cpp -o build/temp.macosx-10.14-x86_64-3.7/src/cnxninfo.o -Wno-write-strings -Wno-deprecated-declarations
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPYODBC_VERSION=4.0.26 -UMAC_OS_X_VERSION_10_7 -I/usr/local/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/connection.cpp -o build/temp.macosx-10.14-x86_64-3.7/src/connection.o -Wno-write-strings -Wno-deprecated-declarations
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPYODBC_VERSION=4.0.26 -UMAC_OS_X_VERSION_10_7 -I/usr/local/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/cursor.cpp -o build/temp.macosx-10.14-x86_64-3.7/src/cursor.o -Wno-write-strings -Wno-deprecated-declarations
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPYODBC_VERSION=4.0.26 -UMAC_OS_X_VERSION_10_7 -I/usr/local/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/errors.cpp -o build/temp.macosx-10.14-x86_64-3.7/src/errors.o -Wno-write-strings -Wno-deprecated-declarations
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPYODBC_VERSION=4.0.26 -UMAC_OS_X_VERSION_10_7 -I/usr/local/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/getdata.cpp -o build/temp.macosx-10.14-x86_64-3.7/src/getdata.o -Wno-write-strings -Wno-deprecated-declarations
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPYODBC_VERSION=4.0.26 -UMAC_OS_X_VERSION_10_7 -I/usr/local/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/params.cpp -o build/temp.macosx-10.14-x86_64-3.7/src/params.o -Wno-write-strings -Wno-deprecated-declarations
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPYODBC_VERSION=4.0.26 -UMAC_OS_X_VERSION_10_7 -I/usr/local/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/pyodbccompat.cpp -o build/temp.macosx-10.14-x86_64-3.7/src/pyodbccompat.o -Wno-write-strings -Wno-deprecated-declarations
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPYODBC_VERSION=4.0.26 -UMAC_OS_X_VERSION_10_7 -I/usr/local/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/pyodbcdbg.cpp -o build/temp.macosx-10.14-x86_64-3.7/src/pyodbcdbg.o -Wno-write-strings -Wno-deprecated-declarations
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPYODBC_VERSION=4.0.26 -UMAC_OS_X_VERSION_10_7 -I/usr/local/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/pyodbcmodule.cpp -o build/temp.macosx-10.14-x86_64-3.7/src/pyodbcmodule.o -Wno-write-strings -Wno-deprecated-declarations
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPYODBC_VERSION=4.0.26 -UMAC_OS_X_VERSION_10_7 -I/usr/local/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/row.cpp -o build/temp.macosx-10.14-x86_64-3.7/src/row.o -Wno-write-strings -Wno-deprecated-declarations
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPYODBC_VERSION=4.0.26 -UMAC_OS_X_VERSION_10_7 -I/usr/local/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/textenc.cpp -o build/temp.macosx-10.14-x86_64-3.7/src/textenc.o -Wno-write-strings -Wno-deprecated-declarations
creating build/lib.macosx-10.14-x86_64-3.7
clang++ -bundle -undefined dynamic_lookup -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk build/temp.macosx-10.14-x86_64-3.7/src/buffer.o build/temp.macosx-10.14-x86_64-3.7/src/cnxninfo.o build/temp.macosx-10.14-x86_64-3.7/src/connection.o build/temp.macosx-10.14-x86_64-3.7/src/cursor.o build/temp.macosx-10.14-x86_64-3.7/src/errors.o build/temp.macosx-10.14-x86_64-3.7/src/getdata.o build/temp.macosx-10.14-x86_64-3.7/src/params.o build/temp.macosx-10.14-x86_64-3.7/src/pyodbccompat.o build/temp.macosx-10.14-x86_64-3.7/src/pyodbcdbg.o build/temp.macosx-10.14-x86_64-3.7/src/pyodbcmodule.o build/temp.macosx-10.14-x86_64-3.7/src/row.o build/temp.macosx-10.14-x86_64-3.7/src/textenc.o -L/usr/local/lib -L/usr/lib -L/usr/local/lib -lodbc -o build/lib.macosx-10.14-x86_64-3.7/pyodbc.cpython-37m-darwin.so
running install_lib
copying build/lib.macosx-10.14-x86_64-3.7/pyodbc.cpython-37m-darwin.so -> /usr/local/Cellar/qgis-res/3.4.4/libexec/vendor/lib/python3.7/site-packages
running install_egg_info
running egg_info
writing pyodbc.egg-info/PKG-INFO
writing dependency_links to pyodbc.egg-info/dependency_links.txt
writing top-level names to pyodbc.egg-info/top_level.txt
reading manifest file 'pyodbc.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pyodbc.egg-info/SOURCES.txt'
Copying pyodbc.egg-info to /usr/local/Cellar/qgis-res/3.4.4/libexec/vendor/lib/python3.7/site-packages/pyodbc-4.0.26-py3.7.egg-info
running install_scripts
writing list of installed files to '/private/tmp/pip-record-658ts54l/install-record.txt'
Running setup.py install for pyodbc: finished with status 'done'
Removing source in /private/tmp/pip-install-ahd2xirn/pyodbc
Successfully installed pyodbc-4.0.26
Try this:
brew install -s -v https://raw.githubusercontent.com/fjperini/homebrew-osgeo4mac/c5674696fc86b38d2a91337417beba74b56c60f2/Formula/qgis-res.rb --with-r --with-complete
Maybe the logs are not there, remember to do brew gist-logs qgis-res
after the installation.
I'm still getting the same error.
brew gist-logs qgis-res
still complaints Error: Not Found
, but I think I can find logs:
By the way, if I download pyodbc directly and try to run the same command that is invoked in qgis-res, I get the same error:
> clang -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/include/darwin -DPYODBC_VERSION=4.0.25 -UMAC_OS_X_VERSION_10_7 -I/usr/local/include -I/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/buffer.cpp -o build/temp.macosx-10.12-x86_64-3.7/src/buffer.o -Wno-write-strings -Wno-deprecated-declarations
In file included from src/buffer.cpp:12:
src/pyodbc.h:151:21: error: unknown type name 'BYTE'
bool pyodbc_realloc(BYTE** pp, size_t newlen);
^
1 error generated.
I hope it helps you.
Maybe it's related to your version of xcode and clang.
Clang: 9.0 build 900
Git: 2.20.1 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_202
macOS: 10.12.6-x86_64
CLT: 9.2.0.0.1.1510905681
Xcode: 9.2
XQuartz: 2.7.11 => /opt/X11
I will share a bottle generated in my machine in case you can not build ... it will help you to continue with the build of qgis
.
Wait a few minutes while I upload the bottle.
I filled an issue in pyodbc project, and it seems that I had an interaction with another library (libiodbc/3.52.12) by the file /usr/local/include/sqltypes.h
.
I removed libiodbc and I'm trying to compile qgis-res again.
In case you can not build, you can unzip https://github.com/fjperini/homebrew-osgeo4mac/releases/download/3.4.4/qgis-res-3.4.4.mojave.bottle.tar.gz in /usr/local/Cellar
and link brew link qgis-res
.
It can be a temporary solution until you can check the build in a virtual machine with the characteristics of your system.
I'm using Mojave, and everything works correctly.
I could build qgis-res
, but I noticed that libiodbc
is required by qgis
. BYTES type is missing in the file sqltypes.h
of libiodbc
.
The problem was that I installed qgis without 3d-map support (and it installed libiodbc
), and when I tried to compile qgis-res --with-r --with-complete qgis-res
, libiodbc
and unixodbc
had conflicts with their links.
So I think it's necessary to do:
brew link --overwrite unixodbc
It really should not be a problem, but you can do it if that solves the inconvenience you're having.
I think it would be best to remove libiodbc
as a dependency of qgis
, I'll check this later.
If you managed to build. qgis-res
, you should not have problems when building qgis
.
If after installing both you have problems with libiodbc
, you can do this:
brew uninstall --ignore-dependencies libiodbc
brew unlink unixodbc && brew link --force unixodbc
Thanks @fjperini!
Unfortunatly, I still have issues when I try to build qgis:
...
-- Installing: /usr/local/Cellar/qgis/3.6.0/QGIS.app/Contents/MacOS/../Resources/python/qgis/PyQt/Qt.py
-- Installing: /usr/local/Cellar/qgis/3.6.0/QGIS.app/Contents/MacOS/../Resources/python/qgis/PyQt/sip.py
-- Installing: /usr/local/Cellar/qgis/3.6.0/QGIS.app/Contents/MacOS/../Resources/python/qgis/PyQt/uic/__init__.py
-- Installing: /usr/local/Cellar/qgis/3.6.0/QGIS.app/Contents/MacOS/../Resources/python/qgis/PyQt/uic/pyuic.py
-- Installing: /usr/local/Cellar/qgis/3.6.0/QGIS.app/Contents/MacOS/../Resources/python/qgis/PyQt/uic/properties.py
-- Installing: /usr/local/Cellar/qgis/3.6.0/QGIS.app/Contents/MacOS/../Resources/python/qgis/testing/__init__.py
-- Installing: /usr/local/Cellar/qgis/3.6.0/QGIS.app/Contents/MacOS/../Resources/python/qgis/testing/mocked.py
-- Installing: /usr/local/Cellar/qgis/3.6.0/QGIS.app/Contents/MacOS/../Resources/python/qgis/processing/__init__.py
-- Installing: /usr/local/Cellar/qgis/3.6.0/QGIS.app/Contents/MacOS/../Resources/python/qgis/processing/algfactory.py
-- Updating QGIS library paths...
QFSFileEngine::open: No file name specified
Error: An exception occurred within a child process:
Errno::ENOENT: No such file or directory @ rb_sysopen - /usr/local/Cellar/qgis/3.6.0/QGIS.app/Contents/Resources/python/plugins/processing_r/processing/provider.py
Please, find attached verbose building logs:
Do you have any idea of what is wrong?
Thanks!
@juanfcocontreras I will check it!
@juanfcocontreras I will build the bottle of qgis-res with all the options. So it will not be necessary for them to build.
Thanks @fjperini, but now I have the problem compiling qgis, not qgis-res. I think qgis-res was built with all the options properly. Do you think the new bottle for qgis-res will solve the qgis compilation?
Thanks again for your interest!
If you have already built qgis-res, now the problem must be different.
I will check your logs.
related to: processing_r/processing/provider.py
it must be that something changed in the plugin
That's right, it was updated. I will solve it quickly, just wait for qgis-res
to be built in Circle CI to apply the changes in qgis
.
We close this issue, in the course of the day the changes will be merged and you will be able to install qgis without problems.
Great! Thank you so much!
Hi @fjperini!
I've just installed qgis-res from the new bottle, and I still have the same issue when building qgis :-(
Did I do something wrong?
Error: An exception occurred within a child process:
Errno::ENOENT: No such file or directory @ rb_sysopen - /usr/local/Cellar/qgis/3.6.0/QGIS.app/Contents/Resources/python/plugins/processing_r/processing/provider.py
I already found the error, updating the formula.
@juanfcocontreras Now you can install qgis
, qgis-res
no longer requires using flags.
Thanks @fjperini! I finally got qgis with 3d map support installed! I got a warning, but I hope it's not important:
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall osgeo/osgeo4mac/qgis`
No matter I try brew postinstall osgeo/osgeo4mac/qgis
, I get the same message once again.
@juanfcocontreras I'll check that, it's not a problem.
You may have had some optional dependency installed but you did not add the flag and in postinstall it recognized that it was installed and tried to configure it.
I will remove the condition that checks if the dependency is linked, that only configure if it was built with the indicated flag.
I'm trying to compile qgis with 3d-map support. I think to get this working it's necessary to compile qgis-res first:
brew install --with-r --with-complete qgis-res
Nevertheless, I can't get it working. The problem arises when it tries to compile pyodbc-4.0.25:
Full logs: