Source: pamix
Version: 1.6~git20180112.ea4ab3b-3
Severity: serious
Tags: ftbfs

pamix fails to build from source in unstable on amd64, because ncurses
added format string annotations to some functions. A non-parallel build
now ends as follows:

| [ 53%] Building CXX object CMakeFiles/pamix.dir/src/pamix_ui.cpp.o
| /usr/bin/c++ -DFEAT_UNICODE -I"/<<PKGBUILDDIR>>/include" -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -MD -MT 
CMakeFiles/pamix.dir/src/pamix_ui.cpp.o -MF 
CMakeFiles/pamix.dir/src/pamix_ui.cpp.o.d -o 
CMakeFiles/pamix.dir/src/pamix_ui.cpp.o -c "/<<PKGBUILDDIR>>/src/pamix_ui.cpp"
| /<<PKGBUILDDIR>>/src/pamix_ui.cpp: In member function ‘void 
pamix_ui::redrawAll()’:
| /<<PKGBUILDDIR>>/src/pamix_ui.cpp:106:52: error: format not a string literal 
and no format arguments [-Werror=format-security]
|   106 |   mvprintw(lineNumber++, 1, applicationName.c_str());
|       |                                                    ^
| /<<PKGBUILDDIR>>/src/pamix_ui.cpp:124:64: error: format not a string literal 
and no format arguments [-Werror=format-security]
|   124 |   mvprintw(curY, curX + remainingChars + 1, displayName.c_str());
|       |                                                                ^
| /<<PKGBUILDDIR>>/src/pamix_ui.cpp: In member function ‘void 
pamix_ui::drawHeader() const’:
| /<<PKGBUILDDIR>>/src/pamix_ui.cpp:187:22: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 5 has type ‘std::map<unsigned int, 
std::unique_ptr<Entry> >::size_type’ {aka ‘long unsigned int’} [-Wformat=]
|   187 |  mvprintw(0, 1, "%d/%d", m_Entries->empty() ? 0 : m_SelectedEntry + 
1, m_Entries->size());
|       |                     ~^                                                
 ~~~~~~~~~~~~~~~~~
|       |                      |                                                
                |
|       |                      int                                              
                std::map<unsigned int, std::unique_ptr<Entry> >::size_type {aka 
long unsigned int}
|       |                     %ld
| cc1plus: some warnings being treated as errors
| make[3]: *** [CMakeFiles/pamix.dir/build.make:163: 
CMakeFiles/pamix.dir/src/pamix_ui.cpp.o] Error 1
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| make[2]: *** [CMakeFiles/Makefile2:86: CMakeFiles/pamix.dir/all] Error 2
| make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| make[1]: *** [Makefile:139: all] Error 2
| make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
| dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j1 "INSTALL=install 
--strip-program=true" VERBOSE=1 returned exit code 2
| make: *** [debian/rules:7: build] Error 25
| dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Helmut

Reply via email to