[Bug 270715] devel/pyside2 Build fails complaining about DragMove
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Apr 2023 07:13:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270715 Bug ID: 270715 Summary: devel/pyside2 Build fails complaining about DragMove Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: freebsd-bugs@account.aether.me.uk Assignee: kde@FreeBSD.org Flags: maintainer-feedback?(kde@FreeBSD.org) Ports built by Poudriere on FreeBSD 13.1-RELEASE-p6 GENERIC (amd64) For a while now pyside2 has been failing to build with the following error: [ 14% 236/1649] /usr/bin/c++ -DNDEBUG -DPYSIDE_QML_SUPPORT=1 -DQT_CORE_LIB -DQT_ GUI_LIB -DQT_NO_DEBUG -DQtGui_EXPORTS -I/wrkdirs/usr/ports/devel/pyside2/work-py 39/pyside-setup-opensource-src-5.15.2/sources/pyside2/PySide2/QtGui/QtGui -I/wrk dirs/usr/ports/devel/pyside2/work-py39/pyside-setup-opensource-src-5.15.2/source s/pyside2/PySide2/QtGui -I/wrkdirs/usr/ports/devel/pyside2/work-py39/.build/PySi de2/QtGui -I/wrkdirs/usr/ports/devel/pyside2/work-py39/pyside-setup-opensource-s rc-5.15.2/sources/pyside2/PySide2 -I/wrkdirs/usr/ports/devel/pyside2/work-py39/p yside-setup-opensource-src-5.15.2/sources/pyside2/libpyside -I/wrkdirs/usr/ports /devel/pyside2/work-py39/.build/PySide2/QtCore/PySide2/QtCore -isystem /usr/loca l/include/qt5 -isystem /usr/local/include/qt5/QtCore -isystem /usr/local/lib/qt5 /mkspecs/freebsd-clang -isystem /usr/local/include/qt5/QtGui -isystem /usr/local /include -isystem /usr/local/include/shiboken2 -isystem /usr/local/include/python3.9 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fvisibility=hidden -Wno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -fPIC -fPIC -std=gnu++11 -MD -MT PySide2/QtGui/CMakeFiles/QtGui.dir/PySide2/QtGui/qdragmoveevent_wrapper.cpp.o -MF PySide2/QtGui/CMakeFiles/QtGui.dir/PySide2/QtGui/qdragmoveevent_wrapper.cpp.o.d -o PySide2/QtGui/CMakeFiles/QtGui.dir/PySide2/QtGui/qdragmoveevent_wrapper.cpp.o -c /wrkdirs/usr/ports/devel/pyside2/work-py39/.build/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.cpp FAILED: PySide2/QtGui/CMakeFiles/QtGui.dir/PySide2/QtGui/qdragmoveevent_wrapper.cpp.o /usr/bin/c++ -DNDEBUG -DPYSIDE_QML_SUPPORT=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQtGui_EXPORTS -I/wrkdirs/usr/ports/devel/pyside2/work-py39/pyside-setup-opensource-src-5.15.2/sources/pyside2/PySide2/QtGui/QtGui -I/wrkdirs/usr/ports/devel/pyside2/work-py39/pyside-setup-opensource-src-5.15.2/sources/pyside2/PySide2/QtGui -I/wrkdirs/usr/ports/devel/pyside2/work-py39/.build/PySide2/QtGui -I/wrkdirs/usr/ports/devel/pyside2/work-py39/pyside-setup-opensource-src-5.15.2/sources/pyside2/PySide2 -I/wrkdirs/usr/ports/devel/pyside2/work-py39/pyside-setup-opensource-src-5.15.2/sources/pyside2/libpyside -I/wrkdirs/usr/ports/devel/pyside2/work-py39/.build/PySide2/QtCore/PySide2/QtCore -isystem /usr/local/include/qt5 -isystem /usr/local/include/qt5/QtCore -isystem /usr/local/lib/qt5/mkspecs/freebsd-clang -isystem /usr/local/include/qt5/QtGui -isystem /usr/local/include -isystem /usr/local/include/shiboken2 -isystem /usr/local/include/python3.9 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -fvisibility=hidden -Wno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -fPIC -fPIC -std=gnu++11 -MD -MT PySide2/QtGui/CMakeFiles/QtGui.dir/PySide2/QtGui/qdragmoveevent_wrapper.cpp.o -MF PySide2/QtGui/CMakeFiles/QtGui.dir/PySide2/QtGui/qdragmoveevent_wrapper.cpp.o.d -o PySide2/QtGui/CMakeFiles/QtGui.dir/PySide2/QtGui/qdragmoveevent_wrapper.cpp.o -c /wrkdirs/usr/ports/devel/pyside2/work-py39/.build/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.cpp In file included from /wrkdirs/usr/ports/devel/pyside2/work-py39/.build/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.cpp:65: /wrkdirs/usr/ports/devel/pyside2/work-py39/.build/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.h:55:220: error: no member named 'DragMove' in 'QOpenGLShader'; did you mean simply 'DragMove'? 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); ^~~~~~~~~~~~~~~~~~~~~~~ DragMove /usr/local/include/qt5/QtCore/qcoreevent.h:107:9: note: 'DragMove' declared here DragMove = 61, // drag moves in widget ^ In file included from /wrkdirs/usr/ports/devel/pyside2/work-py39/.build/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.cpp:65: /wrkdirs/usr/ports/devel/pyside2/work-py39/.build/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.h:55:213: error: no viable conversion from 'QEvent::Type' to 'QFlags<QOpenGLShader::ShaderTypeBit>' 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); ^ ~~~~~~~~ /usr/local/include/qt5/QtCore/qflags.h:89:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'QEvent::Type' to 'const QFlags<QOpenGLShader::ShaderTypeBit> &' for 1st argument class QFlags ^ /usr/local/include/qt5/QtCore/qflags.h:89:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'QEvent::Type' to 'QFlags<QOpenGLShader::ShaderTypeBit> &&' for 1st argument /usr/local/include/qt5/QtCore/qflags.h:121:29: note: candidate constructor not viable: no known conversion from 'QEvent::Type' to 'QOpenGLShader::ShaderTypeBit' for 1st argument Q_DECL_CONSTEXPR inline QFlags(Enum flags) noexcept : i(Int(flags)) {} ^ /usr/local/include/qt5/QtCore/qflags.h:123:80: note: candidate constructor not viable: no known conversion from 'QEvent::Type' to 'QFlags<QOpenGLShader::ShaderTypeBit>::Zero' (aka 'int (QFlags<QOpenGLShader::ShaderTypeBit>::Private::*)') for 1st argument QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} ^ /usr/local/include/qt5/QtCore/qflags.h:125:29: note: candidate constructor not viable: no known conversion from 'QEvent::Type' to 'QFlag' for 1st argument Q_DECL_CONSTEXPR inline QFlags(QFlag flag) noexcept : i(flag) {} ^ /usr/local/include/qt5/QtCore/qflags.h:127:29: note: candidate constructor not viable: no known conversion from 'QEvent::Type' to 'std::initializer_list<ShaderTypeBit>' for 1st argument Q_DECL_CONSTEXPR inline QFlags(std::initializer_list<Enum> flags) noexcept ^ /wrkdirs/usr/ports/devel/pyside2/work-py39/.build/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.h:55:213: note: passing argument to parameter 'type' here 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); ^ /wrkdirs/usr/ports/devel/pyside2/work-py39/.build/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.cpp:105:240: error: no matching constructor for initialization of 'QDragMoveEvent' QDragMoveEventWrapper::QDragMoveEventWrapper(const QPoint & pos, QFlags<Qt::DropAction> actions, const QMimeData * data, QFlags<Qt::MouseButton> buttons, QFlags<Qt::KeyboardModifier> modifiers, QFlags<QOpenGLShader::ShaderTypeBit> type) : QDragMoveEvent(pos, actions, data, buttons, modifiers, type) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/qt5/QtGui/qevent.h:684:5: note: candidate constructor not viable: no known conversion from 'QFlags<QOpenGLShader::ShaderTypeBit>' to 'QEvent::Type' for 6th argument QDragMoveEvent(const QPoint &pos, Qt::DropActions actions, const QMimeData *data, ^ /usr/local/include/qt5/QtGui/qevent.h:681:20: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 6 were provided class Q_GUI_EXPORT QDragMoveEvent : public QDropEvent ^ /wrkdirs/usr/ports/devel/pyside2/work-py39/.build/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.cpp:205:73: error: no member named 'DragMove' in 'QOpenGLShader' ::QFlags<QOpenGLShader::ShaderTypeBit> cppArg5 = QOpenGLShader::DragMove; ~~~~~~~~~~~~~~~^ 4 errors generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. make: stopped in /usr/ports/devel/pyside2 -- You are receiving this mail because: You are the assignee for the bug.