<div dir="ltr">ps... --->[<span style="font-size:12.8px">Not. The vars were undefined in [context].  (Yes, I realize that's kinda vague... but, I went thru that hours ago)  See below.  ]....</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">vagueness recollection:  VERSION_OPTION and GSSAPI_LIB stuff gave me fits during everything in "./libraries"</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 22, 2016 at 9:14 PM, GI Joe <span dir="ltr"><<a href="mailto:medic333333@gmail.com" target="_blank">medic333333@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">---->>>[OK. Why? Is this to work around the contrib modules (specifically smbk5pwd) being set up to build with gnutls, while you're building with openssl?]</span><br style="font-size:12.8px"><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Just testing...  as I was saying... it appears that the problems originate around all of that gssapi/samba stuff inserted circa 2009.  IMHO, It should still be able to compile, test, install properly no matter what libraries are finally linked.  (Try Redhat/Centos)</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">---->>>[(I was expecting a 'dch --local', or some other edit to debian/changelog, at this point, to distinguish your package from the archive version...)]</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Not yet. Don't need to since I'm doing this as prep work before rolling out a 'final edition'. Gotta be able to install and run it, first. THEN build debs.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">---->>>[dh binary --with autoreconf --builddirectory=/.../openldap</span><span style="font-size:12.8px">-2.4.42+dfsg/debian/build --parallel]</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Same thing.  dh executes to install target on "binary."  Builddirectory is resolved in debian/rules as the same thing at line 34...</span></div><div><span style="font-size:12.8px">   builddir     := $(CURDIR)/debian/build</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Autoreconf usually unnecessary too when working with a virgin source tree or after a clean.</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">---->>>[ </span><span style="font-size:12.8px">Missing '--with autoreconf' might explain why you find yourself having to edit </span><a href="http://configure.in/" rel="noreferrer" style="font-size:12.8px" target="_blank">configure.in</a><span style="font-size:12.8px">, while missing --builddirectory would explain the error about missing libtool I remarked on earlier. ]</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Not. The vars were undefined in [context].  (Yes, I realize that's kinda vague... but, I went thru that hours ago)  See below.  </span></div><div><span style="font-size:12.8px">....</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">fakeroot dpkg-buildpackage comes after I know this thing is going to install and execute and pass a couple hundred tests.</span></div><div><span style="font-size:12.8px"><br></span></div><div><div><div><div style="font-size:12.8px"><div>---->>> 'dpkg-buildpackage -us -uc -b' does succeed for me, though, with no changes at all to the package. So maybe try using that instead?]<div></div></div><div><br></div><div>Try running an ldapsearch -ZZ resulting in TLS 1.2 from Debian/GnuTLS to about 2000 other openldap servers running on Redhat or CentOS and you'll understand pretty quick.  <span style="font-size:12.8px">Try adding a few more overlays and backends, too.</span></div><div><span style="font-size:12.8px"><br></span></div><div><div style="font-size:small"><span style="font-size:12.8px">Run a "clean" or veryclean; and then try rebuilding and see what happens.  (PITA)</span></div><div><span style="font-size:12.8px"><br></span></div></div></div><div></div></div><div></div></div><div style="font-size:12.8px"><div><div><div><div style="font-size:12.8px"></div><div style="font-size:12.8px"></div></div></div></div></div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">(BELOW:  After my changes)</span></div><div><span style="font-size:12.8px"><br></span></div><div><div><span style="font-size:12.8px">build/top.mk:VERSION_OPTION = @VERSION_OPTION@                  <<<<-------------------------------</span></div><div><span style="font-size:12.8px">clients/tools/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">clients/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">config.log:VERSION_OPTION='-Wl,--version-script='</span></div><div><span style="font-size:12.8px">config.status:S["VERSION_OPTION"]="-Wl,--version-script="</span></div><div><span style="font-size:12.8px">configure:VERSION_OPTION</span></div><div><span style="font-size:12.8px">configure:VERSION_OPTION=""</span></div><div><span style="font-size:12.8px">configure:  VERSION_OPTION="-Wl,--version-script="</span></div><div><span style="font-size:12.8px">configure:VERSION_OPTION=""</span></div><div><span style="font-size:12.8px">configure:  VERSION_OPTION="-Wl,--version-script="</span></div><div><span style="font-size:12.8px">configure.in:VERSION_OPTION=</span></div><div><span style="font-size:12.8px">configure.in:VERSION_OPTION=""</span></div><div><span style="font-size:12.8px"><a href="http://configure.in" target="_blank">configure.in</a>:  VERSION_OPTION="-Wl,--version-script="</span></div><div><span style="font-size:12.8px">configure.in:AC_SUBST(VERSION_OPTION)</span></div><div><span style="font-size:12.8px">configure.in:VERSION_OPTION=""</span></div><div><span style="font-size:12.8px"><a href="http://configure.in" target="_blank">configure.in</a>:  VERSION_OPTION="-Wl,--version-script="</span></div><div><span style="font-size:12.8px">configure.in:AC_SUBST(VERSION_OPTION)</span></div><div><span style="font-size:12.8px">debian/patches/gssapi.diff: AC_SUBST(VERSION_OPTION)</span></div><div><span style="font-size:12.8px">debian/patches/gssapi.diff:+VERSION_OPTION=""</span></div><div><span style="font-size:12.8px">debian/patches/gssapi.diff:+  VERSION_OPTION="-Wl,--version-script="</span></div><div><span style="font-size:12.8px">debian/patches/gssapi.diff:+AC_SUBST(VERSION_OPTION)</span></div><div><span style="font-size:12.8px">debian/patches/libldap-symbol-versions:+ifneq (,$(VERSION_OPTION))</span></div><div><span style="font-size:12.8px">debian/patches/libldap-symbol-versions:+  VERSION_FLAGS = "$(VERSION_OPTION)$(XXDIR)/libldap.map"</span></div><div><span style="font-size:12.8px">debian/patches/libldap-symbol-versions:+VERSION_OPTION = @VERSION_OPTION@</span></div><div><span style="font-size:12.8px">debian/patches/libldap-symbol-versions:+VERSION_OPTION=""</span></div><div><span style="font-size:12.8px">debian/patches/libldap-symbol-versions:+  VERSION_OPTION="-Wl,--version-script="</span></div><div><span style="font-size:12.8px">debian/patches/libldap-symbol-versions:+AC_SUBST(VERSION_OPTION)</span></div><div><span style="font-size:12.8px">debian/patches/libldap-symbol-versions:+ifneq (,$(VERSION_OPTION))</span></div><div><span style="font-size:12.8px">debian/patches/libldap-symbol-versions:+  VERSION_FLAGS = $(VERSION_OPTION)$(srcdir)/libldap.map</span></div><div><span style="font-size:12.8px">debian/patches/libldap-symbol-versions:+ifneq (,$(VERSION_OPTION))</span></div><div><span style="font-size:12.8px">debian/patches/libldap-symbol-versions:+  VERSION_FLAGS = "$(VERSION_OPTION)$(srcdir)/liblber.map"</span></div><div><span style="font-size:12.8px">debian/build/config.log:VERSION_OPTION=''</span></div><div><span style="font-size:12.8px">doc/man/man8/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">doc/man/man5/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">doc/man/man3/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">doc/man/man1/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">doc/man/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">doc/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">include/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">libraries/liblber/Makefile.in:ifneq (,$(VERSION_OPTION))</span></div><div><span style="font-size:12.8px">libraries/liblber/Makefile.in:  VERSION_FLAGS = "$(VERSION_OPTION)$(srcdir)/liblber.map"</span></div><div><span style="font-size:12.8px">libraries/liblber/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">libraries/liblber/Makefile:ifneq (,$(VERSION_OPTION))</span></div><div><span style="font-size:12.8px">libraries/liblber/Makefile:  VERSION_FLAGS = "$(VERSION_OPTION)$(srcdir)/liblber.map"</span></div><div><span style="font-size:12.8px">libraries/liblunicode/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">libraries/libldap_r/Makefile.in:ifneq (,$(VERSION_OPTION))</span></div><div><span style="font-size:12.8px">libraries/libldap_r/Makefile.in:  VERSION_FLAGS = "$(VERSION_OPTION)$(XXDIR)/libldap.map"</span></div><div><span style="font-size:12.8px">libraries/libldap_r/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">libraries/libldap_r/Makefile:ifneq (,$(VERSION_OPTION))</span></div><div><span style="font-size:12.8px">libraries/libldap_r/Makefile:  VERSION_FLAGS = "$(VERSION_OPTION)$(XXDIR)/libldap.map"</span></div><div><span style="font-size:12.8px">libraries/libldap/Makefile.in:ifneq (,$(VERSION_OPTION))</span></div><div><span style="font-size:12.8px">libraries/libldap/Makefile.in:  VERSION_FLAGS = $(VERSION_OPTION)$(srcdir)/libldap.map</span></div><div><span style="font-size:12.8px">libraries/libldap/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">libraries/libldap/Makefile:ifneq (,$(VERSION_OPTION))</span></div><div><span style="font-size:12.8px">libraries/libldap/Makefile:  VERSION_FLAGS = $(VERSION_OPTION)$(srcdir)/libldap.map</span></div><div><span style="font-size:12.8px">libraries/liblutil/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">libraries/librewrite/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">libraries/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">Makefile:VERSION_OPTION=</span></div><div><span style="font-size:12.8px">Makefile.in:VERSION_OPTION=</span></div><div><span style="font-size:12.8px">servers/slapd/back-sql/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">servers/slapd/back-sock/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">servers/slapd/back-bdb/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">servers/slapd/back-null/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">servers/slapd/back-ldap/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">servers/slapd/back-perl/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">servers/slapd/back-ldif/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">servers/slapd/back-dnssrv/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">servers/slapd/back-hdb/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">servers/slapd/shell-backends/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">servers/slapd/back-ndb/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">servers/slapd/back-relay/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">servers/slapd/overlays/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">servers/slapd/back-passwd/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">servers/slapd/back-shell/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">servers/slapd/slapi/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">servers/slapd/back-mdb/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">servers/slapd/back-monitor/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">servers/slapd/back-meta/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">servers/slapd/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">servers/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">tests/progs/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div><span style="font-size:12.8px">tests/Makefile:VERSION_OPTION = -Wl,--version-script=</span></div><div style="font-size:12.8px"><br></div></div><div style="font-size:12.8px"><div style="font-size:12.8px">build/top.mk:GSSAPI_LIBS = @GSSAPI_LIBS@</div><div style="font-size:12.8px">build/top.mk:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">clients/tools/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">clients/tools/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">clients/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">clients/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">config.log:GSSAPI_LIBS=''</div><div style="font-size:12.8px">config.status:S["GSSAPI_LIBS"]=""</div><div style="font-size:12.8px">configure:GSSAPI_LIBS</div><div style="font-size:12.8px">configure:GSSAPI_LIBS=</div><div style="font-size:12.8px">configure:         LIBS="$LIBS $GSSAPI_LIBS"</div><div style="font-size:12.8px">configure:  ol_link_gssapi=yes;GSSAPI_LIBS="-lgssapi"</div><div style="font-size:12.8px">configure:  ol_link_gssapi=yes;GSSAPI_LIBS="-lgssapi_krb5"</div><div style="font-size:12.8px">configure:  ol_link_gssapi=yes;GSSAPI_LIBS="-lgss"</div><div style="font-size:12.8px">configure.in:GSSAPI_LIBS=</div><div style="font-size:12.8px">configure.in:GSSAPI_LIBS=</div><div style="font-size:12.8px"><a href="http://configure.in" target="_blank">configure.in</a>:         LIBS="$LIBS $GSSAPI_LIBS"</div><div style="font-size:12.8px"><a href="http://configure.in" target="_blank">configure.in</a>:               [ol_link_gssapi=yes;GSSAPI_LIBS="-lgssapi"],</div><div style="font-size:12.8px"><a href="http://configure.in" target="_blank">configure.in</a>:                   [ol_link_gssapi=yes;GSSAPI_LIBS="-lgssapi_krb5"],</div><div style="font-size:12.8px"><a href="http://configure.in" target="_blank">configure.in</a>:                   [ol_link_gssapi=yes;GSSAPI_LIBS="-lgss"],</div><div style="font-size:12.8px">configure.in:AC_SUBST(GSSAPI_LIBS)</div><div style="font-size:12.8px">debian/patches/gssapi.diff:+GSSAPI_LIBS=</div><div style="font-size:12.8px">debian/patches/gssapi.diff:+         LIBS="$LIBS $GSSAPI_LIBS"</div><div style="font-size:12.8px">debian/patches/gssapi.diff:+               [ol_link_gssapi=yes;GSSAPI_LIBS="-lgssapi"],</div><div style="font-size:12.8px">debian/patches/gssapi.diff:+                   [ol_link_gssapi=yes;GSSAPI_LIBS="-lgssapi_krb5"],</div><div style="font-size:12.8px">debian/patches/gssapi.diff:+                   [ol_link_gssapi=yes;GSSAPI_LIBS="-lgss"],</div><div style="font-size:12.8px">debian/patches/gssapi.diff:+AC_SUBST(GSSAPI_LIBS)</div><div style="font-size:12.8px">debian/patches/gssapi.diff:+GSSAPI_LIBS = @GSSAPI_LIBS@</div><div style="font-size:12.8px">debian/patches/gssapi.diff:+SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">debian/build/config.log:GSSAPI_LIBS=''</div><div style="font-size:12.8px">doc/man/man8/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">doc/man/man8/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">doc/man/man5/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">doc/man/man5/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">doc/man/man3/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">doc/man/man3/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">doc/man/man1/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">doc/man/man1/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">doc/man/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">doc/man/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">doc/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">doc/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">include/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">include/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">libraries/liblber/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">libraries/liblber/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">libraries/liblunicode/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">libraries/liblunicode/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">libraries/libldap_r/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">libraries/libldap_r/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">libraries/libldap/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">libraries/libldap/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">libraries/liblutil/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">libraries/liblutil/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">libraries/librewrite/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">libraries/librewrite/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">libraries/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">libraries/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">Makefile:GSSAPI_LIBS=</div><div style="font-size:12.8px">Makefile.in:GSSAPI_LIBS=</div><div style="font-size:12.8px">servers/slapd/back-sql/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/slapd/back-sql/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">servers/slapd/back-sock/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/slapd/back-sock/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">servers/slapd/back-bdb/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/slapd/back-bdb/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">servers/slapd/back-null/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/slapd/back-null/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">servers/slapd/back-ldap/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/slapd/back-ldap/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">servers/slapd/back-perl/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/slapd/back-perl/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">servers/slapd/back-ldif/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/slapd/back-ldif/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">servers/slapd/back-dnssrv/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/slapd/back-dnssrv/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">servers/slapd/back-hdb/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/slapd/back-hdb/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">servers/slapd/shell-backends/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/slapd/shell-backends/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">servers/slapd/back-ndb/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/slapd/back-ndb/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">servers/slapd/back-relay/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/slapd/back-relay/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">servers/slapd/overlays/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/slapd/overlays/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">servers/slapd/back-passwd/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/slapd/back-passwd/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">servers/slapd/back-shell/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/slapd/back-shell/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">servers/slapd/slapi/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/slapd/slapi/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">servers/slapd/back-mdb/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/slapd/back-mdb/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">servers/slapd/back-monitor/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/slapd/back-monitor/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">servers/slapd/back-meta/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/slapd/back-meta/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">servers/slapd/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/slapd/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">servers/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">servers/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">tests/progs/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">tests/progs/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div style="font-size:12.8px">tests/Makefile:GSSAPI_LIBS = </div><div style="font-size:12.8px">tests/Makefile:SECURITY_LIBS = $(SASL_LIBS) $(KRB_LIBS) $(GSSAPI_LIBS) $(TLS_LIBS) $(AUTH_LIBS)</div><div><br></div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><div><br></div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 22, 2016 at 7:55 PM, Ryan Tandy <span dir="ltr"><<a href="mailto:ryan@nardis.ca" target="_blank">ryan@nardis.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, May 22, 2016 at 04:02:32PM -0500, GI Joe wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If you can create a VM of ubuntu 14.04, 1604 OR Debian 8....<br>
</blockquote>
<br>
schroot -c xenial-amd64 -u root<br>
<br>
✓<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
1) apt-get your build dependencies and build tools.<br>
</blockquote>
<br>
apt-get install devscripts ubuntu-dev-tools<br>
apt-get build-dep openldap<br>
<br>
✓<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2) apt-get source slapd.<br>
</blockquote>
<br>
Get:1 <a href="http://ca.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://ca.archive.ubuntu.com/ubuntu</a> xenial/main openldap 2.4.42+dfsg-2ubuntu3 (dsc) [3,032 B]<br>
Get:2 <a href="http://ca.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://ca.archive.ubuntu.com/ubuntu</a> xenial/main openldap 2.4.42+dfsg-2ubuntu3 (tar) [4,813 kB]<br>
Get:3 <a href="http://ca.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://ca.archive.ubuntu.com/ubuntu</a> xenial/main openldap 2.4.42+dfsg-2ubuntu3 (diff) [176 kB]<br>
<br>
✓<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[edit your configure.options as you wish (FYI... I usually enable *all*<br>
backends and overlays... and use tls=openssl)]<br>
</blockquote>
<br>
I'm going to stick with the configuration shipped in the package, for the moment.<br>
<br>
(I was expecting a 'dch --local', or some other edit to debian/changelog, at this point, to distinguish your package from the archive version...)<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
3) dh binary<br>
<br>
That SHOWS you everything you need to know.<br>
</blockquote>
<br>
I think you want 'debian/rules binary' or some sort of dpkg-buildpackage command. See below.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-----------------------------<br>
<br>
I've deleted out all of the overrides in debian/rules (virtually everything<br>
special regarding anything in ./contrib/slapd-modules)<br>
</blockquote>
<br>
OK. Why? Is this to work around the contrib modules (specifically smbk5pwd) being set up to build with gnutls, while you're building with openssl?<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I've also added blank var VERSION_OPTIONS= and GSSAPI_LIBS to <a href="http://configure.in" rel="noreferrer" target="_blank">configure.in</a><br>
<br>
</blockquote>
<br>
Why?<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Doing all of that allows a complete compile and, as I type this msg to you,<br>
it's running the tests.<br>
</blockquote>
<br>
Over here, running just 'dh binary' failed to compile. I have a suspicion about why that is: 'debian/rules binary' doesn't invoke just 'dh binary', but a longer command:<br>
<br>
dh binary --with autoreconf --builddirectory=/.../openldap-2.4.42+dfsg/debian/build --parallel<br>
<br>
Missing '--with autoreconf' might explain why you find yourself having to edit <a href="http://configure.in" rel="noreferrer" target="_blank">configure.in</a>, while missing --builddirectory would explain the error about missing libtool I remarked on earlier.<br>
<br>
'debian/rules binary' also failed for me, which I wasn't expecting: configure failed in the gssapi part, and I'm not sure why.<br>
<br>
'dpkg-buildpackage -us -uc -b' does succeed for me, though, with no changes at all to the package. So maybe try using that instead?<br>
</blockquote></div><br></div>
</blockquote></div><br></div>