Bug#744495: powermanga: run dh-autoreconf to update config.{sub, guess} and {libtool, aclocal}.m4

Matthias Klose doko at debian.org
Sun Apr 13 16:43:43 UTC 2014


Package: src:powermanga
Version: 0.90-dfsg-2
User: debian-devel at lists.debian.org
Usertags: autoreconf

The package fails to build on arm64 (aarch64-linux-gnu), because the
config.{guess,sub} files are out of date, and are not updated during
the build.  If possible, please do not update these files directly,
but build-depend on autotools-dev instead, and use the tools provided
by autotools-dev to update these files.

  - For dh, call dh --with autoreconf.

  - For cdbs based build systems, include
    /usr/share/cdbs/1/rules/autoreconf.mk

  - For other rules files, call dh_autoreconf before calling
    configure (in the build or configure target), and call
    dh_autoreconf_clean before dh_clean in the clean target.

For combining autoreconf and autotools_dev, see bug #698765.

After the build on any architecture, and before a clean, a grep for
aarch64 in the config.sub file(s) should print some lines.

The full build log can be found at:
http://people.debian.org/~doko/logs/arm64-20140414/buildlog_ubuntu-trusty-arm64.powermanga_0.90-dfsg-2ubuntu1_FAILEDTOBUILD.txt
The last lines of the build log are at the end of this report.

Please note that these builds were done in an Ubuntu development,
environment there may be a few false positives in these bug reports.

See https://wiki.debian.org/qa.debian.org/FTBFS for a guide how to
address these.

[...]
dpkg-source: info: extracting powermanga in powermanga-0.90-dfsg
dpkg-source: info: unpacking powermanga_0.90-dfsg.orig.tar.gz
dpkg-source: info: applying powermanga_0.90-dfsg-2ubuntu1.diff.gz
dpkg-buildpackage: source package powermanga
dpkg-buildpackage: source version 0.90-dfsg-2ubuntu1
dpkg-buildpackage: source distribution oneiric
 dpkg-source --before-build powermanga-0.90-dfsg
dpkg-buildpackage: host architecture arm64
 /usr/bin/fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
[ ! -f Makefile ] || [ ! -f config.status ] || /usr/bin/make distclean
QUILT_PATCHES=debian/patches quilt pop -a -R || test $? = 2
No patch removed
rm -f config.log config.status
rm -rf .pc
dh_clean
dpkg-buildpackage: warning: debian/rules must be updated to support the 'build-arch' and 'build-indep' targets (at least 'build-arch' seems to be missing)
 debian/rules build
dh_testdir
QUILT_PATCHES=debian/patches quilt push -a || test $? = 2
Applying patch 005_link_libm.diff
patching file configure.ac
patching file configure

Applying patch 010_scoredir_path.diff
patching file src/Makefile.in

Applying patch 020_copyright.diff
patching file powermanga.6

Applying patch 030_manpage_typo.diff
patching file powermanga.6

Applying patch 040_link_libm.diff
patching file src/Makefile.in
patching file src/Makefile.am

Now at patch 040_link_libm.diff
touch configure.ac
touch aclocal.m4
touch configure
touch config.h.in
touch `find . -name Makefile.in`
./configure --prefix=/usr --mandir=/usr/share/man/man6 --build aarch64-linux-gnu
checking build system type... Invalid configuration `aarch64-linux-gnu': machine `aarch64' not recognized
configure: error: /bin/bash autotools/config.sub aarch64-linux-gnu failed
make: *** [configure-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Pkg-games-devel mailing list