Source: liboping
Version: 1.10.0-4
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):
> gcc -DHAVE_CONFIG_H -I. -DUSE_NCURSES=1 -D_DEFAULT_SOURCE
> -D_XOPEN_SOURCE=600 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -c -o noping-oping.o `test -f 'oping.c' || echo
> './'`oping.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2
> -Wall -Werror -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -c liboping.c
> -fPIC -DPIC -o .libs/liboping_la-liboping.o
> oping.c: In function ‘update_graph_prettyping’:
> oping.c:1159:25: error: format not a string literal and no format arguments
> [-Werror=format-security]
> 1159 | mvwprintw (ctx->window, /* y = */ y_max, /* x
> = */ x + 2, symbol);
> | ^~~~~~~~~
> oping.c: In function ‘update_graph_histogram’:
> oping.c:1265:41: error: format not a string literal and no format arguments
> [-Werror=format-security]
> 1265 | hist_symbols_utf8[index]);
> | ^~~~~~~~~~~~~~~~~
> oping.c: In function ‘update_host_hook’:
> oping.c:1640:38: error: too many arguments for format
> [-Werror=format-extra-args]
> 1640 | HOST_PRINTF ("%zu bytes from %s (%s):
> icmp_seq=%u ttl=%i ",
> |
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> oping.c:1617:45: note: in definition of macro ‘HOST_PRINTF’
> 1617 | # define HOST_PRINTF(...) wprintw(main_win, __VA_ARGS__)
> | ^~~~~~~~~~~
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2
> -Wall -Werror -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -c liboping.c -o
> liboping_la-liboping.o >/dev/null 2>&1
> cc1: all warnings being treated as errors
> make[4]: *** [Makefile:598: noping-oping.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2021/10/23/liboping_1.10.0-4_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.