Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#73848 - [kjots] FTBFS

Attached to Project: Community Packages
Opened by avimitin (avimitin) - Friday, 18 February 2022, 03:36 GMT
Last edited by Antonio Rojas (arojas) - Friday, 18 February 2022, 15:11 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

cmake could not find AkonadiCore during build step.

It reports that:

[ 8%] Building CXX object src/noteshared/CMakeFiles/noteshared.dir/noteshared_autogen/mocs_compilation.cpp.o
In file included from /build/kjots/src/build/src/noteshared/noteshared_autogen/EWIEGA46WW/moc_notecreatorandselector.cpp:10,
from /build/kjots/src/build/src/noteshared/noteshared_autogen/mocs_compilation.cpp:2:
/build/kjots/src/build/src/noteshared/noteshared_autogen/EWIEGA46WW/../../../../../kjots-5.1.0/src/noteshared/notecreatorandselector.h:30:10: fatal error: AkonadiCore/Collection: No such file or directory
30 | #include <AkonadiCore/Collection>
| ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

And I found that AkonadiCore is provided in package libakonadi.
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 18 February 2022, 15:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  kjots 5.1.0-2
Comment by avimitin (avimitin) - Friday, 18 February 2022, 08:13 GMT
It seems like the libakonadi had changed namespace: https://github.com/KDE/kjots/commit/581548a1de9449efc0c77e9ac85c23066bac983e.
Comment by Antonio Rojas (arojas) - Friday, 18 February 2022, 08:14 GMT
Yes, but it changed again after that so the fix no longer works. Will have to make a new patch.
Comment by avimitin (avimitin) - Friday, 18 February 2022, 09:23 GMT
I found that the standardactionmanager is located in /usr/include/KF5/AkonadiWidgets/Akonadi/StandardActionManager. So I've try to use <AkonadiWidget/Akonadi/StandardActionManager> instead of <Akonadi/StandardActionManager>, but it report that

/usr/include/KF5/AkonadiWidgets/Akonadi/StandardActionManager:1:10: fatal error: akonadi/standardactionmanager.h: No such file or directory
1 | #include "akonadi/standardactionmanager.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

The fix for AkonadiCore is usable. So the only problem is the StandardActionManager. I am not so familiar to cmake, do you have any idea?

Loading...