Build of app-office/kmymoney fails after updating to the latest plasma. The specific culprit is akonadi, they changed something at the API level. The fix is a simple patch. However, looks like I have to upload it after opening the bug first, as I don't see the way to attach a patch here.. Reproducible: Always Steps to Reproduce: emerge kmymoney after having upgraded plasma.
Created attachment 762998 [details, diff] patch to fix the akonadi new API issue The ebuild simply needs to reference the patch. Just add the: PATCHES=( "${FILESDIR}/${P}-mymoneycontact.cpp.patch" ) line to the ebuild..
I was going to ask if the patch is upstream but I see it is. Thanks! for now, you can put it in /etc/portage/patches
Akonadi is not Plasma. Where is your build.log?
(In reply to Andreas Sturmlechner from comment #3) > Akonadi is not Plasma. Well, the build started breaking after that last major kde update, so I called it all "plasma" :), but yeah, to be precise, its some change in akonadi innards that needs these changes. > Where is your build.log? Yeah, sorry, I meant to attach that too, but had to get my mail system up and running again first - this kde upgrade apparently broke more things than just kmymoney.. Here it is, attached now. The specific error line is this one: /var/tmp/portage/app-office/kmymoney-5.1.2/work/kmymoney-5.1.2/kmymoney/mymoney/mymoneycontact.cpp:13:10: fatal error: AkonadiCore/RecursiveItemFetchJob: No such file or directory 13 | #include <AkonadiCore/RecursiveItemFetchJob> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Some API change moving AkonadiCore/RecursiveItemFetchJob around or something like that. But, as I can see, you found the original kde bug already.. Anyway, the patch above fixes it.
Created attachment 763082 [details] build.log Actual log, mentioned in above comment.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=972b3ec622b6c26162d4e557d1ae5d1bb8d5010d commit 972b3ec622b6c26162d4e557d1ae5d1bb8d5010d Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2022-02-10 18:43:34 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2022-02-10 20:09:51 +0000 app-office/kmymoney: Fix build with >=kde-apps/akonadi-21.12.0 EAPI-8 bump. Closes: https://bugs.gentoo.org/831729 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../files/kmymoney-5.1.2-akonadi-21.12.0.patch | 38 ++++++++++++++++++++++ app-office/kmymoney/kmymoney-5.1.2.ebuild | 6 ++-- 2 files changed, 42 insertions(+), 2 deletions(-)