<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Hi,<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">I am trying to build QGIS 2.18.0 from source in a Linux Opensuse Leap 42.2 machine, and I am consistenly getting the error below. I am building with python 3 and without qt5 support.<br><br>[ 96%] Generating ui_widgetInfo.py<br>Traceback (most recent call last):<br> File "../../../../../scripts/pyuic-wrapper.py", line 26, in <module><br> import qgis.PyQt.uic.pyuic<br> File "/usr/local/src/qgis-2.18.0/build/output/python/qgis/__init__.py", line 26, in <module><br> from qgis.PyQt import QtCore<br> File "/usr/local/src/qgis-2.18.0/build/output/python/qgis/PyQt/QtCore.py", line 60, in <module><br> QPyNullVariant.__nonzero__ = MethodType(__nonzero__, None, QPyNullVariant)<br>TypeError: method expected 2 arguments, got 3<br>python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/build.make:117:
recipe for target 'python/plugins/GdalTools/tools/ui_widgetInfo.py'
failed<br>make[2]: *** [python/plugins/GdalTools/tools/ui_widgetInfo.py] Error 1<br>CMakeFiles/Makefile2:5080: recipe for target 'python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/all' failed<br>make[1]: *** [python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/all] Error 2<br>Makefile:160: recipe for target 'all' failed<br>make: *** [all] Error 2<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">The only description that I was able to find was this one:<br><br><a href="https://github.com/qgis/QGIS/commit/ae3db0a1bf9504b432e4553b94a56051576c053f">https://github.com/qgis/QGIS/commit/ae3db0a1bf9504b432e4553b94a56051576c053f</a><br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">but the proposed fix is already incorporated in the code I have. There is also a mention of potential conflicts arising from different versions of python, but I have not been able to figure out a solution.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Anyone expericed this? Any hint will be appreciated,<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Thanks.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">/H.<br></div></div>