From: dann frazier <email@example.com>
Subject: #526176: xymon: ldap_init implicitly converted to pointer
Date: Wed, 29 Apr 2009 12:18:00 -0600
Our automated buildd log filter detected a problem that is likely to
cause your package to segfault on architectures where the size of a
pointer is greater than the size of an integer, such as ia64 and amd64.
Function `ldap_init' implicitly converted to pointer at test-ldap.c:25
This is often due to a missing function prototype definition.
For more information, see .
Though it is guaranteed that this codepath will cause a segfault on certain
architectures, it is not guaranteed that this codepath would ever be executed
(e.g., if the returned pointer is never dereferenced). However, this bug
does prevent the ia64 buildd from successfully building this package, resulting
in a practical FTBFS issue and warranting the serious severity.
The libldap API has been updated and many functions used by the ldap
plugin are now deprecated. This package should either update to the
new API or define LDAP_DEPRECATED to continue using the deprecated
This patch implements the lazy solution.
--- orig-xymon-4.3.0~beta2.dfsg/build/test-ldap.c 2009-02-12 06:00:50.000000000 -0700
+++ xymon-4.3.0~beta2.dfsg/build/test-ldap.c 2009-04-29 12:13:07.387783442 -0600
@@ -1,6 +1,7 @@
+#define LDAP_DEPRECATED 1