Opened 15 years ago

Closed 15 years ago

#20293 closed defect (fixed)

qtiplot 0.9.7.6_0 fails to build

Reported by: celemourn@… Owned by: jonas@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: nicos_pavlov@…
Port: qtiplot

Description (last modified by mf2k (Frank Schima))

Running current version of Leopard, with all dependancies up to date. The first error appears to be:

sipqtiGraph3D.cpp: In function 'PyObject* meth_Graph3D_colorMap(PyObject*, PyObject*)':
sipqtiGraph3D.cpp:1035: error: cannot convert 'QwtLinearColorMap' to 'QwtLinearColorMap*' in assignment

I attempted doing a clean, then installing it again, but same error crops up. Full terminal text (after several built attempts) below:

Port command started with PID 69891
Building qtiplot
cd fitPlugins/ && make -f Makefile all
cd explin/ && make -f Makefile all
make[2]: Nothing to be done for `all'.
cd exp_saturation/ && make -f Makefile all
make[2]: Nothing to be done for `all'.
cd fitRational0/ && make -f Makefile all
make[2]: Nothing to be done for `all'.
cd fitRational1/ && make -f Makefile all
make[2]: Nothing to be done for `all'.
cd qtiplot/ && make -f Makefile all
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -DSCRIPTING_CONSOLE -DSCRIPTING_DIALOG -DQT_PLUGIN -DSCRIPTING_MUPARSER -DSCRIPTING_PYTHON -DGL2PS_HAVE_LIBPNG -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/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtNetwo
rk.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtNetwork -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/lib/QtOpenGL.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtOpenGL -I/opt/local/libexec/qt4-mac/lib/QtXml.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtXml -I/opt/local/libexec/qt4-mac/lib/Qt3Support.framework/Versions/4/Headers -I/opt/local/libexe
c/qt4-mac/include/Qt3Support -I/opt/local/libexec/qt4-mac/lib/QtSvg.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtSvg -I/opt/local/libexec/qt4-mac/include -I/opt/local/libexec/qt4-mac/lib/QtAssistant.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtAssistant -I/opt/local/include -I../3rdparty/qwtplot3d/include -I../3rdparty/qwt/src -I../3rdparty/liborigin -I../3rdparty/zlib -Iicons -Isrc/analysis -Isrc/analysis/dialogs -Isrc/core -Isrc/lib/include -Isrc/plot2D -Isr
c/plot2D/dialogs -Isrc/plot3D -Isrc/matrix -Isrc/origin -Isrc/table -Isrc/scripting -I/opt/local/include/python2.5 -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qtiplot/work/qtiplot-0.9.7.6/tmp/qtiplot -F/opt/local/libexec/qt4-mac/lib -o ../tmp/qtiplot/sipqtiGraph3D.o ../tmp/qtiplot/sipqtiGraph3D.cpp
sipqtiGraph3D.cpp: In function 'PyObject* meth_Graph3D_colorMap(PyObject*, PyObject*)':
sipqtiGraph3D.cpp:1035: error: cannot convert 'QwtLinearColorMap' to 'QwtLinearColorMap*' in assignment
make[1]: *** [../tmp/qtiplot/sipqtiGraph3D.o] Error 1
make: *** [sub-qtiplot-all] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qtiplot/work/qtiplot-0.9.7.6" && make all " returned error 2
Command output: cd fitPlugins/ && make -f Makefile all
cd explin/ && make -f Makefile all
make[2]: Nothing to be done for `all'.
cd exp_saturation/ && make -f Makefile all
make[2]: Nothing to be done for `all'.
cd fitRational0/ && make -f Makefile al
l
make[2]: Nothing to be done for `all'.
cd fitRational1/ && make -f Makefile all
make[2]: Nothing to be done for `all'.
cd qtiplot/ && make -f Makefile all
/usr/bin/g++-4.0 -c -pipe -Os -Wall -W -arch i386 -DSCRIPTING_CONSOLE -DSCRIPTING_DIALOG -DQT_PLUGIN -DSCRIPTING_MUPARSER -DSCRIPTING_PYTHON -DGL2PS_HAVE_LIBPNG -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/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtNetwork.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtNetwork -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/lib/QtOpenGL.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtOpenGL -I/opt/local/libexec/qt4-mac/lib/QtXml.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtXml -I/opt/local/libexec/qt4-mac/lib/Qt3Support.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/Qt3Support -I/opt/local/libexec/qt4-mac/lib/QtSvg.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtSvg -I/opt/local/libexec/qt4-mac/include -I/opt/local/libexec/qt4-mac/lib/QtAssistant.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtAssistant -I/opt/local/include -I../3rdparty/qwtplot3d/include -I../3rdparty/qwt/src -I../3rdparty/liborigin -I../3rdparty/zlib -Iicons -Isrc/analysis -Isrc/analysis/dialogs -Isrc/core -Isrc/lib/include -Isrc/plot2D -Isrc/plot2D/dialogs -Isrc/plot3D -Isrc/matrix -Isrc/origin -Isrc/table -Isrc/scripting -I/opt/local/include/python2.5 -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qtiplot/work/qtiplot-0.9.7.6/tmp/qtiplot -F/opt/local/libexec/qt4-mac/lib -o ../tmp/qtiplot/sipqtiGraph3D.o ../tmp/qtiplot/sipqtiGraph3D.cpp
sipqtiGraph3D.cpp: In function 'PyObject* meth_Graph3D_colorMap(PyObject*, PyObject*)':
sipqtiGraph3D.cpp:1035: error: cannot convert 'QwtLinearColorMap' to 'QwtLinearColorMap*' in assignment
make[1]: *** [../tmp/qtiplot/sipqtiGraph3D.o] Error 1
make: *** [sub-qtiplot-all] Error 2
Warning: the following items did not execute (for qtiplot): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
Executing: /opt/local/bin/port -v install qtiplot

Change History (4)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to jonas@…

comment:2 in reply to:  1 Changed 15 years ago by nicos_pavlov@…

I had the same problem, that I could solve by suppressing the Python scripting feature. It seems that the ports py25-sip were upgraded to 4.8.1, while qtiplot needs 4.7.9 to compile.

comment:3 Changed 15 years ago by nicos_pavlov@…

Cc: nicos_pavlov@… added

Cc Me!

comment:4 Changed 15 years ago by jonas@…

Resolution: fixed
Status: newclosed

The new version of Qtiplot can be build with the up to date SIP. Port updated in r57915

Note: See TracTickets for help on using tickets.