Opened 13 years ago
Closed 13 years ago
#32656 closed defect (fixed)
kdepim4 @4.7.4 akonadisender.cpp build error
Reported by: | geekosaur | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | nerdling (Jeremy Lavergne), sharky@…, bjoern.ricks@…, macports@…, mac.ports.fishspit@…, NicosPavlov, mparchet@… | |
Port: | kdepim4 |
Description
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepim4/kdepim4/work/kdepim-4.7.4/messagecomposer/akonadisender.cpp: In member function ‘void AkonadiSender::sendOrQueueMessage(const boost::shared_ptr<KMime::Message>&, MessageSender::SendMethod)’: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepim4/kdepim4/work/kdepim-4.7.4/messagecomposer/akonadisender.cpp:138: error: reference to ‘Message’ is ambiguous /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepim4/kdepim4/work/kdepim-4.7.4/messagecomposer/util.h:35: error: candidates are: namespace Message { } /opt/local/include/kmime/kmime_message.h:82: error: class KMime::Message
(this is after forcing configure.compiler=llvm-gcc-4.2, which appears to be necessary for most of the kde*4 ports) Lion, Xcode 4.2; no variants specified (not that any appear to be supported).
Attachments (2)
Change History (10)
Changed 13 years ago by geekosaur
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Keywords: | AkonadiSender Message ambiguous removed |
---|
comment:3 Changed 13 years ago by macports@…
I was able to compile kdepim4 @4.7.4 by removing the namespace declaration for "KMime" from akonadisender.cpp:41
The compiler gets confused because there is a KMime::Message class (but this is not the one which is used here, KMime::Message does not declare "Util"). This seems to be a bug/problem in gcc. gcc >= 4.5 will compile the file successfully (see https://bugs.gentoo.org/show_bug.cgi?id=394531)
Changed 13 years ago by mparchet@…
Attachment: | main.2.log added |
---|
comment:6 Changed 13 years ago by mparchet@…
Hello,
I Wold like also compile kdepimn4 but I have this error message.
kdepimlibs4 Log for kdepimlibs4 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdepimlibs4/kdepimlibs4/main.log Error: The following dependencies were not installed: kdepimlibs4 Error: Status 1 encountered during processing.
Her's my log file
Best regards
mparchet
comment:8 Changed 13 years ago by NicosPavlov
Resolution: | → fixed |
---|---|
Status: | new → closed |
The patch proposed by macports@… has been applied in r89301, which should address the issue. The problem in main.2.log shows that compilation stops at xine-lib, and is thus not related to this ticket.
port log kdepim4