Package: anubis
Version: 4.1.1+dfsg1-3.2
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.

[...]
x86_64-linux-gnu-gcc  -Wall -g -O2  -Wl,-z,defs -o anubisusr anubisusr.o usr.o 
./libanubisdb.a ../lib/libanubis.a  -lgnutls  -lgsasl  -lnsl -lwrap -lpam_misc 
-lpam -lpcre -lgpgme -lnsl 

error: conflicting function declarations "error"
old definition in module anubisusr file anubisusr.c line 59
void (const char *fmt, ...)
new definition in module xalloc-die file error.h line 42
void (signed int, signed int, const char *, ...)
Makefile:741: recipe for target 'anubisusr' failed
make[4]: *** [anubisusr] Error 64
make[4]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-anubis/anubis-4.1.1+dfsg1/src'
Makefile:616: recipe for target 'all' failed
make[3]: *** [all] Error 2

The linker will be forced to pick one of the following definitions:

http://sources.debian.net/src/anubis/4.1.1%2Bdfsg1-3.2/lib/error.c?hl=227#L226
http://sources.debian.net/src/anubis/4.1.1+dfsg1-3.2/src/anubisusr.c?hl=59#L48

With either choice, some of the function calls will necessarily break as either
a pointer will be used as integer value, or, worse, an integer will be
dereferenced.

Best,
Michael

Attachment: pgp83gOE0FPh2.pgp
Description: PGP signature

Reply via email to