Summary: | net-fs/samba-3.5.2 fails to build, No rule to make target `bin/winbind_krb5_locator' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tobias Margitan <t.margitan> |
Component: | [OLD] Server | Assignee: | Gentoo's SAMBA Team <samba> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Adrian.Bassett, gabemarcano, phantom4, PishiSyda, saintdev, torsten, v_2e |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | samba_build_log |
Description
Tobias Margitan
2010-04-18 15:48:13 UTC
Created attachment 228283 [details]
samba_build_log
As your keywords already are ~amd64, it seems you aren't updating you system properly: while tdb_check isn't in sys-libs/tdb-1.1.5, it's present in sys-libs/tdb-1.2.1. To clarify: while the ebuild should probably have the dep bumped, you still should already have it installed. just checked, tdb is at 1.2.1 :( okay, a rebuild of tdb has resolved my issue, strange thing. Guess an emerge -e world wouldn't hurt sometime soon... hmm seems I was too fast in responding, it still fails, but very late in the build process: Compiling winbindd/idmap.c Compiling winbindd/idmap_util.c Compiling winbindd/idmap_ldap.c Compiling winbindd/idmap_tdb.c Compiling winbindd/idmap_passdb.c Compiling winbindd/idmap_nss.c Compiling winbindd/nss_info.c Compiling winbindd/nss_info_template.c make: *** No rule to make target `bin/winbind_krb5_locator'. Stop. make: *** Waiting for unfinished jobs.... Compiling lib/tdb_validate.c * ERROR: net-fs/samba-3.5.2 failed: * emake sbinprogs failed tried rebulding krb as well This has nothing to do with tdb and/or other (probably) broken dependencies. The target simply is called "bin/winbind_krb5_locator.so" as of samba 3.5. The following patch to the ebuild fixes the issue: --- samba-3.5.2.ebuild.orig 2010-04-22 17:54:35.559859059 +0200 +++ samba-3.5.2.ebuild 2010-04-22 17:53:44.556474127 +0200 @@ -57,7 +57,7 @@ use swat && SBINPROGS="${SBINPROGS} bin/swat" use winbind && SBINPROGS="${SBINPROGS} bin/winbindd" - use ads && use winbind && SBINPROGS="${SBINPROGS} bin/winbind_krb5_locator" + use ads && use winbind && SBINPROGS="${SBINPROGS} bin/winbind_krb5_locator.so" fi if use client ; then @@ -269,6 +269,7 @@ insinto /usr for prog in ${SBINPROGS} ; do dosbin ${prog} || die "installing ${prog} failed" + prog=${prog/\.so} doman ../docs/manpages/${prog/bin\/}* || die "doman failed" done dobin ${BINPROGS} || die "installing binaries failed" Best regards, Torsten this fixed the build process, thanks! Don't mark as FIXED, till it's fixed in the tree. When will this be finally fixed in tree? Without this patch, samba can't be installed in Microsoft environments where kerberos is needed. will this fix be in the tree any soon? my system wants r1 merged, but i don't want to patch the ebuild again :) Continues to be an issue with 3.5.3 I'm suffering from the same problem with a Pentium 4 (it is running ~x84, unstable), so someone should change the hardware tab on top (it might affect all architectures, not just AMD). As a note, the patch presented here does work, but it required a bit of shifting for it to work with Samba 3.5.3 (I manually wrote it in the ebuild). It just finished compiling on my computer, so I'm guessing that it successfully corrected the problem (if nothing else, it's not crashing now). .(In reply to comment #13) > I'm suffering from the same problem with a Pentium 4 (it is running ~x84, > unstable), so someone should change the hardware tab on top (it might affect > all architectures, not just AMD). As a note, the patch presented here does > work, but it required a bit of shifting for it to work with Samba 3.5.3 (I > manually wrote it in the ebuild). It just finished compiling on my computer, so > I'm guessing that it successfully corrected the problem (if nothing else, it's > not crashing now). > To correct myself: My P4 is running on ~x86, not 84. That's what happens when one doesn't sleep.. + 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 *** Bug 321387 has been marked as a duplicate of this bug. *** *** Bug 321429 has been marked as a duplicate of this bug. *** |