Please bump/patch to support LLVM 16+.
Voting for that. Shiboken per se has no problems being built with LLVM 16+, it's PySide2 which is giving some troubles. Here's a patch for fixing PySide2's behaviour: https://github.com/OpenMandrivaAssociation/qt5-qtbase/commit/20f97a4bfb95658bc35c3292ac11e52c335cc1e9
Sorry, but this I am not going to fix. Instead I am focussing on getting FreeCAD to work with Qt6, pyside2/shiboken2 can then be removed.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1e27ebcaab82dea490ab48f29c269240c0b74ba commit b1e27ebcaab82dea490ab48f29c269240c0b74ba Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2024-03-09 07:40:02 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2024-03-09 07:40:48 +0000 profiles/package.deprecated: deprecate pyside2 and friends Bug: https://bugs.gentoo.org/864391 Bug: https://bugs.gentoo.org/920544 Bug: https://bugs.gentoo.org/915379 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> profiles/package.deprecated | 8 ++++++++ 1 file changed, 8 insertions(+)
This may be fixed by this patch[1] for qtcore from Mandriva, Arch also applies this patch[2]. [1] https://github.com/OpenMandrivaAssociation/qt5-qtbase/commit/20f97a4bfb95658bc35c3292ac11e52c335cc1e9 [2] https://gitlab.archlinux.org/archlinux/packaging/packages/qt5-base/-/blob/main/work-around-pyside2-brokenness.patch?ref_type=heads
> Here's a patch for fixing PySide2's behaviour: > https://github.com/OpenMandrivaAssociation/qt5-qtbase/commit/20f97a4bfb95658bc35c3292ac11e52c335cc1e9 Ooh right, that is the same one you already mentioned. Note though this is a patch for qtcore, not for pyside.