[Qgis-developer] compiling 2.16

Richard Duivenvoorde rdmailings at duif.net
Tue Jul 12 03:48:16 PDT 2016


Matthias/we pinned it down to probably a race condition when running
make in 1 thread (not using -j4 or so), AND therefor not having a
__init_.py in qgis dir...

Matthias did a fix, I've just tested and seems to work:
https://github.com/qgis/QGIS/commit/ae3db0a1bf9504b432e4553b94a56051576c053f

(and cherry picked to other branches)

Note: only if you run make without a -j4 option in a clean build/output
directory you hit this on,
else __init__.py is just available...

Regards,

Richard

On 12-07-16 12:04, Akbar Gumbira wrote:
> Got the same problem here too. This was the same problem that I
> encountered in master some time ago
> (https://gist.github.com/akbargumbira/4221338b4b3042dcc144cd78aeb6ca69)
> 
> On Tue, Jul 12, 2016 at 10:47 AM, Richard Duivenvoorde
> <rdmailings at duif.net <mailto:rdmailings at duif.net>> wrote:
> 
> 
>     Clean checkout for branche release-2_16, and normal compile:
> 
>     [ 82%] Generating ui_dialogAbout.py
>     Traceback (most recent call last):
>       File "../../../../../scripts/pyuic-wrapper.py", line 26, in <module>
>         import qgis.PyQt.uic.pyuic
>     ImportError: No module named qgis.PyQt.uic.pyuic
>     python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/build.make:117:
>     recipe for target 'python/plugins/GdalTools/tools/ui_dialogAbout.py'
>     failed
>     make[2]: *** [python/plugins/GdalTools/tools/ui_dialogAbout.py] Error 1
>     CMakeFiles/Makefile2:5074: recipe for target
>     'python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/all'
>     failed
>     make[1]: ***
>     [python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/all]
>     Error 2
>     Makefile:160: recipe for target 'all' failed
>     make: *** [all] Error 2
> 
>     is this an ordering problem?
> 
>     Regards,
> 
>     Richard
>     _______________________________________________
>     Qgis-developer mailing list
>     Qgis-developer at lists.osgeo.org <mailto:Qgis-developer at lists.osgeo.org>
>     List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>     Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> 
> 
> 
> -- 
> 
> *-------------------*
> 
> *Akbar Gumbira *
> *www.akbargumbira.com <http://www.akbargumbira.com>*
> 
> 
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 



More information about the Qgis-developer mailing list