Bug 665952

Summary: python3-PyQt4 FTBFS against python-3.2a
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: PyQt4Assignee: Rex Dieter <rdieter>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dmalcolm, rdieter, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-05 21:39:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 665953    
Bug Blocks:    

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.