Package: scidavis Version: 1.D9-1 Severity: important User: [email protected] Usertags: ftbfs-gcc-6 gcc-6-no-match
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 ... > g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -fPIC -DSCRIPTING_CONSOLE > -DSCRIPTING_DIALOG -DQT_PLUGIN -DTS_PATH=\"/usr/share/scidavis/translations\" > -DDOC_PATH=\"/usr/share/doc/scidavis\" > -DPLUGIN_PATH=\"/usr/lib/scidavis/plugins\" -DLEGACY_CODE_0_2_x > -DSCRIPTING_MUPARSER -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_QT3SUPPORT_LIB > -DQT3_SUPPORT -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB > -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. > -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork > -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml > -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtSvg -I/usr/include/qt4 > -I/sbuild-nonexistent/usr/include -I/usr/include/qwt-qt4 > -I/usr/include/qwtplot3d -I/usr/include/muParser -I../scidavis -Isrc > -Isrc/future -I/usr/X11R6/include -I../tmp/scidavis -I. -o > ../tmp/scidavis/FitDialog.o src/FitDialog.cpp > In file included from src/Graph.h:47:0, > from src/FitDialog.h:32, > from src/FitDialog.cpp:29: > src/future/core/column/Column.h:87:36: warning: 'template<class> class > std::auto_ptr' is deprecated [-Wdeprecated-declarations] > Column(const QString& name, std::auto_ptr<D> data, > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from src/future/core/column/Column.h:38, > from src/Graph.h:47, > from src/FitDialog.h:32, > from src/FitDialog.cpp:29: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > In file included from src/Graph.h:47:0, > from src/FitDialog.h:32, > from src/FitDialog.cpp:29: > src/future/core/column/Column.h:324:25: warning: 'template<class> class > std::auto_ptr' is deprecated [-Wdeprecated-declarations] > void initPrivate(std::auto_ptr<D>, IntervalAttribute<bool>); > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from src/future/core/column/Column.h:38, > from src/Graph.h:47, > from src/FitDialog.h:32, > from src/FitDialog.cpp:29: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > In file included from src/Graph.h:47:0, > from src/FitDialog.h:32, > from src/FitDialog.cpp:29: > src/future/core/column/Column.h: In constructor 'Column::Column(const > QString&, const D&, IntervalAttribute<bool>)': > src/future/core/column/Column.h:82:22: warning: 'template<class> class > std::auto_ptr' is deprecated [-Wdeprecated-declarations] > initPrivate(std::auto_ptr<D>(new D(data)), validity); > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from src/future/core/column/Column.h:38, > from src/Graph.h:47, > from src/FitDialog.h:32, > from src/FitDialog.cpp:29: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > src/FitDialog.cpp: In member function 'void FitDialog::showFitPage()': > src/FitDialog.cpp:658:41: error: no matching function for call to > 'QTableWidgetItem::setFlags(bool)' > it->setFlags(!Qt::ItemIsEditable); > ^ > > In file included from /usr/include/qt4/QtGui/QTableWidget:1:0, > from src/Matrix.h:34, > from src/FitDialog.cpp:40: > /usr/include/qt4/QtGui/qtablewidget.h:105:10: note: candidate: void > QTableWidgetItem::setFlags(Qt::ItemFlags) > void setFlags(Qt::ItemFlags flags); > ^~~~~~~~ > > /usr/include/qt4/QtGui/qtablewidget.h:105:10: note: no known conversion for > argument 1 from 'bool' to 'Qt::ItemFlags {aka QFlags<Qt::ItemFlag>}' > src/FitDialog.cpp:674:2: warning: statement is indented as if it were guarded > by... [-Wmisleading-indentation] > if (!boxUseBuiltIn->isChecked() || > ^~ > > src/FitDialog.cpp:670:5: note: ...this 'for' clause, but it is not > for (int i = 0; i<paramList.count(); i++) > ^~~ > > src/FitDialog.cpp:682:45: error: no matching function for call to > 'QTableWidgetItem::setFlags(bool)' > it->setFlags(!Qt::ItemIsEditable); > ^ > > In file included from /usr/include/qt4/QtGui/QTableWidget:1:0, > from src/Matrix.h:34, > from src/FitDialog.cpp:40: > /usr/include/qt4/QtGui/qtablewidget.h:105:10: note: candidate: void > QTableWidgetItem::setFlags(Qt::ItemFlags) > void setFlags(Qt::ItemFlags flags); > ^~~~~~~~ > > /usr/include/qt4/QtGui/qtablewidget.h:105:10: note: no known conversion for > argument 1 from 'bool' to 'Qt::ItemFlags {aka QFlags<Qt::ItemFlag>}' > src/FitDialog.cpp: In member function 'void FitDialog::showExpression(int)': > src/FitDialog.cpp:947:2: warning: statement is indented as if it were guarded > by... [-Wmisleading-indentation] > if (categoryBox->currentRow() == 2) > ^~ > > src/FitDialog.cpp:944:5: note: ...this 'if' clause, but it is not > if (function < 0) > ^~ > > Makefile:2086: recipe for target '../tmp/scidavis/FitDialog.o' failed -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

