Bug#831069: marked as done (qtiplot: FTBFS with GCC 6: src/analysis/dialogs/FitDialog.cpp:1025:41: error: no matching function for call to 'QTableWidgetItem::setFlags(bool)')

2016-08-07 Thread Debian Bug Tracking System
Your message dated Sun, 07 Aug 2016 22:50:31 +
with message-id 
and subject line Bug#831069: fixed in qtiplot 0.9.8.9-15
has caused the Debian Bug report #831069,
regarding qtiplot: FTBFS with GCC 6: 
src/analysis/dialogs/FitDialog.cpp:1025:41: error: no matching function for 
call to 'QTableWidgetItem::setFlags(bool)'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
831069: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831069
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: qtiplot
Version: 0.9.8.9-14
Severity: serious
Tags: stretch sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64

Hi,

During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg7.html

Relevant part (hopefully):
> g++ -c -m64 -pipe -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -Wall -W 
> -DSCRIPTING_CONSOLE -DSVN_REVISION="\"\"" -DQT_PLUGIN 
> -DTRANSLATIONS_PATH=\"/usr/share/qtiplot/translations\" 
> -DMANUAL_PATH=\"/usr/share/doc/qtiplot/manual\" -DSCRIPTING_MUPARSER 
> -DSCRIPTING_PYTHON -DPYTHON_CONFIG_PATH=\"/usr/share/qtiplot\" 
> -DGL2PS_HAVE_LIBPNG -DTEX_OUTPUT -DHAVE_ALGLIB -DHAVE_TAMUANOVA -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/usr/include/qt4/QtAssistantClient -I/usr/include/qt4/QtAssistant 
> -I/usr/include/muParser -I../3rdparty/qwt/src -I../3rdparty/qwtplot3d/include 
> -Iicons -Isrc/analysis -Isrc/analysis/dialogs -Isrc/core -Isrc/excel 
> -Isrc/lib/include -Isrc/lib/3rdparty/qtcolorpicker/src -Isrc/plot2D 
> -Isrc/plot2D/dialogs -Isrc/plot3D -Isrc/matrix -Isrc/table -Isrc/scripting 
> -I/usr/include/python2.7 -I/usr/include/libalglib -I/usr/include/tamu_anova 
> -I/usr/include -I/usr/X11R6/include -I/«PKGBUILDDIR»/tmp/qtiplot -o 
> ../tmp/qtiplot/FitDialog.o src/analysis/dialogs/FitDialog.cpp
> src/analysis/dialogs/FitDialog.cpp: In member function 'void 
> FitDialog::saveUserFunction()':
> src/analysis/dialogs/FitDialog.cpp:895:9: warning: this 'if' clause does not 
> guard... [-Wmisleading-indentation]
>  if (d_current_fit->setFormula(formula))
>  ^~
> src/analysis/dialogs/FitDialog.cpp:898:3: note: ...this statement, but the 
> latter is misleadingly indented as if it is guarded by the 'if'
>if (funcBox->currentItem()->text() == name)
>^~
> src/analysis/dialogs/FitDialog.cpp: In member function 'void 
> FitDialog::removeUserFunction()':
> src/analysis/dialogs/FitDialog.cpp:946:5: warning: this 'if' clause does not 
> guard... [-Wmisleading-indentation]
>  if (QMessageBox::Yes != QMessageBox::question (this, tr("QtiPlot") + " - 
> " + tr("Remove Fit Model"), s, QMessageBox::Yes, QMessageBox::Cancel))
>  ^~
> src/analysis/dialogs/FitDialog.cpp:949:2: note: ...this statement, but the 
> latter is misleadingly indented as if it is guarded by the 'if'
>   QString name = funcBox->currentItem()->text();
>   ^~~
> src/analysis/dialogs/FitDialog.cpp: In member function 'void 
> FitDialog::showFitPage()':
> src/analysis/dialogs/FitDialog.cpp:1025: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/analysis/dialogs/FitDialog.cpp:47:
> /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}'
> src/analysis/dialogs/FitDialog.cpp:1052:35: error: no matching function for 
> call to 'QTableWidgetItem::setFlags(bool)'
>it->setFlags(!Qt::ItemIsEditable);
>^
> In file 

Bug#831069: marked as done (qtiplot: FTBFS with GCC 6: src/analysis/dialogs/FitDialog.cpp:1025:41: error: no matching function for call to 'QTableWidgetItem::setFlags(bool)')

2016-08-04 Thread Debian Bug Tracking System
Your message dated Thu, 4 Aug 2016 21:32:29 +0200
with message-id 

and subject line Closing the bug
has caused the Debian Bug report #831069,
regarding qtiplot: FTBFS with GCC 6: 
src/analysis/dialogs/FitDialog.cpp:1025:41: error: no matching function for 
call to 'QTableWidgetItem::setFlags(bool)'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
831069: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831069
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: qtiplot
Version: 0.9.8.9-14
Severity: serious
Tags: stretch sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64

Hi,

During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg7.html

Relevant part (hopefully):
> g++ -c -m64 -pipe -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -Wall -W 
> -DSCRIPTING_CONSOLE -DSVN_REVISION="\"\"" -DQT_PLUGIN 
> -DTRANSLATIONS_PATH=\"/usr/share/qtiplot/translations\" 
> -DMANUAL_PATH=\"/usr/share/doc/qtiplot/manual\" -DSCRIPTING_MUPARSER 
> -DSCRIPTING_PYTHON -DPYTHON_CONFIG_PATH=\"/usr/share/qtiplot\" 
> -DGL2PS_HAVE_LIBPNG -DTEX_OUTPUT -DHAVE_ALGLIB -DHAVE_TAMUANOVA -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/usr/include/qt4/QtAssistantClient -I/usr/include/qt4/QtAssistant 
> -I/usr/include/muParser -I../3rdparty/qwt/src -I../3rdparty/qwtplot3d/include 
> -Iicons -Isrc/analysis -Isrc/analysis/dialogs -Isrc/core -Isrc/excel 
> -Isrc/lib/include -Isrc/lib/3rdparty/qtcolorpicker/src -Isrc/plot2D 
> -Isrc/plot2D/dialogs -Isrc/plot3D -Isrc/matrix -Isrc/table -Isrc/scripting 
> -I/usr/include/python2.7 -I/usr/include/libalglib -I/usr/include/tamu_anova 
> -I/usr/include -I/usr/X11R6/include -I/«PKGBUILDDIR»/tmp/qtiplot -o 
> ../tmp/qtiplot/FitDialog.o src/analysis/dialogs/FitDialog.cpp
> src/analysis/dialogs/FitDialog.cpp: In member function 'void 
> FitDialog::saveUserFunction()':
> src/analysis/dialogs/FitDialog.cpp:895:9: warning: this 'if' clause does not 
> guard... [-Wmisleading-indentation]
>  if (d_current_fit->setFormula(formula))
>  ^~
> src/analysis/dialogs/FitDialog.cpp:898:3: note: ...this statement, but the 
> latter is misleadingly indented as if it is guarded by the 'if'
>if (funcBox->currentItem()->text() == name)
>^~
> src/analysis/dialogs/FitDialog.cpp: In member function 'void 
> FitDialog::removeUserFunction()':
> src/analysis/dialogs/FitDialog.cpp:946:5: warning: this 'if' clause does not 
> guard... [-Wmisleading-indentation]
>  if (QMessageBox::Yes != QMessageBox::question (this, tr("QtiPlot") + " - 
> " + tr("Remove Fit Model"), s, QMessageBox::Yes, QMessageBox::Cancel))
>  ^~
> src/analysis/dialogs/FitDialog.cpp:949:2: note: ...this statement, but the 
> latter is misleadingly indented as if it is guarded by the 'if'
>   QString name = funcBox->currentItem()->text();
>   ^~~
> src/analysis/dialogs/FitDialog.cpp: In member function 'void 
> FitDialog::showFitPage()':
> src/analysis/dialogs/FitDialog.cpp:1025: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/analysis/dialogs/FitDialog.cpp:47:
> /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}'
> src/analysis/dialogs/FitDialog.cpp:1052:35: error: no matching function for 
> call to 'QTableWidgetItem::setFlags(bool)'
>it->setFlags(!Qt::ItemIsEditable);
>^
> In file