The python-ldap project seems to have changed to require OpenLDAP-2.4.x around their 2.4 release. There was some discussion on their distribution list here: <http://mail.python.org/pipermail/python-ldap/2011q1/002821.html>. Example failure: running build_ext building '_ldap' extension creating temp.freebsd-8.1-STABLE-amd64-2.6 creating temp.freebsd-8.1-STABLE-amd64-2.6/Modules cc -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -fPIC -DHAVE_LIBLDAP_R -DHAVE_TLS -DLDAPMODULE_VERSION=2.4.4 -IModules -I/usr/local/include -I/usr/include/sasl -I/usr/local/include/python2.6 -c Modules/LDAPObject.c -o temp.freebsd-8.1-STABLE-amd64-2.6/Modules/LDAPObject.o -g cc -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -fPIC -DHAVE_LIBLDAP_R -DHAVE_TLS -DLDAPMODULE_VERSION=2.4.4 -IModules -I/usr/local/include -I/usr/include/sasl -I/usr/local/include/python2.6 -c Modules/ldapcontrol.c -o temp.freebsd-8.1-STABLE-amd64-2.6/Modules/ldapcontrol.o -g cc -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -fPIC -DHAVE_LIBLDAP_R -DHAVE_TLS -DLDAPMODULE_VERSION=2.4.4 -IModules -I/usr/local/include -I/usr/include/sasl -I/usr/local/include/python2.6 -c Modules/common.c -o temp.freebsd-8.1-STABLE-amd64-2.6/Modules/common.o -g cc -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -fPIC -DHAVE_LIBLDAP_R -DHAVE_TLS -DLDAPMODULE_VERSION=2.4.4 -IModules -I/usr/local/include -I/usr/include/sasl -I/usr/local/include/python2.6 -c Modules/constants.c -o temp.freebsd-8.1-STABLE-amd64-2.6/Modules/constants.o -g Modules/constants.c: In function 'LDAPinit_constants': Modules/constants.c:155: error: 'LDAP_OPT_DIAGNOSTIC_MESSAGE' undeclared (first use in this function) Modules/constants.c:155: error: (Each undeclared identifier is reported only once Modules/constants.c:155: error: for each function it appears in.) Modules/constants.c:365: error: 'LDAP_CONTROL_RELAX' undeclared (first use in this function) error: command 'cc' failed with exit status 1 *** Error code 1 Fix: Require OpenLDAP-2.4 in the portfile: How-To-Repeat: pkg_delete openldap24-client-\* pkg_add net/openldap23-client cd /usr/ports/net/py-ldap2 && make install
Responsible Changed From-To: freebsd-ports-bugs->rm Over to maintainer (via the GNATS Auto Assign Tool)
rm 2012-01-04 11:23:50 UTC FreeBSD ports repository Modified files: net/py-ldap2 Makefile distinfo Log: - update to 2.4.6 - rework SASL option handling according to upstream changes - explicitly depend on OpenLDAP 2.4 [1] PR: 163808 [1] Submitted by: Mike Fisher <mfisher at csh.rit dot edu> Revision Changes Path 1.62 +8 -5 ports/net/py-ldap2/Makefile 1.34 +2 -2 ports/net/py-ldap2/distinfo _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thank you!