[PyQt] QSet build issues with current PyQt snapshot

Hans-Peter Jansen hpj at urpla.net
Mon Dec 20 10:03:45 GMT 2010


Hi Phil,

all current PyQt snapshot builds fail with:

g++ -c -pipe -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall 
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables 
-fasynchronous-unwind-tables -g -fPIC -g -Wall -W -D_REENTRANT 
-DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_CORE_LIB -I. 
-I/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/qpy/QtCore 
-I/usr/include/python2.6 -I/usr/mkspecs/linux-g++ -I/usr/include/QtCore 
-I/usr/include -o sipQtCoreQSet0100QtDayOfWeek.o sipQtCoreQSet0100QtDayOfWeek.cpp

/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/QtCore/sipQtCoreQSet0100QtDayOfWeek.cpp: In function 'void 
assign_QSet_0100Qt_DayOfWeek(void*, Py_ssize_t, const void*)':
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/QtCore/sipQtCoreQSet0100QtDayOfWeek.cpp:48: error: invalid use of incomplete 
type 'struct QSet<Qt::DayOfWeek>'
/usr/include/QtCore/qlist.h:65: error: declaration of 'struct QSet<Qt::DayOfWeek>'
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/QtCore/sipQtCoreQSet0100QtDayOfWeek.cpp:48: error: invalid use of incomplete 
type 'struct QSet<Qt::DayOfWeek>'
/usr/include/QtCore/qlist.h:65: error: declaration of 'struct QSet<Qt::DayOfWeek>'
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/QtCore/sipQtCoreQSet0100QtDayOfWeek.cpp: In function 'void* 
array_QSet_0100Qt_DayOfWeek(Py_ssize_t)':
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/QtCore/sipQtCoreQSet0100QtDayOfWeek.cpp:55: error: invalid use of incomplete 
type 'struct QSet<Qt::DayOfWeek>'
/usr/include/QtCore/qlist.h:65: error: declaration of 'struct QSet<Qt::DayOfWeek>'
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/QtCore/sipQtCoreQSet0100QtDayOfWeek.cpp: In function 'void* 
copy_QSet_0100Qt_DayOfWeek(const void*, Py_ssize_t)':
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/QtCore/sipQtCoreQSet0100QtDayOfWeek.cpp:62: error: invalid use of incomplete 
type 'struct QSet<Qt::DayOfWeek>'
/usr/include/QtCore/qlist.h:65: error: declaration of 'struct QSet<Qt::DayOfWeek>'
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/QtCore/sipQtCoreQSet0100QtDayOfWeek.cpp:62: error: invalid use of incomplete 
type 'struct QSet<Qt::DayOfWeek>'
/usr/include/QtCore/qlist.h:65: error: declaration of 'struct QSet<Qt::DayOfWeek>'
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/QtCore/sipQtCoreQSet0100QtDayOfWeek.cpp: In function 'void 
release_QSet_0100Qt_DayOfWeek(void*, int)':
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/QtCore/sipQtCoreQSet0100QtDayOfWeek.cpp:71: warning: possible problem detected 
in invocation of delete operator:
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/QtCore/sipQtCoreQSet0100QtDayOfWeek.cpp:71: warning: invalid use of incomplete 
type 'struct QSet<Qt::DayOfWeek>'
/usr/include/QtCore/qlist.h:65: warning: declaration of 'struct QSet<Qt::DayOfWeek>'
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/QtCore/sipQtCoreQSet0100QtDayOfWeek.cpp:71: note: neither the destructor nor 
the class-specific operator delete will be called, even if they are declared when the class is defined.
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/sip/QtCore/qnamespace.sip: In function 'int 
convertTo_QSet_0100Qt_DayOfWeek(PyObject*, void**, int*, PyObject*)':
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/sip/QtCore/qnamespace.sip:1929: error: invalid use of incomplete type 'struct 
QSet<Qt::DayOfWeek>'
/usr/include/QtCore/qlist.h:65: error: declaration of 'struct QSet<Qt::DayOfWeek>'
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/sip/QtCore/qnamespace.sip:1937: error: invalid use of incomplete type 'struct 
QSet<Qt::DayOfWeek>'
/usr/include/QtCore/qlist.h:65: error: declaration of 'struct QSet<Qt::DayOfWeek>'
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/sip/QtCore/qnamespace.sip: In function 'PyObject* 
convertFrom_QSet_0100Qt_DayOfWeek(void*, PyObject*)':
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/sip/QtCore/qnamespace.sip:1872: error: invalid use of incomplete type 'struct 
QSet<Qt::DayOfWeek>'
/usr/include/QtCore/qlist.h:65: error: declaration of 'struct QSet<Qt::DayOfWeek>'
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/sip/QtCore/qnamespace.sip:1876: error: incomplete type 'QSet<Qt::DayOfWeek>' 
used in nested name specifier
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/sip/QtCore/qnamespace.sip:1876: error: expected `;' before 'it'
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/sip/QtCore/qnamespace.sip:1878: error: invalid use of incomplete type 'struct 
QSet<Qt::DayOfWeek>'
/usr/include/QtCore/qlist.h:65: error: declaration of 'struct QSet<Qt::DayOfWeek>'
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/sip/QtCore/qnamespace.sip:1882: error: 'it' was not declared in this scope
/usr/src/packages/BUILD/PyQt-x11-gpl-snapshot-4.8.2-a330e5597d05/sip/QtCore/qnamespace.sip:1891: error: 'it' was not declared in this scope

Build log:

https://build.opensuse.org/package/live_build_log?arch=i586&package=python-qt4&project=home%3Afrispete%3APyQt-next&repository=KDE_Distro_Factory_openSUSE_11.1

If you need additional infos, let me know.

Pete


More information about the PyQt mailing list