[Kde-bindings] Progress report on Py*5 binding generation

Stephen Kelly steveire at gmail.com
Fri Apr 22 07:35:19 UTC 2016


Stephen Kelly wrote:

> "/usr/include/x86_64-linux-gnu/qt5,/usr/include/x86_64-linux-
gnu/qt5/QtCore"
> --select @kitemmodelsmod.sip sip cxx

Oops, the cxx at the end should be removed, but the end result is still that 
the module is reported as having an error:

$ ./create_script.sh 
ERROR: Parse error /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:38[10] 
'stddef.h' file not found
2016-04-22 09:35:03,078 __main__ INFO: Creating PyKF5/tmp/kitemmodels
2016-04-22 09:35:03,078 __main__ DEBUG: 
PyKF5/tmp/kitemmodels/kitemmodelsmod.sip.tmp
2016-04-22 09:35:03,078 __main__ INFO: /usr/bin/sip -c PyKF5/tmp/kitemmodels 
-b PyKF5/tmp/kitemmodels/module.sbf -x kitemmodelsmod_sip -x VendorID -t 
WS_X11 -t Qt_5_4_2 -x Py_v3 -I/usr/share/sip/PyQt5 -Isip 
PyKF5/tmp/kitemmodels/kitemmodelsmod.sip.tmp
2016-04-22 09:35:03,406 __main__ INFO: make -f module.Makefile
g++ -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -
D_FORTIFY_SOURCE=2 -fPIC -Wall -W -DNDEBUG -I. -I/usr/include/x86_64-linux-
gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/python2.7 
-o sipkitemmodelscmodule.o sipkitemmodelscmodule.cpp
g++ -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -
D_FORTIFY_SOURCE=2 -fPIC -Wall -W -DNDEBUG -I. -I/usr/include/x86_64-linux-
gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/python2.7 
-o sipkitemmodelsKSelectionProxyModel.o 
sipkitemmodelsKSelectionProxyModel.cpp
g++ -Wl,-Bsymbolic-functions -Wl,-z,relro -shared -Wl,--version-
script=kitemmodels.exp -o kitemmodels.so sipkitemmodelscmodule.o 
sipkitemmodelsKSelectionProxyModel.o -lm /usr/lib/x86_64-linux-
gnu/libQt5Core.so /usr/lib/x86_64-linux-gnu/libKF5ItemModels.so 
/usr/lib/x86_64-linux-gnu/libpython2.7.so
2016-04-22 09:35:03,665 __main__ INFO: Publishing PyKF5.kitemmodels
<module 'PyQt5.QtCore' from '/usr/lib/python2.7/dist-
packages/PyQt5/QtCore.so'>
Traceback (most recent call last):
  File "./pythontest.py", line 7, in <module>
    from PyKF5 import kitemmodels
SystemError: dynamic module not initialized properly



Thanks,

Steve.


More information about the Kde-bindings mailing list