Package: mailagent
Version: 1:3.1-78-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.

[...]
cc -o filter environ.o hash.o io.o lock.o logfile.o main.o misc.o msg.o 
parser.o user.o getopt.o dup2.o  -Wl,-z,relro -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wl,-z,relro 
-L/usr/local/lib 

error: conflicting function declarations "init_env"
old definition in module environ file environ.c line 84
signed int (char **envp)
new definition in module parser file environ.h line 37
void ()
Makefile:120: recipe for target 'filter' failed
make[6]: *** [filter] Error 64
make[6]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-mailagent/mailagent-3.1-78/agent/filter'
Makefile:227: recipe for target 'subdirs' failed
make[5]: *** [subdirs] Error 1

The main reason the declaration in environ.h should be fixed to match the
definition is that the return value actually reports on errors - and thus should
also be used.

Best,
Michael

Attachment: pgpZ2EsiME2d8.pgp
Description: PGP signature

Reply via email to