Source: esnacc
Version: 1.8.1-3
Severity: serious
Justification: FTBFS
Tags: sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-impfuncdef
Hi,
esnacc FTBFS:
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I./asn1specs
-I./asn1specs -I./c-lib/inc -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/home/rene/esnacc-1.8.1=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -O0 -Wall -Wextra -c -o c-examples/simple/sbuf-sbuf-ex.o
`test -f 'c-examples/simple/sbuf-ex.c' || echo
'./'`c-examples/simple/sbuf-ex.c
/bin/bash ./libtool --tag=CC --mode=link gcc -I./asn1specs
-I./asn1specs -I./c-lib/inc -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/home/rene/esnacc-1.8.1=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -O0 -Wall -Wextra -Wl,-z,relro -o
c-examples/simple/sbuf asn1specs/c_examples_simple_sbuf-p-rec.o
c-examples/simple/sbuf-sbuf-ex.o c-lib/libcasn1.la -lm
libtool: link: gcc -I./asn1specs -I./asn1specs -I./c-lib/inc -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/home/rene/esnacc-1.8.1=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -O0 -Wall -Wextra -Wl,-z -Wl,relro -o
c-examples/simple/.libs/sbuf asn1specs/c_examples_simple_sbuf-p-rec.o
c-examples/simple/sbuf-sbuf-ex.o c-lib/.libs/libcasn1.so -lm -pthread
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I./c-lib/inc
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/home/rene/esnacc-1.8.1=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection -O0 -Wall -Wextra -c -o
c-examples/test-lib/testlib-test-lib.o `test -f
'c-examples/test-lib/test-lib.c' || echo './'`c-examples/test-lib/test-lib.c
c-examples/test-lib/test-lib.c: In function 'main':
c-examples/test-lib/test-lib.c:68:5: error: implicit declaration of
function 'InitNibbleMem' [-Werror=implicit-function-declaration]
68 | InitNibbleMem (256, 256);
| ^~~~~~~~~~~~~
[...]
This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration
Indeed a build with export DEB_BUILD_MAINT_OPTIONS=qa=-bug-implicit-func
works. But better than disabling it would be to fix it of course ;)
Regards,
Rene