Summary: | dev-python/PyQt-3.15.1 fails to compile with python-2.5 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Krzysztof Pawlik (RETIRED) <nelchael> |
Component: | New packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | chris, chrisconnett, qt |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 148333 |
Description
Krzysztof Pawlik (RETIRED)
2006-09-20 04:38:41 UTC
PyQt doesn't compile because sip generates wrong code (super.type instead of super.ht_type) - it should be fixed in sip itself, not in machine generated code in PyQt. *** Bug 148396 has been marked as a duplicate of this bug. *** *** Bug 148397 has been marked as a duplicate of this bug. *** Just to note that the patch supplied in http://bugs.gentoo.org/show_bug.cgi?id=148277 allows sip to emerge with python-2.5 but PyQT still does not emerge (at least on amd64): sip/qt/qstringlist.sip: In function ‘PyObject* slot_QStringList___getitem__(PyObject*, PyObject*)’: sip/qt/qstringlist.sip:189: error: cannot convert ‘int*’ to ‘Py_ssize_t*’ for argument ‘3’ to ‘int PySlice_GetIndicesEx(PySliceObject*, Py_ssize_t, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*)’ sip/qt/qstringlist.sip: In function ‘int slot_QStringList___delitem__(PyObject*, PyObject*)’: sip/qt/qstringlist.sip:161: error: cannot convert ‘int*’ to ‘Py_ssize_t*’ for argument ‘3’ to ‘int PySlice_GetIndicesEx(PySliceObject*, Py_ssize_t, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*)’ sip/qt/qstringlist.sip: In function ‘int slot_QStringList___setitem__(PyObject*, PyObject*)’: sip/qt/qstringlist.sip:118: error: cannot convert ‘int*’ to ‘Py_ssize_t*’ for argument ‘3’ to ‘int PySlice_GetIndicesEx(PySliceObject*, Py_ssize_t, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*)’ make[1]: *** [sipqtQStringList.o] Error 1 make[1]: *** Waiting for unfinished jobs.... sip/qt/qstring.sip: In function ‘PyObject* slot_QString___getitem__(PyObject*, PyObject*)’: sip/qt/qstring.sip:757: error: cannot convert ‘int*’ to ‘Py_ssize_t*’ for argument ‘3’ to ‘int PySlice_GetIndicesEx(PySliceObject*, Py_ssize_t, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*)’ make[1]: *** [sipqtQString.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/PyQt-3.15.1/work/PyQt-x11-gpl-3.15.1/qt' make: *** [all] Error 2 Using the current snapshots at http://www.riverbankcomputing.com/Downloads/Snapshots/ allows sip to emerge fine and once installed the current snapshot of PyQt (PyQt3) will emerge fine as well (litte choice after the python upgrade - had to get Luma working again). |