Package: gradm2
Version: 3.0~201401282126-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.

[...]
/usr/bin/gcc -O2 -fPIC -Wcast-qual -DGRSEC_DIR=\"/etc/grsec2\" 
-D_LARGEFILE64_SOURCE -o gradm2 gradm.tab.o lex.gradm.o learn_pass1.tab.o 
learn_pass2.tab.o fulllearn_pass1.tab.o fulllearn_pass2.tab.o 
fulllearn_pass3.tab.o gradm_misc.o gradm_parse.o gradm_arg.o gradm_pw.o 
gradm_opt.o gradm_cap.o gradm_sha256.o gradm_adm.o gradm_analyze.o gradm_res.o 
gradm_human.o gradm_learn.o gradm_net.o gradm_nest.o gradm_pax.o gradm_sym.o 
gradm_newlearn.o gradm_fulllearn.o gradm_lib.o lex.fulllearn_pass1.o 
lex.fulllearn_pass2.o lex.fulllearn_pass3.o lex.learn_pass1.o lex.learn_pass2.o 
grlearn_config.tab.o lex.grlearn_config.o gradm_globals.o gradm_replace.o  
-fPIE -pie -Wl,-z,relro -Wl,-z,now

error: conflicting function declarations "gradmerror"
old definition in module gradm.tab file gradm_func.h line 24
void (const char *)
new definition in module lex.gradm file ./gradm.l line 606
signed int (const char *s)
Makefile:61: recipe for target 'gradm2' failed
make[1]: *** [gradm2] Error 64
make[1]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-gradm2/gradm2-3.0~201401282126'
debian/rules:39: recipe for target 'build-stamp' failed

Indeed this seems just an inconsistency of declarations here, with gradmerror
actually being yyerror. This should be cleaned up to ensure no one inadvertently
uses the non-existent return value.

Best,
Michael

Attachment: pgpJ9TKnxaOdG.pgp
Description: PGP signature

Reply via email to