Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 646562

Summary: =dev-python/PyQt5-5.10 should depend on >=qt 5.10
Product: Gentoo Linux Reporter: Chris Torske <ct85711>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ab4bd, esigra, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Chris Torske 2018-02-04 10:45:32 UTC
=dev-python/PyQt5-5.10 Failed to compile with error ‘const class QByteArray’ has no member named ‘chopped’.

/var/tmp/portage/dev-python/PyQt5-5.10/work/PyQt5_gpl-5.10-python2_7/QtCore/sipQtCoreQByteArray.cpp: In function ‘PyObject* meth_QByteArray_chopped(PyObject*, PyObject*)’:
/var/tmp/portage/dev-python/PyQt5-5.10/work/PyQt5_gpl-5.10-python2_7/QtCore/sipQtCoreQByteArray.cpp:2263:48: error: ‘const class QByteArray’ has no member named ‘chopped’; did you mean ‘chop’?
             Py_INCREF(sipSelf);
                                                ^      
                                                chop
make[1]: *** [Makefile:1294: sipQtCoreQByteArray.o] Error 1



The issue is that chopped was introduced in qt 5.10.  QT's documentation about this method:
http://doc.qt.io/qt-5/qbytearray.html#chopped

At this time, PyQt5-5.10 ebuild needs to depend on 5.10 instead of 5.9 and possibly be masked until qt 5.10 is available in portage.
Comment 1 Chris Torske 2018-02-04 10:57:27 UTC
Created attachment 517768 [details]
build.log
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2018-02-04 18:43:43 UTC

*** This bug has been marked as a duplicate of bug 646580 ***