Bug 513195 - PyKrita build fails with SIP 6.15
Summary: PyKrita build fails with SIP 6.15
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: 5.2.14
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-10 22:14 UTC by Antonio Rojas
Modified: 2025-12-13 23:54 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2025-12-10 22:14:44 UTC
PyKrita fails to build with sip 6.15 with

sip-generate.py: /build/krita/src/krita-5.2.14/plugins/extensions/pykrita/sip/krita/kritamod.sip: line 1: column 7: there is already a class or namespace in scope called 'Selection'
Comment 1 Pino Toscano 2025-12-12 10:05:42 UTC
Hi Dmitry,

since you have experience with SIP on Debian, would you have any suggestions/hints on this problem? Thanks!
Comment 2 Dmitry Shachnev 2025-12-12 19:29:54 UTC
Hi!

From a quick look, I could not find Krita doing anything obviously wrong.
This error may be an unwanted side effect of optimizations in https://github.com/Python-SIP/sip/pull/87, which touched the code for detecting and reporting clashes, which produces this warning.

I would suggest to report this issue to SIP, either to the mailing list (https://www.riverbankcomputing.com/mailman/listinfo/pyqt) or to GitHub issues (https://github.com/Python-SIP/sip/issues).