[Pkg-ofed-devel] Bug#744446: libibcommon: run dh-autoreconf to update config.{sub, guess} and {libtool, aclocal}.m4

Matthias Klose doko at debian.org
Sun Apr 13 16:42:52 UTC 2014


Package: src:libibcommon
Version: 1.1.2-20090314-1
User: debian-devel at lists.debian.org
Usertags: autoreconf

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 autoreconf.

  - For cdbs based build systems, include
    /usr/share/cdbs/1/rules/autoreconf.mk

  - For other rules files, call dh_autoreconf before calling
    configure (in the build or configure target), and call
    dh_autoreconf_clean before 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-20140414/buildlog_ubuntu-trusty-arm64.libibcommon_1.1.2-20090314-1_FAILEDTOBUILD.txt
The last lines of the build log are at the end of this report.

Please note that these builds were done in an Ubuntu development,
environment there may be a few false positives in these bug reports.

See https://wiki.debian.org/qa.debian.org/FTBFS for a guide how to
address these.

[...]
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
Makefile.am:16: warning: source file 'src/stack.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
Makefile.am:16: warning: source file 'src/sysfs.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
Makefile.am:16: warning: source file 'src/util.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
Makefile.am:16: warning: source file 'src/time.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
Makefile.am:16: warning: source file 'src/hash.c' is in a subdirectory,
Makefile.am:16: but option 'subdir-objects' is disabled
./configure --host=aarch64-linux-gnu --build=aarch64-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info CFLAGS="-Wall -g -O2" --sysconfdir=/etc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/build/buildd/libibcommon-1.1.2-20090314/config/missing: Unknown `--is-lightweight' option
Try `/build/buildd/libibcommon-1.1.2-20090314/config/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 ISO C89... none needed
checking whether aarch64-linux-gnu-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of aarch64-linux-gnu-gcc... gcc3
checking how to run the C preprocessor... aarch64-linux-gnu-gcc -E
checking whether ln -s works... yes
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/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-ofed-devel mailing list