x11-apps/xinit ebuild does some (in my opinion) contra-intuitive USE flag handling, it uses the "hal" flag to enable/disable consolekit: RDEPEND="x11-apps/xauth x11-libs/libX11 hal? ( sys-auth/consolekit )" ... <snip> ... pkg_setup() { CONFIGURE_OPTIONS="$(use_with hal consolekit)" if use hal; then if ! built_with_use sys-apps/dbus X ; then eerror "You MUST build sys-apps/dbus with the X USE flag enabled." die "You MUST build sys-apps/dbus with the X USE flag enabled." fi fi } Reproducible: Always Steps to Reproduce: 1. USE="hal -consolekit" emerge x11-apps/xinit Actual Results: sys-auth/consolekit gets pulled in Expected Results: Not pull sys-auth/consolekit in, since not requested
Created attachment 195707 [details] Ebuild that uses consolekit USE flag instead of hal I've changed the original ebuild to use the consolekit USE flag and encoded the "if ! built_with_use sys-apps/dbus X" check into an EAPI-2 USE-dependency.
*** Bug 282903 has been marked as a duplicate of this bug. ***
I fixed it for 1.0.8-r7 :]