Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 553848

Summary: net-im/telepathy-mission-control -upower
Product: Gentoo Linux Reporter: cono <q>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal CC: andres.becerra, net-im, tb, xfce
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=550616
https://bugs.freedesktop.org/show_bug.cgi?id=70458
https://bugs.gentoo.org/show_bug.cgi?id=579110
Whiteboard:
Package list:
Runtime testing required: ---

Description cono 2015-07-03 12:04:25 UTC
After recent update of the xfce4-power-manager I've got into circular dependency problem. upower conflicts with upower-pm-utils.

net-im/telepathy-mission-control has strict dependency on upower-pm-utils if "upower" use flag enabled:
    !systemd? ( upower? ( >=sys-power/upower-pm-utils-0.9.23 ) )

And xfce4-power-manager has strict dependency on upower:
% cat ../xfce4-power-manager/xfce4-power-manager-1.5.2.ebuild | grep upower
	>=sys-power/upower-0.99.0


As for the others xfce packages everyhing works with any of the packages (upower or upower-pm-utils):
% cat xfce4-weather-plugin-0.8.6.ebuild | grep "upower-pm"
	upower? ( || ( >=sys-power/upower-0.9.23 sys-power/upower-pm-utils ) )"

Telepathy comes from:
net-libs/telepathy-glib-0.24.1 (net-im/telepathy-mission-control)

net-libs/gnome-online-accounts-3.14.4 (net-libs/telepathy-glib)
app-office/libreoffice-4.4.3.2 (telepathy ? >=net-libs/telepathy-glib-0.18.0)

Reproducible: Always

Steps to Reproduce:
emerge -av1 xfce-extra/xfce4-power-manager


Expected Results:  
Should be emerged with any errors.
Comment 1 cono 2015-07-03 12:07:52 UTC
Looks like initially it was fixed here: https://bugs.gentoo.org/show_bug.cgi?id=550616

And in previous ebuilds dependency was on both of upowers:
% grep "upower" /usr/portage/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.3.0.ebuild 
	|| ( >=sys-power/upower-0.9.23 >=sys-power/upower-pm-utils-0.9.23-r2 )
	!systemd? ( || ( sys-power/pm-utils sys-power/upower-pm-utils ) )"

As for the latest stable version:
% grep "upower" /usr/portage/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.5.2.ebuild 
	>=sys-power/upower-0.99.0
Comment 2 Pacho Ramos gentoo-dev 2015-07-04 16:18:57 UTC
telepathy-mission-control needs either systemd or the old upower-pm-utils

And, as I see in xfce4-power-manager ChangeLog, it uses new upower-0.99, then, I don't know what more can we do (I will CC xfce people to recheck that dep)

Then, either you move to systemd or you try to live with telepathy-mission-control[-upower]
Comment 3 Jason Zaman gentoo-dev 2015-07-04 19:14:23 UTC
Yes, the new xfce4-power-manager uses the new upower. This looks like an incompatibility and not really anything to do about it. Maybe ask upstream to add support for ConsoleKit2?

Looks like the next version of telepathy-mission-control will drop support for upower completely. https://bugs.freedesktop.org/show_bug.cgi?id=70458
Comment 4 Pacho Ramos gentoo-dev 2016-04-06 19:54:27 UTC
*** Bug 579110 has been marked as a duplicate of this bug. ***