[PyQt] PyKDE-3.16.3 build failure

Phil Thompson phil at riverbankcomputing.com
Fri Oct 9 20:07:18 BST 2009


On Fri, 9 Oct 2009 17:19:10 +0200, "Hans-Peter Jansen" <hpj at urpla.net>
wrote:
> Hi,
> 
> an attempt to build PyKDE-3.16.3 with sip 4.9 and PyQt 3.18.1 in
openSUSEs 
> build service failed with this error:
> 
> g++ -c -Wno-deprecated-declarations -pipe -fmessage-length=0 -O2 -Wall 
> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables 
> -g -DUSE_LIB64_PATHES -fno-strict-aliasing -fPIC -fmessage-length=0 -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../extra/kde353
-I/opt/kde3/include
> 
> -I/usr/include/ -I/usr/include/python2.6 -I/usr/lib/qt3/mkspecs/default 
> -I/usr/lib/qt3/include -I/usr/X11R6/include -o sipkdecoreKAccelActions.o 
> sipkdecoreKAccelActions.cpp
> sipkdecoreKAccelActions.cpp: In function 'void
assign_KAccelActions(void*, 
> Py_ssize_t, const void*)':
> sipkdecoreKAccelActions.cpp:591: error: no match for 'operator=' 
> in '*(((KAccelActions*)sipDst) + ((long unsigned int)(((long unsigned 
> int)sipDstIdx) * 40ul))) = *(const KAccelActions*)sipSrc'
> ../extra/kde353/kaccelaction.h:571: note: candidates are: KAccelActions& 
> KAccelActions::operator=(KAccelActions&)
> make[1]: *** [sipkdecoreKAccelActions.o] Error 1
> make[1]: Leaving directory `/usr/src/packages/BUILD/PyKDE-3.16.3/kdecore'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.28884 (%build)

Can you try adding a private assignment operator for KAccelActions in its
.sip file?

Phil


More information about the PyQt mailing list