Package: acl Version: 2.2.51 Severity: normal Tags: upstream patch acl is not compatible with autoconf2.13 but specifies neither a build-conflicts nor an AC_PREREQ to set a minimum autoconf version.
if autoconf2.13 is installed it fails (both for native builds and for cross-builds) like this: aclocal -I m4 autoconf autoconf: Undefined macros: configure.in:18:AC_CONFIG_MACRO_DIR([m4]) configure.in:22:AC_PROG_LIBTOOL configure.in:39:AC_PACKAGE_GLOBALS(acl) configure.in:40:AC_PACKAGE_UTILITIES(acl) configure.in:41:AC_PACKAGE_NEED_ATTR_XATTR_H configure.in:42:AC_PACKAGE_NEED_ATTR_ERROR_H configure.in:43:AC_MULTILIB($enable_lib64) configure.in:44:AC_PACKAGE_NEED_GETXATTR_LIBATTR configure.in:45:AC_MANUAL_FORMAT configure.in:47:AC_FUNC_GCC_VISIBILITY make[1]: *** [configure] Error 1 make[1]: Leaving directory /home/wookey/debian/unstable/crossfixes/origs/acl-2.2.51' make: *** [.census] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 This can be fixed in various ways: 1) specify a build-conflicts on autoconf2.13 2) Add AC_PREREQ([minimumversion]) 3) Rename configure.in to configure.ac Fix 1 is debian-specific, and sometimes will simply stop the build starting, rather than automatically DTRT Fix 2 or 3 both indicate to the scripts which try to run the correct version of autoconf that this is 'modern autoconf' not 'ancient autoconf'. I have included a patch for fix2 as it is simple, and effective both upstream and in Debian, but upstream should also consider renaming the configure file to the modern form. This issue and fix has been checked on squeeze and wheezy and natty with versions 2.2.49 and 2.2.51. -- System Information: Debian Release: 6.0.2 APT prefers stable APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.37-trunk-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash
Description: Fix for incompatibility with autoconf2.13 This package will not build if autconf2.13 is installed. Adding AC_PREREQ allows the automatic checks to run the correct version of autconf, whichever is installed, or to get a clear error message about the problem. Author: Wookey <woo...@linaro.org> --- acl-2.2.49.orig/configure.in +++ acl-2.2.49/configure.in @@ -13,6 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # +AC_PREREQ([2.59]) AC_INIT(include/acl.h) AC_CONFIG_AUX_DIR([.]) AC_CONFIG_MACRO_DIR([m4])