-
Bug
-
Resolution: Fixed
-
Severe (Users)
-
None
-
None
-
emerge -av1 dev-qt/qtdeclarative-5.15.2_p20221104
-
Blocks users install of dev-qt/qtdeclarative, which in turn impacts package installs and some funtoo installs that depend on a package that depends on dev-qt/qtdeclarative
-
Upstream code bug
During the Funtoo Friday night yesterday this compilation error was found during a system update for dev-qt/qtdeclarative-5.15.2_p20221104:
/var/tmp/portage/dev-qt/qtdeclarative-5.15.2_p20221104/work/qtdeclarative-95290f66b806a307b8da1f72f8fc2c69801933d0/src/quick/items/qquickdrag.cpp: In member function ‘Qt::DropAction QQuickDragAttachedPrivate::startDrag(Qt::DropActions)’: /var/tmp/portage/dev-qt/qtdeclarative-5.15.2_p20221104/work/qtdeclarative-95290f66b806a307b8da1f72f8fc2c69801933d0/src/quick/items/qquickdrag.cpp:772:24: error: ‘const class QVariant’ has no member named ‘typeId’; did you mean ‘type’? 772 | if (it.value().typeId() == QMetaType::QByteArray) | ^~~~~~ | type make[2]: *** [Makefile:35312: .obj/qquickdrag.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/dev-qt/qtdeclarative-5.15.2_p20221104/work/qtdeclarative-95290f66b806a307b8da1f72f8fc2c69801933d0_build/src/quick' make[1]: *** [Makefile:231: sub-quick-make_first-ordered] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtdeclarative-5.15.2_p20221104/work/qtdeclarative-95290f66b806a307b8da1f72f8fc2c69801933d0_build/src' make: *** [Makefile:50: sub-src-make_first] Error 2 * ERROR: dev-qt/qtdeclarative-5.15.2_p20221104::qt-kit failed (compile phase): * emake failed * Working directory: '/var/tmp/portage/dev-qt/qtdeclarative-5.15.2_p20221104/work/qtdeclarative-95290f66b806a307b8da1f72f8fc2c69801933d0_build' * S: '/var/tmp/portage/dev-qt/qtdeclarative-5.15.2_p20221104/work/qtdeclarative-95290f66b806a307b8da1f72f8fc2c69801933d0' * Messages for package dev-qt/qtdeclarative-5.15.2_p20221104: * ERROR: dev-qt/qtdeclarative-5.15.2_p20221104::qt-kit failed (compile phase): * emake failed
This is a known bug upstream and has already been fixed via https://github.com/qt/qtdeclarative/commit/062f9bf57657b54dc708015ec5fed3c89e5cc3ca and tracked via https://bugreports.qt.io/browse/QTBUG-71922
This bug has also been reproduced by multiple Funtoo users including pnoecker and Szenesis in the #install-hell Funtoo Discord server channel.
For anyone needing to install a QT5 related package that requires dev-qt/qtdeclarative they will be blocked. Also Szenesis is being block on his LXQT Funtoo install as he reported.