This is fixed in: https://github.com/jaymzh/iptstate/commit/9c6b31162c2c8c5bad25ac5266ec98ce932685e2
I'll try to get a release out the door soon, but the maintainer might want to pull in the commit in the meantime.
On 9/13/21 6:33 AM, Helmut Grohne wrote:
Source: iptstate Version: 2.2.6-1 Severity: serious Tags: ftbfs iptstate fails to build from source in unstable. A build ends as follows: | g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security iptstate.cc -o iptstate -lncurses -lnetfilter_conntrack | iptstate.cc: In function ‘void get_input(WINDOW*, std::string&, const string&, const flags_t&)’: | iptstate.cc:685:30: error: format not a string literal and no format arguments [-Werror=format-security] | 685 | wprintw(cmd, prompt.c_str()); | | ^ | iptstate.cc: In function ‘void c_warn(WINDOW*, const string&, const flags_t&)’: | iptstate.cc:750:32: error: format not a string literal and no format arguments [-Werror=format-security] | 750 | wprintw(warn, warning.c_str()); | | ^ | iptstate.cc: In function ‘int conntrack_hook(nf_conntrack_msg_type, nf_conntrack*, void*)’: | iptstate.cc:1002:30: warning: ‘:’ directive output may be truncated writing 1 byte into a region of size between 0 and 5 [-Wformat-truncation=] | 1002 | snprintf(ttlc,11, "%3i:%02i:%02i", hours, minutes, seconds); | | ^ | iptstate.cc:1002:21: note: directive argument in the range [-59, 59] | 1002 | snprintf(ttlc,11, "%3i:%02i:%02i", hours, minutes, seconds); | | ^~~~~~~~~~~~~~~ | iptstate.cc:1002:11: note: ‘snprintf’ output between 10 and 16 bytes into a destination of size 11 | 1002 | snprintf(ttlc,11, "%3i:%02i:%02i", hours, minutes, seconds); | | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | cc1plus: some warnings being treated as errors | make[1]: *** [Makefile:34: iptstate] Error 1 | make[1]: Leaving directory '/<<PKGBUILDDIR>>' | dh_auto_build: error: make -j1 returned exit code 2 | make: *** [debian/rules:4: build] Error 25 | dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 Helmut
-- Phil Dibowitz p...@ipom.com Open Source software and tech docs Insanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ "Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind." - Dr. Seuss