[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apr-utils: FTBFS (" expected 'int (*)(struct LDAP *, const char *, ber_tag_t, ber_int_t, void *)' but argument is of type 'int (*)(struct LDAP *, const char *, int, ber_int_t)'")



# Full quote for the benefit of the maintainers
reassign 651147 apr-util/1.3.12+dfsg-2
thanks

On Tue, 06 Dec 2011 08:04:20 +0000, Adam D. Barratt wrote:
Source: apr-utils
Severity: serious
Version: 1.3.12+dfsg-2

Hi,

apr-util FTBFS with an error in apr_ldap_rebind.c.  The failures
visible on buildd.d.o only affect armhf and s390x, as those are the
only architectures which have tried the package recently, but I've
verified with a local build that the issue also occurs on amd64, hence
the severity.

From the armhf build log:

ldap/apr_ldap_rebind.c: In function 'apr_ldap_rebind_set_callback':
ldap/apr_ldap_rebind.c:330:5: warning: passing argument 2 of
'ldap_set_rebind_proc' from incompatible pointer type [enabled by
default]
/usr/include/ldap.h:976:1: note: expected 'int (*)(struct LDAP *,
const char *, ber_tag_t, ber_int_t, void *)' but argument is of type
'int (*)(struct LDAP *, const char *, int,  ber_int_t)'
ldap/apr_ldap_rebind.c:330:5: error: too few arguments to function
'ldap_set_rebind_proc'
/usr/include/ldap.h:976:1: note: declared here
make[2]: *** [ldap/apr_ldap_rebind.lo] Error 1
make[2]: Leaving directory

`/build/buildd-apr-util_1.3.12+dfsg-2-armhf-dZS91O/apr-util-1.3.12+dfsg'
make[1]: *** [all-recursive] Error 1
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Full logs available via
https://buildd.debian.org/status/package.php?p=apr-util

Regards,

Adam


Reply to: