Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 873391 - dev-python/pyside2-5.15.6: qdragmoveevent_wrapper.h:55:235: error: ‘DragMove’ is not a member of ‘QOpenGLShader’
Summary: dev-python/pyside2-5.15.6: qdragmoveevent_wrapper.h:55:235: error: ‘DragMove’...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Nowa Ammerlaan
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-09-29 06:37 UTC by Michał Górny
Modified: 2022-11-07 10:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-python:pyside2-5.15.6:20220929-062252.log (dev-python:pyside2-5.15.6:20220929-062252.log,516.14 KB, text/plain)
2022-09-29 06:37 UTC, Michał Górny
Details
emerge-info.txt (emerge-info.txt,7.55 KB, text/plain)
2022-09-29 06:38 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-09-29 06:37:50 UTC
Created attachment 814570 [details]
dev-python:pyside2-5.15.6:20220929-062252.log

In file included from /tmp/portage/dev-python/pyside2-5.15.6/work/pyside-setup-opensource-src-5.15.6/sources/pyside2_build-python3_8/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.cpp:63:
/tmp/portage/dev-python/pyside2-5.15.6/work/pyside-setup-opensource-src-5.15.6/sources/pyside2_build-python3_8/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.h:55:235: error: ‘DragMove’ is not a member of ‘QOpenGLShader’
   55 |     QDragMoveEventWrapper(const QPoint & pos, QFlags<Qt::DropAction> actions, const QMimeData * data, QFlags<Qt::MouseButton> buttons, QFlags<Qt::KeyboardModifier> modifiers, QFlags<QOpenGLShader::ShaderTypeBit> type = QOpenGLShader::DragMove);
      |                                                                                                                                                                                                                                           ^~~~~~~~
/tmp/portage/dev-python/pyside2-5.15.6/work/pyside-setup-opensource-src-5.15.6/sources/pyside2_build-python3_8/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.cpp: In constructor ‘QDragMoveEventWrapper::QDragMoveEventWrapper(const QPoint&, QFlags<Qt::DropAction>, const QMimeData*, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>, QFlags<QOpenGLShader::ShaderTypeBit>)’:
/tmp/portage/dev-python/pyside2-5.15.6/work/pyside-setup-opensource-src-5.15.6/sources/pyside2_build-python3_8/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.cpp:103:295: error: invalid user-defined conversion from ‘QFlags<QOpenGLShader::ShaderTypeBit>’ to ‘QEvent::Type’ [-fpermissive]

(and more)
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-09-29 06:38:27 UTC
Created attachment 814573 [details]
emerge-info.txt
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-10-13 12:51:54 UTC
Ping.
Comment 3 Nowa Ammerlaan gentoo-dev 2022-10-14 11:06:32 UTC
(In reply to Michał Górny from comment #2)
> Ping.

I'm sorry, these pyside/shiboken bugs are really challenging and I can't reproduce this one. As a start, can you verify that shiboken2 was compiled with the exact same version of clang present on the system.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-10-14 12:09:14 UTC
(In reply to Andrew Ammerlaan from comment #3)
> (In reply to Michał Górny from comment #2)
> > Ping.
> 
> I'm sorry, these pyside/shiboken bugs are really challenging and I can't
> reproduce this one. As a start, can you verify that shiboken2 was compiled
> with the exact same version of clang present on the system.

I've just rebuilt shiboken2 and pyside2 fails just the same.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-10-24 03:48:01 UTC
5.15.5 fails the same way, so it's not a regression in pyside2.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-10-24 04:17:20 UTC
Ok, so it's because shiboken2 is linking to clang:16.
Comment 7 Larry the Git Cow gentoo-dev 2022-10-24 05:14:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a9ce26c9e0b4de2297a079fb9f014f97c32f70d

commit 1a9ce26c9e0b4de2297a079fb9f014f97c32f70d
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-10-24 04:22:57 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-10-24 05:14:06 +0000

    dev-python/shiboken2: Force clang <= 15
    
    No revbump since clang-16 is not keyworded right now, and := will take
    care of rebuilding with new RDEP once it is.
    
    Closes: https://bugs.gentoo.org/873391
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/shiboken2/shiboken2-5.15.6.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
Comment 8 Nowa Ammerlaan gentoo-dev 2022-10-24 07:28:14 UTC
Thanks for the fix @mgorny
Comment 9 Larry the Git Cow gentoo-dev 2022-11-07 10:18:31 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f3f7efba853dbf095731fedea3d47f290a5f596

commit 0f3f7efba853dbf095731fedea3d47f290a5f596
Author:     Bernd Waibel <waebbl-gentoo@posteo.net>
AuthorDate: 2022-10-27 22:43:38 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2022-11-07 10:18:18 +0000

    dev-python/shiboken6: add 6.4.0
    
    Need to restrict to <clang-16 for now, bug #873391
    
    Bug: https://bugs.gentoo.org/873391
    Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 dev-python/shiboken6/Manifest               |   1 +
 dev-python/shiboken6/shiboken6-6.4.0.ebuild | 169 ++++++++++++++++++++++++++++
 2 files changed, 170 insertions(+)