void-linux / void-packages

The Void source packages collection
https://voidlinux.org
Other
2.59k stars 2.16k forks source link

python3-pyside2 build fails, requires qt5 patch #50673

Closed zlice closed 5 months ago

zlice commented 5 months ago

Is this a new report?

Yes

System Info

Void 6.9.0 x86_64 AuthenticAMD notuptodate rFFFFFFFFFFFFFF

Package(s) Affected

python3-pyside2

Does a report exist for this bug with the project's home (upstream) and/or another distro?

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270715

Expected behaviour

python3-pyside2 builds

Actual behaviour

Something along the lines of

DragMove
/usr/local/include/qt5/QtCore/qcoreevent.h:107:9: note: 'DragMove' declared here
        DragMove = 61,                          // drag moves in 

Steps to reproduce

fix in link applies to qt5. after rebuilding qt and dependencies, this allowed pyside2 to build. not sure if there's a way to patch pyside2 instead, or need to revbump everything for qt5

qtbase-5.15.9-work-around-pyside2-brokenness.txt

classabbyamp commented 5 months ago

feel free to open a PR if you have a patch

zlice commented 5 months ago

will do. revbump everything that needs qt5-devel or no?

classabbyamp commented 5 months ago

not necessary unless it breaks things otherwise

zlice commented 5 months ago

i'll have to test on another machine then

zlice commented 5 months ago

PR https://github.com/void-linux/void-packages/pull/50693