Source: xprobe
Version: 0.3-5
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20220728 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -Wformat -Werror=format-security -fPIC -I/usr/include/pcap -I. -Wall -c -O2
> Layer2.cc
> TX_IP.cc: In member function ‘virtual int usipp::TX_IP::sendpack(void*,
> size_t, sockaddr*)’:
> TX_IP.cc:33:5: warning: this ‘if’ clause does not guard...
> [-Wmisleading-indentation]
> 33 | if (tx_timeout != false)
> | ^~
> TX_IP.cc:37:9: note: ...this statement, but the latter is misleadingly
> indented as if it were guarded by the ‘if’
> 37 | int r;
> | ^~~
> misc.cc: In function ‘short unsigned int usipp::in_cksum(short unsigned int*,
> int, bool)’:
> misc.cc:21:17: warning: ISO C++17 does not allow ‘register’ storage class
> specifier [-Wregister]
> 21 | register long sum; /* assumes long == 32 bits */
> | ^~~
> misc.cc:23:20: warning: ISO C++17 does not allow ‘register’ storage class
> specifier [-Wregister]
> 23 | register u_short answer; /* assumes u_short == 16 bits */
> | ^~~~~~
> tcp.cc: In constructor ‘usipp::TCP::TCP(const char*)’:
> tcp.cc:31:15: error: ‘time’ was not declared in this scope
> 31 | srand(time(NULL));
> | ^~~~
> tcp.cc:18:1: note: ‘time’ is defined in header ‘<ctime>’; did you forget to
> ‘#include <ctime>’?
> 17 | #include <stdlib.h>
> +++ |+#include <ctime>
> 18 | #include <errno.h>
> udp.cc: In member function ‘virtual int usipp::UDP::init_device(char*, int,
> size_t)’:
> udp.cc:217:31: warning: ISO C++ forbids converting a string constant to
> ‘char*’ [-Wwrite-strings]
> 217 | r = Layer2::setfilter("udp");
> | ^~~~~
> datalink.cc: In member function ‘virtual int usipp::Pcap::sniffpack(void*,
> size_t)’:
> datalink.cc:344:25: error: ‘time’ was not declared in this scope
> 344 | start = time(NULL);
> | ^~~~
> tcp.cc: In member function ‘virtual int usipp::TCP::init_device(char*, int,
> size_t)’:
> tcp.cc:321:31: warning: ISO C++ forbids converting a string constant to
> ‘char*’ [-Wwrite-strings]
> 321 | r = Layer2::setfilter("tcp");
> | ^~~~~
> datalink.cc:19:1: note: ‘time’ is defined in header ‘<ctime>’; did you forget
> to ‘#include <ctime>’?
> 18 | #include <sys/ioctl.h>
> +++ |+#include <ctime>
> 19 |
> datalink.cc:356:30: error: ‘time’ was not declared in this scope
> 356 | if ((time(NULL) - start) > d_tv.tv_sec) {
> | ^~~~
> datalink.cc:356:30: note: ‘time’ is defined in header ‘<ctime>’; did you
> forget to ‘#include <ctime>’?
> make[2]: *** [Makefile:27: datalink.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/07/28/xprobe_0.3-5_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220728;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220728&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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 mine
so that we can identify if something relevant changed in the meantime.