[Pkg-clamav-devel] Bug#727917: libclamunrar: update config.{sub, guess} for the AArch64 port

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


Package: src:libclamunrar
Version: 0.96.4-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.

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.libclamunrar_0.96.4-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.

[...]
Setting up libpython3-stdlib:arm64 (3.3.2-14ubuntu1) ...
Setting up file (5.11-2ubuntu4) ...
Setting up gettext-base (0.18.3.1-1ubuntu1) ...
Setting up autotools-dev (20130810.1) ...
Setting up gettext (0.18.3.1-1ubuntu1) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.16+nmu2ubuntu1) ...
Setting up libbz2-dev:arm64 (1.0.6-5) ...
Setting up zlib1g-dev:arm64 (1:1.2.8.dfsg-1ubuntu1) ...
Setting up python3 (3.3.2-14ubuntu1) ...
running python rtupdate hooks for python3.3...
running python post-rtupdate hooks for python3.3...
Setting up dh-python (1.20131003-1) ...
Setting up apparmor-easyprof (2.8.0-0ubuntu32) ...
Setting up dh-apparmor (2.8.0-0ubuntu32) ...
Setting up debhelper (9.20130921ubuntu1) ...
Processing triggers for libc-bin ...
Checking correctness of source dependencies...
Toolchain package versions: libc6-dev_2.17-93ubuntu4 make_3.81-8.2ubuntu3 dpkg-dev_1.16.12ubuntu1 gcc-4.8_4.8.2-1ubuntu2 g++-4.8_4.8.2-1ubuntu2 binutils_2.23.90.20131017-1ubuntu1 libstdc++-4.8-dev_4.8.2-1ubuntu2 libstdc++6_4.8.2-1ubuntu2
------------------------------------------------------------------------------
gpgv: Signature made Sat Oct 30 20:28:04 2010 UTC using DSA key ID 76D52AC4
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./libclamunrar_0.96.4-1.dsc
dpkg-source: info: extracting libclamunrar in libclamunrar-0.96.4
dpkg-source: info: unpacking libclamunrar_0.96.4.orig.tar.gz
dpkg-source: info: applying libclamunrar_0.96.4-1.diff.gz
dpkg-buildpackage: source package libclamunrar
dpkg-buildpackage: source version 0.96.4-1
 dpkg-source --before-build libclamunrar-0.96.4
dpkg-buildpackage: host architecture arm64
 /usr/bin/fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp 
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || /usr/bin/make distclean
rm -f config.sub config.guess
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
# Add here commands to configure the package.
cp -f /usr/share/misc/config.sub config.sub
cp -f /usr/share/misc/config.guess config.guess
chmod a+x configure
./configure --build aarch64-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info CFLAGS="" LDFLAGS="-Wl,-z,defs" --disable-clamav
checking build system type... Invalid configuration `aarch64-linux-gnu': machine `aarch64' not recognized
configure: error: /bin/bash config/config.sub aarch64-linux-gnu failed
make: *** [config.status] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Pkg-clamav-devel mailing list