Bug 328506

Summary: ktp-accounts-kcm does not build with libmm-qt-1.0.0
Product: [Unmaintained] telepathy Reporter: Dennis Schridde <heri+kde>
Component: accounts-kcmAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: johu, kamathanant, mklapetek, rohan
Priority: NOR    
Version: 0.7.1   
Target Milestone: Future   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: build.log

Description Dennis Schridde 2013-12-07 08:58:30 UTC
Created attachment 83965 [details]
build.log

It seems that the pintxo plugin (Gentoo: USE="modemmanager") is not compatible with net-libs/libmm-qt-1.0.0:

In file included from /var/tmp/portage/net-im/ktp-accounts-kcm-0.7.0/work/ktp-accounts-kcm-0.7.0_build/plugins/pintxo/ui_main-options-widget.h:25:0,
                 from /var/tmp/portage/net-im/ktp-accounts-kcm-0.7.0/work/ktp-accounts-kcm-0.7.0/plugins/pintxo/main-options-widget.h:28,
                 from /var/tmp/portage/net-im/ktp-accounts-kcm-0.7.0/work/ktp-accounts-kcm-0.7.0/plugins/pintxo/pintxo-account-ui.cpp:22:
/var/tmp/portage/net-im/ktp-accounts-kcm-0.7.0/work/ktp-accounts-kcm-0.7.0/plugins/pintxo/modem-combobox.h:27:50: fatal error: ModemManagerQt/modemgsmcardinterface.h: No such file or directory
 #include <ModemManagerQt/modemgsmcardinterface.h>
                                                  ^
compilation terminated.
plugins/pintxo/CMakeFiles/ktpaccountskcm_plugin_pintxo.dir/build.make:108: recipe for target 'plugins/pintxo/CMakeFiles/ktpaccountskcm_plugin_pintxo.dir/pintxo-account-ui.o' failed
Comment 2 Johannes Huber 2013-12-12 09:50:07 UTC
(In reply to comment #1)
> Fixed
> 
> http://commits.kde.org/telepathy-accounts-kcm/
> d08d4142ec75d931b364a002c8eaae91223f1ac

Thanks for the workarround, but the plugin should be ported to latest release of libmm-qt (and the version limitation should be removed afterwards).
Comment 3 Anant Kamath 2013-12-12 09:54:19 UTC
The port to libmm-qt 1.0 will be done in the next few weeks.


On 12 December 2013 15:20, Johannes Huber <johu@gentoo.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=328506
>
> --- Comment #2 from Johannes Huber <johu@gentoo.org> ---
> (In reply to comment #1)
> > Fixed
> >
> > http://commits.kde.org/telepathy-accounts-kcm/
> > d08d4142ec75d931b364a002c8eaae91223f1ac
>
> Thanks for the workarround, but the plugin should be ported to latest
> release
> of libmm-qt (and the version limitation should be removed afterwards).
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
>
Comment 4 Dennis Schridde 2014-01-16 22:57:32 UTC
Persists in 0.7.1.
Comment 5 Martin Klapetek 2014-01-17 08:12:35 UTC
Eek, the patch was committed only to 0.8/master branch. My bad for not checking it properly, sorry.

If you're a packager, can you please backport the patch in comment #1, it should at least make it build again.
Comment 6 Rohan Garg 2014-04-13 10:20:00 UTC
0.8 is out, so this is now fixed right?

I built ktp-accounts-kcm with newer NMQt and it skipped this module OK.