Bug 380504

Summary: race when building python bindings
Product: [Frameworks and Libraries] frameworks-kconfig Reporter: Antonio Rojas <arojas>
Component: generalAssignee: Stephen Kelly <steveire>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 5.34.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Antonio Rojas 2017-06-03 15:01:38 UTC
Building kconfig with python bindings fails about 50% of the times due to a race condition

sip: Unable to find file "conversioncheck.sip"
make[2]: *** [src/gui/CMakeFiles/sip_generated_KConfigGui_files.dir/build.make:65: src/gui/pybuild/PyKF5/KConfigGui/unifiedKConfigGui.cpp] Error 1
make[1]: *** [CMakeFiles/Makefile2:4009: src/gui/CMakeFiles/sip_generated_KConfigGui_files.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Would be nice if there was a way to make sure that the sip file has been generated before trying to use it.
Comment 1 Antonio Rojas 2018-02-07 13:09:16 UTC
Haven't seen it in a while