I have had this problem for some time - kdepimlibs (starting with 4.2.98, but current 4.3.0 seem to be affected as well fail to compile with information about missing symbols (like AKONADI_CMD_ITEMDELETE) Reproducible: Always Steps to Reproduce: 1. emerge kdepimlibs 2. 3. Actual Results: I cant get the actuall log error now, as i got it fixed (patch attached below) Seems for some reason my build failed due to original order of includes. Chaniging the order/source of includes in 3 files of kdepimlibs/akonadi fixed it for me. I dont know if its issue with my machine (but no idea why my setup might differ from others), but maybe this will help someone else as well. So if you get error message during compile of akonadi/itemdeletejob.cpp about unknown symbol "AKONADI_CMD_ITEMDELETE", try use the patch below. If more people are affected, maybe it would be worth including it in the portage or reporting it upstream. P.S this seem to be related to includes from app-office/akonadi-server package which i have installed as version 1.2.0 *** orig/itemdeletejob.cpp Tue Jun 9 18:07:16 2009 --- patched/itemdeletejob.cpp Wed Aug 5 10:44:08 2009 *************** *** 25,33 **** #include "job_p.h" #include "protocolhelper_p.h" #include <akonadi/private/imapparser_p.h> #include <akonadi/private/imapset_p.h> - #include <akonadi/private/protocol_p.h> #include <KLocale> --- 25,33 ---- #include "job_p.h" #include "protocolhelper_p.h" + #include "protocol_p.h" #include <akonadi/private/imapparser_p.h> #include <akonadi/private/imapset_p.h> #include <KLocale> diff -cr orig/monitor_p.cpp patched/monitor_p.cpp *** orig/monitor_p.cpp Wed May 27 21:53:06 2009 --- patched/monitor_p.cpp Wed Aug 5 10:46:13 2009 *************** *** 19,30 **** // @cond PRIVATE #include "monitor_p.h" #include "collectionfetchjob.h" #include "collectionstatistics.h" #include "itemfetchjob.h" - #include "notificationmessage_p.h" #include "session.h" #include <kdebug.h> --- 19,30 ---- // @cond PRIVATE + #include "notificationmessage_p.h" #include "monitor_p.h" #include "collectionfetchjob.h" #include "collectionstatistics.h" #include "itemfetchjob.h" #include "session.h" #include <kdebug.h> diff -cr orig/protocolhelper.cpp patched/protocolhelper.cpp *** orig/protocolhelper.cpp Wed Jun 17 22:05:52 2009 --- patched/protocolhelper.cpp Wed Aug 5 10:45:38 2009 *************** *** 23,29 **** #include "collectionstatistics.h" #include "exception.h" #include <akonadi/private/imapparser_p.h> ! #include <akonadi/private/protocol_p.h> #include <QtCore/QVarLengthArray> --- 23,29 ---- #include "collectionstatistics.h" #include "exception.h" #include <akonadi/private/imapparser_p.h> ! #include "protocol_p.h" #include <QtCore/QVarLengthArray>
4.3.0 isn't in Portage anymore, please reopen if this is still a issue with >= 4.3.1.
Well, it still does the same thing for me - need to use my patch to compile kdepimlibs 4.3.2. However i have another gentoo installation on laptop (also amd64) and kdepimlibs compiles well. So i guess my problems are due to the history of emerging (order of installed packages). I have noticed a few (but not many) other people reporting the same problem at different webistes - so i guess they might be in similar situation - the bug is a 'phase of a moon' type and only demonstrates under very unusual circumstances. I'm reopening as requested, but i understend this issue might not be important enough to investigate, so i will not object closing it...