gnome-control-center-3.20.1-r1 uses wrong use flag for >=net-fs/samba-3.6.14-r1[smbclient]. >=net-fs/samba-3.6.14-r1[client] would be the right choice. $ diff /usr/portage/gnome-base/gnome-control-center/gnome-control-center-3.20.1-r1.ebuild /usr/local/portage/gnome-base/gnome-control-center/gnome-control-center-3.20.1-r1.ebuild 60c60 < || ( >=net-fs/samba-3.6.14-r1[smbclient] >=net-fs/samba-4.0.0[client] ) ) --- > || ( >=net-fs/samba-3.6.14-r1[client] >=net-fs/samba-4.0.0[client] ) ) Reproducible: Always Steps to Reproduce: 1. emerge =gnome-base/gnome-3.20 with cups useflag 2. 3. Actual Results: # emerge -avuN gnome-base/gnome setlocale: unsupported locale setting setlocale: unsupported locale setting These are the packages that would be merged, in order: Calculating dependencies... done! emerge: there are no ebuilds built with USE flags to satisfy ">=net-fs/samba-3.6.14-r1[smbclient]". !!! One of the following packages is required to complete your request: - net-fs/samba-4.2.11::gentoo (Missing IUSE: smbclient) (dependency required by "gnome-base/gnome-control-center-3.20.1-r1::gentoo[cups]" [ebuild]) (dependency required by "gnome-base/gnome-core-apps-3.20.0::gentoo" [ebuild]) (dependency required by "gnome-base/gnome-3.20.0::gentoo" [ebuild]) (dependency required by "gnome-base/gnome" [argument])
using an local overlay and changing smbclient to client useflag fixes the problem $ diff /usr/portage/gnome-base/gnome-control-center/gnome-control-center-3.20.1-r1.ebuild /usr/local/portage/gnome-base/gnome-control-center/gnome-control-center-3.20.1-r1.ebuild 60c60 < || ( >=net-fs/samba-3.6.14-r1[smbclient] >=net-fs/samba-4.0.0[client] ) ) --- > || ( >=net-fs/samba-3.6.14-r1[client] >=net-fs/samba-4.0.0[client] ) )
Why are USE flags renamed without checking for reverse deps? :S
Actually `|| ( >=net-fs/samba-3.6.14-r1[client] >=net-fs/samba-4.0.0[client] )` is equivalent to `>=net-fs/samba-3.6.14-r1[client]`. But it can also be simplified into `net-fs/samba[client]` as oldest version in tree is 4.2.11 anyway. Pacho Ramos, I don't think the issue is about USE flag renaming, but rather that smbclient-3.6.25 (which had smbclient useflag) was removed: https://gitweb.gentoo.org/repo/gentoo.git/commit/net-fs/samba?id=0aa1ea43d64b5c40839f1fbb4c1a176c5826ba6c
[master 3b973ea] gnome-base/gnome-control-center: Clean samba deps now that samba-3 was removed due to security issues, this also solves #604030 3 files changed, 2 insertions(+), 157 deletions(-) delete mode 100644 gnome-base/gnome-control-center/gnome-control-center-3.20.1.ebuild rename gnome-base/gnome-control-center/{gnome-control-center-3.20.2.ebuild => gnome-control-center-3.20.2-r1.ebuild} (98%) rename gnome-base/gnome-control-center/{gnome-control-center-3.22.1.ebuild => gnome-control-center-3.22.1-r1.ebuild} (97%) Anyway, maybe portage could simply try to use the alternative in || ( ) construct when the first one is unavailable :/
It works for me, after I set the "client" Useflag on the samba package echo "net-fs/samba client" >> /etc/portage/package.use
(In reply to josef.95 from comment #5) > It works for me, after I set the "client" Useflag on the samba package > > echo "net-fs/samba client" >> /etc/portage/package.use You have to do that because otherwise the code for bug 278729 causes emerge to choose the >=net-fs/samba-3.6.14-r1[smbclient] atom.
(In reply to Pacho Ramos from comment #4) > Anyway, maybe portage could simply try to use the alternative in || ( ) > construct when the first one is unavailable :/ Since you want it to default to >=net-fs/samba-4.0.0[client] even if the user does not have USE=client enabled, you should put >=net-fs/samba-4.0.0[client] on the left side. So instead of this: || ( >=net-fs/samba-3.6.14-r1[smbclient] >=net-fs/samba-4.0.0[client] ) You want this: || ( >=net-fs/samba-4.0.0[client] >=net-fs/samba-3.6.14-r1[smbclient] )
(In reply to christof from comment #0) > emerge: there are no ebuilds built with USE flags to satisfy > ">=net-fs/samba-3.6.14-r1[smbclient]". > !!! One of the following packages is required to complete your request: > - net-fs/samba-4.2.11::gentoo (Missing IUSE: smbclient) > (dependency required by > "gnome-base/gnome-control-center-3.20.1-r1::gentoo[cups]" [ebuild]) This will fix it: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc0d0dbd656eeeef6f343c0d346ca59aa719c654
(In reply to Zac Medico from comment #6) > (In reply to josef.95 from comment #5) > > It works for me, after I set the "client" Useflag on the samba package > > > > echo "net-fs/samba client" >> /etc/portage/package.use > > You have to do that because otherwise the code for bug 278729 causes emerge > to choose the >=net-fs/samba-3.6.14-r1[smbclient] atom. But, why is it not trying to fallback to the other alternative when the previous one is not available at all (before dying completely)?
(In reply to Pacho Ramos from comment #9) > (In reply to Zac Medico from comment #6) > > (In reply to josef.95 from comment #5) > > > It works for me, after I set the "client" Useflag on the samba package > > > > > > echo "net-fs/samba client" >> /etc/portage/package.use > > > > You have to do that because otherwise the code for bug 278729 causes emerge > > to choose the >=net-fs/samba-3.6.14-r1[smbclient] atom. > > But, why is it not trying to fallback to the other alternative when the > previous one is not available at all (before dying completely)? I've filed bug 608546 for this.
thanks!