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!
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!
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
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
|
DetailsDescription:
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
Suppose the following patch should fix it (not tested):
http://ftp.heanet.ie/mirrors/gentoo-portage/sci-visualization/qtiplot/files/qtiplot-0.9.8.9-sip-4.15.patch
https://bugs.launchpad.net/ubuntu/+source/qtiplot/+bug/1310538
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
[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?