[PyQt] PyKDE 3.16.6 build problem

Phil Thompson phil at riverbankcomputing.com
Mon Jan 25 09:49:32 GMT 2010


On Sun, 24 Jan 2010 00:53:14 +0100, "Hans-Peter Jansen" <hpj at urpla.net>
wrote:
> Dear Phil,
> 
> looks like PyKDE fails to compile with sip 4.10 and PyQt 3.18.1:
> 
> /opt/kde3/include/kfilemetainfo.h:1237: warning: type qualifiers ignored
on
> function return type
> g++ -c -Wno-deprecated-declarations -pipe -march=i586 -mtune=i686
> -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
> -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing
-fPIC
> -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I../extra/kde353
> -I/opt/kde3/include -I/opt/kde3/include/kio -I/usr/include/
> -I/usr/include/python2.6 -I/usr/lib/qt3/mkspecs/default
> -I/usr/lib/qt3/include -I/usr/X11R6/include -o 
> sipkioKIOMetaInfoJob.o sipkioKIOMetaInfoJob.cpp
> g++ -c -Wno-deprecated-declarations -pipe -march=i586 -mtune=i686
> -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
> -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing
-fPIC
> -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I../extra/kde353
> -I/opt/kde3/include -I/opt/kde3/include/kio -I/usr/include/
> -I/usr/include/python2.6 -I/usr/lib/qt3/mkspecs/default
> -I/usr/lib/qt3/include -I/usr/X11R6/include -o 
> sipkioKZipFileEntry.o sipkioKZipFileEntry.cpp
> In file included from sip/kio/kfilemetainfo.sip:297:
> /opt/kde3/include/kfilemetainfo.h:1237: warning: type qualifiers ignored
on
> function return type
> sip/kio/global.sip: In function 'PyObject*
func_testKIOMetaData(PyObject*,
> PyObject*)':
> sip/kio/global.sip:483: error: 'sipArgsParsed' was not declared in this
> scope
> In file included from /opt/kde3/include/kfileitem.h:31,
>                  from sip/kio/metainfojob.sip:34:
> /opt/kde3/include/kfilemetainfo.h:1237: warning: type qualifiers ignored
on
> function return type
> g++ -c -Wno-deprecated-declarations -pipe -march=i586 -mtune=i686
> -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
> -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing
-fPIC
> -g -Wall -W -D_REENTRANT -DQT_THREAD_SUPPORT -I. -I../extra/kde353
> -I/opt/kde3/include -I/opt/kde3/include/kio -I/usr/include/
> -I/usr/include/python2.6 -I/usr/lib/qt3/mkspecs/default
> -I/usr/lib/qt3/include -I/usr/X11R6/include -o 
> sipkioKZip.o sipkioKZip.cpp
> make[1]: *** [sipkiocmodule.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory `/usr/src/packages/BUILD/PyKDE-3.16.6/kio'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.25202 (%build)
> 
> KDE 3.5.10, Qt 3.3.8b
> 
> Any idea on how to circumvent this problem?

Try the attached (untested) patch.

Phil
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: PyKDE-3.16.7.diff
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100125/bc905801/attachment.ksh>


More information about the PyQt mailing list