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

Bug#542446: lineakd: FTBFS due to automake version mismatch

Package: lineakd
Version: 1:0.9-4
Severity: serious
Justification: FTBFS
User: debian-bsd@lists.debian.org


in a clean sid amd64 cowbuilder chroot:
| dpkg-source: info: building lineakd in lineakd_0.9-4.dsc
|  debian/rules build
| dh_testdir
| test -r /usr/share/misc/config.sub && \
| 	cp -f /usr/share/misc/config.sub admin/config.sub
| test -r /usr/share/misc/config.guess && \
| 	cp -f /usr/share/misc/config.guess admin/config.guess
| /usr/bin/libtoolize -f
| libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `admin'.
| libtoolize: linking file `admin/ltmain.sh'
| libtoolize: You should add the contents of the following files to `aclocal.m4':
| libtoolize:   `/usr/share/aclocal/libtool.m4'
| libtoolize:   `/usr/share/aclocal/ltoptions.m4'
| libtoolize:   `/usr/share/aclocal/ltversion.m4'
| libtoolize:   `/usr/share/aclocal/ltsugar.m4'
| libtoolize:   `/usr/share/aclocal/lt~obsolete.m4'
| libtoolize: Remember to add `LT_INIT' to configure.in.
| libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
| libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
| libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
| cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
| /usr/bin/make -f admin/Makefile.common
| make[1]: Entering directory `/tmp/buildd/lineakd-0.9'
| *** YOU'RE USING automake (GNU automake) 1.11.
| *** KDE requires automake 1.6.1 or newer
| make[1]: *** [cvs] Error 1
| make[1]: Leaving directory `/tmp/buildd/lineakd-0.9'
| make: *** [build-stamp] Error 2

And while I'm at it, in a sid kfreebsd-i386 environment:
| Making all in lineak
| make[2]: Entering directory `/srv/storage/kibi/hack/lineakd-0.9/lineak'
| /bin/sh ../libtool --tag=CXX   --mode=compile i486-kfreebsd-gnu-g++ -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DPLUGINDIR=\"/usr/lib/lineakd/plugins\" -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\" -I. -I..   -I../lineakd -I. -I..    -g -O2 -MT xmgr.lo -MD -MP -MF .deps/xmgr.Tpo -c -o xmgr.lo xmgr.cpp
| libtool: compile:  i486-kfreebsd-gnu-g++ -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DPLUGINDIR=\"/usr/lib/lineakd/plugins\" -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\" -I. -I.. -I../lineakd -I. -I.. -g -O2 -MT xmgr.lo -MD -MP -MF .deps/xmgr.Tpo -c xmgr.cpp  -DPIC -o .libs/xmgr.o
| In file included from xmgr.cpp:33:
| ../lineak/lineak_core_functions.h:35: error: declaration of 'int* __errno_location()' throws different exceptions
| ../lineakd/lineakd_core_functions.h:35: error: from previous declaration 'int* __errno_location() throw ()'
| make[2]: *** [xmgr.lo] Error 1

Line 35 for each file:
| extern int errno;

errno's manpage says:
|        It  was common in traditional C to declare errno manually (i.e., extern
|        int errno) instead of including <errno.h>.  Do not do  this.   It  will
|        not work with modern versions of the C library.  However, on (very) old
|        Unix systems, there may be no <errno.h> and the declaration is needed.

Deleting this line in both files seems to do the trick, at least on this
kfreebsd-i386 environment. It'd be nice to include that fix when fixing
the automake issue.


Reply to: