On 18.08.2013 05:33, Ari Pollak wrote: Hi there,
> * Run dh_autoreconf to fix build with newer GCC versions. (Closes: #701289) > - Add dh-autoreconf to build-depends for this. Makefile.am: error: required file './NEWS' not found Makefile.am: error: required file './AUTHORS' not found automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' lua/src/Makefile.am:8: warning: 'LDFLAGS' is a user variable, you should not override it; lua/src/Makefile.am:8: use 'AM_LDFLAGS' instead autoreconf: automake failed with exit status: 1 dh_autoreconf: autoreconf -f -i returned exit code 1 make: *** [config.status] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 The problem with running autoreconf instead of just autoconf is that you have to make sure that the build system is completely compatible with newer versions of the autotools. That's why I chose to just run autoconf to regenerate the configure file. If you want to use dh-autoreconf, you either have to create those missing files or adjust the automake initialization in configure.in like: --- configure.in.orig 2003-12-14 08:42:54.000000000 +0000 +++ configure.in 2013-08-18 06:41:40.000000000 +0000 @@ -1,10 +1,11 @@ dnl Process this file with autoconf to produce a configure script. dnl initialisation -AC_INIT(src/gltron.c) +AC_INIT([gltron],[0.70]) +AC_CONFIG_SRCDIR([src/gltron.c]) AC_CANONICAL_HOST AC_CANONICAL_TARGET -AM_INIT_AUTOMAKE(gltron, 0.70) +AM_INIT_AUTOMAKE([foreign]) AC_PREFIX_DEFAULT("/usr/local") With the "foreign" option you tell automake to be less strict when checking required files. Hope that helps Cheers, Andreas
signature.asc
Description: OpenPGP digital signature