Package: gawk Version: 1:4.1.1+dfsg-1 Severity: wishlist Usertags: goto-cc During a rebuild of all packages in a clean sid chroot (and cowbuilder+pbuilder) the build failed with the following error. Please note that we use our research compiler tool-chain (using tools from the cbmc package), which permits extended reporting on type inconsistencies at link time.
[...] gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -fPIE -pie -Wl,-z,relro -Wl,-z,now -export-dynamic -o gawk array.o awkgram.o builtin.o cint_array.o command.o debug.o dfa.o eval.o ext.o field.o floatcomp.o gawkapi.o gawkmisc.o getopt.o getopt1.o int_array.o io.o main.o mpfr.o msg.o node.o profile.o random.o re.o regex.o replace.o str_array.o symbol.o version.o /usr/lib/x86_64-linux-gnu/libsigsegv.so -lreadline -lmpfr -lgmp -ldl -lm -lm file main.c line 63: error: conflicting function declarations "init_debug" old definition in module debug file debug.c line 2749 void () new definition in module main file main.c line 63 signed int () make[3]: *** [gawk] Error 64 make[3]: Leaving directory `/srv/jenkins-slave/workspace/sid-goto-cc-gawk/gawk-4.1.1+dfsg' make[2]: *** [all-recursive] Error 1 Indeed this seems just an inconsistency of declarations here, as the declaration in main.c wrongly specifies the return type as int - but the function call in main.c does not actually use the return value. Fixing the forward declaration will ensure no one inadvertently uses the non-existent return value. Best, Michael
pgpaQGNsBb32h.pgp
Description: PGP signature