Package: powerman Version: 2.3.5-1 Followup-For: Bug #744649 Control: user debian-powe...@lists.debian.org Control: usertag 744649 ppc64el Control: user debian-de...@lists.debian.org Control: usertag 744649 autoreconf Control: tag 744649 patch
Running autoreconf indeed updates such files (thank you Matthias). However some custom m4 macros were not recognized because the path for the conversion was not included in the build. > configure.ac:14: error: possibly undefined macro: X_AC_META > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > configure.ac:15: error: possibly undefined macro: X_AC_EXPAND_INSTALL_DIRS > configure.ac:67: error: possibly undefined macro: AC_HTTPPOWER > configure.ac:69: error: possibly undefined macro: AC_GENDERS > configure.ac:80: error: possibly undefined macro: AC_CURSES > configure.ac:81: error: possibly undefined macro: AC_FORKPTY > configure.ac:82: error: possibly undefined macro: AC_WRAP > configure.ac:84: error: possibly undefined macro: AC_CURL > configure.ac:91: error: possibly undefined macro: AC_PKGCONFIG > configure.ac:94: error: possibly undefined macro: AC_RUNAS > autoreconf: /usr/bin/autoconf failed with exit status: 1 > dh_autoreconf: autoreconf -f -i returned exit code 1 > make: *** [debian/autoreconf.after] Error 2 > dpkg-buildpackage: error: debian/rules build gave error exit status 2 Thus, I have included it to configure.ac and the build completed successfully (with some warnings). Attached is the patch that includes autoreconf and AC_CONFIG_MACRO_DIR. Thanks. Fernando -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: ppc64el (ppc64le) Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -u powerman-2.3.5/debian/control powerman-2.3.5/debian/control --- powerman-2.3.5/debian/control +++ powerman-2.3.5/debian/control @@ -2,7 +2,7 @@ Section: admin Priority: extra Maintainer: Arnaud Quette <aque...@debian.org> -Build-Depends: cdbs, debhelper (>= 7), autotools-dev, libgenders0-dev, libwrap0-dev, libcurl4-gnutls-dev, libncurses5-dev +Build-Depends: cdbs, debhelper (>= 7), dh-autoreconf, libgenders0-dev, libwrap0-dev, libcurl4-gnutls-dev, libncurses5-dev Standards-Version: 3.8.3 Homepage: http://powerman.sourceforge.net Vcs-Browser: http://powerman.svn.sourceforge.net/viewvc/powerman/ diff -u powerman-2.3.5/debian/rules powerman-2.3.5/debian/rules --- powerman-2.3.5/debian/rules +++ powerman-2.3.5/debian/rules @@ -1,6 +1,7 @@ #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/autoreconf.mk include /usr/share/cdbs/1/class/autotools.mk # Configure flags only in patch2: unchanged: --- powerman-2.3.5.orig/configure.ac +++ powerman-2.3.5/configure.ac @@ -11,6 +11,7 @@ AC_CONFIG_AUX_DIR([config]) AC_CONFIG_SRCDIR([NEWS]) AC_CANONICAL_SYSTEM +AC_CONFIG_MACRO_DIR([config]) X_AC_META X_AC_EXPAND_INSTALL_DIRS