Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413717 - xfce-extra/xfce4-power-manager-1.0.10-r1 pulls in a number of unneeded dependencies
Summary: xfce-extra/xfce4-power-manager-1.0.10-r1 pulls in a number of unneeded depend...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-27 11:59 UTC by Peter Wilmott
Modified: 2012-04-29 14:21 UTC (History)
1 user (show)

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


Attachments
Fixed ebuild (xfce4-power-manager-1.0.10-r1.ebuild,1.69 KB, text/plain)
2012-04-27 12:11 UTC, Peter Wilmott
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Wilmott 2012-04-27 11:59:21 UTC
When emerging xfce-extra/xfce4-power-manager-1.0.10-r1 a number of unneeded packages are pulled in.

Reproducible: Always

Steps to Reproduce:
1. emerge -pv xfce-extra/xfce4-power-manager
Actual Results:  
The sys-fs/udisks package is pulled in, which in turn brings in packages like sys-fs/lvm2 and sys-block/parted


Removing line 27 from the ebuild prevents the unneeded dependencies from being pulled in, the software compiles and runs fine without them.

The same issue is also present in the version 1.1.0 and 1.0.11 ebuilds.
Comment 1 Peter Wilmott 2012-04-27 12:11:33 UTC
Created attachment 310257 [details]
Fixed ebuild

diff:

27a28
> 	kernel_linux? ( sys-fs/udisks:0 )
Comment 2 Göktürk Yüksek archtester gentoo-dev 2012-04-28 07:05:45 UTC
src/xfpm-disks.c:165
    action_id = "org.freedesktop.udisks.drive-set-spindown";

It needs to talk to udisks over dbus, and I get:

$  ps ax | grep udisks
 3145 ?        Sl     0:00 /usr/libexec/udisks-daemon
 3155 ?        S      0:00 udisks-daemon: polling /dev/sr0

I don't see why udisks would be unneeded dependency?
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-04-29 14:21:10 UTC
(In reply to comment #2)
> src/xfpm-disks.c:165
>     action_id = "org.freedesktop.udisks.drive-set-spindown";
> 
> It needs to talk to udisks over dbus, and I get:
> 
> $  ps ax | grep udisks
>  3145 ?        Sl     0:00 /usr/libexec/udisks-daemon
>  3155 ?        S      0:00 udisks-daemon: polling /dev/sr0
> 
> I don't see why udisks would be unneeded dependency?

^^ Yes, this is why the mandatory-enough depend is in there.