As noted by Oliver Jaksch in bug 308099, net-misc/dahdi spuriously asserts net-misc/asterisk as a runtime dependency. While dahdi may only be useful when used in conjunction with asterisk, it is not the case that asterisk is a dependency (runtime or otherwise). This results in 2 principal issues, according to some tests I carried out on a server that has no installed VoIP-related packages. Firstly, and demonstrating that asterisk is needlessly pulled in: # ACCEPT_KEYWORDS="~amd64" emerge -p dahdi These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] net-misc/asterisk-1.6.2.6 USE="caps -alsa -curl -dahdi -debug -freetds -iconv -jabber -keepsrc -ldap -misdn -newt -nosamples -oss -postgres -radius -snmp -span -speex -sqlite -ssl -static -vorbis" [ebuild N ] net-misc/dahdi-2.2.1.1 Secondly, if we define USE="dahdi", a circular dependency inevitably occurs: # ACCEPT_KEYWORDS="~amd64" USE="dahdi" emerge -p dahdi These are the packages that would be merged, in order: Calculating dependencies... done! [nomerge ] net-misc/dahdi-2.2.1.1 [ebuild N ] net-misc/asterisk-1.6.2.6 USE="caps dahdi -alsa -curl -debug -freetds -iconv -jabber -keepsrc -ldap -misdn -newt -nosamples -oss -postgres -radius -snmp -span -speex -sqlite -ssl -static -vorbis" [ebuild N ] net-misc/dahdi-tools-2.2.0-r1 [ebuild N ] net-misc/dahdi-2.2.1.1 * Error: circular dependencies: ('ebuild', '/', 'net-misc/dahdi-tools-2.2.0-r1', 'merge') depends on ('ebuild', '/', 'net-misc/dahdi-2.2.1.1', 'merge') (buildtime) ('ebuild', '/', 'net-misc/dahdi-2.2.1.1', 'merge') depends on ('ebuild', '/', 'net-misc/asterisk-1.6.2.6', 'merge') (runtime) ('ebuild', '/', 'net-misc/asterisk-1.6.2.6', 'merge') depends on ('ebuild', '/', 'net-misc/dahdi-tools-2.2.0-r1', 'merge') (buildtime) Furthemore, the xpp_fxloader script in net-misc/dahdi-tools (for the Xorcom Astribank) expects to make use of fxload in order to load the firmware. Therefore, RDEPEND="sys-apps/fxload" should be asserted. For that matter, dahdi-tools is eligible for a version bump.
+ 14 Apr 2010; <chainsaw@gentoo.org> dahdi-2.2.1.1.ebuild: + Remove incorrect RDEPEND on Asterisk, initially noted by Oliver Jaksch. + Causes circular dependencies as pointed out by Kerin "kerframil" Miller in + bug #315201.