Package: ldap-haskell Version: 0.6.3.0 Severity: serious Hi John,
ldap-haskell now fails to build in unstable and testing, because libldap2-dev has been updated to the openldap 2.4 version and LDAP_PROXY_AUTHZ_FAILURE has been renamed to LDAP_X_PROXY_AUTHZ_FAILURE: [...] Data.hsc: In function 'main': Data.hsc:116:0: error: 'LDAP_PROXY_AUTHZ_FAILURE' undeclared (first use in this function) Data.hsc:116:0: error: (Each undeclared identifier is reported only once Data.hsc:116:0: error: for each function it appears in.) compiling dist/build/LDAP/Data_hsc_make.c failed command was: /usr/bin/ghc6 -c -package base-3.0.1.0 dist/build/LDAP/Data_hsc_make.c -o dist/build/LDAP/Data_hsc_make.o Preprocessing library LDAP-0.6.3... dh_haskell_build: command returned error code 256 [...] A full build log is available at <http://buildd.debian.org/fetch.cgi?pkg=ldap-haskell&arch=alpha&ver=0.6.3.0%2Bb1&stamp=1201272091&file=log&as=raw>. The trivial find-and-replace solves this issue, but then the build fails because several functions are now considered deprecated upstream and only available if building with -DLDAP_DEPRECATED. Since these are language bindings, I think it's probably appropriate to enable this flag at build time to continue to provide the same API in Haskell. Unrelated to this, there seem to be a pair of bugs in the LDAP/Data.hsc enums: LDAP/Data.hsc:89:1: Warning: Pattern match(es) are overlapped In the definition of `toEnum': toEnum (7) = ... LDAP/Data.hsc:245:1: Warning: Pattern match(es) are overlapped In the definition of `toEnum': toEnum (0) = ... The second is because LDAP_OPT_SUCCESS and LDAP_OPT_ERROR are included as "LDAPOptionCode"s when they're actually return values from ldap_get/set_option(), and the first seems to be because LDAP_AUTH_METHOD_NOT_SUPPORTED and LDAP_STRONG_AUTH_NOT_SUPPORTED are aliases for one another. Cheers, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ [EMAIL PROTECTED] [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]