SUMMARY Cannot compile Krita. Getting the following error: [ 71%] Linking CXX executable kis_embedded_pattern_manager_test sip: Py_ssize_t is undefined make[2]: *** [plugins/extensions/pykrita/sip/CMakeFiles/python_module_PyKrita_krita.dir/build.make:98: plugins/extensions/pykrita/sip/krita/sipkritapart0.cpp] Error 1 make[2]: *** Deleting file 'plugins/extensions/pykrita/sip/krita/sipkritapart0.cpp' make[1]: *** [CMakeFiles/Makefile2:31308: plugins/extensions/pykrita/sip/CMakeFiles/python_module_PyKrita_krita.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... STEPS TO REPRODUCE 1. Follow instructions on https://docs.krita.org/en/untranslatable_pages/building_krita.html until and including the running of `make` command. OBSERVED RESULT I'm getting the described error which seems to be related to sip. At the end of the log the following lines appear: [ 71%] Built target kritatooltransform make: *** [Makefile:141: all] Error 2 SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Neon KDE Plasma Version: 5.22.3 KDE Frameworks Version: 5.84.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION
That's not a bug in Krita. You got an update to the latest version of sip 4, which is broken. And sip 4 is unmaintained, too.
Struggling a lot and trying to install different versions of sip with pyenv and pip and recompiling doesn't seem to help. Anyway any help / suggestions will be greatly appreciated!