Here's the tail end of my first attempt at a build locally: g++ -c -pipe -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/home/rdieter1/cvs.fedoraproject.org/PyQt4/devel/PyQt-x11-gpl-4.6/qpy/QtCore -I/usr/include/python2.6 -I/usr/lib64/qt4/mkspecs/default -I/usr/include/QtCore -I/usr/include -I/usr/X11R6/include -o sipQtCoreQRunnable.o sipQtCoreQRunnable.cpp g++ -c -pipe -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/home/rdieter1/cvs.fedoraproject.org/PyQt4/devel/PyQt-x11-gpl-4.6/qpy/QtCore -I/usr/include/python2.6 -I/usr/lib64/qt4/mkspecs/default -I/usr/include/QtCore -I/usr/include -I/usr/X11R6/include -o sipQtCoreQResource.o sipQtCoreQResource.cpp g++ -c -pipe -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W -D_REENTRANT -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/home/rdieter1/cvs.fedoraproject.org/PyQt4/devel/PyQt-x11-gpl-4.6/qpy/QtCore -I/usr/include/python2.6 -I/usr/lib64/qt4/mkspecs/default -I/usr/include/QtCore -I/usr/include -I/usr/X11R6/include -o sipQtCoreQRegExp.o sipQtCoreQRegExp.cpp In file included from sip/QtCore/qresource.sip:40: /usr/include/QtCore/qscopedpointer.h: In copy constructor 'QResource::QResource(const QResource&)': /usr/include/QtCore/qscopedpointer.h:180: error: 'QScopedPointer<T, Cleanup>::QScopedPointer(const QScopedPointer<T, Cleanup>&) [with T = QResourcePrivate, Cleanup = QScopedPointerDeleter<QResourcePrivate>]' is private /usr/include/QtCore/qresource.h:59: error: within this context sipQtCoreQResource.cpp: In constructor 'sipQResource::sipQResource(const QResource&)': sipQtCoreQResource.cpp:78: note: synthesized method 'QResource::QResource(const QResource&)' first required here In file included from /usr/include/QtCore/qdatastream.h:46, from /usr/include/QtCore/qmetatype.h:50, from /usr/include/QtCore/QMetaType:2, from sipAPIQtCore.h:41, from sipQtCoreQResource.cpp:35: /usr/include/QtCore/qscopedpointer.h: In static member function 'static void QScopedPointerDeleter<T>::cleanup(T*) [with T = QResourcePrivate]': /usr/include/QtCore/qscopedpointer.h:100: instantiated from 'QScopedPointer<T, Cleanup>::~QScopedPointer() [with T = QResourcePrivate, Cleanup = QScopedPointerDeleter<QResourcePrivate>]' /usr/include/QtCore/qresource.h:59: instantiated from here /usr/include/QtCore/qscopedpointer.h:59: error: invalid application of 'sizeof' to incomplete type 'QResourcePrivate' /usr/include/QtCore/qscopedpointer.h:59: error: creating array with negative size ('-0x00000000000000001') make[2]: *** [sipQtCoreQResource.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/home/rdieter1/cvs.fedoraproject.org/PyQt4/devel/PyQt-x11-gpl-4.6/QtCore'
Open qresource.sip and get rid of the bindings for QResourcePrivate and other private stuff. Why the heck is their crappy binding generator trying to bind private classes???
Trying out sip-4.9.1/PyQt4-4.6.1 20091014 snapshots, these seem to be a bit better, builds getting past the fail point above.
woo, we have a winner. %changelog * Thu Oct 15 2009 Rex Dieter <rdieter> - 4.6.1-0.1.20091014 - PyQt4-4.6.1-snapshot-20091014 (#529192)