[Debian-zh-dev] Bug#727872: gmchess: update config.{sub, guess} for the AArch64 port

Matthias Klose doko at debian.org
Sun Oct 27 16:00:01 UTC 2013


Package: src:gmchess
Version: 0.29.6-2
Severity: normal
User: debian-arm at lists.debian.org
Usertags: arm64

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 autotools_dev (yes, underscore).

  - For other rules files, call dh_autotools-dev_updateconfig before
    calling configure (in the build or configure target), and call
    dh_autotools-dev_restoreconfig before calling 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-20131027/buildlog_ubuntu-trusty-arm64.gmchess_0.29.6-2_FAILEDTOBUILD.txt
The last lines of the build log are at the end of this report.

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

[...]
datadir='${datarootdir}'
datarootdir='/usr/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${prefix}/share/info'
install_sh='${SHELL} /build/buildd/gmchess-0.29.6/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${prefix}/lib/gmchess'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${prefix}/share/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "gmchess"
#define PACKAGE_TARNAME "gmchess"
#define PACKAGE_VERSION "0.29.6"
#define PACKAGE_STRING "gmchess 0.29.6"
#define PACKAGE_BUGREPORT "lerosua at gmail.com"
#define PACKAGE_URL ""
#define PACKAGE "gmchess"
#define VERSION "0.29.6"

configure: exit 1
dh_auto_configure: ./configure --build=aarch64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/gmchess --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --bindir=/usr/games --datarootdir=/usr/share CFLAGS=-g -O3 CXXFLAGS=-g -O3 LDFLAGS=-Wl,-z,defs -Wl,--as-needed -Wl,--no-undefined returned exit code 1
make[1]: *** [override_dh_auto_configure] Error 25
make[1]: Leaving directory `/build/buildd/gmchess-0.29.6'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Chinese-developers mailing list