With the 'ads' use-flag enabled, the ebuild wants to build cifs.upcall, but is unable to find it. This is (as far as I can judge) because the makefiles are in source3/ while the make is initiated one level higher. Changing directory to source3/ a few lines earlier fixes the issue. Note that a few lines down the 'dosbin' command should be updated as well: cd "source3" if use ads ; then emake bin/cifs.upcall || die "emake cifs.upcall failed" fi ... dosbin source3/bin/cifs.upcall || die "cifs.upcall not around" Reproducible: Always
Created attachment 217593 [details] Working ebuild ebuild with cifs.upcall problem fixed.
Same in rc3.
A (merged) samba 3.5.0 is in the tree. Could you try this and see if it still fails?
Works like a charm on amd64: net-fs/samba-3.5.0 USE="acl ads client cups ldap netapi pam readline server smbclient -addns -aio -avahi -caps -cluster -debug -doc -examples -fam -ldb -quota -smbsharemodes -swat -syslog -winbind" Thanks! Maybe interesting to mention at the end of the merge, is that in order to use cifs.upcall (in my case for DFS mounts), you need to add: create dns_resolver * * /usr/sbin/cifs.upcall %k otherwise it will not work.