Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
distcc and smbclient USE flag
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Wed Jan 04, 2017 3:14 pm    Post subject: distcc and smbclient USE flag Reply with quote

Emerging distcc on a recently-built system I get:
Code:

tanner ~ # emerge --verbose --fetchonly distcc
These are the packages that would be fetched, in order:
Calculating dependencies... done!
emerge: there are no ebuilds built with USE flags to satisfy ">=net-fs/samba-3.4.6[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/gvfs-1.28.3-r1::gentoo[samba]" [ebuild])
(dependency required by "gnome-base/libgnome-2.32.1-r1::gentoo" [ebuild])
(dependency required by "sys-devel/distcc-3.2_rc1-r4::gentoo[gnome]" [ebuild])
(dependency required by "distcc" [argument])

Emerging samba gets me:
Code:

[ebuild  N     ] net-fs/samba-4.2.11::gentoo  USE="acl pam syslog system-mitkrb5 -addc -addns -ads -aio -avahi -client -cluster -cups -dmapi -fam -gnutls -iprint -ldap -quota (-selinux) -systemd {-test} -winbind" PYTHON_TARGETS="python2_7"

with no smbclient flag visible. Does anyone know where and how this flag is set?

Thanks - Will
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24340
Location: here

PostPosted: Wed Jan 04, 2017 3:44 pm    Post subject: Reply with quote

For some reason portage misreading line
Code:
samba? ( || ( >=net-fs/samba-3.4.6[smbclient] >=net-fs/samba-4[client] ) )

of gvfs ebuild.
As workaround you can create a local overlay, copy the ebuild of gvfs and change ine of samba USE FLAG from
Code:
samba? ( || ( >=net-fs/samba-3.4.6[smbclient] >=net-fs/samba-4[client] ) )

to
Code:
samba? ( || ( <=net-fs/samba-3.4.6[smbclient] >=net-fs/samba-4[client] ) )

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7427

PostPosted: Thu Jan 05, 2017 2:23 pm    Post subject: Reply with quote

I think you can just fix the issue with [client] keyword enable on samba without changing the ebuild.
Even with fedeliallalinea's change, you'll get an error from portage saying : - net-fs/samba-4.2.11::gentoo (Missing keyword: client) or similar message.

I think the real issue is that someone didn't fix gvfs ebuild and remove the check prior to remove all samba ebuild that accept [smbclient], making portage unable to find an ebuild that use that keyword anymore.
The real error is that there are no ebuilds built with USE flags to satisfy ">=net-fs/samba-3.4.6[smbclient]".

The second error output is not for the user (portage would had suggest "missing keyword" instead of "missing IUSE") if it was to hint user, so it's an hint for dev.
The difference is that portage is not at fault there :)
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Fri Jan 06, 2017 12:57 pm    Post subject: Reply with quote

It looks as if it may be a bug in Portage - I'll try adding smbclient to /etc/make.conf.
smbclient is still used quite a bit in the tree.

Thanks - Will
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum