Summary: | devel/pyside2 Build fails complaining about DragMove | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | mhambley <freebsd-bugs> |
Component: | Individual Port(s) | Assignee: | freebsd-kde (group) <kde> |
Status: | In Progress --- | ||
Severity: | Affects Only Me | CC: | adridg, perestoronin, vishwin |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(kde) |
Version: | Latest | ||
Hardware: | amd64 | ||
OS: | Any |
Description
mhambley
2023-04-09 07:13:12 UTC
Can't reproduce in a local poudriere with up-to-date ports. Do you have any unusual flags -- options unset or so? I assume your Qt version is 5.15.8 (with various pXXX because of the KDE patch collection).
Based on your error message here, I looked at /wrkdirs/usr/ports/devel/pyside2/work-py39/.build/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.h locally, which is different source from what your error message shows:
public:
QDragMoveEventWrapper(const QPoint & pos, QFlags<Qt::DropAction> actions, con
st QMimeData * data, QFlags<Qt::MouseButton> buttons, QFlags<Qt::KeyboardModifier
> modifiers, QEvent::Type type = DragMove);
~QDragMoveEventWrapper();
Now, this is a generated file (as part of the build) so where your differently-generated source comes from is a bit of a mystery to me.
My Python is python39-3.9.16_2, QT is qt5-core-5.15.8p157_1. Pyside port options are to disable WEBENGINE. My /usr/local/etc/poudriere.d/make.conf adds to DEFAULT_VERSIONS llvm=16 java=19 ssl=libressl Anything else I can help with? This might be relevant but it doesn't fill me with joy: https://forum.qt.io/topic/144731/pyside2-missing-qopenglshader/2 I tried the Open Mandriva patch but it seems to be tackling a different problem. In particular it doesn't mention DragMove which is mentioned in the error message. When implemented I get the same error message. It looks like this problem is OpenGL related. Of course once FreeCAD has migrated to QT6 and PySide6 hopefully this will all go away for me. But that doesn't seem to be coming in the short term and there is other software which depends on pyside2. I just got bit by this on -CURRENT whilst testing changes elsewhere. According to the rest of OpenMandriva's commit adding their patch https://github.com/OpenMandrivaAssociation/qt5-qtbase/commit/20f97a4bfb95658bc35c3292ac11e52c335cc1e9 , this is caused by clang 16 (and later) exposing buggy/broken behaviour in pyside2 generated code. (In reply to mhambley from comment #5) See https://github.com/OpenMandrivaAssociation/qt5-qtbase/blob/master/qtbase-5.15.9-work-around-pyside2-brokenness.patch#L73 |