Version: unspecified (using KDE 4.7.3) OS: Linux There's compilation error during kdepim-4.7.4 compilation: [ 35%] Building CXX object messagecomposer/CMakeFiles/messagecomposer.dir/akonadisender.o /usr/src/packages/kde4/4.7.4/kdepim-4.7.4/messagecomposer/akonadisender.cpp: In member function 'void AkonadiSender::sendOrQueueMessage(const boost::shared_ptr<KMime::Message>&, MessageSender::SendMethod)': /usr/src/packages/kde4/4.7.4/kdepim-4.7.4/messagecomposer/akonadisender.cpp:138: error: reference to 'Message' is ambiguous /usr/src/packages/kde4/4.7.4/kdepim-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 make[1]: *** [messagecomposer/CMakeFiles/messagecomposer.dir/all] Error 2 I believe an error says itself, small ambiguous call: if ( !Message::Util::sendMailDispatcherIsOnline() ) Making an explicit reference to global namespace is enough to fix it: if ( !::Message::Util::sendMailDispatcherIsOnline() ) But I think it's better to sort out this name collision. Reproducible: Didn't try Steps to Reproduce: 1. Start the compilation of kdepim-4.7.4. 2. Notice some strange behavior during compilation. Actual Results: The package fails to compile. Expected Results: The package compiles successfully.
This compile error happens only with <gcc-4.5 See downstream bug report: https://bugs.gentoo.org/show_bug.cgi?id=394531
is this fixed? according to the gentoo bug it is fixed. close this then?
The applied patch is git id 02544849c1ba657cca59908960a75e0f65b87aea
ok, then resolving this