Created attachment 800758 [details] Build Log x86_64-pc-linux-gnu-g++ -c -O3 -pipe -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Wno-format-overflow -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QUICKTEMPLATES2_LIB -DQT_BUILDING_QT -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/var/tmp/portage/dev-qt/qtquickcontrols2-5.15.5-r1/work/qtquickcontrols2-everywhere-src-5.15.5/src/quicktemplates2 -I. -I/var/tmp/portage/dev-qt/qtquickcontrols2-5.15.5-r1/work/qtquickcontrols2-everywhere-src-5.15.5/src/quicktemplates2 -I/var/tmp/portage/dev-qt/qtquickcontrols2-5.15.5-r1/work/qtquickcontrols2-everywhere-src-5.15.5/include -I/var/tmp/portage/dev-qt/qtquickcontrols2-5.15.5-r1/work/qtquickcontrols2-everywhere-src-5.15.5/include/QtQuickTemplates2 -I../../include -I../../include/QtQuickTemplates2 -I/var/tmp/portage/dev-qt/qtquickcontrols2-5.15.5-r1/work/qtquickcontrols2-everywhere-src-5.15.5/include/QtQuickTemplates2/5.15.5 -I/var/tmp/portage/dev-qt/qtquickcontrols2-5.15.5-r1/work/qtquickcontrols2-everywhere-src-5.15.5/include/QtQuickTemplates2/5.15.5/QtQuickTemplates2 -I../../include/QtQuickTemplates2/5.15.5 -I../../include/QtQuickTemplates2/5.15.5/QtQuickTemplates2 -I/usr/include/qt5 -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQmlModels/5.15.5 -I/usr/include/qt5/QtQmlModels/5.15.5/QtQmlModels -I/usr/include/qt5/QtQmlModels -I/usr/include/qt5/QtQml/5.15.5 -I/usr/include/qt5/QtQml/5.15.5/QtQml -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore/5.15.5 -I/usr/include/qt5/QtCore/5.15.5/QtCore -I/usr/include/qt5/QtCore -I/usr/include/qt5/QtQuick/5.15.5 -I/usr/include/qt5/QtQuick/5.15.5/QtQuick -I/usr/include/qt5/QtGui/5.15.5 -I/usr/include/qt5/QtGui/5.15.5/QtGui -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/qquickswitchdelegate.o /var/tmp/portage/dev-qt/qtquickcontrols2-5.15.5-r1/work/qtquickcontrols2-everywhere-src-5.15.5/src/quicktemplates2/qquickswitchdelegate.cpp make[2]: *** [Makefile:2762: .obj/qquickpalette.o] Error 1 make[2]: *** Waiting for unfinished jobs....
Created attachment 800761 [details] emerge --info
root@g-binpkg-machine $ emerge -pqv '=dev-qt/qtquickcontrols2-5.15.5-r1::gentoo' [ebuild U ] dev-qt/qtquickcontrols2-5.15.5-r1 [5.15.5] USE="-debug -test -widgets"
This maybe the real error /usr/include/string.h:411:2: error: #endif without #if 411 | /* Find the length of STRING, but scan at most MAXLEN characters. | ^~~~~ In file included from /usr/include/qt5/QtQml/5.15.5/QtQml/private/qv4value_p.h:54, from /usr/include/qt5/QtQml/5.15.5/QtQml/private/qqmldata_p.h:57, from /usr/include/qt5/QtQml/5.15.5/QtQml/private/qqmlnotifier_p.h:54, from /usr/include/qt5/QtQml/5.15.5/QtQml/private/qqmlpropertycache_p.h:57, from /usr/include/qt5/QtQml/5.15.5/QtQml/private/qqmlmetaobject_p.h:57, from /usr/include/qt5/QtQml/5.15.5/QtQml/private/qqmlglobal_p.h:56, from /var/tmp/portage/dev-qt/qtquickcontrols2-5.15.5-r1/work/qtquickcontrols2-everywhere-src-5.15.5/include/QtQuickTemplates2/5.15.5/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qtquicktemplates2global_p.h:52, from /var/tmp/portage/dev-qt/qtquickcontrols2-5.15.5-r1/work/qtquickcontrols2-everywhere-src-5.15.5/include/QtQuickTemplates2/5.15.5/QtQuickTemplates2/private/qtquicktemplates2global_p.h:1, from /var/tmp/portage/dev-qt/qtquickcontrols2-5.15.5-r1/work/qtquickcontrols2-everywhere-src-5.15.5/src/quicktemplates2/qquickpalette_p.h:53, from /var/tmp/portage/dev-qt/qtquickcontrols2-5.15.5-r1/work/qtquickcontrols2-everywhere-src-5.15.5/src/quicktemplates2/qquickpalette.cpp:37: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/cmath:669:2: error: #else without #if 669 | signbit(long double __x) | ^~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/cmath:780:2: error: #endif without #if 780 | typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; | ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/cmath:781:2: error: #endif without #if 781 | return __builtin_islessequal(__type(__x), __type(__y)); | ^ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/cmath:782:2: error: #endif without #if 782 | } | ^ ~ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/g++-v12/cmath:1772:2: error: #endif without #if 1772 | #ifndef __CORRECT_ISO_CPP11_MATH_H_PROTO_FP | ^~~~~
emerge again, the problem solved.:P