<div dir="ltr">HI Jorge, thank you for the reply.<div>My out for dpkg -l | grep pyqt5 | awk '{print $2}' is:</div><div><br></div><div><div>pyqt5-dev</div><div>pyqt5-dev-tools</div><div>pyqt5.qsci-dev</div><div>python-pyqt5</div><div>python-pyqt5.qsci</div><div>python3-pyqt5</div><div>python3-pyqt5.qsci</div><div>python3-pyqt5.qtsql</div><div>python3-pyqt5.qtsvg</div></div><div><br></div><div>My WITH_QTWEBKIT is set to false.</div><div><br></div><div>Regards</div><div>Theuns Heydenrych</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 9 Oct 2017 at 15:33 Jorge Gustavo Rocha <<a href="mailto:jgr@di.uminho.pt">jgr@di.uminho.pt</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Theuns,<br>
<br>
Can you check which python/QT5 modules you have installed?<br>
<br>
In my Ubuntu 16.04:<br>
<br>
jgr@dusseldorf:~$ dpkg -l | grep pyqt5 | awk '{print $2}'<br>
pyqt5-dev<br>
pyqt5-dev-tools<br>
pyqt5.qsci-dev<br>
python-pyqt5<br>
python-pyqt5.qtsvg<br>
python-pyqt5.qtwebkit<br>
python3-pyqt5<br>
python3-pyqt5.qsci<br>
python3-pyqt5.qtsql<br>
python3-pyqt5.qtsvg<br>
<br>
Regards,<br>
<br>
Jorge<br>
<br>
On 09-10-2017 14:12, Theuns Heydenrych wrote:<br>
> Hi<br>
> I am building QGIS master on Ubuntu 16.04 with python support and the<br>
> build fails at 99%<br>
><br>
> This is the error message I get.<br>
> <br>
> /[ 99%] Generating ui_DlgVersioning.py/<br>
> /cd<br>
> /home/dev/code/build-QGIS-Desktop_Qt_5_5_1_GCC_64bit-Debug-Python/python/plugins/db_manager/db_plugins/postgis/plugins/versioning<br>
> && /home/dev/code/QGIS/scripts/pyuic-wrapper.sh /usr/bin/pyuic5<br>
> /home/dev/code/build-QGIS-Desktop_Qt_5_5_1_GCC_64bit-Debug-Python/output/lib<br>
> /home/dev/code/build-QGIS-Desktop_Qt_5_5_1_GCC_64bit-Debug-Python/output/python<br>
> /usr/bin/python3<br>
> /home/dev/code/QGIS/python/plugins/db_manager/db_plugins/postgis/plugins/versioning/DlgVersioning.ui<br>
> -o<br>
> /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/<br>
> /Traceback (most recent call last):/<br>
> / File "/home/dev/code/QGIS/scripts/pyuic-wrapper.py", line 26, in<br>
> <module>/<br>
> / import qgis.PyQt.uic.pyuic/<br>
> / File<br>
> "/home/dev/code/build-QGIS-Desktop_Qt_5_5_1_GCC_64bit-Debug-Python/output/python/qgis/__init__.py",<br>
> line 72, in <module>/<br>
> / from qgis.core import QgsFeature, QgsGeometry/<br>
> / File<br>
> "/home/dev/code/build-QGIS-Desktop_Qt_5_5_1_GCC_64bit-Debug-Python/output/python/qgis/core/__init__.py",<br>
> line 34, in <module>/<br>
> / from qgis._core import */<br>
> /ImportError: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: undefined<br>
> symbol: _Z10qAllocMoreii/<br>
> /python/plugins/db_manager/db_plugins/postgis/plugins/versioning/CMakeFiles/zzz-db_manager-5-depend.dir/build.make:62:<br>
> recipe for target<br>
> 'python/plugins/db_manager/db_plugins/postgis/plugins/versioning/ui_DlgVersioning.py'<br>
> failed/<br>
> /make[2]: ***<br>
> [python/plugins/db_manager/db_plugins/postgis/plugins/versioning/ui_DlgVersioning.py]<br>
> Error 1/<br>
> /make[2]: Leaving directory<br>
> '/home/dev/code/build-QGIS-Desktop_Qt_5_5_1_GCC_64bit-Debug-Python'/<br>
> /CMakeFiles/Makefile2:3920: recipe for target<br>
> 'python/plugins/db_manager/db_plugins/postgis/plugins/versioning/CMakeFiles/zzz-db_manager-5-depend.dir/all'<br>
> failed/<br>
> /make[1]: ***<br>
> [python/plugins/db_manager/db_plugins/postgis/plugins/versioning/CMakeFiles/zzz-db_manager-5-depend.dir/all]<br>
> Error 2/<br>
> /make[1]: Leaving directory<br>
> '/home/dev/code/build-QGIS-Desktop_Qt_5_5_1_GCC_64bit-Debug-Python'/<br>
> /Makefile:149: recipe for target 'all' failed/<br>
> /make: *** [all] Error 2/<br>
><br>
> Seems like ImportError: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5:<br>
> undefined symbol: _Z10qAllocMoreii is the issue.<br>
> I have checked with: <br>
> /nm -D /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 | grep _Z10qAllocMoreii/<br>
> and the out put is:<br>
> / U _Z10qAllocMoreii/<br>
> Which show it is undefined. If I<br>
> check /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 I can see that the<br>
> function id defined.<br>
> /nm -D /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 | grep<br>
> _Z10qAllocMoreii/ and the output is:<br>
> /00000000000a8c80 T _Z10qAllocMoreii/<br>
> /<br>
> /<br>
> So I dont know exactly how to fix this, it seems like the <br>
> /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 should be visible to the<br>
> complier or python at this build step?<br>
> Any thoughts how to handle this?<br>
><br>
> Regards<br>
> Theuns Heydenrych<br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> QGIS-Developer mailing list<br>
> <a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
><br>
<br>
J. Gustavo<br>
--<br>
Jorge Gustavo Rocha<br>
Departamento de Informática<br>
Universidade do Minho<br>
4710-057 Braga<br>
Tel: <a href="tel:+351%20253%20604%20480" value="+351253604480" target="_blank">+351 253604480</a><br>
Fax: <a href="tel:+351%20253%20604%20471" value="+351253604471" target="_blank">+351 253604471</a><br>
Móvel: <a href="tel:+351%20910%20333%20888" value="+351910333888" target="_blank">+351 910333888</a><br>
skype: nabocudnosor<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>