Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528724 - sci-visualization/qtiplot-0.9.8.9-r2 fails to build sip-4.16.3
Summary: sci-visualization/qtiplot-0.9.8.9-r2 fails to build sip-4.16.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-09 11:52 UTC by Andreas K. Hüttel
Modified: 2015-01-08 08:42 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,18.43 KB, text/plain)
2014-11-09 11:53 UTC, Andreas K. Hüttel
Details
build log (qtiplot-0.9.8.9-r2:20141109-114505.log,369.88 KB, text/plain)
2014-11-09 11:54 UTC, Andreas K. Hüttel
Details
qtiplot-0.9.8.9-PyQt4-4.10.patch (qtiplot-0.9.8.9-PyQt4-4.10.patch,1.06 KB, patch)
2014-11-09 17:17 UTC, Fabio Rossi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Hüttel archtester gentoo-dev 2014-11-09 11:52:55 UTC
make[1]: *** No rule to make target '../tmp/qtiplot/sipqticmodule.cpp', needed by '../tmp/qtiplot/sipqticmodule.o'.  Stop.
make[1]: *** Waiting for unfinished jobs....
src/scripting/PythonScripting.cpp:61:23: fatal error: sipAPIqti.h: No such file or directory
 #include "sipAPIqti.h"
                       ^
This is after gcc-4.9.2 upgrade, so other problems might be involved too.

dev-python/sip-4.16.3
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2014-11-09 11:53:45 UTC
Created attachment 388930 [details]
emerge --info
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2014-11-09 11:54:06 UTC
Created attachment 388932 [details]
build log
Comment 3 Fabio Rossi 2014-11-09 17:16:46 UTC
same problem here but I'm using gcc 4.7.3

I successfully managed to compile the package removing the patch ${P}-PyQt4-4.10.patch (I'm using PyQt4-4.11.1 and sip-4.16.2)

The difference is in the sip command line w/ and w/o the patch. Without the patch I get:

/usr/bin/sip -I /usr/share/sip -x VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t Qt_4_8_4 -x Py_v3 -g

while with the patch:

/usr/bin/sip -I /usr/share/sip/PyQt4 -x VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t Qt_4_8_4 -x Py_v3
Comment 4 Fabio Rossi 2014-11-09 17:17:27 UTC
Created attachment 388948 [details, diff]
qtiplot-0.9.8.9-PyQt4-4.10.patch

I have modified the patch to mimic the old expression, here is attached the new version
Comment 5 urcindalo 2014-11-10 12:29:15 UTC
The same happens to me on my stable amd64 boxes with stable packages:
===
x86_64-pc-linux-gnu-g++ -c -march=core2 -mtune=core2 -O2 -pipe -msse4.1 -D_REENTRANT -Wall -W -DSCRIPTING_CONSOLE -DQTIPLOT_PRO -DSVN_REVISION="\"\"" -DQT_PLUGIN -DTRANSLATIONS_PATH=\"/usr/share/qtiplot/translations\" -DMANUAL_PATH=\"/usr/share/doc/qtiplot/html\" -DSCRIPTING_MUPARSER -DSCRIPTING_PYTHON -DPYTHON_CONFIG_PATH=\"/usr\" -DGL2PS_HAVE_LIBPNG -DTEX_OUTPUT -DHAVE_ALGLIB -DHAVE_TAMUANOVA -DNO_LOG_FILE -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../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 -Isrc/plugins/exportEMF -Isrc/plugins/exportEMF/3rdparty/EmfEngine/src -Isrc/plugins/OriginPlugin -Isrc/plugins/OriginPlugin/liborigin1 -Isrc/plugins/OriginPlugin/liborigin2 -Isrc/plugins/OriginPlugin/tree.phi-sci.com -I../3rdparty/boost -I/usr/X11R6/include -I/var/tmp/portage/sci-visualization/qtiplot-0.9.8.9-r2/work/qtiplot-0.9.8.9/tmp/qtiplot -o ../tmp/qtiplot/PythonScript.o src/scripting/PythonScript.cpp
x86_64-pc-linux-gnu-g++ -c -march=core2 -mtune=core2 -O2 -pipe -msse4.1 -D_REENTRANT -Wall -W -DSCRIPTING_CONSOLE -DQTIPLOT_PRO -DSVN_REVISION="\"\"" -DQT_PLUGIN -DTRANSLATIONS_PATH=\"/usr/share/qtiplot/translations\" -DMANUAL_PATH=\"/usr/share/doc/qtiplot/html\" -DSCRIPTING_MUPARSER -DSCRIPTING_PYTHON -DPYTHON_CONFIG_PATH=\"/usr\" -DGL2PS_HAVE_LIBPNG -DTEX_OUTPUT -DHAVE_ALGLIB -DHAVE_TAMUANOVA -DNO_LOG_FILE -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../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 -Isrc/plugins/exportEMF -Isrc/plugins/exportEMF/3rdparty/EmfEngine/src -Isrc/plugins/OriginPlugin -Isrc/plugins/OriginPlugin/liborigin1 -Isrc/plugins/OriginPlugin/liborigin2 -Isrc/plugins/OriginPlugin/tree.phi-sci.com -I../3rdparty/boost -I/usr/X11R6/include -I/var/tmp/portage/sci-visualization/qtiplot-0.9.8.9-r2/work/qtiplot-0.9.8.9/tmp/qtiplot -o ../tmp/qtiplot/PythonScripting.o src/scripting/PythonScripting.cpp
make[1]: *** No rule to make target '../tmp/qtiplot/sipqticmodule.cpp', needed by '../tmp/qtiplot/sipqticmodule.o'.  Stop.
make[1]: *** 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:2470: recipe for target '../tmp/qtiplot/PythonScripting.o' failed
make[1]: *** [../tmp/qtiplot/PythonScripting.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/sci-visualization/qtiplot-0.9.8.9-r2/work/qtiplot-0.9.8.9/qtiplot'
Makefile:224: recipe for target 'sub-qtiplot-qtiplot-pro-make_default-ordered' failed
make: *** [sub-qtiplot-qtiplot-pro-make_default-ordered] Error 2
===
Comment 6 urcindalo 2014-11-10 15:03:44 UTC
In my case it fails to build with the stable dev-python/sip-4.15.3 amd64 version.
As I said before qtiplot, sip and PyQt4 are all stable in my case.
Comment 7 urcindalo 2014-11-12 09:19:24 UTC
I updated both sip and PyQt4 to their latest ~amd64 versions but the issue persists.
Currently it is impossible to emerge qtiplot.
Comment 8 urcindalo 2014-11-12 11:54:59 UTC
Things get worse.
Now qtiplot prevents dev-libs/boost from updating to the newly stabled 1.55.0-r2 version.
Comment 9 Fabio Rossi 2014-11-12 13:19:47 UTC
(In reply to urcindalo from comment #8)
> Things get worse.
> Now qtiplot prevents dev-libs/boost from updating to the newly stabled
> 1.55.0-r2 version.

Did you try to upgrade the patch in portage with the version here attached?
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2014-11-12 23:18:17 UTC
(In reply to Fabio Rossi from comment #4)
> Created attachment 388948 [details, diff] [details, diff]
> qtiplot-0.9.8.9-PyQt4-4.10.patch
> 
> I have modified the patch to mimic the old expression, here is attached the
> new version

Applied your fix in the tree. Thanks!
Comment 11 Justin Lecher (RETIRED) gentoo-dev 2014-11-13 10:05:20 UTC
(In reply to Andreas K. Hüttel from comment #10)
> (In reply to Fabio Rossi from comment #4)
> > Created attachment 388948 [details, diff] [details, diff] [details, diff]
> > qtiplot-0.9.8.9-PyQt4-4.10.patch
> > 
> > I have modified the patch to mimic the old expression, here is attached the
> > new version
> 
> Applied your fix in the tree. Thanks!

That fix breaks it for ~arch

/plot2D -Isrc/plot2D/dialogs -Isrc/plot3D -Isrc/matrix -Isrc/table -Isrc/scripting -I/usr/include/python2.7 -I/usr/include/tamu_anova -Isrc/plugins/exportEMF -Isrc/plugins/exportEMF/3rdparty/EmfEngine/src -Isrc/plugins/OriginPlugin -Isrc/plugins/OriginPlugin/liborigin1 -Isrc/plugins/OriginPlugin/liborigin2 -Isrc/plugins/OriginPlugin/tree.phi-sci.com -I../3rdparty/boost -I/usr/X11R6/include -I/var/tmp/portage/sci-visualization/qtiplot-0.9.8.9-r2/work/qtiplot-0.9.8.9/tmp/qtiplot -o ../tmp/qtiplot/PythonScripting.o src/scripting/PythonScripting.cpp
make[1]: *** No rule to make target '../tmp/qtiplot/sipqticmodule.cpp', needed by '../tmp/qtiplot/sipqticmodule.o'.  Stop.
make[1]: *** Waiting for unfinished jobs....
src/scripting/Note.cpp:46:31: warning: unused parameter ‘env’ [-Wunused-parameter]
 void Note::init(ScriptingEnv *env)
                               ^
src/scripting/PythonScripting.cpp:61:23: fatal error: sipAPIqti.h: No such file or directory
 #include "sipAPIqti.h"
                       ^
compilation terminated.
Makefile:2467: recipe for target '../tmp/qtiplot/PythonScripting.o' failed
make[1]: *** [../tmp/qtiplot/PythonScripting.o] Error 1
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/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/muParserScripting.cpp:106:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-st
Comment 12 Justin Lecher (RETIRED) gentoo-dev 2015-01-08 08:42:34 UTC
+*qtiplot-0.9.8.9-r3 (08 Jan 2015)
+
+  08 Jan 2015; Justin Lecher <jlec@gentoo.org> +qtiplot-0.9.8.9-r3.ebuild,
+  +files/qtiplot-0.9.8.9-PyQt4-4.11.3.patch:
+  Adopt dependencies to work with latest patches, #528724
+