Bug#812002: smokeqt: FTBFS with GCC 6: deleted function
Control: tags -1 + pending Control: user debian-rele...@lists.debian.org Control: usertags -1 + bsp-2017-03-br-curitiba Hi, I did make a NMU with the suggested patch to 5-day/delay queue. Feel free to cancel this upload if needed. The debian/changelog is: * Non-maintainer upload. * debian/rules: added g++ flag to avoid FTBFS with GCC 6. (Closes: #812002) I attached a debdiff. cheers, Giovani diff -Nru smokeqt-4.14.3/debian/changelog smokeqt-4.14.3/debian/changelog --- smokeqt-4.14.3/debian/changelog 2015-09-10 23:22:34.0 -0300 +++ smokeqt-4.14.3/debian/changelog 2017-03-18 13:49:35.0 -0300 @@ -1,3 +1,10 @@ +smokeqt (4:4.14.3-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * debian/rules: added g++ flag to avoid FTBFS with GCC 6. (Closes: #812002) + + -- Giovani Augusto FerreiraSat, 18 Mar 2017 13:49:35 -0300 + smokeqt (4:4.14.3-1) unstable; urgency=medium * Team upload diff -Nru smokeqt-4.14.3/debian/rules smokeqt-4.14.3/debian/rules --- smokeqt-4.14.3/debian/rules 2015-09-10 16:40:53.0 -0300 +++ smokeqt-4.14.3/debian/rules 2017-03-18 13:49:35.0 -0300 @@ -3,6 +3,8 @@ pkgs_lib := $(filter-out %-dev %-dbg,$(filter lib%,$(shell dh_listpackages))) current_version := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p') +export DEB_CXXFLAGS_MAINT_APPEND = -std=c++98 + override_dh_install: dh_install --list-missing
Bug#812002: smokeqt: FTBFS with GCC 6: deleted function
Control: tags -1 + patch On Tue, 19 Jan 2016 20:25:00 -0800 Martin Michlmayrwrote: > Package: smokeqt > Version: 4:4.14.3-1 > Severity: important > User: debian-...@lists.debian.org > Usertags: ftbfs-gcc-6 > > 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. > > You may be able to find out more about this issue at > https://gcc.gnu.org/gcc-6/changes.html > > > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux > ... > > cd /<>/obj-x86_64-linux-gnu/qtscript && /usr/bin/cmake -E > > cmake_link_script CMakeFiles/smokeqtscript.dir/link.txt --verbose=1 > > /usr/bin/c++ -fPIC -g -O2 -fstack-protector-strong -Wformat > > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 > > -Wno-deprecated-declarations -Wl,-z,relro -shared > > -Wl,-soname,libsmokeqtscript.so.3 -o libsmokeqtscript.so.3.0.0 > > CMakeFiles/smokeqtscript.dir/smokedata.cpp.o > > CMakeFiles/smokeqtscript.dir/x_1.cpp.o ../qtcore/libsmokeqtcore.so.3.0.0 > > -lQtCore -lQtScript -lsmokebase > > -Wl,-rpath,/<>/obj-x86_64-linux-gnu/qtcore: > > cd /<>/obj-x86_64-linux-gnu/qtscript && /usr/bin/cmake -E > > cmake_symlink_library libsmokeqtscript.so.3.0.0 libsmokeqtscript.so.3 > > libsmokeqtscript.so > > make[3]: Leaving directory '/<>/obj-x86_64-linux-gnu' > > [ 30%] Built target smokeqtscript > > /<>/obj-x86_64-linux-gnu/qtdbus/x_1.cpp:1594:7: error: deleted > > function 'virtual > > __smokeqtdbus::x_QDBusConnectionInterface::~x_QDBusConnectionInterface()' > > class x_QDBusConnectionInterface : public QDBusConnectionInterface { > >^~ > > > > In file included from /usr/include/qt4/QtDBus/QtDBus:8:0, > > from /<>/qtdbus/qtdbus_includes.h:2, > > from > > /<>/obj-x86_64-linux-gnu/qtdbus/x_1.cpp:2: > > /usr/include/qt4/QtDBus/qdbusconnectioninterface.h:73:5: error: overriding > > non-deleted function 'virtual > > QDBusConnectionInterface::~QDBusConnectionInterface()' > > ~QDBusConnectionInterface(); > > ^ > > > > /<>/obj-x86_64-linux-gnu/qtdbus/x_1.cpp:1594:7: note: 'virtual > > __smokeqtdbus::x_QDBusConnectionInterface::~x_QDBusConnectionInterface()' > > is implicitly deleted because the default definition would be ill-formed: > > class x_QDBusConnectionInterface : public QDBusConnectionInterface { > >^~ > > > > /<>/obj-x86_64-linux-gnu/qtdbus/x_1.cpp:1594:7: error: > > 'virtual QDBusConnectionInterface::~QDBusConnectionInterface()' is private > > within this context > > In file included from /usr/include/qt4/QtDBus/QtDBus:8:0, > > from /<>/qtdbus/qtdbus_includes.h:2, > > from > > /<>/obj-x86_64-linux-gnu/qtdbus/x_1.cpp:2: > > /usr/include/qt4/QtDBus/qdbusconnectioninterface.h:73:5: note: declared > > private here > > ~QDBusConnectionInterface(); > > ^ > > > > qtdbus/CMakeFiles/smokeqtdbus.dir/build.make:98: recipe for target > > 'qtdbus/CMakeFiles/smokeqtdbus.dir/x_1.cpp.o' failed > > make[3]: *** [qtdbus/CMakeFiles/smokeqtdbus.dir/x_1.cpp.o] Error 1 > > ... > > > from > > /<>/obj-x86_64-linux-gnu/qtgui/x_13.cpp:2: > > /usr/include/qt4/QtGui/qsessionmanager.h:65:5: error: overriding > > non-deleted function 'virtual QSessionManager::~QSessionManager()' > > ~QSessionManager(); > > ^ > > > > /<>/obj-x86_64-linux-gnu/qtgui/x_13.cpp:3572:7: note: 'virtual > > __smokeqtgui::x_QSessionManager::~x_QSessionManager()' is implicitly > > deleted because the default definition would be ill-formed: > > class x_QSessionManager : public QSessionManager { > >^ This is caused by g++ defaulting to -std=c++11 in GCC 6. An easy workaround is to add: export DEB_CXXFLAGS_MAINT_APPEND = -std=c++98 to debian/rules. Thanks, _g. signature.asc Description: OpenPGP digital signature
Bug#812002: smokeqt: FTBFS with GCC 6: deleted function
Package: smokeqt Version: 4:4.14.3-1 Severity: important User: debian-...@lists.debian.org Usertags: ftbfs-gcc-6 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. You may be able to find out more about this issue at https://gcc.gnu.org/gcc-6/changes.html > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux ... > cd /<>/obj-x86_64-linux-gnu/qtscript && /usr/bin/cmake -E > cmake_link_script CMakeFiles/smokeqtscript.dir/link.txt --verbose=1 > /usr/bin/c++ -fPIC -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 > -Wno-deprecated-declarations -Wl,-z,relro -shared > -Wl,-soname,libsmokeqtscript.so.3 -o libsmokeqtscript.so.3.0.0 > CMakeFiles/smokeqtscript.dir/smokedata.cpp.o > CMakeFiles/smokeqtscript.dir/x_1.cpp.o ../qtcore/libsmokeqtcore.so.3.0.0 > -lQtCore -lQtScript -lsmokebase > -Wl,-rpath,/<>/obj-x86_64-linux-gnu/qtcore: > cd /<>/obj-x86_64-linux-gnu/qtscript && /usr/bin/cmake -E > cmake_symlink_library libsmokeqtscript.so.3.0.0 libsmokeqtscript.so.3 > libsmokeqtscript.so > make[3]: Leaving directory '/<>/obj-x86_64-linux-gnu' > [ 30%] Built target smokeqtscript > /<>/obj-x86_64-linux-gnu/qtdbus/x_1.cpp:1594:7: error: deleted > function 'virtual > __smokeqtdbus::x_QDBusConnectionInterface::~x_QDBusConnectionInterface()' > class x_QDBusConnectionInterface : public QDBusConnectionInterface { >^~ > > In file included from /usr/include/qt4/QtDBus/QtDBus:8:0, > from /<>/qtdbus/qtdbus_includes.h:2, > from /<>/obj-x86_64-linux-gnu/qtdbus/x_1.cpp:2: > /usr/include/qt4/QtDBus/qdbusconnectioninterface.h:73:5: error: overriding > non-deleted function 'virtual > QDBusConnectionInterface::~QDBusConnectionInterface()' > ~QDBusConnectionInterface(); > ^ > > /<>/obj-x86_64-linux-gnu/qtdbus/x_1.cpp:1594:7: note: 'virtual > __smokeqtdbus::x_QDBusConnectionInterface::~x_QDBusConnectionInterface()' is > implicitly deleted because the default definition would be ill-formed: > class x_QDBusConnectionInterface : public QDBusConnectionInterface { >^~ > > /<>/obj-x86_64-linux-gnu/qtdbus/x_1.cpp:1594:7: error: 'virtual > QDBusConnectionInterface::~QDBusConnectionInterface()' is private within this > context > In file included from /usr/include/qt4/QtDBus/QtDBus:8:0, > from /<>/qtdbus/qtdbus_includes.h:2, > from /<>/obj-x86_64-linux-gnu/qtdbus/x_1.cpp:2: > /usr/include/qt4/QtDBus/qdbusconnectioninterface.h:73:5: note: declared > private here > ~QDBusConnectionInterface(); > ^ > > qtdbus/CMakeFiles/smokeqtdbus.dir/build.make:98: recipe for target > 'qtdbus/CMakeFiles/smokeqtdbus.dir/x_1.cpp.o' failed > make[3]: *** [qtdbus/CMakeFiles/smokeqtdbus.dir/x_1.cpp.o] Error 1 ... > from /<>/obj-x86_64-linux-gnu/qtgui/x_13.cpp:2: > /usr/include/qt4/QtGui/qsessionmanager.h:65:5: error: overriding non-deleted > function 'virtual QSessionManager::~QSessionManager()' > ~QSessionManager(); > ^ > > /<>/obj-x86_64-linux-gnu/qtgui/x_13.cpp:3572:7: note: 'virtual > __smokeqtgui::x_QSessionManager::~x_QSessionManager()' is implicitly deleted > because the default definition would be ill-formed: > class x_QSessionManager : public QSessionManager { >^ > > /<>/obj-x86_64-linux-gnu/qtgui/x_13.cpp:3572:7: error: 'virtual > QSessionManager::~QSessionManager()' is private within this context > In file included from /usr/include/qt4/QtGui/QtGui:213:0, > from /<>/qtgui/qtgui_includes.h:2, > from /<>/obj-x86_64-linux-gnu/qtgui/x_13.cpp:2: > /usr/include/qt4/QtGui/qsessionmanager.h:65:5: note: declared private here > ~QSessionManager(); -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise