Created attachment 905118 [details] kde-apps/spectacle-24.08.1 build log profiles/package.mask contains: # Ionen Wolkens <ionen@gentoo.org> (2024-10-08) # Masked for testing and (mostly) to avoid upgrade noise given # PyQt6-6.7.x is known broken with it and depends on <6.8. Feel # free to unmask early if not using PyQt6. I am not using PyQt6, so I chose to unmask upgrade early. Lo and behold, kde-apps/spectacle-24.08.1 fails to rebuild against Qt 6.8. /var/tmp/portage/kde-apps/spectacle-24.08.1/work/spectacle-24.08.1_build/src/.rcc/qmlcache/spectacle_Gui/CopiedMessage_qml.cpp:450:72: error: 'QString::QString(const char*)' is private within this context 450 | aotContext->initGetObjectLookup(8, r2_0, QQmlPrivate::compositeMetaType(aotContext->compilationUnit, "AnimatedLoader")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt6/QtQml/qjsprimitivevalue.h:10, from /usr/include/qt6/QtQml/qqmlprivate.h:18, from /var/tmp/portage/kde-apps/spectacle-24.08.1/work/spectacle-24.08.1_build/src/.rcc/qmlcache/spectacle_Gui/CopiedMessage_qml.cpp:2: /usr/include/qt6/QtCore/qstring.h:1014:5: note: declared private here 1014 | QString(const char *ch); | ^~~~~~~ Full build log is attached.
Upstream are aware.
See also: commit fdb02a790eb6d83107b919fece7a199b7e1ae00f Author: Ionen Wolkens <ionen@gentoo.org> Date: Tue Oct 8 12:55:01 2024 -0400 dev-qt/qtdeclarative: backport fix for QTBUG-125053 + 129797 early QTBUG-129797's hasn't been merged yet but should be soon and may as well do it at same time. May need to do another revbump later for QTBUG-129622 when there is a fix though, but this may or may not take a while. Signed-off-by: Ionen Wolkens <ionen@gentoo.org> commit b453f3146786c474326edb8764cf3a23f9ab7ebb Author: Ionen Wolkens <ionen@gentoo.org> Date: Tue Oct 8 14:16:47 2024 -0400 dev-qt/qtdeclarative: drop QTBUG-129797 patch for now spectacle still fails but with a different error, "possibly" caused by the patch itself if not a different issue. Will give this more time to be investigated upstream and drop it to be safe for now. Sorry for quick succession revbumps (albeit 6.8.0 is masked anyway). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
On a side-note, in case using it while unaware due to old package.unmask entries, qt6.8.0 is currently masked in Gentoo. Goal is to have this fixed before unmask if possible, I'll likely try spectacle myself then if needed.
Looks like upstream has merged a modified version of the patch we previously tried, which hopefully is correct this time. Will give it a try tomorrow or so.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f87690bf7284775cc0d44775a7d1fc1a8751921 commit 0f87690bf7284775cc0d44775a7d1fc1a8751921 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2024-10-10 01:11:38 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2024-10-10 01:27:28 +0000 dev-qt/qtdeclarative: backport fix for QTBUG-129797 take two Closes: https://bugs.gentoo.org/941172 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> .../files/qtdeclarative-6.8.0-QTBUG-129797.patch | 24 ++++++++++++++++++++++ ...8.0-r2.ebuild => qtdeclarative-6.8.0-r3.ebuild} | 1 + 2 files changed, 25 insertions(+)
Confirmed fixed now on both of my affected systems.