Source: crazydiskinfo Version: 1.1.0-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): > /usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -MD -MT CMakeFiles/CrazyDiskInfo.dir/main.cpp.o -MF > CMakeFiles/CrazyDiskInfo.dir/main.cpp.o.d -o > CMakeFiles/CrazyDiskInfo.dir/main.cpp.o -c /<<PKGBUILDDIR>>/main.cpp > /<<PKGBUILDDIR>>/main.cpp: In function ‘void drawVersion(WINDOW*)’: > /<<PKGBUILDDIR>>/main.cpp:217:18: error: format not a string literal and no > format arguments [-Werror=format-security] > 217 | mvwprintw(window, 0, (width - title.length()) / 2, > title.c_str()); > | > ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/main.cpp: In function ‘void drawDeviceBar(WINDOW*, const > std::vector<SMART>&, int)’: > /<<PKGBUILDDIR>>/main.cpp:235:53: warning: format ‘%f’ expects argument of > type ‘double’, but argument 5 has type ‘const std::pair<bool, double>’ > [-Wformat=] > 235 | mvwprintw(window, 1, x, "%.1f ", > smartList[i].temperature); > | ~~~^ > | | > | double > /<<PKGBUILDDIR>>/main.cpp:250:34: error: format not a string literal and no > format arguments [-Werror=format-security] > 250 | mvwprintw(window, 2, x, > smartList[i].deviceName.c_str()); > | > ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/main.cpp:259:34: error: format not a string literal and no > format arguments [-Werror=format-security] > 259 | mvwprintw(window, 2, x, > smartList[i].deviceName.c_str()); > | > ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/main.cpp: In function ‘void drawStatus(WINDOW*, const > SMART&, const Option&)’: > /<<PKGBUILDDIR>>/main.cpp:358:38: warning: format ‘%llu’ expects argument of > type ‘long long unsigned int’, but argument 3 has type ‘long unsigned int’ > [-Wformat=] > 358 | wprintw(window, " %llu ", > std::get<1>(smart.powerOnCount)); > | ~~~^ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | | > | | long unsigned int > | long long unsigned int > | %lu > /<<PKGBUILDDIR>>/main.cpp:375:38: warning: format ‘%llu’ expects argument of > type ‘long long unsigned int’, but argument 3 has type ‘long unsigned int’ > [-Wformat=] > 375 | wprintw(window, " %llu ", > std::get<1>(smart.powerOnHour)); > | ~~~^ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | | > | | long unsigned int > | long long unsigned int > | %lu > cc1plus: some warnings being treated as errors > make[3]: *** [CMakeFiles/CrazyDiskInfo.dir/build.make:79: > CMakeFiles/CrazyDiskInfo.dir/main.cpp.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2021/10/23/crazydiskinfo_1.1.0-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.