[Kde-bindings] [Bug 275919] pykde4 fails to build with Python 3.2

Andrea Scarpino andrea at archlinux.org
Wed Dec 21 10:54:36 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=275919


Andrea Scarpino <andrea at archlinux.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrea at archlinux.org




--- Comment #3 from Andrea Scarpino <andrea archlinux org>  2011-12-21 10:54:36 ---
I can confirm the bug with KDE 4.8rc1:

[ 31%] Building CXX object
CMakeFiles/python_module_PyKDE4_kio.dir/sip/kio/sipkiopart4.o
In file included from /usr/include/python3.2mu/Python.h:52:0,                   
                 from /usr/include/python3.2mu/sip.h:32,
                 from
/home/bash/builds/kdebindings-python/src/build/sip/kio/sipAPIkio.h:11,
                 from
/home/bash/builds/kdebindings-python/src/build/sip/kio/sipkiopart4.cpp:7:
/usr/include/python3.2mu/pyatomic.h:59:1: warning: unused parameter ‘address’
[-Wunused-parameter]
/home/bash/builds/kdebindings-python/src/pykde4-4.7.95/sip/kio/kfileitem.sip:
In function ‘PyObject* slot_KFileItemList___getitem__(PyObject*, PyObject*)’:
/home/bash/builds/kdebindings-python/src/pykde4-4.7.95/sip/kio/kfileitem.sip:239:94:
error: cannot convert ‘PySliceObject*’ to ‘PyObject* {aka _object*}’ for
argument ‘1’ to ‘int PySlice_GetIndicesEx(PyObject*, Py_ssize_t, Py_ssize_t*,
Py_ssize_t*, Py_ssize_t*, Py_ssize_t*)’
make[2]: *** [CMakeFiles/python_module_PyKDE4_kio.dir/sip/kio/sipkiopart4.o]
Error 1
make[1]: *** [CMakeFiles/python_module_PyKDE4_kio.dir/all] Error 2
make: *** [all] Error 2

Also, I confirm Arfrever's patch fixed it!

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kde-bindings mailing list