Source: httping
Version: 2.5-5.1
Severity: serious
Tags: ftbfs

httping fails to build from source in unstable on amd64. A non-parallel
build ends as follows:

| x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wextra 
-pedantic -D_FORTIFY_SOURCE=2  -DVERSION=\"2.5\" 
-DLOCALEDIR=\"/usr/share/locale\" -DTCP_TFO -DNC -DFW -D_DEBUG -ggdb 
-Wdate-time -D_FORTIFY_SOURCE=2  -c -o nc.o nc.c
| nc.c: In function ‘myprint’:
| nc.c:238:3: error: format not a string literal and no format arguments 
[-Werror=format-security]
|   238 |   wprintw(w, what);
|       |   ^~~~~~~
| nc.c: In function ‘draw_graph’:
| nc.c:611:24: warning: unused parameter ‘val’ [-Wunused-parameter]
|   611 | void draw_graph(double val)
|       |                 ~~~~~~~^~~
| nc.c: In function ‘status_line’:
| nc.c:389:2: warning: ignoring return value of ‘vasprintf’ declared with 
attribute ‘warn_unused_result’ [-Wunused-result]
|   389 |  vasprintf(&line, fmt, ap);
|       |  ^~~~~~~~~~~~~~~~~~~~~~~~~
| cc1: some warnings being treated as errors
| make[1]: *** [<builtin>: nc.o] Error 1
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_build: error: make -j1 returned exit code 2
| make: *** [debian/rules:10: build] Error 25
| dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

This is likely caused by ncurses adding format string annotations.

Helmut

Reply via email to