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)
Created attachment 814573 [details] emerge-info.txt
Ping.
(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.
(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.
5.15.5 fails the same way, so it's not a regression in pyside2.
Ok, so it's because shiboken2 is linking to clang:16.
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(-)
Thanks for the fix @mgorny
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(+)