Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302453 - samba-client-3.5.0-rc3 fails to compile cifs.upcall
Summary: samba-client-3.5.0-rc3 fails to compile cifs.upcall
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-27 13:39 UTC by Sebastiaan
Modified: 2010-03-09 15:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Working ebuild (samba-client-3.5.0_rc2-r1.ebuild,6.62 KB, text/plain)
2010-01-27 13:41 UTC, Sebastiaan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastiaan 2010-01-27 13:39:49 UTC
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
Comment 1 Sebastiaan 2010-01-27 13:41:56 UTC
Created attachment 217593 [details]
Working ebuild

ebuild with cifs.upcall problem fixed.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2010-03-01 14:01:55 UTC
Same in rc3.
Comment 3 Ewoud Kohl van Wijngaarden 2010-03-04 18:00:34 UTC
A (merged) samba 3.5.0 is in the tree. Could you try this and see if it still fails?
Comment 4 Sebastiaan 2010-03-09 14:27:26 UTC
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.