[Pkg-scicomp-devel] Bug#727311: abinit: update config.{sub, guess} for the AArch64 port

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


Package: src:abinit
Version: 5.3.4.dfsg-3
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.abinit_5.3.4.dfsg-3build2_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.

[...]
gpgv: Signature made Sun Sep 11 11:24:29 2011 UTC using DSA key ID 0F932C9C
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./abinit_5.3.4.dfsg-3build2.dsc
dpkg-source: info: extracting abinit in abinit-5.3.4.dfsg
dpkg-source: info: unpacking abinit_5.3.4.dfsg.orig.tar.gz
dpkg-source: info: applying abinit_5.3.4.dfsg-3build2.diff.gz
dpkg-buildpackage: source package abinit
dpkg-buildpackage: source version 5.3.4.dfsg-3build2
 dpkg-source --before-build abinit-5.3.4.dfsg
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.
QUILT_PATCHES=debian/patches quilt pop -a -R || test $? = 2
No patch removed
[ ! -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.
QUILT_PATCHES=debian/patches quilt push -a || test $? = 2
Applying patch doc.Makefile.in.patch
patching file doc/Makefile.in

Now at patch doc.Makefile.in.patch
cp -f /usr/share/misc/config.sub config.sub
cp -f /usr/share/misc/config.guess config.guess
./configure                                               \
        --host=aarch64-linux-gnu --build=aarch64-linux-gnu \
	--prefix=/usr                                             \
	--mandir=\${prefix}/share/man                            \
	--infodir=\${prefix}/share/info                          \
	--with-cc-optflags="-O2"                                  \
	--with-cxx-optflags="-O2"                                 \
	--with-fc-optflags="-O2"                                  \
	--with-linalg-ldflags="-lblas -llapack"        \
	CFLAGS="-Wall -g -O2" LDFLAGS="-Wl,-z,defs"

 ==============================================================================
 === Startup                                                                ===
 ==============================================================================

checking build system type... Invalid configuration `aarch64-linux-gnu': machine `aarch64' not recognized
configure: error: /bin/bash config/gnu/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-scicomp-devel mailing list