ktp-common-internals fails to compile

Albert Astals Cid aacid at kde.org
Wed Mar 11 23:22:02 UTC 2015


Please CC me, I'm not subscribed

Any idea what's wrong?

I have libtelepathy-qt5-dev 0.9.3-0ubuntu16

kdepackages at xps:~/build/ktp-common-internals-15.03.80/KTp/OTR:$ make
[ 14%] Automatic moc for target KTpOTR
[ 14%] Built target KTpOTR_automoc
[ 28%] Building CXX object KTp/OTR/CMakeFiles/KTpOTR.dir/channel-adapter.cpp.o
In file included from /usr/include/telepathy-qt5/TelepathyQt/ReceivedMessage:8:0,
                 from /home/kdepackages/ktp-common-internals-15.03.80/KTp/OTR/utils.h:25,
                 from /home/kdepackages/ktp-common-internals-15.03.80/KTp/OTR/channel-adapter.cpp:21:
/usr/include/telepathy-qt5/TelepathyQt/message.h: In constructor ‘OTRMessage::OTRMessage(const MessagePartList&, Tp::TextChannelPtr)’:
/usr/include/telepathy-qt5/TelepathyQt/message.h:158:21: error: ‘Tp::ReceivedMessage::ReceivedMessage(const MessagePartList&, const TextChannelPtr&)’ is private
     TP_QT_NO_EXPORT ReceivedMessage(const MessagePartList &parts,
                     ^
/home/kdepackages/ktp-common-internals-15.03.80/KTp/OTR/channel-adapter.cpp:47:51: error: within this context
             : Tp::ReceivedMessage(message, channel)
                                                   ^
In file included from /usr/include/telepathy-qt5/TelepathyQt/ReceivedMessage:8:0,
                 from /home/kdepackages/ktp-common-internals-15.03.80/KTp/OTR/utils.h:25,
                 from /home/kdepackages/ktp-common-internals-15.03.80/KTp/OTR/channel-adapter.cpp:21:
/usr/include/telepathy-qt5/TelepathyQt/message.h: In member function ‘void OTRMessage::setSender(const ContactPtr&)’:
/usr/include/telepathy-qt5/TelepathyQt/message.h:168:26: error: ‘void Tp::ReceivedMessage::setSender(const ContactPtr&)’ is private
     TP_QT_NO_EXPORT void setSender(const ContactPtr &sender);
                          ^
/home/kdepackages/ktp-common-internals-15.03.80/KTp/OTR/channel-adapter.cpp:69:47: error: within this context
             ReceivedMessage::setSender(contact);
                                               ^
KTp/OTR/CMakeFiles/KTpOTR.dir/build.make:54: recipe for target 'KTp/OTR/CMakeFiles/KTpOTR.dir/channel-adapter.cpp.o' failed
make[2]: *** [KTp/OTR/CMakeFiles/KTpOTR.dir/channel-adapter.cpp.o] Error 1
CMakeFiles/Makefile2:672: recipe for target 'KTp/OTR/CMakeFiles/KTpOTR.dir/all' failed
make[1]: *** [KTp/OTR/CMakeFiles/KTpOTR.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Please CC me, I'm not subscribed


More information about the KDE-Telepathy mailing list