I had the same problems with Nepomuk Indexing Agents Have Been Disabled, file collisions, and emerge failures due to blockages caused by libkdepim after updating world.
I finally worked around it by manually deleting the three collision files referred to (and cleaning out my world file), and then akonadi would merge.
However, then I couldn't run emerge @preserved-rebuild (which had 10 kmail related pkgs) because the just installed akonadi then blocked kdepim-common-libs-4.7.0.
I did emerge -C akonadi, and then emerge @preserved-rebuild completed, and also got rid of the soft-block libkdepim.
Code: Select all
gentoo wrc # emerge @preserved-rebuild
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] kde-base/kdepim-common-libs-4.7.0 USE="(-aqua) -debug (-kdeenablefinal)" 0 kB
[uninstall ] kde-base/libkdepim-4.4.11.1 USE="(-aqua) -debug (-kdeenablefinal) (-kdeprefix)"
[blocks b ] kde-base/libkdepim:4 ("kde-base/libkdepim:4" is blocking kde-base/kdepim-common-libs-4.7.0)
[ebuild R ] kde-base/kontact-4.7.0 USE="handbook (-aqua) -debug (-kdeenablefinal)" 0 kB
[ebuild R ] kde-base/kleopatra-4.7.0 USE="handbook (-aqua) -debug (-kdeenablefinal)" 0 kB
[ebuild R ] kde-base/akonadiconsole-4.7.0 USE="(-aqua) -debug (-kdeenablefinal)" 0 kB
[ebuild R ] kde-base/kdepim-strigi-analyzer-4.7.0 USE="(-aqua) -debug (-kdeenablefinal)" 0 kB
[ebuild R ] kde-base/korganizer-4.7.0 USE="handbook kontact (-aqua) -debug (-kdeenablefinal)" 0 kB
[ebuild R ] kde-base/knode-4.7.0 USE="handbook kontact (-aqua) -debug (-kdeenablefinal)" 0 kB
[ebuild R ] kde-base/kaddressbook-4.7.0 USE="handbook kontact (-aqua) -debug (-kdeenablefinal)" 0 kB
[ebuild R ] kde-base/kjots-4.7.0 USE="handbook kontact (-aqua) -debug (-kdeenablefinal)" 0 kB
[ebuild R ] kde-base/kmail-4.7.0 USE="handbook kontact (-aqua) -debug (-kdeenablefinal) -test" 0 kB
Total: 10 packages (1 new, 9 reinstalls, 1 uninstall), Size of downloads: 0 kB
Conflict: 1 block
Then (wonder of wonders), I opened kmail-4.7.0 and migrated my huge kmail Mail folder from /home/user successfully.
At least all my 15 folders were there, but sadly not populated with any of my old emails.
However, under the folder menu at the top of kmail there are "update folder" and "update folder and its subfolders" options, and you can select a folder in your main kmail folders list, and then go back and use the menu option to import all the saved emails from the /home/user/Mail directory into the proper folders listed kmail-4.7.0
Seems to have worked perfectly- FINALLY!

I had been struggling with this for months and months, but apparently kde has finally gotten kmail in a usable state again. Even started using Thunderbird as my only email client.