[Pkg-erlang-devel] Bug#727526: yaws: update config.{sub, guess} for the AArch64 port

Matthias Klose doko at debian.org
Wed Oct 23 23:14:14 UTC 2013


Package: src:yaws
Version: 1.97-1
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.

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-20131023/logs/buildlog_ubuntu-trusty-arm64.yaws_1.97-1_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.

[...]
dpkg-buildpackage: source version 1.97-1
 dpkg-source --before-build yaws-1.97
dpkg-buildpackage: host architecture arm64
 /usr/bin/fakeroot debian/rules clean
dh clean
   dh_testdir
   debian/rules override_dh_auto_clean
make[1]: Entering directory `/build/buildd/yaws-1.97'
dh_testdir
dh_testroot
#
# Clean up applications included into yaws distribution
[ ! -f include.mk ] || \
	for appdir in applications/* ; do \
	    (cd $appdir ; \
	     /usr/bin/make clean || exit 1 ; \
	     /usr/bin/make cleandocs || exit 1) \
	done
rm -rf applications/chat/ebin
#
# Clean up after the build process.
[ ! -f include.mk ] || /usr/bin/make clean
[ ! -f include.mk ] || /usr/bin/make conf_clean
rm -f priv/charset.def
#
rm -f erl_crash.dump
rm -f debian/yaws-*.postinst debian/yaws-*.postrm
make[1]: Leaving directory `/build/buildd/yaws-1.97'
   dh_clean
 debian/rules build-arch
dh build-arch
   dh_testdir -a
   debian/rules override_dh_auto_configure
make[1]: Entering directory `/build/buildd/yaws-1.97'
dh_testdir
#
CFLAGS="-Wall -g -O2" \
	./configure --host=aarch64-linux-gnu \
		    --build=aarch64-linux-gnu \
		    --prefix=/usr \
		    --mandir=/usr/share/man \
		    --infodir=/usr/share/info \
		    --sysconfdir=/etc \
		    --localstatedir=/var
checking build system type... Invalid configuration `aarch64-linux-gnu': machine `aarch64' not recognized
configure: error: /bin/bash ./config.sub aarch64-linux-gnu failed
make[1]: *** [override_dh_auto_configure] Error 1
make[1]: Leaving directory `/build/buildd/yaws-1.97'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-erlang-devel mailing list