sed-devel
[Top][All Lists]
Advanced

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

build failure with 'make distcheck' without 'make' first


From: Assaf Gordon
Subject: build failure with 'make distcheck' without 'make' first
Date: Sun, 11 Dec 2016 01:00:21 -0500

Hello,

I noticed something strange, the following fails to build:

    $ make distclean ; ./configure ; make distcheck
    [...]
       CC       sed/sed_sed-compile.o
    In file included from sed/compile.c:20:
    In file included from ./sed/sed.h:26:
    ./sed/utils.h:30:45: error: expected function body after function declarator
    _Noreturn void panic (const char *str, ...) _GL_ATTRIBUTE_FORMAT_PRINTF (1, 
2);
                                                ^
    ./sed/utils.h:42:38: error: expected function body after function declarator
                       const char *mode) _GL_ARG_NONNULL ((1, 2, 3, 4));
                                     ^
    sed/compile.c:259:9: warning: implicit declaration of function 'panic' is 
invalid in C99 [-Wimplicit-function-declaration]
            panic("Called savchar() with unexpected pushback (%x)",
            ^
    sed/compile.c:1088:17: warning: implicit declaration of function 
'strverscmp' is invalid in C99
          [-Wimplicit-function-declaration]
                if (strverscmp (compared_version, PACKAGE_VERSION) > 0)
                    ^
    2 warnings and 2 errors generated.
    make[1]: *** [sed/sed_sed-compile.o] Error 1
    make: *** [dist] Error 2


From a cursory look it seems building 'gnulib' is not a dependency of 
'distcheck'.

I'll investigate further tomorrow.

- assaf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]