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

Bug 597938

Summary: PyQt5-5.7 fails to compile against qt-5.6.2: ‘const class QRect’ has no member named ‘transposed’
Product: Gentoo Linux Reporter: Dale Lukas Peterson <hazelnusse>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED DUPLICATE    
Severity: normal CC: covici, xaviermiller
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info '=dev-python/PyQt5-5.7::gentoo'
emerge -pqv '=dev-python/PyQt5-5.7::gentoo'
build.log
environment

Description Dale Lukas Peterson 2016-10-24 02:12:14 UTC
Created attachment 451222 [details]
emerge --info '=dev-python/PyQt5-5.7::gentoo'

/var/tmp/portage/dev-python/PyQt5-5.7/work/PyQt5_gpl-5.7-python2_7/QtCore/sipQtCoreQRect.cpp: In function ‘PyObject* meth_QRect_transposed(PyObject*, PyObject*)’:
/var/tmp/portage/dev-python/PyQt5-5.7/work/PyQt5_gpl-5.7-python2_7/QtCore/sipQtCoreQRect.cpp:1670:40: error: ‘const class QRect’ has no member named ‘transposed’; did you mean ‘translated’?
             sipRes = new QRect(sipCpp->transposed());
                                        ^~~~~~~~~~
Comment 1 Dale Lukas Peterson 2016-10-24 02:12:41 UTC
Created attachment 451224 [details]
emerge -pqv '=dev-python/PyQt5-5.7::gentoo'
Comment 2 Dale Lukas Peterson 2016-10-24 02:12:58 UTC
Created attachment 451226 [details]
build.log
Comment 3 Dale Lukas Peterson 2016-10-24 02:13:15 UTC
Created attachment 451228 [details]
environment
Comment 4 John Covici 2016-10-26 19:15:38 UTC
I am not sure if my error is related, but it seems similar to what you have.

x86_64-pc-linux-gnu-g++ -c -O2 -mtune=core2 -pipe -ggdb -fno-exceptions -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -I. -I. -isystem /usr/include/python2.7 -I../../PyQt5_gpl-5.7/qpy/QtCore -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o sipQtCoreQDataStream.o sipQtCoreQDataStream.cpp
/var/tmp/portage/dev-python/PyQt5-5.7/work/PyQt5_gpl-5.7-python2_7/QtCore/sipQtCoreQDataStream.cpp: In function ‘PyObject* meth_QDataStream_startTransaction(PyObject*, PyObject*)’:
/var/tmp/portage/dev-python/PyQt5-5.7/work/PyQt5_gpl-5.7-python2_7/QtCore/sipQtCoreQDataStream.cpp:1915:21: error: ‘class QDataStream’ has no member named ‘startTransaction’
         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataStream, &sipCpp))
                     ^
/var/tmp/portage/dev-python/PyQt5-5.7/work/PyQt5_gpl-5.7-python2_7/QtCore/sipQtCoreQDataStream.cpp: In function ‘PyObject* meth_QDataStream_commitTransaction(PyObject*, PyObject*)’:
/var/tmp/portage/dev-python/PyQt5-5.7/work/PyQt5_gpl-5.7-python2_7/QtCore/sipQtCoreQDataStream.cpp:1943:30: error: ‘class QDataStream’ has no member named ‘commitTransaction’
             sipCpp->abortTransaction();
                              ^
/var/tmp/portage/dev-python/PyQt5-5.7/work/PyQt5_gpl-5.7-python2_7/QtCore/sipQtCoreQDataStream.cpp: In function ‘PyObject* meth_QDataStream_rollbackTransaction(PyObject*, PyObject*)’:
/var/tmp/portage/dev-python/PyQt5-5.7/work/PyQt5_gpl-5.7-python2_7/QtCore/sipQtCoreQDataStream.cpp:1968:21: error: ‘class QDataStream’ has no member named ‘rollbackTransaction’
             QDataStream*sipRes;
                     ^
/var/tmp/portage/dev-python/PyQt5-5.7/work/PyQt5_gpl-5.7-python2_7/QtCore/sipQtCoreQDataStream.cpp: In function ‘PyObject* meth_QDataStream_abortTransaction(PyObject*, PyObject*)’:
/var/tmp/portage/dev-python/PyQt5-5.7/work/PyQt5_gpl-5.7-python2_7/QtCore/sipQtCoreQDataStream.cpp:1994:21: error: ‘class QDataStream’ has no member named ‘abortTransaction’
/var/tmp/portage/dev-python/PyQt5-5.7/work/PyQt5_gpl-5.7-python2_7/QtCore/sipQtCoreQDataStream.cpp: At global scope:
/var/tmp/portage/dev-python/PyQt5-5.7/work/PyQt5_gpl-5.7-python2_7/QtCore/sipQtCoreQDataStream.cpp:3002:39: error: ‘Qt_5_7’ is not a member of ‘QDataStream’
make[1]: *** [Makefile:1180: sipQtCoreQDataStream.o] Error 1
Comment 5 Michael Palimaka (kensington) gentoo-dev 2016-10-28 11:07:39 UTC

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