Trying to emerge slim or slim-themes results in this error message: # emerge -v slim These are the packages that would be merged, in order: Calculating dependencies... done! [nomerge ] x11-misc/slim-1.3.1_p20091114 USE="branding pam -screenshot" [ebuild N ] x11-themes/slim-themes-1.2.3a-r6 9,822 kB [ebuild N ] x11-misc/slim-1.3.1_p20091114 USE="branding pam -screenshot" 212 kB Total: 2 packages (2 new), Size of downloads: 10,033 kB * Error: circular dependencies: ('ebuild', '/', 'x11-misc/slim-1.3.1_p20091114', 'merge') depends on ('ebuild', '/', 'x11-themes/slim-themes-1.2.3a-r6', 'merge') (buildtime) ('ebuild', '/', 'x11-themes/slim-themes-1.2.3a-r6', 'merge') depends on ('ebuild', '/', 'x11-misc/slim-1.3.1_p20091114', 'merge') (runtime) * Note that circular dependencies can often be avoided by temporarily * disabling USE flags that trigger optional dependencies. Reproducible: Always Steps to Reproduce: 1. emerge -v slim slim-themes 2. 3. Actual Results: * Error: circular dependencies: ('ebuild', '/', 'x11-misc/slim-1.3.1_p20091114', 'merge') depends on ('ebuild', '/', 'x11-themes/slim-themes-1.2.3a-r6', 'merge') (buildtime) ('ebuild', '/', 'x11-themes/slim-themes-1.2.3a-r6', 'merge') depends on ('ebuild', '/', 'x11-misc/slim-1.3.1_p20091114', 'merge') (runtime) * Note that circular dependencies can often be avoided by temporarily * disabling USE flags that trigger optional dependencies. Expected Results: slim should emerge the current slim-themes package Originally I thought simply moving slim-themes to a different ebuild would fix it but it didnt work. The fix was to also comment out the rdepend in slim themes. There is probably a better method. #RDEPEND="x11-misc/slim"
Hi, You will have to provide better instructions on how to reproduce this issue. On my host without slim installed, I see this: %% emerge -av slim superuser access is required... adding --pretend to options These are the packages that would be merged, in order: Calculating dependencies... done! [binary N ] media-libs/jpeg-8a [ebuild N ] x11-proto/xproto-7.0.16 0 kB [ebuild N ] x11-proto/xextproto-7.1.1 0 kB [ebuild N ] x11-libs/xtrans-1.2.5 USE="-debug" 0 kB [ebuild N ] x11-proto/kbproto-1.0.4 0 kB [ebuild N ] x11-proto/renderproto-0.11 0 kB [ebuild N ] x11-proto/xf86bigfontproto-1.2.0 0 kB [ebuild N ] x11-proto/inputproto-2.0 0 kB [ebuild N ] x11-proto/xcb-proto-1.6 0 kB [ebuild N ] dev-libs/libpthread-stubs-0.1 USE="-debug" 0 kB [binary N ] dev-libs/libgpg-error-1.7 USE="nls -common-lisp" [ebuild N ] x11-apps/sessreg-1.0.5 USE="-debug" 0 kB [ebuild N ] x11-libs/libICE-1.0.6 USE="ipv6 -debug" 0 kB [ebuild N ] x11-libs/libXau-1.0.5 USE="-static-libs" 0 kB [ebuild N ] x11-libs/libXdmcp-1.0.3 USE="-static-libs" 0 kB [binary N ] dev-libs/libgcrypt-1.4.5 [ebuild N ] x11-libs/libSM-1.1.1 USE="ipv6 uuid -debug" 0 kB [binary N ] dev-libs/libxslt-1.1.26 USE="crypt python -debug" [ebuild N ] x11-libs/libxcb-1.5 USE="-debug -doc (-selinux)" 0 kB [ebuild N ] x11-libs/libX11-1.3.3 USE="ipv6 xcb -debug -doc -test" 0 kB [ebuild N ] x11-libs/libXext-1.1.1 USE="-debug" 0 kB [ebuild N ] x11-libs/libXt-1.0.8 USE="-static-libs" 0 kB [ebuild N ] x11-libs/libXrender-0.9.5 USE="-debug" 0 kB [ebuild N ] x11-libs/libXpm-3.5.8 USE="nls -debug" 0 kB [ebuild N ] x11-libs/libXft-2.1.14 USE="-debug" 0 kB [ebuild N ] x11-libs/libXmu-1.0.5 USE="ipv6 -debug" 0 kB [ebuild N ] x11-misc/slim-1.3.1_p20091114 USE="pam -branding -screenshot" 0 kB %% emerge -av slim slim-themes superuser access is required... adding --pretend to options These are the packages that would be merged, in order: Calculating dependencies... done! [binary N ] media-libs/jpeg-8a [ebuild N ] x11-proto/xproto-7.0.16 0 kB [ebuild N ] x11-proto/xextproto-7.1.1 0 kB [ebuild N ] x11-libs/xtrans-1.2.5 USE="-debug" 0 kB [ebuild N ] x11-proto/kbproto-1.0.4 0 kB [ebuild N ] x11-proto/renderproto-0.11 0 kB [ebuild N ] x11-proto/xf86bigfontproto-1.2.0 0 kB [ebuild N ] x11-proto/inputproto-2.0 0 kB [ebuild N ] x11-proto/xcb-proto-1.6 0 kB [ebuild N ] dev-libs/libpthread-stubs-0.1 USE="-debug" 0 kB [binary N ] dev-libs/libgpg-error-1.7 USE="nls -common-lisp" [ebuild N ] x11-apps/sessreg-1.0.5 USE="-debug" 0 kB [ebuild N ] x11-libs/libICE-1.0.6 USE="ipv6 -debug" 0 kB [ebuild N ] x11-libs/libXau-1.0.5 USE="-static-libs" 0 kB [ebuild N ] x11-libs/libXdmcp-1.0.3 USE="-static-libs" 0 kB [binary N ] dev-libs/libgcrypt-1.4.5 [ebuild N ] x11-libs/libSM-1.1.1 USE="ipv6 uuid -debug" 0 kB [binary N ] dev-libs/libxslt-1.1.26 USE="crypt python -debug" [ebuild N ] x11-libs/libxcb-1.5 USE="-debug -doc (-selinux)" 0 kB [ebuild N ] x11-libs/libX11-1.3.3 USE="ipv6 xcb -debug -doc -test" 0 kB [ebuild N ] x11-libs/libXext-1.1.1 USE="-debug" 0 kB [ebuild N ] x11-libs/libXt-1.0.8 USE="-static-libs" 0 kB [ebuild N ] x11-libs/libXrender-0.9.5 USE="-debug" 0 kB [ebuild N ] x11-libs/libXpm-3.5.8 USE="nls -debug" 0 kB [ebuild N ] x11-libs/libXft-2.1.14 USE="-debug" 0 kB [ebuild N ] x11-libs/libXmu-1.0.5 USE="ipv6 -debug" 0 kB [ebuild N ] x11-misc/slim-1.3.1_p20091114 USE="pam -branding -screenshot" 0 kB [ebuild N ] x11-themes/slim-themes-1.2.3a-r5 0 kB %% emerge -av slim-themes superuser access is required... adding --pretend to options These are the packages that would be merged, in order: Calculating dependencies... done! [binary N ] media-libs/jpeg-8a [ebuild N ] x11-proto/xproto-7.0.16 0 kB [ebuild N ] x11-proto/xextproto-7.1.1 0 kB [ebuild N ] x11-libs/xtrans-1.2.5 USE="-debug" 0 kB [ebuild N ] x11-proto/kbproto-1.0.4 0 kB [ebuild N ] x11-proto/renderproto-0.11 0 kB [ebuild N ] x11-proto/xf86bigfontproto-1.2.0 0 kB [ebuild N ] x11-proto/inputproto-2.0 0 kB [ebuild N ] x11-proto/xcb-proto-1.6 0 kB [ebuild N ] dev-libs/libpthread-stubs-0.1 USE="-debug" 0 kB [binary N ] dev-libs/libgpg-error-1.7 USE="nls -common-lisp" [ebuild N ] x11-apps/sessreg-1.0.5 USE="-debug" 0 kB [ebuild N ] x11-libs/libICE-1.0.6 USE="ipv6 -debug" 0 kB [ebuild N ] x11-libs/libXau-1.0.5 USE="-static-libs" 0 kB [ebuild N ] x11-libs/libXdmcp-1.0.3 USE="-static-libs" 0 kB [binary N ] dev-libs/libgcrypt-1.4.5 [ebuild N ] x11-libs/libSM-1.1.1 USE="ipv6 uuid -debug" 0 kB [binary N ] dev-libs/libxslt-1.1.26 USE="crypt python -debug" [ebuild N ] x11-libs/libxcb-1.5 USE="-debug -doc (-selinux)" 0 kB [ebuild N ] x11-libs/libX11-1.3.3 USE="ipv6 xcb -debug -doc -test" 0 kB [ebuild N ] x11-libs/libXext-1.1.1 USE="-debug" 0 kB [ebuild N ] x11-libs/libXt-1.0.8 USE="-static-libs" 0 kB [ebuild N ] x11-libs/libXrender-0.9.5 USE="-debug" 0 kB [ebuild N ] x11-libs/libXpm-3.5.8 USE="nls -debug" 0 kB [ebuild N ] x11-libs/libXft-2.1.14 USE="-debug" 0 kB [ebuild N ] x11-libs/libXmu-1.0.5 USE="ipv6 -debug" 0 kB [ebuild N ] x11-misc/slim-1.3.1_p20091114 USE="pam -branding -screenshot" 0 kB [ebuild N ] x11-themes/slim-themes-1.2.3a-r5 0 kB Thanks.
+ 21 May 2010; Jeremy Olexa <darkside@gentoo.org> -slim-1.3.1-r4.ebuild, + -slim-1.3.1-r5.ebuild, slim-1.3.1_p20091114.ebuild: + Solve circular dep issues with USE=branding enabled by using PDEPEND. bug + 320913, reported by Ed Wiget Thanks for reporting