Source: dsniff
Version: 2.4b1+debian-29
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210120 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE 
> -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H 
> -DDSNIFF_LIBDIR=\"/usr/lib/x86_64-linux-gnu/\" -Wdate-time 
> -D_FORTIFY_SOURCE=2 -I. -I/usr/include -I/usr/include -I/usr/include 
> -I/usr/include -I/usr/include  -I./missing -c ./pcaputil.c
> In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25,
>                  from /usr/include/x86_64-linux-gnu/sys/param.h:25,
>                  from ./pcaputil.c:11:
> /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and 
> _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>   187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use 
> _DEFAULT_SOURCE"
>       |   ^~~~~~~
> In file included from ./pcaputil.c:24:
> ./pcaputil.h:14:9: error: conflicting types for ‘pcap_init’
>    14 | pcap_t *pcap_init(char *intf, char *filter, int snaplen);
>       |         ^~~~~~~~~
> In file included from /usr/include/pcap.h:43,
>                  from ./pcaputil.c:19:
> /usr/include/pcap/pcap.h:386:14: note: previous declaration of ‘pcap_init’ 
> was here
>   386 | PCAP_API int pcap_init(unsigned int, char *);
>       |              ^~~~~~~~~
> ./pcaputil.c:66:1: error: conflicting types for ‘pcap_init’
>    66 | pcap_init(char *intf, char *filter, int snaplen)
>       | ^~~~~~~~~
> In file included from /usr/include/pcap.h:43,
>                  from ./pcaputil.c:19:
> /usr/include/pcap/pcap.h:386:14: note: previous declaration of ‘pcap_init’ 
> was here
>   386 | PCAP_API int pcap_init(unsigned int, char *);
>       |              ^~~~~~~~~
> ./pcaputil.c: In function ‘pcap_init’:
> ./pcaputil.c:73:2: warning: ‘pcap_lookupdev’ is deprecated: use 
> 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
>    73 |  if (intf == NULL && (intf = pcap_lookupdev(ebuf)) == NULL) {
>       |  ^~
> In file included from /usr/include/pcap.h:43,
>                  from ./pcaputil.c:19:
> /usr/include/pcap/pcap.h:394:16: note: declared here
>   394 | PCAP_API char *pcap_lookupdev(char *)
>       |                ^~~~~~~~~~~~~~
> make[1]: *** [Makefile:78: pcaputil.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2021/01/20/dsniff_2.4b1+debian-29_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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

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.

Reply via email to