https://bugs.openldap.org/show_bug.cgi?id=9255
Bug ID: 9255 Summary: make fails in 2.4.50 due to missing Debug1/Debug3 symbols Product: OpenLDAP Version: 2.4.50 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: libraries Assignee: bugs@openldap.org Reporter: marcosbd@vmware.com Target Milestone: ---
We're finding an issue building OpenLDAP due to missing Debug1/Debug3 symbols:
Entering subdirectory libldap make[2]: Entering directory '/bitnami/blacksmith-sandox/openldap-2.4.50/libraries/libldap' /bin/sh ../../libtool --mode=link gcc -Wl,-z,relro,-z,now,--as-needed -DLDAP_CONNECTIONLESS -DLDAP_USE_NON_BLOCKING_TLS -Wl,-rpath=/opt/bitnami/openldap/lib -L/opt/bitnami/openldap/lib -o apitest apitest.o libldap.la ../../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a -lsasl2 -lssl -lcrypto -lcrypt -lresolv gcc -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -DLDAP_CONNECTIONLESS -DLDAP_USE_NON_BLOCKING_TLS -Wl,-rpath=/opt/bitnami/openldap/lib -o .libs/apitest apitest.o -L/opt/bitnami/openldap/lib ./.libs/libldap.so /bitnami/blacksmith-sandox/openldap-2.4.50/libraries/liblber/.libs/liblber.so ../../libraries/liblber/.libs/liblber.so ../../libraries/liblutil/liblutil.a -lsasl2 -lssl -lcrypto -lcrypt -lresolv -Wl,--rpath -Wl,/opt/bitnami/openldap/lib /usr/bin/ld: ./.libs/libldap.so: undefined reference to `Debug1' /usr/bin/ld: ./.libs/libldap.so: undefined reference to `Debug3' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:309: apitest] Error 1 make[2]: Leaving directory '/bitnami/blacksmith-sandox/openldap-2.4.50/libraries/libldap' make[1]: *** [Makefile:296: all-common] Error 1 make[1]: Leaving directory '/bitnami/blacksmith-sandox/openldap-2.4.50/libraries' make: *** [Makefile:312: all-common] Error 1
We see that in master there are a lot of references to those symbols, but in the OPENLDAP_REL_ENG_2_4_50 tag of the repo it only appears in two places.
It looks like this issue was caused by commit 7cf7aa3141 in ITS#8650.
https://bugs.openldap.org/show_bug.cgi?id=9255
--- Comment #1 from marcosbd@vmware.com --- It looks like the folks from Debian reverted this patch in their 2.4.50+dfsg1-1 release, so I assume it could be related: https://launchpad.net/debian/+source/openldap/2.4.50+dfsg-1 However, I could not find any mentions to this.
https://bugs.openldap.org/show_bug.cgi?id=9255
marcosbd@vmware.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.openldap.org/s | |how_bug.cgi?id=8650
https://bugs.openldap.org/show_bug.cgi?id=9255
--- Comment #2 from Ryan Tandy ryan@openldap.org --- No, I didn't revert anything. The reason the Debian build succeeds is that I don't build with -DLDAP_USE_NON_BLOCKING_TLS.
This was already discussed on the ML: https://lists.openldap.org/hyperkitty/list/openldap-technical@openldap.org/t...
https://bugs.openldap.org/show_bug.cgi?id=9255
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- non blocking TLS is an experimental feature hidden behind LDAP_DEVEL
This is already fixed in RE24.
https://bugs.openldap.org/show_bug.cgi?id=9255
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED