[PyQt] PyKDE-3.16.3 build failure

Hans-Peter Jansen hpj at urpla.net
Fri Oct 9 16:19:10 BST 2009


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)

Here are the configure messages:


     PyKDE version 3.16.2
           -------

Python include directory is /usr/include/python2.6
Python version is 2.6.0

sip version is 4.9 (4.9.0)

Qt directory is /usr/lib/qt3
Qt version is 3.3.8

PyQt directory is /usr/share/sip
PyQt version is 3.18.1 (3.18.1)

gcc version 4.3
no concatenation

KDE base directory is /opt/kde3
KDE include directory is /opt/kde3/include
KDE lib directory is /opt/kde3/lib
lib directory is lib

*** True KDE version is 0x3050a -- building for KDE 0x30503 ***

KDE version is 3.5.3 (0x30503)

PyKDE modules will be installed in /usr/lib/python2.6/site-packages
PyKDE .sip files will be installed in /usr/share/sip

PyKDE modules to be built:
   dcop kdecore kdefx kdeui kio kresources kabc kutils kfile kparts khtml 
kspell kdeprint kmdi

The KDE version is: kdelibs3-3.5.10, and PyKDE itself is 3.16.3, at least
the archive is called that way, and not 3.16.2.

The true kde version is the one, Jim has collected the extra header files 
for, but that cannot be the problem here, because 
extra/kde353/kaccelaction.h 
and /usr/src/packages/BUILD/kdelibs-3.5.10/kdecore/kaccelaction.h
are identical.

Some enlightment is appreciated.

Thanks,
Pete


More information about the PyQt mailing list