Followup-For: Bug #1066440
Control: found -1 0.92.7-1
Control: retitle -1 librep: FTBFS with -Werror=implicit-function-declaration

The relevant part from the log seems to be this:

...
checking for aclocal directory... /usr/share/aclocal
checking for data type to store Lisp values... configure: error: cannot find 
Lisp value type; set --with-value-type (see README)


configure:15875: checking for data type to store Lisp values
configure:15898: gcc -o conftest -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 
conftest.c  -lcrypt >&5
conftest.c:93:1: warning: return type defaults to 'int' [-Wimplicit-int]
   93 | main () { exit (!(sizeof (int) >= sizeof (void *)));}
      | ^~~~
conftest.c: In function 'main':
conftest.c:93:11: error: implicit declaration of function 'exit' 
[-Werror=implicit-function-declaration]
   93 | main () { exit (!(sizeof (int) >= sizeof (void *)));}
      |           ^~~~
conftest.c:1:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
  +++ |+#include <stdlib.h>
    1 | /* confdefs.h */
conftest.c:93:11: warning: incompatible implicit declaration of built-in 
function 'exit' [-Wbuiltin-declaration-mismatch]
   93 | main () { exit (!(sizeof (int) >= sizeof (void *)));}
      |           ^~~~
conftest.c:93:11: note: include '<stdlib.h>' or provide a declaration of 'exit'
cc1: some warnings being treated as errors
configure:15898: $? = 1
configure: program exited with status 1


For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration


Andreas

Reply via email to