[PyQt] python-qt3 fails with current sip versions
Hans-Peter Jansen
hpj at urpla.net
Mon May 15 22:51:35 BST 2017
Hi,
looks like python-qt3 fails to compile with newer sip versions:
[ 88s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DUSE_LIB64_PATHES -fno-strict-aliasing -fPIC -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DUSE_LIB64_PATHES -fno-strict-aliasing -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/include/ -I/usr/include/python2.7 -I/usr/lib/qt3/mkspecs/default -I/usr/lib/qt3/include -I/usr/X11R6/include -o sipqtQWhatsThis.o sipqtQWhatsThis.cpp
[ 88s] sip/qt/qobject.sip:1265:1: warning: missing initializer for member '_heaptypeobject::as_number' [-Wmissing-field-initializers]
[ 88s] sip/qt/qobject.sip:1265:1: warning: missing initializer for member '_heaptypeobject::as_mapping' [-Wmissing-field-initializers]
[ 88s] sip/qt/qobject.sip:1265:1: warning: missing initializer for member '_heaptypeobject::as_sequence' [-Wmissing-field-initializers]
[ 88s] sip/qt/qobject.sip:1265:1: warning: missing initializer for member '_heaptypeobject::as_buffer' [-Wmissing-field-initializers]
[ 88s] sip/qt/qobject.sip:1265:1: warning: missing initializer for member '_heaptypeobject::ht_name' [-Wmissing-field-initializers]
[ 88s] sip/qt/qobject.sip:1265:1: warning: missing initializer for member '_heaptypeobject::ht_slots' [-Wmissing-field-initializers]
[ 88s] sip/qt/qobject.sip:1265:1: warning: missing initializer for member '_sipWrapperType::wt_td' [-Wmissing-field-initializers]
[ 88s] sip/qt/qobject.sip:1265:1: warning: missing initializer for member '_sipWrapperType::wt_iextend' [-Wmissing-field-initializers]
[ 88s] sip/qt/qobject.sip:1265:1: warning: missing initializer for member '_sipWrapperType::wt_new_user_type_handler' [-Wmissing-field-initializers]
[ 88s] sip/qt/qobject.sip:1265:1: warning: missing initializer for member '_sipWrapperType::wt_user_data' [-Wmissing-field-initializers]
[ 88s] sip/qt/qobject.sip: In function 'int pyqt3EmitSignal(PyObject*, const char*, PyObject*)':
[ 88s] sip/qt/qobject.sip:2208:9: error: 'pyqt3QtSignal' was not declared in this scope
[ 88s] sip/qt/qobject.sip:2208:24: error: 'tab' was not declared in this scope
[ 88s] sip/qt/qobject.sip:2211:22: error: 'pyqt3ClassTypeDef' was not declared in this scope
[ 88s] sip/qt/qobject.sip:2211:41: error: expected primary-expression before ')' token
[ 88s] qt/sipqtcmodule.cpp: At global scope:
[ 88s] qt/sipqtcmodule.cpp:8336:153: error: 'QEventLoop::ProcessEventsFlags' has not been declared
[ 88s] Makefile:18: recipe for target 'sipqtcmodule.o' failed
[ 88s] make[1]: *** [sipqtcmodule.o] Error 1
[ 88s] make[1]: *** Waiting for unfinished jobs....
[ 90s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/PyQt-x11-gpl-3.18.1/qt'
[ 90s] Makefile:3: recipe for target 'all' failed
[ 90s] make: *** [all] Error 2
[ 90s] error: Bad exit status from /var/tmp/rpm-tmp.NGHPvk (%build)
Has anybody investigated this issue, or even has a diff available already?
Cheers,
Pete
More information about the PyQt
mailing list