Opened 13 years ago
Closed 13 years ago
#31586 closed defect (fixed)
qtiplot 0.9.8.8 build failure
Reported by: | mf2k (Frank Schima) | Owned by: | jonas@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | NicosPavlov | |
Port: | qtiplot |
Description
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.
Attachments (2)
Change History (5)
Changed 13 years ago by mf2k (Frank Schima)
comment:1 Changed 13 years ago by NicosPavlov
Changed 13 years ago by NicosPavlov
Attachment: | Portfile.diff added |
---|
comment:3 Changed 13 years ago by NicosPavlov
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed in r85882, along with a revbump to ensure that the correct python version is used during build.
Note: See
TracTickets for help on using
tickets.
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:
before installing qtiplot +python26.
It could then be corrected in the port itself, but I am still looking at where this could be done.