In Bug 313813 a typo was corrected in the samba-ebuilds so that the program "winbind_krb5_locator" should now be build when ads and winbind are present in $USE. However, the ebuild now fails with make: *** No rule to make target `bin/winbind_krb5_locator'. Stop. According to the samba-documentation at http://de5.samba.org/samba/docs/man/manpages-3/winbind_krb5_locator.7.html there is a kerberos-plugin winbind_krb5_locator.so but no program that can be run from the command-line. (I have also browsed the sources of samba-3.5.2 and earlier versions and found no hint of an executable by the name winbind_krb5_locator) In the attachments you will find -a build-log of the failed samba-build with samba-3.5.2.ebuild (samba-3.5.2_fail.log) -a patch for the samba-3.5.2.ebuild that builds winbind_krb5_locator.so if $USE contains ads AND winbind (samba-3.5.2.ebuild_patch) - a buildlog of a samba-build with the patched samba-3.5.2.ebuild (samba compiled this way is running fine here in a W2k3-Domain, so "works for me") (samba-3.5.2_ok.log) Please review the patch since I am not an experienced ebuild-writer.
Created attachment 227411 [details] Buildlog of failed samba-build 3.5.2
Created attachment 227413 [details, diff] Patch for samba-3.5.2.ebuid to build winbind_krb5_locator.so
Created attachment 227415 [details] Log of successful build of samba-3.5.2 with patched ebuild
Created attachment 227417 [details] emerge --info for the box where samba was built with patched ebuild
net-fs/samba-3.5.2-r1 with your patch applied is in my overlay (jasiu in layman's list) Works for me on amd64, thank you :-)
I have the same issue with samba 3.5.2 with ads and winbind USE flags. Using the patched ebuild from Rainer gets it to build for me although I haven't tested it extensively. ~jtriley
Same with from-tree samba-3.5.3.ebuild Patched version pushed to my 'jasiu' overlay. Can somebody told me if people will use it, if I rename may overlay to 'newer'? (or: 'revised')
'my' of course... ;-)
+ 21 May 2010; Víctor Ostorga <vostorga@gentoo.org> samba-3.5.3.ebuild: + Fixing build with USE=ads winbind, patch thanks to Rainer Ruecker + <rainer@emdete.de> bugs #314709 #315975 Thanks for the patch :)
so does that mean it will be added to the main tree?
(In reply to comment #10) > so does that mean it will be added to the main tree? > It's fixed in the tree in net-fs/samba-3.5.3, wait a few hours, sync, emerge and enjoy!
> It's fixed in the tree in net-fs/samba-3.5.3, wait a few hours, sync, emerge > and enjoy! > Fine :-) But I still would like to know what Gentoo users and developers think about renaming my overlay to 'newer' so everybody knows, that revised ebuilds and newer package versions can be found there?
Just a note: If $KRBPLUGIN would contain more then one entry, only the last one would correctly been postfixed by $PLUGINEXT.
*** Bug 320941 has been marked as a duplicate of this bug. ***
(In reply to comment #12) > > It's fixed in the tree in net-fs/samba-3.5.3, wait a few hours, sync, emerge > > and enjoy! > > > Fine :-) > > But I still would like to know what Gentoo users and developers think about > renaming my overlay to 'newer' so everybody knows, that revised ebuilds and > newer package versions can be found there? > Sorry to say that I don't know about your overlay. Perhaps you should mail to gentoo-dev mail list or hang on #gentoo-bugs in freenode.