Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A race condition triggered that sometimes the file output/python/qgis/__init__.py was not created before a python uic compiler started and therefore the required module could not be imported. This leads to errors like [ 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
- Loading branch information
ae3db0a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh thanks.
ae3db0a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That doesn't seem to be enough. Fedora builds fail here, no matter how many jobs I run in parallel or not.
ae3db0a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you check if there is a file
__init__.py
created inbuild/output/python/qgis
?ae3db0a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, where? It's built in-source.
ae3db0a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ae3db0a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got the same problem. It was because of the "python-qgis" default package installed on my system and that was used instead of the compiled one.