kraft icon indicating copy to clipboard operation
kraft copied to clipboard

Abort Akonadi start if it is already broken

Open t-8ch opened this issue 1 year ago • 2 comments

If Akonadi is already marked broken Akonadi::Control::start() will not return breaking the initialization of Kraft. Add special handling until Akonadi is fixed.

On ArchLinux this happens right now because kraft is using an older version of libakonadi that works with qt5 while the akonadi daemon needs to use a newer one with qt6.

See:

  • https://invent.kde.org/pim/akonadi/-/merge_requests/189
  • https://aur.archlinux.org/packages/kraft#comment-976037

t-8ch avatar Jun 01 '24 09:06 t-8ch

Thank you for the PR, I will merge it.

However, wouldn't it be better to build Kraft without Akonadi support in Arch until KF6 Akonadi is supported? I realise that it is a loss of functionality, and that port to KF6 has to have prio, but I am just not there yet...

dragotin avatar Jun 05 '24 08:06 dragotin

However, wouldn't it be better to build Kraft without Akonadi support in Arch until KF6 Akonadi is supported?

That we could do and it would avoid the issue. But that solution is specific to Arch and if Akonadi is broken for any other reason we will run into the same issue again.

t-8ch avatar Jun 05 '24 08:06 t-8ch