When emerging net-misc/wicd on hardened/linux/amd64 profile (at least, probably more profiles affected), X USE flag is disabled by default while gtk USE is enabled, causing RDEPEND not to pull pygtk because of excessive nesting. I submitted an example patch that fixes the issue and allow wicd-gtk to work when X USE flag is disabled. The patch is available here: http://bpaste.net/show/261030/
I edited the patch since it didn't work as intended. Here is the new patch: http://bpaste.net/show/261036 The full ebuild for version 1.7.2.4-r2: http://bpaste.net/show/261038
Created attachment 376520 [details] New ebuild - gtk USE now triggers X
Comment on attachment 376520 [details] New ebuild - gtk USE now triggers X Looks like a CRLF with no newline at the end... --- wicd-1.7.2.4-r2.ebuild 2013-03-14 06:50:02.981687530 +0100 +++ - 2014-05-07 00:33:39.128858599 +0200 @@ -22,6 +22,7 @@ SLOT="0" KEYWORDS="amd64 ~arm ~mips ppc ppc64 x86" IUSE="X ambiance +gtk ioctl libnotify mac4lin ncurses nls +pm-utils" +REQUIRED_USE="gtk? ( X )" DEPEND="nls? ( dev-python/Babel )" # Maybe virtual/dhcp would work, but there are enough problems with @@ -29,12 +30,12 @@ # first if none are installed. RDEPEND=" dev-python/dbus-python - X? ( gtk? ( dev-python/pygtk + X? ( + gtk? ( dev-python/pygtk ) || ( x11-misc/ktsuss x11-libs/gksu kde-base/kdesu - ) ) ) || (
(In reply to Guillaume BRUN from comment #1) > I edited the patch since it didn't work as intended. Here is the new patch: > > http://bpaste.net/show/... Do not use external sites when you can simply attach files here.
+ 07 May 2014; Thomas Kahle <tomka@gentoo.org> wicd-1.7.2.4-r2.ebuild, + wicd-1.7.2.4-r3.ebuild: + fix wrong dep nesting (bug 509730) Should be fixed. Thanks.