[QGIS-Developer] QGIS master build on Ubuntu 16.04 with python support

Theuns Heydenrych theunsheydenrych at gmail.com
Mon Oct 9 06:59:42 PDT 2017


HI Jorge, thank you for the reply.
My out for dpkg -l | grep pyqt5 | awk '{print $2}'  is:

pyqt5-dev
pyqt5-dev-tools
pyqt5.qsci-dev
python-pyqt5
python-pyqt5.qsci
python3-pyqt5
python3-pyqt5.qsci
python3-pyqt5.qtsql
python3-pyqt5.qtsvg

My WITH_QTWEBKIT is set to false.

Regards
Theuns Heydenrych


On Mon, 9 Oct 2017 at 15:33 Jorge Gustavo Rocha <jgr at di.uminho.pt> wrote:

> Hi Theuns,
>
> Can you check which python/QT5 modules you have installed?
>
> In my Ubuntu 16.04:
>
> jgr at dusseldorf:~$ dpkg -l | grep pyqt5 | awk '{print $2}'
> pyqt5-dev
> pyqt5-dev-tools
> pyqt5.qsci-dev
> python-pyqt5
> python-pyqt5.qtsvg
> python-pyqt5.qtwebkit
> python3-pyqt5
> python3-pyqt5.qsci
> python3-pyqt5.qtsql
> python3-pyqt5.qtsvg
>
> Regards,
>
> Jorge
>
> On 09-10-2017 14:12, Theuns Heydenrych wrote:
> > 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
> >
> >
> >
> >
> > _______________________________________________
> > QGIS-Developer mailing list
> > QGIS-Developer at lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
>
> J. Gustavo
> --
> Jorge Gustavo Rocha
> Departamento de Informática
> Universidade do Minho
> 4710-057 Braga
> Tel: +351 253604480 <+351%20253%20604%20480>
> Fax: +351 253604471 <+351%20253%20604%20471>
> Móvel: +351 910333888 <+351%20910%20333%20888>
> skype: nabocudnosor
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171009/115af08b/attachment.html>


More information about the QGIS-Developer mailing list