[QGIS-Developer] QGIS master build on Ubuntu 16.04 with python support
Theuns Heydenrych
theunsheydenrych at gmail.com
Mon Oct 9 06:12:15 PDT 2017
Hi
I am building QGIS master on Ubuntu 16.04 with python support and the build
fails at 99%
This is the error message I get.
*[ 99%] Generating ui_DlgVersioning.py*
*cd
/home/dev/code/build-QGIS-Desktop_Qt_5_5_1_GCC_64bit-Debug-Python/python/plugins/db_manager/db_plugins/postgis/plugins/versioning
&& /home/dev/code/QGIS/scripts/pyuic-wrapper.sh /usr/bin/pyuic5
/home/dev/code/build-QGIS-Desktop_Qt_5_5_1_GCC_64bit-Debug-Python/output/lib
/home/dev/code/build-QGIS-Desktop_Qt_5_5_1_GCC_64bit-Debug-Python/output/python
/usr/bin/python3
/home/dev/code/QGIS/python/plugins/db_manager/db_plugins/postgis/plugins/versioning/DlgVersioning.ui
-o
/home/dev/code/build-QGIS-Desktop_Qt_5_5_1_GCC_64bit-Debug-Python/python/plugins/db_manager/db_plugins/postgis/plugins/versioning/ui_DlgVersioning.py*
*Traceback (most recent call last):*
* File "/home/dev/code/QGIS/scripts/pyuic-wrapper.py", line 26, in
<module>*
* import qgis.PyQt.uic.pyuic*
* File
"/home/dev/code/build-QGIS-Desktop_Qt_5_5_1_GCC_64bit-Debug-Python/output/python/qgis/__init__.py",
line 72, in <module>*
* from qgis.core import QgsFeature, QgsGeometry*
* File
"/home/dev/code/build-QGIS-Desktop_Qt_5_5_1_GCC_64bit-Debug-Python/output/python/qgis/core/__init__.py",
line 34, in <module>*
* from qgis._core import **
*ImportError: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: undefined symbol:
_Z10qAllocMoreii*
*python/plugins/db_manager/db_plugins/postgis/plugins/versioning/CMakeFiles/zzz-db_manager-5-depend.dir/build.make:62:
recipe for target
'python/plugins/db_manager/db_plugins/postgis/plugins/versioning/ui_DlgVersioning.py'
failed*
*make[2]: ***
[python/plugins/db_manager/db_plugins/postgis/plugins/versioning/ui_DlgVersioning.py]
Error 1*
*make[2]: Leaving directory
'/home/dev/code/build-QGIS-Desktop_Qt_5_5_1_GCC_64bit-Debug-Python'*
*CMakeFiles/Makefile2:3920: recipe for target
'python/plugins/db_manager/db_plugins/postgis/plugins/versioning/CMakeFiles/zzz-db_manager-5-depend.dir/all'
failed*
*make[1]: ***
[python/plugins/db_manager/db_plugins/postgis/plugins/versioning/CMakeFiles/zzz-db_manager-5-depend.dir/all]
Error 2*
*make[1]: Leaving directory
'/home/dev/code/build-QGIS-Desktop_Qt_5_5_1_GCC_64bit-Debug-Python'*
*Makefile:149: recipe for target 'all' failed*
*make: *** [all] Error 2*
Seems like ImportError: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: undefined
symbol: _Z10qAllocMoreii is the issue.
I have checked with:
*nm -D /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 | grep _Z10qAllocMoreii*
and the out put is:
* U _Z10qAllocMoreii*
Which show it is undefined. If I
check /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 I can see that the
function id defined.
*nm -D /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 | grep _Z10qAllocMoreii*
and the output is:
*00000000000a8c80 T _Z10qAllocMoreii*
So I dont know exactly how to fix this, it seems like the
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5 should be visible to the complier
or python at this build step?
Any thoughts how to handle this?
Regards
Theuns Heydenrych
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171009/99176186/attachment.html>
More information about the QGIS-Developer
mailing list