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

Bug#997161: ecasound: FTBFS: ecasignalview.cpp:354:13: error: format not a string literal and no format arguments [-Werror=format-security]



Source: ecasound
Version: 2.9.3-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> /bin/bash ../libtool  --tag=CC   --mode=link gcc -ffast-math -fstrict-aliasing -DNDEBUG -DENABLE_DBC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -o ecalength ecalength.o ../libecasoundc/libecasoundc.la -lasound -ldl -lm -lpthread 
> libtool: link: g++ -ffast-math -fstrict-aliasing -std=c++98 -DNDEBUG -DENABLE_DBC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/ecaconvert ecaconvert.o ecicpp_helpers.o  ../libecasoundc/.libs/libecasoundc.so ../kvutils/.libs/libkvutils.a -lasound -ldl -lm -lpthread
> ecasignalview.cpp: In function ‘void ecasv_output_init()’:
> ecasignalview.cpp:354:13: error: format not a string literal and no format arguments [-Werror=format-security]
>   354 |     mvprintw(r++, 0, bar);
>       |     ~~~~~~~~^~~~~~~~~~~~~
> ecasignalview.cpp:360:13: error: format not a string literal and no format arguments [-Werror=format-security]
>   360 |     mvprintw(r++, 0, bar);
>       |     ~~~~~~~~^~~~~~~~~~~~~
> libtool: link: gcc -ffast-math -fstrict-aliasing -DNDEBUG -DENABLE_DBC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/ecalength ecalength.o  ../libecasoundc/.libs/libecasoundc.so -lasound -ldl -lm -lpthread
> /bin/bash ../libtool  --tag=CXX   --mode=link g++ -ffast-math -fstrict-aliasing -std=c++98 -DNDEBUG -DENABLE_DBC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -o ecanormalize ecanormalize.o ecicpp_helpers.o ../libecasoundc/libecasoundc.la ../kvutils/libkvutils.la -lasound -ldl -lm -lpthread 
> /bin/bash ../libtool  --tag=CC   --mode=link gcc -ffast-math -fstrict-aliasing -DNDEBUG -DENABLE_DBC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -o ecaplay ecaplay.o ../libecasoundc/libecasoundc.la -lasound -ldl -lm -lpthread 
> /bin/bash ../libtool  --tag=CXX   --mode=link g++ -ffast-math -fstrict-aliasing -std=c++98 -DNDEBUG -DENABLE_DBC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -o ecafixdc ecafixdc.o ecicpp_helpers.o ../libecasoundc/libecasoundc.la ../kvutils/libkvutils.la -lasound -ldl -lm -lpthread 
> libtool: link: gcc -ffast-math -fstrict-aliasing -DNDEBUG -DENABLE_DBC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/ecaplay ecaplay.o  ../libecasoundc/.libs/libecasoundc.so -lasound -ldl -lm -lpthread
> libtool: link: g++ -ffast-math -fstrict-aliasing -std=c++98 -DNDEBUG -DENABLE_DBC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/ecanormalize ecanormalize.o ecicpp_helpers.o  ../libecasoundc/.libs/libecasoundc.so ../kvutils/.libs/libkvutils.a -lasound -ldl -lm -lpthread
> libtool: link: g++ -ffast-math -fstrict-aliasing -std=c++98 -DNDEBUG -DENABLE_DBC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/ecafixdc ecafixdc.o ecicpp_helpers.o  ../libecasoundc/.libs/libecasoundc.so ../kvutils/.libs/libkvutils.a -lasound -ldl -lm -lpthread
> cc1plus: some warnings being treated as errors
> make[4]: *** [Makefile:707: ecasignalview.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/ecasound_2.9.3-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.


Reply to: