Source: labrea Version: 2.5-stable-3 Severity: serious Justification: FTBFS on amd64 Tags: buster sid Usertags: ftbfs-20200222 ftbfs-buster
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../inc -I- -I/usr/include > -I/usr/include -Wall -g -O2 -Wall -MT labrea_init.o -MD -MP -MF > ".deps/labrea_init.Tpo" \ > -c -o labrea_init.o `test -f 'labrea_init.c' || echo './'`labrea_init.c; \ > then mv -f ".deps/labrea_init.Tpo" ".deps/labrea_init.Po"; \ > else rm -f ".deps/labrea_init.Tpo"; exit 1; \ > fi > cc1: note: obsolete option ‘-I-’ used, please use ‘-iquote’ instead > In file included from labrea_init.c:51: > ../inc/pcaputil.h:18:10: error: conflicting types for ‘pcap_open’ > 18 | pcap_t * pcap_open(char *device); > | ^~~~~~~~~ > In file included from /usr/include/pcap.h:43, > from ../inc/pcaputil.h:12, > from labrea_init.c:51: > /usr/include/pcap/pcap.h:859:18: note: previous declaration of ‘pcap_open’ > was here > 859 | PCAP_API pcap_t *pcap_open(const char *source, int snaplen, int flags, > | ^~~~~~~~~ > labrea_init.c: In function ‘build_bpf_filter’: > labrea_init.c:126:20: warning: pointer targets in passing argument 1 of > ‘strlen’ differ in signedness [-Wpointer-sign] > 126 | int len = strlen(texpr); > | ^~~~~ > | | > | u_char * {aka unsigned char *} > In file included from labrea_init.c:29: > /usr/include/string.h:385:35: note: expected ‘const char *’ but argument is > of type ‘u_char *’ {aka ‘unsigned char *’} > 385 | extern size_t strlen (const char *__s) > | ~~~~~~~~~~~~^~~ > labrea_init.c:130:15: warning: pointer targets in passing argument 1 of > ‘strlcpy’ differ in signedness [-Wpointer-sign] > 130 | if (strlcpy(p, chunk, len) >= len) { > | ^ > | | > | u_char * {aka unsigned char *} > In file included from labrea_init.c:26: > ../config.h:123:17: note: expected ‘char *’ but argument is of type ‘u_char > *’ {aka ‘unsigned char *’} > 123 | size_t strlcpy(char *, const char *, size_t); > | ^~~~~~ > labrea_init.c:130:18: warning: pointer targets in passing argument 2 of > ‘strlcpy’ differ in signedness [-Wpointer-sign] > 130 | if (strlcpy(p, chunk, len) >= len) { > | ^~~~~ > | | > | const u_char * {aka const unsigned char *} > In file included from labrea_init.c:26: > ../config.h:123:25: note: expected ‘const char *’ but argument is of type > ‘const u_char *’ {aka ‘const unsigned char *’} > 123 | size_t strlcpy(char *, const char *, size_t); > | ^~~~~~~~~~~~ > labrea_init.c: In function ‘read_number’: > labrea_init.c:165:16: warning: pointer targets in passing argument 2 of > ‘strlcpy’ differ in signedness [-Wpointer-sign] > 165 | strlcpy(buf, p, sizeof(buf)); /* Copy, watching for buffer > overflow */ > | ^ > | | > | u_char * {aka unsigned char *} > In file included from labrea_init.c:26: > ../config.h:123:25: note: expected ‘const char *’ but argument is of type > ‘u_char *’ {aka ‘unsigned char *’} > 123 | size_t strlcpy(char *, const char *, size_t); > | ^~~~~~~~~~~~ > labrea_init.c: In function ‘labrea_init’: > labrea_init.c:375:28: warning: pointer targets in passing argument 1 of > ‘read_number’ differ in signedness [-Wpointer-sign] > 375 | io.intf_num = read_number(optarg); > | ^~~~~~ > | | > | char * > labrea_init.c:159:22: note: expected ‘u_char *’ {aka ‘unsigned char *’} but > argument is of type ‘char *’ > 159 | read_number (u_char *p) > | ~~~~~~~~^ > labrea_init.c:423:38: warning: pointer targets in passing argument 1 of > ‘read_number’ differ in signedness [-Wpointer-sign] > 423 | ctl.throttlesize = read_number(optarg); > | ^~~~~~ > | | > | char * > labrea_init.c:159:22: note: expected ‘u_char *’ {aka ‘unsigned char *’} but > argument is of type ‘char *’ > 159 | read_number (u_char *p) > | ~~~~~~~~^ > labrea_init.c:426:30: warning: pointer targets in passing argument 1 of > ‘read_number’ differ in signedness [-Wpointer-sign] > 426 | ctl.rate = read_number(optarg); > | ^~~~~~ > | | > | char * > labrea_init.c:159:22: note: expected ‘u_char *’ {aka ‘unsigned char *’} but > argument is of type ‘char *’ > 159 | read_number (u_char *p) > | ~~~~~~~~^ > labrea_init.c:441:31: warning: pointer targets in passing argument 1 of > ‘read_number’ differ in signedness [-Wpointer-sign] > 441 | ctl.maxbw = read_number(optarg); > | ^~~~~~ > | | > | char * > labrea_init.c:159:22: note: expected ‘u_char *’ {aka ‘unsigned char *’} but > argument is of type ‘char *’ > 159 | read_number (u_char *p) > | ~~~~~~~~^ > labrea_init.c:462:32: warning: pointer targets in passing argument 1 of > ‘read_number’ differ in signedness [-Wpointer-sign] > 462 | ctl.syslog_port = read_number(optarg); > | ^~~~~~ > | | > | char * > labrea_init.c:159:22: note: expected ‘u_char *’ {aka ‘unsigned char *’} but > argument is of type ‘char *’ > 159 | read_number (u_char *p) > | ~~~~~~~~^ > labrea_init.c:475:36: warning: pointer targets in passing argument 1 of > ‘read_number’ differ in signedness [-Wpointer-sign] > 475 | ctl.debuglevel = read_number(optarg); > | ^~~~~~ > | | > | char * > labrea_init.c:159:22: note: expected ‘u_char *’ {aka ‘unsigned char *’} but > argument is of type ‘char *’ > 159 | read_number (u_char *p) > | ~~~~~~~~^ > labrea_init.c:543:22: warning: pointer targets in passing argument 1 of > ‘build_bpf_filter’ differ in signedness [-Wpointer-sign] > 543 | build_bpf_filter(texpr, bpf, BPFSIZE); > | ^~~~~ > | | > | char * > labrea_init.c:123:26: note: expected ‘u_char *’ {aka ‘unsigned char *’} but > argument is of type ‘char *’ > 123 | build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) > | ~~~~~~~~^~~~~ > labrea_init.c:543:29: warning: pointer targets in passing argument 2 of > ‘build_bpf_filter’ differ in signedness [-Wpointer-sign] > 543 | build_bpf_filter(texpr, bpf, BPFSIZE); > | ^~~ > | | > | char * > labrea_init.c:123:47: note: expected ‘const u_char *’ {aka ‘const unsigned > char *’} but argument is of type ‘char *’ > 123 | build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) > | ~~~~~~~~~~~~~~^~~~~ > labrea_init.c:553:24: warning: pointer targets in passing argument 1 of > ‘build_bpf_filter’ differ in signedness [-Wpointer-sign] > 553 | build_bpf_filter(texpr, " or (", BPFSIZE); > | ^~~~~ > | | > | char * > labrea_init.c:123:26: note: expected ‘u_char *’ {aka ‘unsigned char *’} but > argument is of type ‘char *’ > 123 | build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) > | ~~~~~~~~^~~~~ > labrea_init.c:553:31: warning: pointer targets in passing argument 2 of > ‘build_bpf_filter’ differ in signedness [-Wpointer-sign] > 553 | build_bpf_filter(texpr, " or (", BPFSIZE); > | ^~~~~~~ > | | > | char * > labrea_init.c:123:47: note: expected ‘const u_char *’ {aka ‘const unsigned > char *’} but argument is of type ‘char *’ > 123 | build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) > | ~~~~~~~~~~~~~~^~~~~ > labrea_init.c:556:19: warning: pointer targets in passing argument 1 of > ‘build_bpf_filter’ differ in signedness [-Wpointer-sign] > 556 | build_bpf_filter(texpr, argv[c], BPFSIZE); /* tack on another > argument */ > | ^~~~~ > | | > | char * > labrea_init.c:123:26: note: expected ‘u_char *’ {aka ‘unsigned char *’} but > argument is of type ‘char *’ > 123 | build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) > | ~~~~~~~~^~~~~ > labrea_init.c:556:30: warning: pointer targets in passing argument 2 of > ‘build_bpf_filter’ differ in signedness [-Wpointer-sign] > 556 | build_bpf_filter(texpr, argv[c], BPFSIZE); /* tack on another > argument */ > | ~~~~^~~ > | | > | char * > labrea_init.c:123:47: note: expected ‘const u_char *’ {aka ‘const unsigned > char *’} but argument is of type ‘char *’ > 123 | build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) > | ~~~~~~~~~~~~~~^~~~~ > labrea_init.c:558:24: warning: pointer targets in passing argument 1 of > ‘build_bpf_filter’ differ in signedness [-Wpointer-sign] > 558 | build_bpf_filter(texpr, ")", BPFSIZE); > | ^~~~~ > | | > | char * > labrea_init.c:123:26: note: expected ‘u_char *’ {aka ‘unsigned char *’} but > argument is of type ‘char *’ > 123 | build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) > | ~~~~~~~~^~~~~ > labrea_init.c:558:31: warning: pointer targets in passing argument 2 of > ‘build_bpf_filter’ differ in signedness [-Wpointer-sign] > 558 | build_bpf_filter(texpr, ")", BPFSIZE); > | ^~~ > | | > | char * > labrea_init.c:123:47: note: expected ‘const u_char *’ {aka ‘const unsigned > char *’} but argument is of type ‘char *’ > 123 | build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) > | ~~~~~~~~~~~~~~^~~~~ > labrea_init.c:568:21: warning: pointer targets in passing argument 1 of > ‘build_bpf_filter’ differ in signedness [-Wpointer-sign] > 568 | build_bpf_filter(texpr, " or (", BPFSIZE); > | ^~~~~ > | | > | char * > labrea_init.c:123:26: note: expected ‘u_char *’ {aka ‘unsigned char *’} but > argument is of type ‘char *’ > 123 | build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) > | ~~~~~~~~^~~~~ > labrea_init.c:568:28: warning: pointer targets in passing argument 2 of > ‘build_bpf_filter’ differ in signedness [-Wpointer-sign] > 568 | build_bpf_filter(texpr, " or (", BPFSIZE); > | ^~~~~~~ > | | > | char * > labrea_init.c:123:47: note: expected ‘const u_char *’ {aka ‘const unsigned > char *’} but argument is of type ‘char *’ > 123 | build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) > | ~~~~~~~~~~~~~~^~~~~ > labrea_init.c:573:25: warning: pointer targets in passing argument 1 of > ‘build_bpf_filter’ differ in signedness [-Wpointer-sign] > 573 | build_bpf_filter(texpr, mybuffer, BPFSIZE); > | ^~~~~ > | | > | char * > labrea_init.c:123:26: note: expected ‘u_char *’ {aka ‘unsigned char *’} but > argument is of type ‘char *’ > 123 | build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) > | ~~~~~~~~^~~~~ > labrea_init.c:573:32: warning: pointer targets in passing argument 2 of > ‘build_bpf_filter’ differ in signedness [-Wpointer-sign] > 573 | build_bpf_filter(texpr, mybuffer, BPFSIZE); > | ^~~~~~~~ > | | > | char * > labrea_init.c:123:47: note: expected ‘const u_char *’ {aka ‘const unsigned > char *’} but argument is of type ‘char *’ > 123 | build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) > | ~~~~~~~~~~~~~~^~~~~ > labrea_init.c:576:23: warning: pointer targets in passing argument 1 of > ‘build_bpf_filter’ differ in signedness [-Wpointer-sign] > 576 | build_bpf_filter(texpr, ")", BPFSIZE); > | ^~~~~ > | | > | char * > labrea_init.c:123:26: note: expected ‘u_char *’ {aka ‘unsigned char *’} but > argument is of type ‘char *’ > 123 | build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) > | ~~~~~~~~^~~~~ > labrea_init.c:576:30: warning: pointer targets in passing argument 2 of > ‘build_bpf_filter’ differ in signedness [-Wpointer-sign] > 576 | build_bpf_filter(texpr, ")", BPFSIZE); > | ^~~ > | | > | char * > labrea_init.c:123:47: note: expected ‘const u_char *’ {aka ‘const unsigned > char *’} but argument is of type ‘char *’ > 123 | build_bpf_filter(u_char *texpr, const u_char *chunk, const size_t siz) > | ~~~~~~~~~~~~~~^~~~~ > labrea_init.c:670:13: warning: pointer targets in passing argument 1 of > ‘lbio_init’ differ in signedness [-Wpointer-sign] > 670 | lbio_init(dev, texpr); > | ^~~ > | | > | char * > In file included from labrea_init.c:54: > ../inc/lbio.h:66:25: note: expected ‘u_char *’ {aka ‘unsigned char *’} but > argument is of type ‘char *’ > 66 | void lbio_init(u_char *dev, u_char *texpr); > | ~~~~~~~~^~~ > labrea_init.c:670:18: warning: pointer targets in passing argument 2 of > ‘lbio_init’ differ in signedness [-Wpointer-sign] > 670 | lbio_init(dev, texpr); > | ^~~~~ > | | > | char * > In file included from labrea_init.c:54: > ../inc/lbio.h:66:38: note: expected ‘u_char *’ {aka ‘unsigned char *’} but > argument is of type ‘char *’ > 66 | void lbio_init(u_char *dev, u_char *texpr); > | ~~~~~~~~^~~~~ > make[3]: *** [Makefile:235: labrea_init.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2020/02/22/labrea_2.5-stable-3_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.