Package: netdiag
Version: 1.1-1
Severity: wishlist
Usertags: goto-cc
Tags: upstream

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.

[...]
gcc -o netwatch -g -O2 curs.o dispdata.o services.o netwatch.o processinetrc.o 
gh.o warning.o -lncurses 

error: conflicting function declarations "makeaddr"
old definition in module dispdata file dispdata.c line 211
void (char *, char *)
new definition in module netwatch file netwatch.c line 2475
void (unsigned char *naddr, char *ascii)
Makefile:23: recipe for target 'netwatch' failed
make[1]: *** [netwatch] Error 64
make[1]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-netdiag/netdiag-1.1/netwatch-1.0c'
debian/rules:32: recipe for target 'build-stamp' failed

It seems the forward declaration in dispdata.c is inconsistent with the actual
definition. This should be fixed in order to enable the compiler generate
appropriate diagnostics.

Best,
Michael

PS.: I believe this is an upstream issue, but the control file and thus PTS does
not provide any Homepage information.

Attachment: pgpSHCCI_lEzD.pgp
Description: PGP signature

Reply via email to