[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#996483: mp3blaster FTBFS: error: format not a string literal and no format arguments [-Werror=format-security]



Source: mp3blaster
Version: 1:3.2.6-2
Severity: serious
Tags: ftbfs

mp3blaster fails to build from source in unstable due to ncurses having
gained format string annotations. A non-parallel build now ends as
follows:

| g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncurses -I. -I/usr/include  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wdate-time -D_FORTIFY_SOURCE=2  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++98 -c -o nullmixer.o nullmixer.cc
| nmixer.cc: In member function ‘void NMixer::DrawScrollbar(short int, int)’:
| nmixer.cc:219:26: error: format not a string literal and no format arguments [-Werror=format-security]
|   219 |                 mvwprintw(mixwin, my_y - 1, my_x, (char*)source);
|       |                 ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| cc1plus: some warnings being treated as errors
| make[3]: *** [Makefile:445: nmixer.o] Error 1
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/nmixer'
| make[2]: *** [Makefile:457: all-recursive] Error 1
| make[2]: Leaving directory '/<<PKGBUILDDIR>>'
| make[1]: *** [Makefile:355: all] Error 2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_build: error: make -j8 returned exit code 2
| make: *** [debian/rules:9: binary] Error 25
| dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Helmut


Reply to: