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

Bug#727448: libxcrypt: update config.{sub,guess} for the AArch64 port



Package: src:libxcrypt
Version: 1:2.4-3
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.libxcrypt_1:2.4-3_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-source: info: unpacking libxcrypt_2.4.orig.tar.gz
dpkg-source: info: applying libxcrypt_2.4-3.diff.gz
dpkg-source: info: upstream files that have been modified: 
 libxcrypt-2.4/config.guess
 libxcrypt-2.4/config.sub
dpkg-buildpackage: source package libxcrypt
dpkg-buildpackage: source version 1:2.4-3
 dpkg-source --before-build libxcrypt-2.4
dpkg-buildpackage: host architecture arm64
 /usr/bin/fakeroot debian/rules clean
dh_testdir
dh_testroot
dh_quilt_unpatch
No patch removed
dh_quilt_unpatch: Compatibility levels before 5 are deprecated (level 4 in use)
rm -f build-stamp 
# Add here commands to clean up after the build process.
/usr/bin/make distclean
make[1]: Entering directory `/build/buildd/libxcrypt-2.4'
make[1]: *** No rule to make target `distclean'.  Stop.
make[1]: Leaving directory `/build/buildd/libxcrypt-2.4'
make: [clean] Error 2 (ignored)
dh_clean 
dh_clean: Compatibility levels before 5 are deprecated (level 4 in use)
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.
CFLAGS="-Wall -g -O2" ./configure --host=aarch64-linux-gnu --build=aarch64-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info
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 for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether aarch64-linux-gnu-gcc accepts -g... yes
checking for aarch64-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of aarch64-linux-gnu-gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking build system type... Invalid configuration `aarch64-linux-gnu': machine `aarch64' not recognized
configure: error: /bin/bash ./config.sub aarch64-linux-gnu failed
make: *** [config.status] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2


Reply to: