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 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
> | checking for g++... g++
> | checking whether the compiler supports GNU C++... yes
> | checking whether g++ accepts -g... yes
> | checking for g++ option to enable C++11 features... none needed
> | checking dependency style of g++... none
> | checking dependency style of g++... (cached) none
> | checking for a sed that does not truncate output... /bin/sed
> | checking for grep that handles long lines and -e... /bin/grep
> | checking for ar... ar
> | checking the archiver (ar) interface... ar
> | checking for stdio.h... yes
> | checking for stdlib.h... yes
> | checking for string.h... yes
> | checking for inttypes.h... yes
> | checking for stdint.h... yes
> | checking for strings.h... yes
> | checking for sys/stat.h... yes
> | checking for sys/types.h... yes
> | checking for unistd.h... yes
> | checking for sys/time.h... yes
> | checking for egrep... /bin/grep -E
> | checking for _Bool... yes
> | checking for stdbool.h that conforms to C99... yes
> | checking for assert.h... yes
> | checking for ctype.h... yes
> | checking for errno.h... yes
> | checking for float.h... yes
> | checking for limits.h... yes
> | checking for locale.h... yes
> | checking for math.h... yes
> | checking for setjmp.h... yes
> | checking for signal.h... yes
> | checking for stdarg.h... yes
> | checking for stddef.h... yes
> | checking for stdlib.h... (cached) yes
> | checking for string.h... (cached) yes
> | checking for an ANSI C-conforming const... yes
> | checking for inline... inline
> | checking for int8_t... yes
> | checking for int16_t... yes
> | checking for int32_t... yes
> | checking for int64_t... yes
> | checking for uint8_t... yes
> | checking for uint16_t... yes
> | checking for uint32_t... yes
> | checking for uint64_t... yes
> | checking for size_t... yes
> | checking for ssize_t... yes
> | checking for off_t... yes
> | checking for pid_t... yes
> | checking how to run the C preprocessor... gcc -E
> | checking for uid_t in sys/types.h... yes
> | checking for uid_t in sys/types.h... (cached) yes
> | checking for time_t... yes
> | checking for unsigned long long int... yes
> | checking for long long int... yes
> | checking for unsigned long long int... (cached) yes
> | checking for gcc options needed to detect all undeclared functions... none 
> needed
> | checking whether _AIX is declared... no
> | checking whether __linux is declared... yes
> | ./configure: line 7892: syntax error near unexpected token 
> `ac_fn_check_decl'
> | ./configure: line 7892: `fi ac_fn_check_decl "$LINENO" "__sun" 
> "ac_cv_have_decl___sun" "$ac_includes_default" 
> "$ac_c_undeclared_builtin_options" "CFLAGS"'
> |     tail -v -n \+0 config.log
> | ==> config.log <==
> | ...
> | configure: exit 2
> | dh_auto_configure: error: ./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 returned exit code 2
> | make: *** [debian/rules:7: build] Error 25
> | dpkg-buildpackage: error: debian/rules build subprocess returned exit 
> status 2
> 
> Helmut

-- 
Tim Bishop
http://www.bishnet.net/tim/
PGP Key: 0x6C226B37FDF38D55

Reply via email to