Thank you folkert. I will be very happy to take the patch, if you have 
committed in upstream repo. :)


--abhijith 


On 03/10/21 07:49 PM, folkert wrote:
> replace it by:
> 
> wprintw(w, "%s", what);
> 
> On Sun, Oct 03, 2021 at 07:48:19AM +0200, Helmut Grohne wrote:
> > 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
> 
> 
> Folkert van Heusden
> 
> -- 
> MultiTail ist eine flexible Applikation um Logfiles und Kommando
> Eingaben zu überprüfen. Inkl. Filter, Farben, Zusammenführen,
> Ansichten etc. http://www.vanheusden.com/multitail/
> ----------------------------------------------------------------------
> Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

Reply via email to