Package: tora Version: 2.1.3-2 Severity: important User: [email protected] Usertags: ftbfs-gcc-6 gcc-6-cannot-convert
This package fails to build with GCC 6. GCC 6 has not been released yet, but it's expected that GCC 6 will become the default compiler for stretch. Note that only the first error is reported; there might be more. You can find a snapshot of GCC 6 in experimental. To build with GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly. > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux ... > cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/g++ -DCMAKE_BUILD > -DHAVE_CONFIG_H -DHAVE_DLFCN_H -DHAVE_POSTGRESQL_LIBPQ_FE_H -DHAVE_UNISTD_H > -DLIBPQ_DECL_CANCEL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG > -DQT_SQL_LIB -DQT_THREAD_LIB -DQT_XML_LIB -DTOMONOLITHIC -DTO_NO_ORACLE > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src -isystem > /usr/include/qt4 -isystem /usr/include/qt4/QtGui -isystem > /usr/include/qt4/QtXml -isystem /usr/include/qt4/QtSql -isystem > /usr/include/qt4/QtNetwork -isystem /usr/include/qt4/QtCore > -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu > -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative > -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus > -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp > -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest > -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg > -I/usr/include/qt4/Qt3Support -I/usr/share/qt4/mkspecs/default > -I/<<PKGBUILDDIR>> > /src/loki/include -I/<<PKGBUILDDIR>>/src/otl -I/usr/include/postgresql > -I/usr/include/qt4/Qsci -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -O2 > -DTOVERSION=\"2.1.3\" -DDEFAULT_PLUGIN_DIR=\"/usr/share/tora/\" -DQT > -DSCI_LEXER -include /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/precompiled.h > -Winvalid-pch -o CMakeFiles/tora.dir/topiechart.o -c > /<<PKGBUILDDIR>>/src/topiechart.cpp > cc1plus: warning: > /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/precompiled.h.gch/tora_RELEASE.h++: > not used because `QT_NO_DEBUG' is defined [-Winvalid-pch] > In file included from /<<PKGBUILDDIR>>/src/toconfiguration.h:6:0, > from /<<PKGBUILDDIR>>/src/totool.h:46, > from /<<PKGBUILDDIR>>/src/topiechart.cpp:49: > /<<PKGBUILDDIR>>/src/loki/include/loki/Singleton.h: In function 'void > Loki::SetLongevity(T*, unsigned int, Destroyer)': > /<<PKGBUILDDIR>>/src/loki/include/loki/Singleton.h:158:14: warning: > 'template<class> class std::auto_ptr' is deprecated > [-Wdeprecated-declarations] > std::auto_ptr<LifetimeTracker> > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from /<<PKGBUILDDIR>>/src/loki/include/loki/Singleton.h:30, > from /<<PKGBUILDDIR>>/src/toconfiguration.h:6, > from /<<PKGBUILDDIR>>/src/totool.h:46, > from /<<PKGBUILDDIR>>/src/topiechart.cpp:49: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > [ 83%] Building CXX object src/CMakeFiles/tora.dir/toplsqleditor.o > cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/g++ -DCMAKE_BUILD > -DHAVE_CONFIG_H -DHAVE_DLFCN_H -DHAVE_POSTGRESQL_LIBPQ_FE_H -DHAVE_UNISTD_H > -DLIBPQ_DECL_CANCEL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG > -DQT_SQL_LIB -DQT_THREAD_LIB -DQT_XML_LIB -DTOMONOLITHIC -DTO_NO_ORACLE > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src -isystem > /usr/include/qt4 -isystem /usr/include/qt4/QtGui -isystem > /usr/include/qt4/QtXml -isystem /usr/include/qt4/QtSql -isystem > /usr/include/qt4/QtNetwork -isystem /usr/include/qt4/QtCore > -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu > -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative > -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus > -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp > -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest > -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg > -I/usr/include/qt4/Qt3Support -I/usr/share/qt4/mkspecs/default > -I/<<PKGBUILDDIR>> > /src/loki/include -I/<<PKGBUILDDIR>>/src/otl -I/usr/include/postgresql > -I/usr/include/qt4/Qsci -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -O2 > -DTOVERSION=\"2.1.3\" -DDEFAULT_PLUGIN_DIR=\"/usr/share/tora/\" -DQT > -DSCI_LEXER -include /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/precompiled.h > -Winvalid-pch -o CMakeFiles/tora.dir/toplsqleditor.o -c > /<<PKGBUILDDIR>>/src/toplsqleditor.cpp > cc1plus: warning: > /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/precompiled.h.gch/tora_RELEASE.h++: > not used because `QT_NO_DEBUG' is defined [-Winvalid-pch] > In file included from /<<PKGBUILDDIR>>/src/toconfiguration.h:6:0, > from /<<PKGBUILDDIR>>/src/totool.h:46, > from /<<PKGBUILDDIR>>/src/toplsqleditor.h:46, > from /<<PKGBUILDDIR>>/src/toplsqleditor.cpp:56: > /<<PKGBUILDDIR>>/src/loki/include/loki/Singleton.h: In function 'void > Loki::SetLongevity(T*, unsigned int, Destroyer)': > /<<PKGBUILDDIR>>/src/loki/include/loki/Singleton.h:158:14: warning: > 'template<class> class std::auto_ptr' is deprecated > [-Wdeprecated-declarations] > std::auto_ptr<LifetimeTracker> > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from /<<PKGBUILDDIR>>/src/loki/include/loki/Singleton.h:30, > from /<<PKGBUILDDIR>>/src/toconfiguration.h:6, > from /<<PKGBUILDDIR>>/src/totool.h:46, > from /<<PKGBUILDDIR>>/src/toplsqleditor.h:46, > from /<<PKGBUILDDIR>>/src/toplsqleditor.cpp:56: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > [ 83%] Building CXX object src/CMakeFiles/tora.dir/toplsqltext.o > cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/g++ -DCMAKE_BUILD > -DHAVE_CONFIG_H -DHAVE_DLFCN_H -DHAVE_POSTGRESQL_LIBPQ_FE_H -DHAVE_UNISTD_H > -DLIBPQ_DECL_CANCEL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG > -DQT_SQL_LIB -DQT_THREAD_LIB -DQT_XML_LIB -DTOMONOLITHIC -DTO_NO_ORACLE > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src -isystem > /usr/include/qt4 -isystem /usr/include/qt4/QtGui -isystem > /usr/include/qt4/QtXml -isystem /usr/include/qt4/QtSql -isystem > /usr/include/qt4/QtNetwork -isystem /usr/include/qt4/QtCore > -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu > -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative > -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus > -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp > -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest > -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg > -I/usr/include/qt4/Qt3Support -I/usr/share/qt4/mkspecs/default > -I/<<PKGBUILDDIR>> > /src/loki/include -I/<<PKGBUILDDIR>>/src/otl -I/usr/include/postgresql > -I/usr/include/qt4/Qsci -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -O2 > -DTOVERSION=\"2.1.3\" -DDEFAULT_PLUGIN_DIR=\"/usr/share/tora/\" -DQT > -DSCI_LEXER -include /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/precompiled.h > -Winvalid-pch -o CMakeFiles/tora.dir/toplsqltext.o -c > /<<PKGBUILDDIR>>/src/toplsqltext.cpp > cc1plus: warning: > /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/precompiled.h.gch/tora_RELEASE.h++: > not used because `QT_NO_DEBUG' is defined [-Winvalid-pch] > In file included from /<<PKGBUILDDIR>>/src/toconfiguration.h:6:0, > from /<<PKGBUILDDIR>>/src/totool.h:46, > from /<<PKGBUILDDIR>>/src/toplsqltext.h:46, > from /<<PKGBUILDDIR>>/src/toplsqltext.cpp:50: > /<<PKGBUILDDIR>>/src/loki/include/loki/Singleton.h: In function 'void > Loki::SetLongevity(T*, unsigned int, Destroyer)': > /<<PKGBUILDDIR>>/src/loki/include/loki/Singleton.h:158:14: warning: > 'template<class> class std::auto_ptr' is deprecated > [-Wdeprecated-declarations] > std::auto_ptr<LifetimeTracker> > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from /<<PKGBUILDDIR>>/src/loki/include/loki/Singleton.h:30, > from /<<PKGBUILDDIR>>/src/toconfiguration.h:6, > from /<<PKGBUILDDIR>>/src/totool.h:46, > from /<<PKGBUILDDIR>>/src/toplsqltext.h:46, > from /<<PKGBUILDDIR>>/src/toplsqltext.cpp:50: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > /<<PKGBUILDDIR>>/src/toplsqltext.cpp: At global scope: > /<<PKGBUILDDIR>>/src/toplsqltext.cpp:81:1: error: cannot convert 'bool' to > 'const char*' in initialization > }; > ^ > > src/CMakeFiles/tora.dir/build.make:6115: recipe for target > 'src/CMakeFiles/tora.dir/toplsqltext.o' failed > make[3]: *** [src/CMakeFiles/tora.dir/toplsqltext.o] Error 1 > make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

