Package: radiusd-livingston
Version: 2.1-20
Severity: wishlist
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.

[...]
gcc -g -Wall -O2 -DBERKELEY_DB  -o Linux_Deb/radiusd ./Linux_Deb/radiusd.o 
./Linux_Deb/acct.o ./Linux_Deb/dict.o ./Linux_Deb/ipass.o ./Linux_Deb/vports.o 
./Linux_Deb/log.o ./Linux_Deb/md5.o ./Linux_Deb/menu.o ./Linux_Deb/proxy.o 
./Linux_Deb/users.o ./Linux_Deb/util.o ./Linux_Deb/pass.o ./Linux_Deb/version.o 
-lcrypt -ldb

error: conflicting function declarations "req2str"
old definition in module proxy file ./proxy.c line 89
void ()
new definition in module util file ./util.c line 293
char * (char *buffer, struct auth_req *authreq)
Makefile:137: recipe for target 'Linux_Deb/radiusd' failed
make[1]: *** [Linux_Deb/radiusd] Error 64
make[1]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-radiusd-livingston/radiusd-livingston-2.1/src'
debian/rules:23: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 2

It seems (at least) the return type of the forward declaration of req2str should
be fixed here

http://sources.debian.net/src/radiusd-livingston/2.1-20/src/proxy.c?hl=89#L89

to match its definition:

http://sources.debian.net/src/radiusd-livingston/2.1-20/src/util.c?hl=292,293#L292

As, however, the return value appears to be redundant, this should not cause
actual problems at present.

Best,
Michael

Attachment: pgp2PARsMhxwu.pgp
Description: PGP signature

Reply via email to