Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296604 - sys-apps/devicekit-power-013 depending consolekit with USE="policykit"
Summary: sys-apps/devicekit-power-013 depending consolekit with USE="policykit"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 296760 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-12 12:37 UTC by Boney McCracker
Modified: 2009-12-13 18:16 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boney McCracker 2009-12-12 12:37:47 UTC
I'm questioning this dependency since it just appeared and policykit seems to be generally optional.

Reproducible: Always

Steps to Reproduce:
I presently have sys-apps/devicekit-power-012-r1.  A routine update today attempted to upgrade to devicekit-power-013, but insists that this requires consolekit to be installed with USE="policykit"

Actual Results:  
~ # emerge -uavDN world

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy ">=sys-auth/consolekit-0.4[policykit]".
!!! One of the following packages is required to complete your request:
- sys-auth/consolekit-0.4.1 (Change USE: +policykit)
(dependency required by "sys-auth/polkit-0.95" [installed])
(dependency required by "sys-apps/devicekit-power-013" [ebuild])
(dependency required by "gnome-base/gnome-session-2.28.0" [installed])
(dependency required by "gnome-base/gnome-2.26.3" [installed])
(dependency required by "world" [argument])


Expected Results:  
devicekit-power is upgraded to 013 without dependency on consolekit[policykit]

~ # emerge --info
Portage 2.1.7.13 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo i686)
=================================================================
System uname: Linux-2.6.32-gentoo-i686-Pentium_III_-Coppermine-with-gentoo-2.0.1
Timestamp of tree: Sat, 12 Dec 2009 10:45:03 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.3
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://gentoo.osuosl.org/ http://open-systems.ufl.edu/mirrors/gentoo "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1,--hash-style=gnu"
LINGUAS="en_US en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bzip2 cairo caps cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd eds encode evo exif ffmpeg flac fortran gdbm gif gnome gnome-keyring gpm gstreamer gtk hal iconv ieee1394 imagemagick java jpeg libnotify logrotate mad mmx modules mp3 mp4 mpeg mudflap nautilus ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds python quicktime readline reflection samba sdl session spell spl sse ssl startup-notification svg sysfs threads thunar tiff truetype unicode usb userlocales vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="en_US en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-12-12 12:42:48 UTC
This is due to a change in the deps of sys-auth/polkit. Polkit is quite useless without consolekit-0.4 built with USE=policykit
Comment 2 Boney McCracker 2009-12-12 12:50:03 UTC
(In reply to comment #1)
> This is due to a change in the deps of sys-auth/polkit. Polkit is quite useless
> without consolekit-0.4 built with USE=policykit
> 

I see. Thank you.
Comment 3 Boney McCracker 2009-12-12 13:01:20 UTC
Wait.  Why does devicekit-power depend on policykit to begin with (without a "policykit" USE flag?

sys-apps/devicekit-power-012-r1 (>=sys-auth/polkit-0.91)

That effectively makes policykit mandatory, doesn't it?  (Since devicekit-power is a dependency of gnome-session.)

All the other components I have which may require polkit make it optional via a USE flag.

~ # equery depends polkit
 * Searching for polkit ...
gnome-base/gconf-2.28.0-r1 (policykit ? sys-auth/polkit)
gnome-base/gnome-applets-2.28.0 (policykit ? >=sys-auth/polkit-0.91)
gnome-base/gnome-panel-2.28.0 (policykit ? >=sys-auth/polkit-0.91)
sys-apps/devicekit-power-012-r1 (>=sys-auth/polkit-0.91)
sys-auth/consolekit-0.4.1 (policykit ? >=sys-auth/polkit-0.92)
Comment 4 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-12-12 14:42:52 UTC
(In reply to comment #3)
> Wait.  Why does devicekit-power depend on policykit to begin with (without a
> "policykit" USE flag?
> 
> sys-apps/devicekit-power-012-r1 (>=sys-auth/polkit-0.91)
> 
> That effectively makes policykit mandatory, doesn't it?  (Since devicekit-power
> is a dependency of gnome-session.)

That's a decision of upstream; "the *kits" work together now. And it's relatively low-priority for the GNOME herd to fix it since we have bigger problems and low manpower. Essentially; if you don't want to use polkit; patches are most welcome.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-12-13 18:16:39 UTC
*** Bug 296760 has been marked as a duplicate of this bug. ***