bug-automake
[Top][All Lists]
Advanced

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

bug#68119: [GNU automake 1.16.5] test-suite 45 tests failed


From: Karl Berry
Subject: bug#68119: [GNU automake 1.16.5] test-suite 45 tests failed
Date: Sat, 30 Dec 2023 15:56:25 -0700

    Subject: [GNU automake 1.16.5] test-suite 45 tests failed
    Clean install of macOS Sonoma 14.2.1 on MacBook Pro M3 max

Thanks for the report, but it seems like something in the environment is
causing trouble. For example, one of the failing tests is
dist-vs-built-sources.sh:

    gcc -DPACKAGE_NAME=\"dist-vs-built-sources\" 
-DPACKAGE_TARNAME=\"dist-vs-built-sources\" -DPACKAGE_VERSION=\"1.0\" 
-DPACKAGE_STRING=\"dist-vs-built-sources\ 1.0\" -DPACKAGE_BUGREPORT=\"\" 
-DPACKAGE_URL=\"\" -DPACKAGE=\"dist-vs-built-sources\" -DVERSION=\"1.0\" -I.    
 -g -O2 -MT foo.o -MD -MP -MF .deps/foo.Tpo -c -o foo.o foo.c
    foo.c:2:19: error: call to undeclared library function 'printf' with type 
'int (const char *, ...)'; ISO C99 and later do not support implicit function 
declarations [-Wimplicit-function-declaration]
    int main (void) { printf ("%s\n", F); return 0; }
                      ^
    foo.c:2:19: note: include the header <stdio.h> or explicitly provide a 
declaration for 'printf'

However, <stdio.h> is already included. The test program is these three
lines (h.h is a trivial #define):
#include <stdio.h>
#include "h.h"
int main (void) { printf ("%s\n", F); return 0; }

So the failure doesn't make sense to me.  I have no access to Sonoma or
other way to debug, unfortunately.

The other failures also look like they relate to the test suite programs
in this particular environment, rather than actual Automake
functionality.

Maybe someone else here has an idea or a way to proceed. --thanks, karl.





reply via email to

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