GNU bug report logs - #68186
[GNU automake 1.16.5] test-suite 45 tests failed

Previous Next

Package: automake;

Reported by: Erik A Johnson <JohnsonE <at> usc.edu>

Date: Sun, 31 Dec 2023 23:13:02 UTC

Severity: normal

Merged with 68119, 68190

Done: Karl Berry <karl <at> freefriends.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Erik A Johnson <JohnsonE <at> usc.edu>
To: Karl Berry <karl <at> freefriends.org>
Cc: 68186 <at> debbugs.gnu.org
Subject: bug#68186: [GNU automake 1.16.5] test-suite 45 tests failed
Date: Sun, 31 Dec 2023 23:04:07 +0000
Thanks, Karl.  automake-1.16.5/t/dist-vs-built-sources.dir/foo.c only has two lines:
#include "h.h"
int main (void) { printf ("%s\n", F); return 0; }

Also, automake-1.16.5/t/dist-vs-built-sources.sh only appears to be writing those two lines to foo.c and there is no inclusion of <stdio.h>.

Does that give you any clues?  Thx.

Erik

> On Dec 30, 2023, at 2:56 PM, Karl Berry <karl <at> freefriends.org> wrote:
> 
>    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.


This bug report was last modified 1 year and 111 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.