Bug 665952 - python3-PyQt4 FTBFS against python-3.2a
Summary: python3-PyQt4 FTBFS against python-3.2a
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: PyQt4
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 665953
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-28 04:27 UTC by Rex Dieter
Modified: 2011-01-05 21:39 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-01-05 21:39:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rex Dieter 2010-12-28 04:27:28 UTC
See,
http://koji.fedoraproject.org/koji/taskinfo?taskID=2688618

....
     from sipAPIQtCore.h:38,
                 from sipQtCoreQVector2400.cpp:34:
/usr/include/python3.2/pyatomic.h:58:1: warning: unused parameter 'address'
/builddir/build/BUILD/python3-PyQt4-4.8.2-1.fc15/sip/QtCore/qxmlstream.sip: In function 'int slot_QXmlStreamAttributes___delitem__(PyObject*, PyObject*)':
/builddir/build/BUILD/python3-PyQt4-4.8.2-1.fc15/sip/QtCore/qxmlstream.sip:209:69: error: cannot convert 'PyObject*' to 'PySliceObject*' for argument '1' to 'int PySlice_GetIndicesEx(PySliceObject*, Py_ssize_t, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*)'
/builddir/build/BUILD/python3-PyQt4-4.8.2-1.fc15/sip/QtCore/qxmlstream.sip: In function 'int slot_QXmlStreamAttributes___setitem__(PyObject*, PyObject*)':
/builddir/build/BUILD/python3-PyQt4-4.8.2-1.fc15/sip/QtCore/qxmlstream.sip:162:69: error: cannot convert 'PyObject*' to 'PySliceObject*' for argument '1' to 'int PySlice_GetIndicesEx(PySliceObject*, Py_ssize_t, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*)'
/builddir/build/BUILD/python3-PyQt4-4.8.2-1.fc15/sip/QtCore/qxmlstream.sip: In function 'PyObject* slot_QXmlStreamAttributes___getitem__(PyObject*, PyObject*)':
/builddir/build/BUILD/python3-PyQt4-4.8.2-1.fc15/sip/QtCore/qxmlstream.sip:229:69: error: cannot convert 'PyObject*' to 'PySliceObject*' for argument '1' to 'int PySlice_GetIndicesEx(PySliceObject*, Py_ssize_t, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*)'
g++ -c -pipe -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2  -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wall -W -D_REENTRANT -DNDEBUG -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/builddir/build/BUILD/python3-PyQt4-4.8.2-1.fc15/qpy/QtCore -I/usr/include/python3.2 -I/usr/lib/qt4/mkspecs/default -I/usr/include/QtCore -I/usr/include -o sipQtCoreQVector1900.o sipQtCoreQVector1900.cpp
g++ -c -pipe -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2  -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wall -W -D_REENTRANT -DNDEBUG -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I/builddir/build/BUILD/python3-PyQt4-4.8.2-1.fc15/qpy/QtCore -I/usr/include/python3.2 -I/usr/lib/qt4/mkspecs/default -I/usr/include/QtCore -I/usr/include -o sipQtCoreQList0100QVariantType.o sipQtCoreQList0100QVariantType.cpp
make[1]: *** [sipQtCoreQXmlStreamAttributes.o] Error 1

Comment 1 Rex Dieter 2010-12-28 04:31:23 UTC
Per upstream ml on the topic,

On Sun, 26 Dec 2010 17:28:22 -0600, Rex Dieter <rdieter.edu>
wrote:
> Phil Thompson wrote:
> 
>> PyQt v4.8.2 has been released.
> 
> I'm seeing a build failure against python3, 

You mean Python v3.2a. There are source code incompatibilities in Python
v3.2b. Use the latest beta version.

Phil

Comment 2 Rex Dieter 2011-01-05 21:39:24 UTC
Happy now.


Note You need to log in before you can comment on or make changes to this bug.