Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[email protected]_py312: checkin new version of pyside2 #569

Closed
wants to merge 1 commit into from

Conversation

ipatch
Copy link
Collaborator

@ipatch ipatch commented Oct 8, 2024

brew style freecad/freecad/[NAME_OF_FORMULA_FILE] 

output from running above command should output something similiar to the below

1 file inspected, no offenses detected
  • Have you ensured your commit passed audit checks, ie.
brew audit freecad/freecad/[NAME_OF_FORMULA_FILE] --online --new-formula

Not all PRs require passing these checks ie. adding [no ci] in the commit message will prevent the CI from running but PRs that change formula files generally should run through the CI checks that way new bottles are built and uploaded to the repository thus not having to build all formula from source but rather installing from a bottle (significantly faster 🐰 ... 🐢)

For more information about this template file learn more

@ipatch
Copy link
Collaborator Author

ipatch commented Oct 8, 2024

local build error,

[ 43%] Building CXX object sources/pyside2/PySide2/QtGui/CMakeFiles/QtGui.dir/PySide2/QtGui/qfocusevent_wrapper.cpp.o
cd /Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241007-65303-2qeg16/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtGui && /Volumes/STORAGE/ipatch/homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -DPYSIDE_QML_SUPPORT=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQtGui_EXPORTS -I/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241007-65303-2qeg16/pyside-setup-opensource-src-5.15.15/sources/pyside2/PySide2/QtGui/QtGui -I/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241007-65303-2qeg16/pyside-setup-opensource-src-5.15.15/sources/pyside2/PySide2/QtGui -I/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241007-65303-2qeg16/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtGui -I/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241007-65303-2qeg16/pyside-setup-opensource-src-5.15.15/sources/pyside2/PySide2 -I/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241007-65303-2qeg16/pyside-setup-opensource-src-5.15.15/sources/pyside2/libpyside -I/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241007-65303-2qeg16/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtCore/PySide2/QtCore -I/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241007-65303-2qeg16/pyside-setup-opensource-src-5.15.15/sources/shiboken2/libshiboken -I/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241007-65303-2qeg16/pyside-setup-opensource-src-5.15.15/build/sources/shiboken2/libshiboken -I/Volumes/STORAGE/ipatch/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.12/include/python3.12 -iframework /Volumes/STORAGE/ipatch/homebrew/opt/qt@5/lib -isystem /Volumes/STORAGE/ipatch/homebrew/opt/qt@5/lib/QtCore.framework/Headers -isystem /Volumes/STORAGE/ipatch/homebrew/opt/qt@5/./mkspecs/macx-clang -isystem /Volumes/STORAGE/ipatch/homebrew/opt/qt@5/lib/QtGui.framework/Headers -Wall -fvisibility=hidden -Wno-strict-aliasing -O3 -DNDEBUG -std=gnu++11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fPIC   -fPIC -fPIC -MD -MT sources/pyside2/PySide2/QtGui/CMakeFiles/QtGui.dir/PySide2/QtGui/qfocusevent_wrapper.cpp.o -MF CMakeFiles/QtGui.dir/PySide2/QtGui/qfocusevent_wrapper.cpp.o.d -o CMakeFiles/QtGui.dir/PySide2/QtGui/qfocusevent_wrapper.cpp.o -c /Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241007-65303-2qeg16/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtGui/PySide2/QtGui/qfocusevent_wrapper.cpp
In file included from /Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241007-65303-2qeg16/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.cpp:63:
/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241007-65303-2qeg16/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/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
/Volumes/STORAGE/ipatch/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qcoreevent.h:107:9: note: 'DragMove' declared here
        DragMove = 61,                          // drag moves in widget
        ^
In file included from /Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241007-65303-2qeg16/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.cpp:63:
/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241007-65303-2qeg16/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/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);
                                                                                                                                                                                                                    ^                     ~~~~~~~~
/Volumes/STORAGE/ipatch/homebrew/opt/qt@5/include/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
      ^
/Volumes/STORAGE/ipatch/homebrew/opt/qt@5/include/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
/Volumes/STORAGE/ipatch/homebrew/opt/qt@5/include/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)) {}
                            ^
/Volumes/STORAGE/ipatch/homebrew/opt/qt@5/include/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) {}
                                                                               ^
/Volumes/STORAGE/ipatch/homebrew/opt/qt@5/include/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) {}
                            ^
/Volumes/STORAGE/ipatch/homebrew/opt/qt@5/include/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
                            ^
/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241007-65303-2qeg16/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/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);
                                                                                                                                                                                                                    ^
/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241007-65303-2qeg16/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.cpp:103: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)
                                                                                                                                                                                                                                               ^              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/STORAGE/ipatch/homebrew/opt/qt@5/lib/QtGui.framework/Headers/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,
    ^
/Volumes/STORAGE/ipatch/homebrew/opt/qt@5/lib/QtGui.framework/Headers/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
                   ^
/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241007-65303-2qeg16/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.cpp:218:73: error: no member named 'DragMove' in 'QOpenGLShader'
        ::QFlags<QOpenGLShader::ShaderTypeBit> cppArg5 = QOpenGLShader::DragMove;
                                                         ~~~~~~~~~~~~~~~^

@ipatch
Copy link
Collaborator Author

ipatch commented Oct 8, 2024

attempting to build locally on cfarm104 using [email protected] with the latest llvm ==> llvm: stable 19.1.1, HEAD [keg-only]

i still get the below error,

[ 79%] Building CXX object sources/pyside2/PySide2/QtMultimedia/CMakeFiles/QtMultimedia.dir/PySide2/QtMultimedia/qmetadatareadercontrol_wrapper.cpp.o
cd /Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241008-3251-4qrzsd/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtMultimedia && /Volumes/STORAGE/ipatch/homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -DPYSIDE_QML_SUPPORT=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQtMultimedia_EXPORTS -I/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241008-3251-4qrzsd/pyside-setup-opensource-src-5.15.15/sources/pyside2/PySide2/QtMultimedia/QtMultimedia -I/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241008-3251-4qrzsd/pyside-setup-opensource-src-5.15.15/sources/pyside2/PySide2/QtMultimedia -I/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241008-3251-4qrzsd/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtMultimedia -I/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241008-3251-4qrzsd/pyside-setup-opensource-src-5.15.15/sources/pyside2/libpyside -I/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241008-3251-4qrzsd/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtCore/PySide2/QtCore -I/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241008-3251-4qrzsd/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtGui/PySide2/QtGui -I/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241008-3251-4qrzsd/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtNetwork/PySide2/QtNetwork -I/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241008-3251-4qrzsd/pyside-setup-opensource-src-5.15.15/sources/pyside2/PySide2 -I/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241008-3251-4qrzsd/pyside-setup-opensource-src-5.15.15/sources/shiboken2/libshiboken -I/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241008-3251-4qrzsd/pyside-setup-opensource-src-5.15.15/build/sources/shiboken2/libshiboken -I/Volumes/STORAGE/ipatch/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11 -iframework /Volumes/STORAGE/ipatch/homebrew/opt/qt@5/lib -isystem /Volumes/STORAGE/ipatch/homebrew/opt/qt@5/lib/QtCore.framework/Headers -isystem /Volumes/STORAGE/ipatch/homebrew/opt/qt@5/./mkspecs/macx-clang -isystem /Volumes/STORAGE/ipatch/homebrew/opt/qt@5/lib/QtGui.framework/Headers -isystem /Volumes/STORAGE/ipatch/homebrew/opt/qt@5/lib/QtNetwork.framework/Headers -isystem /Volumes/STORAGE/ipatch/homebrew/opt/qt@5/lib/QtMultimedia.framework/Headers -Wall -fvisibility=hidden -Wno-strict-aliasing -O3 -DNDEBUG -std=gnu++11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fPIC   -fPIC -fPIC -MD -MT sources/pyside2/PySide2/QtMultimedia/CMakeFiles/QtMultimedia.dir/PySide2/QtMultimedia/qmetadatareadercontrol_wrapper.cpp.o -MF CMakeFiles/QtMultimedia.dir/PySide2/QtMultimedia/qmetadatareadercontrol_wrapper.cpp.o.d -o CMakeFiles/QtMultimedia.dir/PySide2/QtMultimedia/qmetadatareadercontrol_wrapper.cpp.o -c /Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241008-3251-4qrzsd/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtMultimedia/PySide2/QtMultimedia/qmetadatareadercontrol_wrapper.cpp
In file included from /Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241008-3251-4qrzsd/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtWidgets/PySide2/QtWidgets/qgraphicsscenehelpevent_wrapper.cpp:63:
/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241008-3251-4qrzsd/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtWidgets/PySide2/QtWidgets/qgraphicsscenehelpevent_wrapper.h:53:80: error: no member named 'None' in 'QOpenGLShader'; did you mean simply 'None'?
    QGraphicsSceneHelpEventWrapper(QFlags<QOpenGLShader::ShaderTypeBit> type = QOpenGLShader::None);
                                                                               ^~~~~~~~~~~~~~~~~~~
                                                                               None
/Volumes/STORAGE/ipatch/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qcoreevent.h:63:9: note: 'None' declared here
        None = 0,                               // invalid event
        ^
In file included from /Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241008-3251-4qrzsd/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtWidgets/PySide2/QtWidgets/qgraphicsscenehelpevent_wrapper.cpp:63:
/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241008-3251-4qrzsd/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtWidgets/PySide2/QtWidgets/qgraphicsscenehelpevent_wrapper.h:53:73: error: no viable conversion from 'QEvent::Type' to 'QFlags<QOpenGLShader::ShaderTypeBit>'
    QGraphicsSceneHelpEventWrapper(QFlags<QOpenGLShader::ShaderTypeBit> type = QOpenGLShader::None);
                                                                        ^                     ~~~~
/Volumes/STORAGE/ipatch/homebrew/opt/qt@5/include/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
      ^
/Volumes/STORAGE/ipatch/homebrew/opt/qt@5/include/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
/Volumes/STORAGE/ipatch/homebrew/opt/qt@5/include/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)) {}
                            ^
/Volumes/STORAGE/ipatch/homebrew/opt/qt@5/include/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) {}
                                                                               ^
/Volumes/STORAGE/ipatch/homebrew/opt/qt@5/include/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) {}
                            ^
/Volumes/STORAGE/ipatch/homebrew/opt/qt@5/include/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
                            ^
/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241008-3251-4qrzsd/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtWidgets/PySide2/QtWidgets/qgraphicsscenehelpevent_wrapper.h:53:73: note: passing argument to parameter 'type' here
    QGraphicsSceneHelpEventWrapper(QFlags<QOpenGLShader::ShaderTypeBit> type = QOpenGLShader::None);
                                                                        ^
/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241008-3251-4qrzsd/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtWidgets/PySide2/QtWidgets/qgraphicsscenehelpevent_wrapper.cpp:103:109: error: no matching constructor for initialization of 'QGraphicsSceneHelpEvent'
QGraphicsSceneHelpEventWrapper::QGraphicsSceneHelpEventWrapper(QFlags<QOpenGLShader::ShaderTypeBit> type) : QGraphicsSceneHelpEvent(type)
                                                                                                            ^                       ~~~~
/Volumes/STORAGE/ipatch/homebrew/opt/qt@5/include/QtWidgets/qgraphicssceneevent.h:238:14: note: candidate constructor not viable: no known conversion from 'QFlags<QOpenGLShader::ShaderTypeBit>' to 'QEvent::Type' for 1st argument
    explicit QGraphicsSceneHelpEvent(Type type = None);
             ^
/Volumes/STORAGE/ipatch/homebrew/opt/qt@5/include/QtWidgets/qgraphicssceneevent.h:249:20: note: candidate constructor not viable: no known conversion from 'QFlags<QOpenGLShader::ShaderTypeBit>' to 'const QGraphicsSceneHelpEvent' for 1st argument
    Q_DISABLE_COPY(QGraphicsSceneHelpEvent)
                   ^
/Volumes/STORAGE/ipatch/homebrew/opt/qt@5/include/QtCore/qglobal.h:443:5: note: expanded from macro 'Q_DISABLE_COPY'
    Class(const Class &) = delete;\
    ^
/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241008-3251-4qrzsd/pyside-setup-opensource-src-5.15.15/build/sources/pyside2/PySide2/QtWidgets/PySide2/QtWidgets/qgraphicsscenehelpevent_wrapper.cpp:187:73: error: no member named 'None' in 'QOpenGLShader'
        ::QFlags<QOpenGLShader::ShaderTypeBit> cppArg0 = QOpenGLShader::None;
                                                         ~~~~~~~~~~~~~~~^
4 errors generated.
gmake[2]: *** [sources/pyside2/PySide2/QtWidgets/CMakeFiles/QtWidgets.dir/build.make:1087: sources/pyside2/PySide2/QtWidgets/CMakeFiles/QtWidgets.dir/PySide2/QtWidgets/qgraphicsscenehelpevent_wrapper.cpp.o] Error 1
gmake[2]: Leaving directory '/Volumes/STORAGE/ipatch/homebrew/tmp/pyside2A5.15.15_py312-20241008-3251-4qrzsd/pyside-setup-opensource-src-5.15.15/build'
gmake[1]: *** [CMakeFiles/Makefile2:6114: sources/pyside2/PySide2/QtWidgets/CMakeFiles/QtWidgets.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....

it looks like the above build error can be resolved with the below patch,

https://github.com/OpenMandrivaAssociation/qt5-qtbase/blob/master/qtbase-5.15.9-work-around-pyside2-brokenness.patch#L73

@ipatch
Copy link
Collaborator Author

ipatch commented Oct 8, 2024

and as far as i can tell no major linux distro has made a version of pyside2 that is compatible with python v3.12 🤦‍♂️ and it appears the upstream pyside / qt maintainers do not plan on supporting python v3.12 🧐

https://repology.org/project/python:pyside2/versions

https://bugreports.qt.io/browse/PYSIDE-2388

https://lists.fedoraproject.org/archives/list/[email protected]/thread/IJQ3KMKJFIKEVY4WX5WMQFYUGAVB2G2M/

@ipatch
Copy link
Collaborator Author

ipatch commented Oct 8, 2024

successfully built using the latest llvm and [email protected] locally but not [email protected] at the moment.


@ipatch
Copy link
Collaborator Author

ipatch commented Oct 9, 2024

@ipatch ipatch self-assigned this Oct 9, 2024
@ipatch ipatch added the useful issues that provide useful information label Oct 9, 2024
@ipatch ipatch force-pushed the pyside2-v5.15.15_py312 branch from 7e0295c to bfaa72c Compare October 9, 2024 20:06
@ipatch ipatch force-pushed the pyside2-v5.15.15_py312 branch from bfaa72c to f70ddf9 Compare October 9, 2024 20:24
@ipatch ipatch added the pr-pull label Oct 9, 2024
github-actions bot pushed a commit that referenced this pull request Oct 9, 2024
@ipatch ipatch closed this Oct 9, 2024
@ipatch ipatch deleted the pyside2-v5.15.15_py312 branch October 9, 2024 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-pull useful issues that provide useful information
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant