Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489890 - net-im/ktp-accounts-kcm-0.7.0 does not compile
Summary: net-im/ktp-accounts-kcm-0.7.0 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-30 17:02 UTC by Andrés Becerra Sandoval
Modified: 2013-10-31 15:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (info.txt,5.22 KB, text/plain)
2013-10-30 17:02 UTC, Andrés Becerra Sandoval
Details
build.log (build.log,522.95 KB, text/x-log)
2013-10-30 17:02 UTC, Andrés Becerra Sandoval
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrés Becerra Sandoval 2013-10-30 17:02:05 UTC
Created attachment 362304 [details]
emerge --info output

With USE=""


I can't compile , this is the error I get:

/var/tmp/portage/net-im/ktp-accounts-kcm-0.7.0/work/ktp-accounts-kcm-0.7.0/plugins/pintxo/modem-combobox.cpp: In constructor ‘ModemComboBox::ModemComboBox(QWidget*)’:
/var/tmp/portage/net-im/ktp-accounts-kcm-0.7.0/work/ktp-accounts-kcm-0.7.0/plugins/pintxo/modem-combobox.cpp:36:45: error: ‘class ModemManager::ModemGsmCardInterface’ has no member named ‘getSimIdentifier’
                 QString simIdent = simCard->getSimIdentifier();
                                             ^
/var/tmp/portage/net-im/ktp-accounts-kcm-0.7.0/work/ktp-accounts-kcm-0.7.0/plugins/pintxo/modem-combobox.cpp:37:53: error: ‘class ModemManager::ModemGsmCardInterface’ has no member named ‘getSpn’
                 QDBusReply<QString> spn  = simCard->getSpn();
                                                     ^
/var/tmp/portage/net-im/ktp-accounts-kcm-0.7.0/work/ktp-accounts-kcm-0.7.0/plugins/pintxo/modem-combobox.cpp: In member function ‘QString ModemComboBox::selectedSimIdentifier()’:
/var/tmp/portage/net-im/ktp-accounts-kcm-0.7.0/work/ktp-accounts-kcm-0.7.0/plugins/pintxo/modem-combobox.cpp:54:29: error: ‘class ModemManager::ModemGsmCardInterface’ has no member named ‘getSimIdentifier’
             return simCard->getSimIdentifier();
                             ^
/var/tmp/portage/net-im/ktp-accounts-kcm-0.7.0/work/ktp-accounts-kcm-0.7.0/plugins/pintxo/modem-combobox.cpp: In member function ‘void ModemComboBox::setSelectedModem(const QString&)’:
/var/tmp/portage/net-im/ktp-accounts-kcm-0.7.0/work/ktp-accounts-kcm-0.7.0/plugins/pintxo/modem-combobox.cpp:67:45: error: ‘class ModemManager::ModemGsmCardInterface’ has no member named ‘getSimIdentifier’
                 QString simIdent = simCard->getSimIdentifier();
                                             ^
make[2]: *** [plugins/pintxo/CMakeFiles/ktpaccountskcm_plugin_pintxo.dir/modem-combobox.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-im/ktp-accounts-kcm-0.7.0/work/ktp-accounts-kcm-0.7.0_build'
make[1]: *** [plugins/pintxo/CMakeFiles/ktpaccountskcm_plugin_pintxo.dir/all] Error 2
Comment 1 Andrés Becerra Sandoval 2013-10-30 17:02:53 UTC
Created attachment 362306 [details]
build.log
Comment 2 Andrés Becerra Sandoval 2013-10-30 19:04:59 UTC
Sorry, I forgot to add:

- With USE="modemmanager" for net-misc/networkmanager and kde-misc/plasma-nm

Mabye it has something to do.
Comment 3 Christian Loosli 2013-10-30 20:23:07 UTC
(In reply to Andrés Becerra Sandoval from comment #2)
> Sorry, I forgot to add:
> 
> - With USE="modemmanager" for net-misc/networkmanager and kde-misc/plasma-nm
> 
> Mabye it has something to do.

Yes, it does matter. 

If it detects libmm-qt it will try to compile the new send-sms functionality thingie, which fails. If you remove libmm-qt beforehand it should compile. 

Of course that is only an ugly (but working) workaround. 

Kind regards
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2013-10-30 21:41:49 UTC
Thanks for reporting. This is fixed in cvs now. Please sync in some hours to get the changes.

+
+  30 Oct 2013; Johannes Huber <johu@gentoo.org>
+  +files/ktp-accounts-kcm-0.7.0-libmm-qt-api.patch,
+  +files/ktp-accounts-kcm-0.7.0-libmm-qt-optional.patch,
+  ktp-accounts-kcm-0.7.0.ebuild, metadata.xml:
+  Adding upstream patches to make modemmanager (net-libs/libmm-qt) optional and
+  to fix build when its installed wrt bug #489890.
+
Comment 5 Andrés Becerra Sandoval 2013-10-31 15:32:08 UTC
(In reply to Johannes Huber from comment #4)
> Thanks for reporting. This is fixed in cvs now. Please sync in some hours to
> get the changes.
> 
> +
> +  30 Oct 2013; Johannes Huber <johu@gentoo.org>
> +  +files/ktp-accounts-kcm-0.7.0-libmm-qt-api.patch,
> +  +files/ktp-accounts-kcm-0.7.0-libmm-qt-optional.patch,
> +  ktp-accounts-kcm-0.7.0.ebuild, metadata.xml:
> +  Adding upstream patches to make modemmanager (net-libs/libmm-qt) optional
> and
> +  to fix build when its installed wrt bug #489890.
> +

Thank you, that was amazingly quick!