Can't setup AI generation in krita looks like fails installing comfyUI

Hello,

Requirements:

I have Searched the forum for my issue and found nothing related or helpful
I have checked the Resources category (Resources Index)
I have reviewed the Wiki for relevant information
I have read the the Release Notes and Errata

OpenMandriva Lx version:

OpenMandriva Lx release 6.0 (Vanadium) Rock for x86_64

Desktop environment (KDE, LXQT…):

kde

Description of the issue (screenshots if relevant):

I am trying to use generative fill on openmandriva with Krita. Having a ton of problem with this form btw, very weird and probably not working right. I have seen in release notes krita and the plugin are supported and I stalled them using DNF. However, when trying to set server it tries to install comfyUI which is apparently a requirement for using the plugin. This fails with a giant error message I will post. Is this doable on openmandriva? So far nothing but dead ends whenever I want to install something on openmandriva and I can take weeks to install every little thing I need.
2026-01-27 18:36:38,000 ERROR Error during installation: error: subprocess-exited-with-error

Preparing metadata (pyproject.toml) did not run successfully.
exit code: 1

[12 lines of output]

  • meson setup /tmp/pip-install-2usa_m87/pycairo_6d3130508c204e759b03c51325e79a18 /tmp/pip-install-2usa_m87/pycairo_6d3130508c204e759b03c51325e79a18/.mesonpy-9ras8579 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md -Dwheel=true -Dtests=false --native-file=/tmp/pip-install-2usa_m87/pycairo_6d3130508c204e759b03c51325e79a18/.mesonpy-9ras8579/meson-python-native-file.ini
    The Meson build system
    Version: 1.10.1
    Source dir: /tmp/pip-install-2usa_m87/pycairo_6d3130508c204e759b03c51325e79a18
    Build dir: /tmp/pip-install-2usa_m87/pycairo_6d3130508c204e759b03c51325e79a18/.mesonpy-9ras8579
    Build type: native build
    Project name: pycairo
    Project version: 1.29.0

../meson.build:1:0: ERROR: Compiler cc cannot compile programs.

A full log can be found at /tmp/pip-install-2usa_m87/pycairo_6d3130508c204e759b03c51325e79a18/.mesonpy-9ras8579/meson-logs/meson-log.txt
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
Encountered error while generating package metadata.
See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
[notice] A new release of pip is available: 24.0 → 25.3
[notice] To update, run: python -m pip install --upgrade pip
Traceback (most recent call last):
File “/usr/share/krita/pykrita/ai_diffusion/server.py”, line 292, in install
await self._install(cb)
File “/usr/share/krita/pykrita/ai_diffusion/server.py”, line 147, in _install
await install_if_missing(dir, self._install_custom_node, pkg, network, cb)
File “/usr/share/krita/pykrita/ai_diffusion/server.py”, line 609, in install_if_missing
await try_install(path, installer, *args)
File “/usr/share/krita/pykrita/ai_diffusion/server.py”, line 604, in try_install
raise e
File “/usr/share/krita/pykrita/ai_diffusion/server.py”, line 599, in try_install
await installer(*args)
File “/usr/share/krita/pykrita/ai_diffusion/server.py”, line 244, in _install_custom_node
await _execute_process(pkg.name, self._pip_install(“-r”, requirements_txt), folder, cb)
File “/usr/share/krita/pykrita/ai_diffusion/server.py”, line 593, in execute_process
raise Exception(
(“Error during installation”) + f": {errlog}")
Exception: Error during installation: error: subprocess-exited-with-error

Preparing metadata (pyproject.toml) did not run successfully.
exit code: 1

[12 lines of output]

  • meson setup /tmp/pip-install-2usa_m87/pycairo_6d3130508c204e759b03c51325e79a18 /tmp/pip-install-2usa_m87/pycairo_6d3130508c204e759b03c51325e79a18/.mesonpy-9ras8579 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md -Dwheel=true -Dtests=false --native-file=/tmp/pip-install-2usa_m87/pycairo_6d3130508c204e759b03c51325e79a18/.mesonpy-9ras8579/meson-python-native-file.ini
    The Meson build system
    Version: 1.10.1
    Source dir: /tmp/pip-install-2usa_m87/pycairo_6d3130508c204e759b03c51325e79a18
    Build dir: /tmp/pip-install-2usa_m87/pycairo_6d3130508c204e759b03c51325e79a18/.mesonpy-9ras8579
    Build type: native build
    Project name: pycairo
    Project version: 1.29.0

../meson.build:1:0: ERROR: Compiler cc cannot compile programs.

A full log can be found at /tmp/pip-install-2usa_m87/pycairo_6d3130508c204e759b03c51325e79a18/.mesonpy-9ras8579/meson-logs/meson-log.txt
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
Encountered error while generating package metadata.
See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
[notice] A new release of pip is available: 24.0 → 25.3
[notice] To update, run: python -m pip install --upgrade pip
2026-01-27 18:36:38,001 ERROR Installation failed
2026-01-27 18:36:38,001 INFO Found server installation vincomplete at /home/bryce/.local/share/krita/ai_diffusion/server

Relevant informations (hardware involved, software version, logs or output…):

I reinstalled COOKER because it seems to require python 3.12 to set up and actually do anything. But now when I install krita, the plugin does not even load. The plugin exists but when I hover over the greyed out plugin in the krita UI it says there is an error to do with Python5.Qt in line someting or other. Not sure how to take a screenshot in openmandriva and there is no printscreen on this machine. Has anyone actually got this going? It says it is done in the release notes of rome some time ago but clearly not actually working even if installed.

Please format your code as code, (use the </> icon).
Thanks.

Cooker is in the middle of an update to 3.14.

Krita may not have been updated or rebuilt in a while because there wasn’t a Qt6 version when we started migrating to that. Can you use a flatpak?

I am using the flatpack but what it does is try to install comfyUI which is needed in the backend for some reason. That’s what requires 3.12. I was able to get it going in cooker and generating images but then cooker was doing something weird where I would start up then the system hangs and I get a login screen again. I ended up reinstalling to rock and figured I would be able to use the flatpack still but no dice. I suppose the stuff it installed is not on the system now so I am back on square one. It could be the machine overheating, I have a ryzen 7 and have tons of trouble with it running hot even when I do nothing, then if I have something like audacity running it gets worse. I can’t run audacity for more than half an hour without locking the whole system up. I have an air cooler instead of an all in one because I do a lot of recording on the computer and it is noctua fans. But it is the big one so it should be pretty good if the program is not doing something crazy. When I use shotcut it is fine and I can have it open for days on end with no problem but audacity kills it quickly. Is there any way to update to python 3.12 without going back to cooker?

There are posts about this all over the forum. If you are using xlibre in ROME or Cooker, you may need to manually install the DDX x11-driver-video-<vendor> due to the broken implementation of modesetting from FDO. They are working on a fix for it.

If the issue is wayland, you will need to convince them that it actually is an issue. Without knowing the graphics card, it’s difficult to assist. This should really have its own post.

No. Flatpaks should be self contained. You may need to try Appimage, instead.

Ok thanks. At least it’s not the hardware as I was thinking it may be. Maybe I will go back to Cooker and try to do that driver thing if I can’t figure a way to get comfyui onto rock.