Package: nufw
Version: 2.4.3-3
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and 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.

[...]
libtool: link: gcc -std=gnu99 -DCONFIG_DIR=\"/etc/nufw\" 
-DMODULE_DIR=\"/usr/lib/x86_64-linux-gnu\" -DLOCAL_STATE_DIR=\"/var\" 
-D_REENTRANT -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -D_POSIX_C_SOURCE=199506L -D_ISOC99_SOURCE 
-D_GNU_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -Wextra -Wall -Wno-unused-parameter 
-O2 -Wl,-z -Wl,relro -o .libs/nuauth nuthread.o acls.o audit.o auth_common.o 
authsrv.o cache.o check_acls.o client_mngr.o debug.o gcrypt.o ip_auth.o 
localid_auth.o parsing.o pckt_authsrv.o pckt_authsrv_v3.o sasl.o tls.o 
tls_user.o tls_nufw.o tls_sasl.o user_authsrv.o user_logs.o users.o modules.o 
nuauthconf.o conntrack.o period.o auth_hash.o take_decision.o command.o 
command_enc.o nufw_servers.o connections.o -pthread -Wl,--export-dynamic 
-pthread  -L../../src/include/ -L../../src/nuauth/ -lgthread-2.0 -lgmodule-2.0 
-lglib-2.0 -lm -lsasl2 ../libs/nubase/.libs/libnubase.a 
../libs/nussl/.libs/libnussl.so ../libs/nuconfparser/.libs/libnuconfparser.a 
-lgcrypt -pthread

error: conflicting function declarations "yylex"
old definition in module config-parser.yacc file config-parser.yacc.y line 70
signed int (union YYSTYPE *, struct YYLTYPE *, struct config_arg_t *)
new definition in module config-parser.lex file config-parser.lex.c line 788
signed int (union YYSTYPE *yylval_param, struct YYLTYPE *yylloc_param)
Makefile:821: recipe for target 'nuauth' failed
make[4]: *** [nuauth] Error 64
make[4]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-nufw/nufw-2.4.3/src/nuauth'
Makefile:542: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1

The fact that the parser adds an excess argument in calls to yylex could be
harmless - but it really seems the developer had explicitly added a declaration
with three parameters:

http://sources.debian.net/src/nufw/2.4.3-3/src/libs/nuconfparser/config-parser.yacc.y?hl=70#L70

So it's either an incomplete refactoring or a proper bug.

Best,
Michael

Attachment: pgpKtjPA61hRd.pgp
Description: PGP signature

Reply via email to