[MacPorts] #31586: qtiplot 0.9.8.8 build failure
#31586: qtiplot 0.9.8.8 build failure ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: qtiplot ------------------------------------------+--------------------------------- I see the following error trying to build qtiplot 0.9.8.8: {{{ :info:build /usr/bin/g++-4.2 -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.6 -Wall -W -DSCRIPTING_CONSOLE -DSCRIPTING_DIALOG -DSVN_REVISION="\"\"" -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/share/qt4/mkspecs/macx-g++ -I. -I/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qtiplot/qtiplot/work/qtiplot-0.9.8.8/tmp/qtiplot -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/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I/opt/local/include/QtSvg -I/opt/local/include/Qt3Support -I/opt/local/include/QtXml -I/opt/local/include/QtOpenGL -I/opt/local/include/QtGui -I/opt/local/include/QtNetwork -I/opt/local/include/QtCore -I/opt/local/include -o ../tmp/qtiplot/PythonScripting.o src/scripting/PythonScripting.cpp :info:build make[1]: *** No rule to make target `../tmp/qtiplot/sipqticmodule.cpp', needed by `../tmp/qtiplot/sipqticmodule.o'. Stop. :info:build make[1]: *** Waiting for unfinished jobs.... :info:build src/scripting/PythonScripting.cpp:61:23: error: sipAPIqti.h: No such file or directory :info:build src/scripting/muParserScript.cpp: In member function ‘double muParserScript::tablecol(const QString&)’: :info:build src/scripting/muParserScript.cpp:156: warning: unused variable ‘this_table’ :info:build src/scripting/PythonScripting.cpp: In member function ‘bool PythonScripting::setQObject(QObject*, const char*, PyObject*)’: :info:build src/scripting/PythonScripting.cpp:364: error: ‘sipWrapperType’ was not declared in this scope :info:build src/scripting/PythonScripting.cpp:364: error: ‘klass’ was not declared in this scope :info:build src/scripting/PythonScripting.cpp:364: error: ‘sipFindClass’ was not declared in this scope :info:build src/scripting/PythonScripting.cpp:365: error: ‘sipConvertFromInstance’ was not declared in this scope :info:build make[1]: *** [../tmp/qtiplot/PythonScripting.o] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qtiplot/qtiplot/work/qtiplot-0.9.8.8/qtiplot' :info:build make: *** [sub-qtiplot-all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qtiplot/qtiplot/work/qtiplot-0.9.8.8' :info:build shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_qtiplot/qtiplot/work/qtiplot-0.9.8.8" && /usr/bin/make -j7 -w all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) }}} Mac OS X 10.6.8. Xcode 3.2.6. -- Ticket URL: <https://trac.macports.org/ticket/31586> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31586: qtiplot 0.9.8.8 build failure ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: qtiplot ------------------------------------------+--------------------------------- Comment(by nicos@…): I had a hard time reproducing the problem, but I think I got it. First, I think there is a problem with py-sip, making impossible to compile py*-pyqt4 presently (reported in ticket #31594). Then, it seems that the port (and specially its python* variants) is dependent on the selected python. A hack is thus to run: {{{ sudo port select --set python python26 }}} before installing qtiplot +python26. It could then be corrected in the port itself, but I am still looking at where this could be done. -- Ticket URL: <https://trac.macports.org/ticket/31586#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31586: qtiplot 0.9.8.8 build failure ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: jonas@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: qtiplot ------------------------------------------+--------------------------------- Comment(by nicos@…): This diff to the Portfile should do the trick. -- Ticket URL: <https://trac.macports.org/ticket/31586#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31586: qtiplot 0.9.8.8 build failure -------------------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: jonas@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: qtiplot | -------------------------------------------+-------------------------------- Changes (by nicos@…): * status: new => closed * resolution: => fixed Comment: Committed in r85882, along with a revbump to ensure that the correct python version is used during build. -- Ticket URL: <https://trac.macports.org/ticket/31586#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts