[PyQt] Building PyQt4 4.10.3 with SIP 4.15.3 fails

Alexander Jones aj at dneg.com
Fri Dec 6 16:00:54 GMT 2013


Last bits of the build log suggest that sip/QtCore/QtCoremod.sip line 28 


%Module(name=PyQt4.QtCore, keyword_arguments="Optional", version=1) 

is not valid sip syntax. 




$ /builds/33053b6f7201475883aaaf17df751156/bin/sip -V 
4.15.3 




... 




Qt v4.8.5 (Open Source) is being used. 
The qmake executable is /builds/31fd53e06351418c8c3a628224717e39/bin/qmake. 
Qt is built as a shared library. 
SIP 4.15.3 is being used. 
The sip executable is /builds/33053b6f7201475883aaaf17df751156/bin/sip. 
These PyQt4 modules will be built: QtCore, QtGui, QtHelp, QtMultimedia, 
QtNetwork, QtDeclarative, QtScript, QtScriptTools, QtXml, QtOpenGL, QtSql, 
QtSvg, QtTest, QtWebKit, QtXmlPatterns, phonon, QtDesigner, QtDBus. 
The PyQt4 Python package will be installed in 
/builds/b7d39adb1af7447480fbcb90d33a9f95/lib/python. 
PyQt4 is being built with generated docstrings. 
PyQt4 is being built with 'protected' redefined as 'public'. 
The Designer plugin will be installed in 
/builds/b7d39adb1af7447480fbcb90d33a9f95/lib/qt/plugins. 
The PyQt4 .sip files will be installed in 
/builds/b7d39adb1af7447480fbcb90d33a9f95/share/sip. 
pyuic4, pyrcc4 and pylupdate4 will be installed in 
/builds/b7d39adb1af7447480fbcb90d33a9f95/bin. 
The interpreter used by pyuic4 is 
/builds/efadbeb8de594d03860666e827c593c9/bin/python. 
Embedding sip flags... 
Generating the .pro file for the QPy support library for QtCore... 
Generating the Makefile for the QPy support library for QtCore... 
/builds/31fd53e06351418c8c3a628224717e39/bin/qmake w_qpycore.pro 
Generating the C++ source for the QtCore module... 
/builds/33053b6f7201475883aaaf17df751156/bin/sip -w -x VendorID -t WS_X11 -t Qt_4_8_4 -x PyQt_NoPrintRangeBug -x Py_v3 -o -P -a QtCore.api -g -c /user_data/.tmp/tmpi93lOi.bobbuild/QtCore -I sip -I /user_data/.tmp/tmpi93lOi.bobbuild/sip /user_data/.tmp/tmpi93lOi.bobbuild/sip/QtCore/QtCoremod.sip 
sip: /user_data/.tmp/tmpi93lOi.bobbuild/sip/QtCore/QtCoremod.sip:28: syntax error 
Error: Unable to create the C++ code. 




Any idea what's going on? Pretty sure I was getting this to build before... 









Alexander Jones 
Double Negative R&D 
www.dneg.com 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20131206/c124c567/attachment.html>


More information about the PyQt mailing list