Package: nstreams
Version: 1.0.4-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 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -I/usr/include/pcap  -I/usr/include 
-I/srv/jenkins-slave/workspace/sid-goto-cc-nstreams/nstreams-1.0.4/includes 
nstreams.o parse_tcpdump.o config_rules.o ports.o cache.o networks.o output.o 
read_pcap.o  -o nstreams -lpcap -Wl,-z,relro

warning: implicit function declaration "int2proto"
error: conflicting function declarations "parse_pcap_entry"
old definition in module nstreams file read_pcap.h line 4
struct tcpdump * (char *)
new definition in module read_pcap file read_pcap.c line 52
struct tcpdump * (unsigned char *data)
Makefile:11: recipe for target 'nstreams' failed
make[2]: *** [nstreams] Error 64

It seems the declaration in read_pcap.h should be cleaned up to match the actual
definition in order to enable appropriate compiler 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: pgp4bB9Pcd7rM.pgp
Description: PGP signature

Reply via email to