Bug#993147: libstatgrab FTBFS: ./configure: line 7892: syntax error near unexpected token `ac_fn_check_decl'
This is fixed in libstatgrab 0.92.1: https://github.com/libstatgrab/libstatgrab/releases/tag/LIBSTATGRAB_0_92_1 Or this specific patch should fix it too: https://github.com/libstatgrab/libstatgrab/commit/1205aed6593b83f69297512b89c7813d77be89d4 Tim. On Fri, Aug 27, 2021 at 11:34:36PM +0200, Helmut Grohne wrote: > Source: libstatgrab > Version: 0.92-2 > Severity: serious > Tags: ftbfs > > libstatgrab fails to build from source in unstable. The relevant part of > the build log is: > > | dh build --with autoreconf > | dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) > |dh_update_autotools_config > |dh_autoreconf > | libtoolize: putting auxiliary files in '.'. > | libtoolize: copying file './ltmain.sh' > | libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. > | libtoolize: copying file 'm4/libtool.m4' > | libtoolize: copying file 'm4/ltoptions.m4' > | libtoolize: copying file 'm4/ltsugar.m4' > | libtoolize: copying file 'm4/ltversion.m4' > | libtoolize: copying file 'm4/lt~obsolete.m4' > | configure.ac:54: warning: The macro `AC_PROG_CC_C99' is obsolete. > | configure.ac:54: You should run autoupdate. > | ./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... > | configure.ac:54: the top level > | configure.ac:65: warning: The macro `AC_HEADER_STDC' is obsolete. > | configure.ac:65: You should run autoupdate. > | ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... > | configure.ac:65: the top level > | configure.ac:66: warning: The macro `AC_HEADER_TIME' is obsolete. > | configure.ac:66: You should run autoupdate. > | ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... > | configure.ac:66: the top level > | configure.ac:95: warning: The macro `AC_TYPE_GID_T' is obsolete. > | configure.ac:95: You should run autoupdate. > | m4/ax_types.m4:21: AC_TYPE_GID_T is expanded from... > | configure.ac:95: the top level > | configure.ac:156: warning: The macro `AC_LANG_C' is obsolete. > | configure.ac:156: You should run autoupdate. > | ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... > | m4/ax_win32.m4:5: AX_WIN32 is expanded from... > | configure.ac:156: the top level > | configure.ac:1461: warning: The macro `AC_PROG_LD' is obsolete. > | configure.ac:1461: You should run autoupdate. > | m4/libtool.m4:3341: AC_PROG_LD is expanded from... > | m4/ax_visibility.m4:9: AX_CHECK_VISIBILITY is expanded from... > | configure.ac:1461: the top level > | configure.ac:1691: warning: The macro `AC_LANG_C' is obsolete. > | configure.ac:1691: You should run autoupdate. > | ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... > | m4/ax_win32.m4:5: AX_WIN32 is expanded from... > | lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... > | configure.ac:1691: the top level > | configure.ac:1691: warning: $as_echo is obsolete; use AS_ECHO(["message"]) > instead > | lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... > | lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... > | ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... > | ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... > | m4/ax_pthread.m4:88: AX_PTHREAD is expanded from... > | lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... > | lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... > | m4/ax_win32.m4:5: AX_WIN32 is expanded from... > | lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... > | configure.ac:1691: the top level > | configure.ac:1838: warning: The macro `AC_PROG_LIBTOOL' is obsolete. > | configure.ac:1838: You should run autoupdate. > | m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... > | configure.ac:1838: the top level > | configure.ac:53: installing './compile' > | configure.ac:18: installing './missing' > | examples/Makefile.am: installing './depcomp' > |dh_auto_configure > | dh_auto_configure: warning: Compatibility levels before 10 are deprecated > (level 9 in use) > | ./configure --build=x86_64-linux-gnu --prefix=/usr > --includedir=\${prefix}/include --mandir=\${prefix}/share/man > --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var > --disable-option-checking --disable-silent-rules > --libdir=\${prefix}/lib/x86_64-linux-gnu > --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode > --disable-dependency-tracking > | checking for a BSD-compatible install... /usr/bin/install -c > | checking whether build environment is sane... yes > | checking for a race-free 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 whether to enable maintainer-specific portions of Makefiles... no > | checking build system type... x86_64-pc-linux-gnu > | checking host system type... x86_64-pc-linux-gnu > | checking for gcc... gcc > | checking whether the C compiler works... yes > | checking for C compiler default output file name... a.out > | checking for suffix
Bug#993147: libstatgrab FTBFS: ./configure: line 7892: syntax error near unexpected token `ac_fn_check_decl'
Source: libstatgrab Version: 0.92-2 Severity: serious Tags: ftbfs libstatgrab fails to build from source in unstable. The relevant part of the build log is: | dh build --with autoreconf | dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) |dh_update_autotools_config |dh_autoreconf | libtoolize: putting auxiliary files in '.'. | libtoolize: copying file './ltmain.sh' | libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. | libtoolize: copying file 'm4/libtool.m4' | libtoolize: copying file 'm4/ltoptions.m4' | libtoolize: copying file 'm4/ltsugar.m4' | libtoolize: copying file 'm4/ltversion.m4' | libtoolize: copying file 'm4/lt~obsolete.m4' | configure.ac:54: warning: The macro `AC_PROG_CC_C99' is obsolete. | configure.ac:54: You should run autoupdate. | ./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... | configure.ac:54: the top level | configure.ac:65: warning: The macro `AC_HEADER_STDC' is obsolete. | configure.ac:65: You should run autoupdate. | ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... | configure.ac:65: the top level | configure.ac:66: warning: The macro `AC_HEADER_TIME' is obsolete. | configure.ac:66: You should run autoupdate. | ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... | configure.ac:66: the top level | configure.ac:95: warning: The macro `AC_TYPE_GID_T' is obsolete. | configure.ac:95: You should run autoupdate. | m4/ax_types.m4:21: AC_TYPE_GID_T is expanded from... | configure.ac:95: the top level | configure.ac:156: warning: The macro `AC_LANG_C' is obsolete. | configure.ac:156: You should run autoupdate. | ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... | m4/ax_win32.m4:5: AX_WIN32 is expanded from... | configure.ac:156: the top level | configure.ac:1461: warning: The macro `AC_PROG_LD' is obsolete. | configure.ac:1461: You should run autoupdate. | m4/libtool.m4:3341: AC_PROG_LD is expanded from... | m4/ax_visibility.m4:9: AX_CHECK_VISIBILITY is expanded from... | configure.ac:1461: the top level | configure.ac:1691: warning: The macro `AC_LANG_C' is obsolete. | configure.ac:1691: You should run autoupdate. | ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... | m4/ax_win32.m4:5: AX_WIN32 is expanded from... | lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... | configure.ac:1691: the top level | configure.ac:1691: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead | lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... | lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... | ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... | ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... | m4/ax_pthread.m4:88: AX_PTHREAD is expanded from... | lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... | lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... | m4/ax_win32.m4:5: AX_WIN32 is expanded from... | lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... | configure.ac:1691: the top level | configure.ac:1838: warning: The macro `AC_PROG_LIBTOOL' is obsolete. | configure.ac:1838: You should run autoupdate. | m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... | configure.ac:1838: the top level | configure.ac:53: installing './compile' | configure.ac:18: installing './missing' | examples/Makefile.am: installing './depcomp' |dh_auto_configure | dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use) | ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking | checking for a BSD-compatible install... /usr/bin/install -c | checking whether build environment is sane... yes | checking for a race-free 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 whether to enable maintainer-specific portions of Makefiles... no | checking build system type... x86_64-pc-linux-gnu | checking host system type... x86_64-pc-linux-gnu | checking for gcc... 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 the compiler supports GNU C... yes | checking whether gcc accepts -g... yes | checking for gcc option to enable C11 features... none needed | checking whether gcc understands -c and -o together... yes | checking whether make supports the include directive... yes (GNU style) | checking dependency style of gcc... none | checking dependency style of gcc... (cached) none |