Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#39377 - [qtiplot] build fails

Attached to Project: Arch Linux
Opened by Joel Teichroeb (klusark) - Thursday, 13 March 2014, 03:50 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 03 May 2016, 18:12 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -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 -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++ -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../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/tamu_anova -I/usr/include -I/usr/X11R6/include -I/build/qtiplot/src/qtiplot-0.9.8.9/tmp/qtiplot -o ../tmp/qtiplot/sipqtiEllipseWidget.o ../tmp/qtiplot/sipqtiEllipseWidget.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -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 -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++ -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../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/tamu_anova -I/usr/include -I/usr/X11R6/include -I/build/qtiplot/src/qtiplot-0.9.8.9/tmp/qtiplot -o ../tmp/qtiplot/sipqtiImageWidget.o ../tmp/qtiplot/sipqtiImageWidget.cpp
In file included from src/scripting/qti.sip:1119:0:
icons/../src/plot2D/ImageWidget.h: In member function 'virtual void sipImageWidget::paintEvent(QPaintEvent*)':
icons/../src/plot2D/ImageWidget.h:73:7: error: 'virtual void ImageWidget::paintEvent(QPaintEvent*)' is private
void paintEvent(QPaintEvent *e);
^
../tmp/qtiplot/sipqtiImageWidget.cpp:877:35: error: within this context
ImageWidget::paintEvent(a0);
^
Makefile:2421: recipe for target '../tmp/qtiplot/sipqtiImageWidget.o' failed
make: *** [../tmp/qtiplot/sipqtiImageWidget.o] Error 1
make: *** Waiting for unfinished jobs....
src/scripting/qti.sip:119:12: warning: 'int setCellDataHelper(Table*, int, int, PyObject*)' defined but not used [-Wunused-function]
static int setCellDataHelper(Table* table, int row, int col, PyObject* item) {
^
src/scripting/qti.sip:233:12: warning: 'int cellDataHelper(Table*, int, int, PyObject**)' defined but not used [-Wunused-function]
static int cellDataHelper(Table* table, int row, int col, PyObject** item) {
^
src/scripting/qti.sip:119:12: warning: 'int setCellDataHelper(Table*, int, int, PyObject*)' defined but not used [-Wunused-function]
static int setCellDataHelper(Table* table, int row, int col, PyObject* item) {
^
src/scripting/qti.sip:233:12: warning: 'int cellDataHelper(Table*, int, int, PyObject**)' defined but not used [-Wunused-function]
static int cellDataHelper(Table* table, int row, int col, PyObject** item) {
^
==> ERROR: A failure occurred in build().
Aborting...


Steps to reproduce:
sudo extra-x86_64-build
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 03 May 2016, 18:12 GMT
Reason for closing:  Fixed
Comment by Ronald van Haren (pressh) - Thursday, 13 March 2014, 08:26 GMT Comment by Ivan (vanili) - Monday, 21 April 2014, 09:58 GMT
The same error on newly installed Ubuntu 14.04 for both packages qtiplot0.9.8.9-8 and qtiplot0.9.8.9-6ubuntu0.1. The patch didn't work. I've submitted a bug to launchpad

https://bugs.launchpad.net/ubuntu/+source/qtiplot/+bug/1310538
Comment by mattia (nTia89) - Monday, 17 November 2014, 15:46 GMT
after I fixed the source ( bug 42819 ) qtiplot-0.9.8.9-5 doesn't build: I get these errors, different from the aforementioned one:

src/scripting/muParserScripting.cpp:106:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
src/scripting/muParserScripting.cpp:106:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
src/scripting/muParserScript.cpp: In member function ‘double muParserScript::tablecol(const QString&)’:
src/scripting/muParserScript.cpp:156:9: warning: unused variable ‘this_table’ [-Wunused-variable]
Table *this_table = (Table*) Context;
^
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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 -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++ -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../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/tamu_anova -I/usr/include -I/usr/X11R6/include -I/tmp/qtiplot/src/qtiplot-0.9.8.9/tmp/qtiplot -o ../tmp/qtiplot/PythonScript.o src/scripting/PythonScript.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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 -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++ -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../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/tamu_anova -I/usr/include -I/usr/X11R6/include -I/tmp/qtiplot/src/qtiplot-0.9.8.9/tmp/qtiplot -o ../tmp/qtiplot/PythonScripting.o src/scripting/PythonScripting.cpp
make: *** No rule to make target '../tmp/qtiplot/sipqticmodule.cpp', needed by '../tmp/qtiplot/sipqticmodule.o'. Stop.
make: *** Waiting for unfinished jobs....
src/scripting/PythonScripting.cpp:61:23: fatal error: sipAPIqti.h: No such file or directory
#include "sipAPIqti.h"
^
compilation terminated.
Makefile:2397: recipe for target '../tmp/qtiplot/PythonScripting.o' failed
make: *** [../tmp/qtiplot/PythonScripting.o] Error 1
Comment by Peter (piotroxp) - Monday, 13 April 2015, 09:01 GMT
This is an issue deep and rooted probably within the python scripting engine.
[code]src/scripting/PythonScripting.cpp:61:23: fatal error: sipAPIqti.h: no such file or directory #include "sipAPIati.h"[/code].
But, when compiling either qtiplot-opj or scidavis, the same error persists:
[code]./scidavis/src/PythonScripting.cpp:65:28: fatal error: sipAPIscidavis.h: no such file or directory #include "sipAPIscidavis.h"[/code]
I've also downloaded the gentoo patches and added it to the PKGBUILD but no go because of the python scripting error. Haven't had the time to get into it more.

Is this because arch uses python as python3 and not python2?

Loading...