Summary: | kde-base/kmail-4.7.4 fails to compile (gcc-4.4, namespace clash) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jason Mours <jason.mours> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arne_bab |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
Environment |
Description
Jason Mours
2011-12-28 18:22:49 UTC
Created attachment 297229 [details]
build.log
Created attachment 297231 [details]
Environment
The actual error: [0m/var/tmp/portage/kde-base/kmail-4.7.4/work/kmail-4.7.4/messagecomposer/akonadisender.cpp: In member function ‘void AkonadiSender::sendOrQueueMessage(const boost::shared_ptr<KMime::Message>&, MessageSender::SendMethod)’: [1;31m/var/tmp/portage/kde-base/kmail-4.7.4/work/kmail-4.7.4/messagecomposer/akonadisender.cpp:138: error: reference to ‘Message’ is ambiguous[0m [1;31m/var/tmp/portage/kde-base/kmail-4.7.4/work/kmail-4.7.4/messagecomposer/util.h:35: error: candidates are: namespace Message { }[0m [1;31m/usr/include/kmime/kmime_message.h:82: error: class KMime::Message[0m I get the same problem. It leads to many “can’t fetch item from backend” warnings (on viewing messages). kmail works nontheless, but it is extremely annoying. The error: [ 69%] Building CXX object messagecomposer/CMakeFiles/messagecomposer.dir/messagefactory.o /var/tmp/portage/kde-base/kmail-4.7.4/work/kmail-4.7.4/messagecomposer/akonadisender.cpp: In member function 'void AkonadiSender::sendOrQueueMessage(const boost::shared_ptr<KMime::Message>&, MessageSender::SendMethod)': /var/tmp/portage/kde-base/kmail-4.7.4/work/kmail-4.7.4/messagecomposer/akonadisender.cpp:138: error: reference to 'Message' is ambiguous /var/tmp/portage/kde-base/kmail-4.7.4/work/kmail-4.7.4/messagecomposer/util.h:35: error: candidates are: namespace Message { } /usr/include/kmime/kmime_message.h:82: error: class KMime::Message make[2]: *** [messagecomposer/CMakeFiles/messagecomposer.dir/akonadisender.o] Error 1 Do you need additional build logs? This is a compilation problem that only occurs with gcc-4.4 ... a few similar ones have already been fixed. I've added kmail-4.7.4-r1 to the tree without keywords (because I cannot test it at the moment at all). Please keyword it yourself (**) and try, and give feedback here! No promises, that patch was made blind and in the dark... :D I can confirm the patch works on my gentoo - gcc-4.4. Thanks! (In reply to comment #6) > I can confirm the patch works on my gentoo - gcc-4.4. > > Thanks! OK great, restored keywords to all ~arch. |