[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#727395: libbinio: update config.{sub,guess} for the AArch64 port



Package: src:libbinio
Version: 1.4+dfsg1-1
Severity: normal
User: debian-arm@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.libbinio_1.4+dfsg1-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.

[...]
Toolchain package versions: libc6-dev_2.17-93ubuntu4 make_3.81-8.2ubuntu3 dpkg-dev_1.16.12ubuntu1 gcc-4.8_4.8.1-10ubuntu8 g++-4.8_4.8.1-10ubuntu8 binutils_2.23.52.20130913-0ubuntu1 libstdc++-4.8-dev_4.8.1-10ubuntu8 libstdc++6_4.8.1-10ubuntu8
------------------------------------------------------------------------------
gpgv: Signature made Thu Dec 20 00:42:43 2012 UTC using DSA key ID 5B713DF0
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./libbinio_1.4+dfsg1-1.dsc
dpkg-source: info: extracting libbinio in libbinio-1.4+dfsg1
dpkg-source: info: unpacking libbinio_1.4+dfsg1.orig.tar.gz
dpkg-source: info: applying libbinio_1.4+dfsg1-1.diff.gz
dpkg-buildpackage: source package libbinio
dpkg-buildpackage: source version 1.4+dfsg1-1
 dpkg-source --before-build libbinio-1.4+dfsg1
dpkg-buildpackage: host architecture arm64
 /usr/bin/fakeroot debian/rules clean
QUILT_PATCHES=debian/patches \
		quilt --quiltrc /dev/null pop -a -R || test $? = 2
No patch removed
rm -rf .pc debian/stamp-patched
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
[ ! -f Makefile ] || /usr/bin/make distclean
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
QUILT_PATCHES=debian/patches \
		quilt --quiltrc /dev/null push -a || test $? = 2
Applying patch 00_fix_gcc4.4_FTBFS.diff
patching file src/binwrap.cpp

Applying patch removed_gfdl_doc.diff
patching file configure
patching file Makefile.in

Now at patch removed_gfdl_doc.diff
touch debian/stamp-patched
dh_testdir
./configure \
		--host=aarch64-linux-gnu --build=aarch64-linux-gnu \
		--prefix=/usr --infodir=\${prefix}/share/info \
		CFLAGS="-g -O2 -Wformat -Werror=format-security" CPPFLAGS="-D_FORTIFY_SOURCE=2" CXXFLAGS="-g -O2 -Wformat -Werror=format-security" FFLAGS="-g -O2" LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro" 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... Invalid configuration `aarch64-linux-gnu': machine `aarch64' not recognized
configure: error: /bin/bash ./config.sub aarch64-linux-gnu failed
make: *** [configure-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2


Reply to: