The attached ebuilds contain patches that have been provided by the upstream developers [1]. They change the merging strategy for PIM items and essentially get rid of the "Multiple merge candidates, aborting" warning in KMail (see [1]). The patches were added unmodified. [1] https://bugs.kde.org/show_bug.cgi?id=338658#c39 Reproducible: Always
Created attachment 411830 [details, diff] kdepimlibs-4.14.10-r1-rid-merge.patch
Created attachment 411832 [details, diff] kdepimlibs-4.14.10-r1-rid-merge-fixup.patch
Created attachment 411834 [details] kdepimlibs-4.14.10-r1.ebuild
Created attachment 411836 [details, diff] kdepim-runtime-4.14.10-r1-rid-merge.patch
Created attachment 411838 [details] kdepim-runtime-4.14.10-r1.ebuild
Please only add ebuild diffs instead. The kdepim-runtime patch makes it depend on a kdepimlibs-4.14.11 that does not exist - I would remove the CMakeLists.txt part of the patch and would make the kdepim-runtime ebuild depend on >=kdepimlibs-4.14.10-r1 instead.
Created attachment 411854 [details, diff] kdepimlibs-4.14.10.patch
Created attachment 411856 [details, diff] kdepim-runtime-4.14.10.patch
Created attachment 411858 [details, diff] kdepim-runtime-4.14.10-r1-rid-merge.patch Here you go. I forgot adding the dependency and thought the find_package was okay as long as it compiles. Thinking of it again, the version bump of the dep on kdepimlibs does not really belong there and should have been done in a separate commit in the upstream repository.
After some more testing, the patches do not seem to fix the issue as expected. I will do further investigation on this...
Did it not solve an existing issue caused by the bug, or could you reproduce the bug, coming from an issue-free setup, after having applied the patches?
It did not solve an issue in my existing set-up. I already re-added the affected mail accounts and see if it works then. Sadly, I was never able to reproduce the issue reliably, even before the patches.
After I re-added the IMAP mail accounts affected by the issue, the problems seem to be gone. I no longer see the "Multiple merge candidates, aborting" message and all of the IMAP accounts now fetch mails properly. I'd say the patched versions of kdepimlibs and kdepim-runtime work as expected.
Maybe you are interested in trying out the 4.14.11 snapshot that was just added to kde overlay? ;) https://github.com/gentoo/kde/commit/d801ca68f9b30ac2497031387fcdbfd6e38e2694
I updated to the new version a few days back and didn't experience any issues. The update went smoothly as usual.
Thanks. Snapshot added. Please sync. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8714337264d82d26e3dc1bcf5d00e86f8d1d799f