Source: tcptrack
Version: 1.4.2-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Werror
> -Wno-deprecated -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -c -o TextUI.o
> TextUI.cc
> TextUI.cc: In member function ‘void TextUI::drawui()’:
> TextUI.cc:312:34: error: format ‘%d’ expects argument of type ‘int’, but
> argument 2 has type ‘time_t’ {aka ‘long int’} [-Werror=format=]
> 312 | printw("%ds",ic->getIdleSeconds());
> | ~^ ~~~~~~~~~~~~~~~~~~~~
> | | |
> | int time_t {aka
> long int}
> | %ld
> TextUI.cc:314:34: error: format ‘%d’ expects argument of type ‘int’, but
> argument 2 has type ‘time_t’ {aka ‘long int’} [-Werror=format=]
> 314 | printw("%dm",ic->getIdleSeconds()/60);
> | ~^ ~~~~~~~~~~~~~~~~~~~~~~~
> | | |
> | int time_t {aka
> long int}
> | %ld
> TextUI.cc:316:34: error: format ‘%d’ expects argument of type ‘int’, but
> argument 2 has type ‘time_t’ {aka ‘long int’} [-Werror=format=]
> 316 | printw("%dh",ic->getIdleSeconds()/3600);
> | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~
> | | |
> | int time_t {aka
> long int}
> | %ld
> cc1plus: all warnings being treated as errors
> make[3]: *** [Makefile:323: TextUI.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2021/10/23/tcptrack_1.4.2-2_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 mine
so that we can identify if something relevant changed in the meantime.