Summary: | net/samba36: samba-3.6.16 link failure winbind_krb5_locator | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | dewayne |
Component: | Individual Port(s) | Assignee: | Timur I. Bakeyev <timur> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
dewayne
2013-06-29 01:40:00 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-ports-bugs ports PR. Responsible Changed From-To: freebsd-ports-bugs->timur Over to maintainer (via the GNATS Auto Assign Tool) ----- Forwarded message from avv <a.v.volobuev@gmail.com> ----- Date: Sat, 29 Jun 2013 16:41:42 -0700 (PDT) From: avv <a.v.volobuev@gmail.com> To: freebsd-bugs@freebsd.org Subject: Re: misc/180074: samba-3.6.16 link failure winbind_krb5_locator As far as I understanding, a problem in incorrect generation of the file: ./source3/Makefile: bin/winbind_krb5_locator.so: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBTALLOC) $(LIBWBCLIENT) @echo "Linking $@" @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \ $(LIBREPLACE_LIBS) -Wl,-soname,`basename $@` Line superfluous: @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) -- View this message in context: http://freebsd.1045724.n5.nabble.com/misc-180074-samba-3-6-16-link-failure-winbind-krb5-locator-tp5824367p5824586.html Sent from the freebsd-bugs mailing list archive at Nabble.com. _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org" ----- End forwarded message ----- Thank-you AVV, for the solution. I've created this file patch-source3__Makefile.in-winbind-krb5-locator to be added to /usr/ports/net/samba36/files/. --- ./source3/Makefile.in.bak 2013-06-30 12:48:31.000000000 +1000 +++ ./source3/Makefile.in 2013-06-30 12:54:07.000000000 +1000 @@ -1688,6 +1688,9 @@ .h.h.gch: @echo Compiling $*.h +.h.h.gch: + @echo Compiling $*.h + PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch # this adds support for precompiled headers. To use it, install a snapshot @@ -2862,7 +2865,7 @@ bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBTALLOC) $(LIBWBCLIENT) @echo "Linking $@" - @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \ +# @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \ @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \ $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@` The name is important to ensure that it is applied after the usual Makefile.in patches. This is a stop-gap for those that are stuck, until Timur has the opportunity to patch correctly. Please note, this patch enables compilation/linking, functional testing is a few hours away but is not expected to be problematic. Regards, Dewayne. Sydney, Australia (GMT +10 hours) Author: timur Date: Mon Jul 1 02:41:31 2013 New Revision: 322112 URL: http://svnweb.freebsd.org/changeset/ports/322112 Log: Fixed typo in the patch that broke winbind_krb5_locator linking. Add external dependency on tevent library. PR: 180074, 180053 Modified: head/net/samba36/Makefile head/net/samba36/files/patch-source3__Makefile.in Modified: head/net/samba36/Makefile ============================================================================== --- head/net/samba36/Makefile Mon Jul 1 02:36:07 2013 (r322111) +++ head/net/samba36/Makefile Mon Jul 1 02:41:31 2013 (r322112) @@ -2,7 +2,7 @@ PORTNAME= ${SAMBA_BASENAME}36 PORTVERSION= 3.6.16 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= net MASTER_SITES= ${MASTER_SITE_SAMBA} MASTER_SITE_SUBDIR= samba samba/stable samba/pre @@ -90,6 +90,10 @@ CONFIGURE_ARGS+= --without-libtdb --enab BUILD_DEPENDS+= talloc>=2.0.1:${PORTSDIR}/devel/talloc RUN_DEPENDS+= talloc>=2.0.1:${PORTSDIR}/devel/talloc CONFIGURE_ARGS+= --without-libtalloc --enable-external-libtalloc +# tevent +BUILD_DEPENDS+= tevent>=0.9.11:${PORTSDIR}/devel/tevent +RUN_DEPENDS+= tevent>=0.9.11:${PORTSDIR}/devel/tevent +CONFIGURE_ARGS+= --without-libtevent --enable-external-libtevent # These options are common for all (sub)ports CONFIGURE_ARGS+= --with-libiconv="${LOCALBASE}" \ --disable-as-needed Modified: head/net/samba36/files/patch-source3__Makefile.in ============================================================================== --- head/net/samba36/files/patch-source3__Makefile.in Mon Jul 1 02:36:07 2013 (r322111) +++ head/net/samba36/files/patch-source3__Makefile.in Mon Jul 1 02:41:31 2013 (r322112) @@ -1,5 +1,5 @@ --- ./source3/Makefile.in.orig 2013-06-19 07:35:24.000000000 +0000 -+++ ./source3/Makefile.in 2013-06-27 02:34:58.169873859 +0000 ++++ ./source3/Makefile.in 2013-06-30 04:26:08.399888796 +0000 @@ -151,7 +151,7 @@ # These can be overridden by command line switches (see smbd(8)) # or in smb.conf (see smb.conf(5)) @@ -38,19 +38,19 @@ PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch # this adds support for precompiled headers. To use it, install a snapshot -@@ -2856,9 +2860,10 @@ +@@ -2856,9 +2860,9 @@ $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS) \ @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@ -bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT) +bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBTALLOC) $(LIBWBCLIENT) @echo "Linking $@" - @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \ +- @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \ + @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \ $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@` bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) $(LIBTALLOC) $(LIBTEVENT) $(LIBWBCLIENT) -@@ -3215,7 +3220,8 @@ +@@ -3215,7 +3219,8 @@ @echo "Linking shared library $@" @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) $(LIBCLI_LDAP_NDR_OBJ) -lpam $(DYNEXP) \ $(LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \ _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" State Changed From-To: open->closed Committed. Thanks! |