Source: wap-wml-tools
Version: 0.0.4-7
Severity: serious
Tags: ftbfs sid trixie
Justification: fails to build from source (but built successfully in the past)
Hi,
wap-wml-tools FTBFS with -Werror=implicit-function-declaration which was recently enabled by default in dpkg 1.22.6 to support the 64-bit time_t transition. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration
dh_auto_build
dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use)
make -j1
make[1]: Entering directory '/build/wap-wml-tools-0.0.4'
make[2]: Entering directory '/build/wap-wml-tools-0.0.4/rdfwml'
gcc -I../ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/wap-wml-tools-0.0.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -O2 -I/
usr/
include/libxml2 -o rdfwml rdfwml.c -lxml2
gcc -I../ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/wap-wml-tools-0.0.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -O2 -I/
usr/
include/libxml2 -DCGI_BIN -o rdfwml.cgi rdfwml.c -lxml2
make[2]: Leaving directory '/build/wap-wml-tools-0.0.4/rdfwml'
make[2]: Entering directory '/build/wap-wml-tools-0.0.4/wbmp'
gcc -I../ -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/wap-wml-tools-0.0.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -O2 -o
wbmp2xpm wbmp2xpm.c
wbmp2xpm.c: In function 'main':
wbmp2xpm.c:21:17: error: implicit declaration of function 'exit' [-Werror=implicit-function-declaration]
21 | exit(1);
| ^~~~
wbmp2xpm.c:12:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
11 | #include <string.h>
+++ |+#include <stdlib.h>
12 |
wbmp2xpm.c:21:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
21 | exit(1);
| ^~~~
wbmp2xpm.c:21:17: note: include '<stdlib.h>' or provide a declaration of 'exit' wbmp2xpm.c:26:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
26 | exit(1);
| ^~~~
wbmp2xpm.c:26:17: note: include '<stdlib.h>' or provide a declaration of 'exit' wbmp2xpm.c:41:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
41 | exit(1);
| ^~~~
wbmp2xpm.c:41:17: note: include '<stdlib.h>' or provide a declaration of 'exit' cc1: some warnings being treated as errors
make[2]: *** [Makefile:8: wbmp2xpm] Error 1
make[2]: Leaving directory '/build/wap-wml-tools-0.0.4/wbmp'
make[1]: *** [Makefile:9: all] Error 1
make[1]: Leaving directory '/build/wap-wml-tools-0.0.4'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:10: build] Error 255
Andreas
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)