Source: ettercap Version: 1:0.8.3.1-3 Severity: serious Tags: ftbfs ettercap fails to build from source in unstable on amd64, because ncurses added format string annotations. A build now ends as follows:
| [ 4%] Building C object src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_compound.c.o | cd /<<PKGBUILDDIR>>/obj-text-only/src/interfaces && /usr/bin/cc -Dec_interfaces_EXPORTS -I/<<PKGBUILDDIR>>/obj-text-only/include -I/<<PKGBUILDDIR>>/include -I/usr/include/ncurses -I/<<PKGBUILDDIR>>/src/interfaces/text -I/<<PKGBUILDDIR>>/src/interfaces/daemon -I/<<PKGBUILDDIR>>/src/interfaces/curses -I/<<PKGBUILDDIR>>/src/interfaces/curses/widgets -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG -fPIC -MD -MT src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_compound.c.o -MF CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_compound.c.o.d -o CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_compound.c.o -c /<<PKGBUILDDIR>>/src/interfaces/curses/widgets/wdg_compound.c | /<<PKGBUILDDIR>>/src/interfaces/curses/widgets/wdg_compound.c: In function ‘wdg_compound_border’: | /<<PKGBUILDDIR>>/src/interfaces/curses/widgets/wdg_compound.c:381:7: error: format not a string literal and no format arguments [-Werror=format-security] | 381 | wprintw(ww->win, wo->title); | | ^~~~~~~ | cc1: some warnings being treated as errors | make[4]: *** [src/interfaces/CMakeFiles/ec_interfaces.dir/build.make:205: src/interfaces/CMakeFiles/ec_interfaces.dir/curses/widgets/wdg_compound.c.o] Error 1 | make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-text-only' | make[3]: *** [CMakeFiles/Makefile2:651: src/interfaces/CMakeFiles/ec_interfaces.dir/all] Error 2 | make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-text-only' | make[2]: *** [Makefile:149: all] Error 2 | make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-text-only' | dh_auto_build: error: cd obj-text-only && make -j1 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2 | make[1]: *** [debian/rules:43: override_dh_auto_build-text-only] Error 25 | make[1]: Leaving directory '/<<PKGBUILDDIR>>' | make: *** [debian/rules:4: binary] Error 2 | dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 Helmut