summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/sqlite-orm
diff options
context:
space:
mode:
authorRob Woolley <rob.woolley@windriver.com>2024-06-03 12:23:34 -0700
committerArmin Kuster <akuster808@gmail.com>2024-06-27 11:21:40 -0400
commit9fd5ae9132c4d9f5a9b7a272be2ad24bd238f8b6 (patch)
tree6b64ae193e97bac304a76bfbc085a0ce6d1178df /meta-oe/recipes-devtools/sqlite-orm
parentcfcc9f99456a4c51594eebb859621752ea0bd906 (diff)
downloadmeta-openembedded-9fd5ae9132c4d9f5a9b7a272be2ad24bd238f8b6.tar.gz
sip3: Fix segmentation fault
The first version of this patch introduced a problem with python3-pyqt5. Python emitted the following error message when one attempted to import PyQt5.Qt: ImportError: dynamic module does not define module export function (PyInit_Qt) This came about due to segfault in sip when executed in do_configure of python3-pyqt5. This resulted in a zero-length sipQtcmodule.c file being produced. This compiled successfully which meant no build failure was observed. The segfault was caused by a mistake in backporting the patch from SIP 6. The generateCompositeCpp() function uses the generate_include_sip_h() helper function in later versions which doesn't exist in SIP 4. We must replace the first parameter passed to isPY_SSIZE_T_CLEAN() from mod to pt->module to account for this. The change is not necessary for generateInternalAPIHeader() To simplify the patch we can remove the generated lexer and parser files and run flex and bison in do_configure instead. Signed-off-by: Rob Woolley <rob.woolley@windriver.com> Tested-by: Toby Flynn <campingandskiing@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/sqlite-orm')
0 files changed, 0 insertions, 0 deletions