I just ran into a problem, where samba < 3.6 wouldn't build with cups 1.6 After a bit of research I found this: https://bugzilla.samba.org/show_bug.cgi?id=9134 I suggest that cups-1.6 requires samba >=3.6 and/or the other way around
assigning to samba team and CC'ing cups
+*samba-3.5.20 (09 Jan 2013) + + 09 Jan 2013; Lars Wendler <polynomial-c@gentoo.org> samba-3.5.15.ebuild, + +samba-3.5.20.ebuild, samba-3.6.9.ebuild, samba-3.6.10.ebuild, + -samba-4.0.0_rc5.ebuild, samba-4.0.0.ebuild, metadata.xml: + Non-maintainer commit: Fixed cups dependency in samba-3.5.15.ebuild (bug + #451026). Added latest 3.5 version. Adjusted SRC_URI so source packages can + still be found when they got superseded by newer versions. Removed obsolete + version. Removed unused USE flag description from metadata.xml file. + Should now be fixed on the samba side.