Bug 464682

Summary: fails to build on macOS
Product: [Applications] tellico Reporter: Yurii Kolesnykov <yurii.kolesnykov>
Component: generalAssignee: Robby Stephenson <robby>
Status: RESOLVED WORKSFORME    
Severity: grave CC: yurii.kolesnykov
Priority: NOR    
Version: 3.4.6   
Target Milestone: ---   
Platform: Homebrew (macOS)   
OS: macOS   
URL: https://gist.github.com/yurikoles/f4e8e3edef16df35b951126c440c41d1
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Yurii Kolesnykov 2023-01-23 09:14:40 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Try to build under macOS

OBSERVED RESULT

[422/705] /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x060000 -DKGUIADDONS_LIB -DQT_CHARTS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_GUI_LIB -DQT_MAC_USE_COCOA -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STL -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WEBCHANNEL_LIB -DQT_WEBENGINECORE_LIB -DQT_WEBENGINEWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -D_DARWIN_C_SOURCE -D_LARGEFILE64_SOURCE -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/tellico_autogen/include -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/config -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/3rdparty -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/core -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/core -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/utils -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/utils -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/cite -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/cite -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/config -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/fetch -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/fetch -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/newstuff -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/newstuff -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/3rdparty/btparse -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/3rdparty/btparse -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/collections -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/collections -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/images -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/images -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/translators -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/translators -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/models -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/models -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/gui -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/gui -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/3rdparty/libcsv -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/3rdparty/libcsv -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/3rdparty/rtf2html -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/3rdparty/rtf2html -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/commands -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/commands -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/charts -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/charts -I/opt/homebrew/Cellar/taglib/1.13/include -I/opt/homebrew/Cellar/taglib/1.13/include/taglib -I/opt/homebrew/include/exempi-2.0 -I/opt/homebrew/Cellar/libcdio/2.1.0/include -I/opt/homebrew/opt/libxml2/include/libxml2 -iframework /opt/homebrew/opt/qt@5/lib -isystem /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers -isystem /opt/homebrew/opt/qt@5/./mkspecs/macx-clang -isystem /opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtGui.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtXml.framework/Headers -isystem /opt/homebrew/include/KF5/KCoreAddons -isystem /opt/homebrew/include/KF5 -isystem /opt/homebrew/include/KF5/KWallet -isystem /opt/homebrew/include/KF5/KI18n -isystem /opt/homebrew/include/KF5/KWidgetsAddons -isystem /opt/homebrew/include/KF5/KCodecs -isystem /opt/homebrew/include/KF5/KIOCore -isystem /opt/homebrew/include/KF5/KIO -isystem /opt/homebrew/include/KF5/KService -isystem /opt/homebrew/include/KF5/KConfig -isystem /opt/homebrew/include/KF5/KConfigCore -isystem /opt/homebrew/opt/qt@5/lib/QtNetwork.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtDBus.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtConcurrent.framework/Headers -isystem /opt/homebrew/include/KF5/KJobWidgets -isystem /opt/homebrew/include/KF5/KIOWidgets -isystem /opt/homebrew/include/KF5/KIOGui -isystem /opt/homebrew/include/KF5/KWindowSystem -isystem /opt/homebrew/include/KF5/Solid -isystem /opt/homebrew/include/KF5/KCompletion -isystem /opt/homebrew/include/KF5/KConfigGui -isystem /opt/homebrew/include/KF5/KConfigWidgets -isystem /opt/homebrew/include/KF5/KAuthWidgets -isystem /opt/homebrew/include/KF5/KAuthCore -isystem /opt/homebrew/include/KF5/KAuth -isystem /opt/homebrew/include/KF5/KArchive -isystem /opt/homebrew/include/KF5/KIconThemes -isystem /opt/homebrew/include/KF5/KGuiAddons -isystem /opt/homebrew/include/KF5/KItemModels -isystem /opt/homebrew/include/KF5/KIOFileWidgets -isystem /opt/homebrew/include/KF5/KBookmarks -isystem /opt/homebrew/include/KF5/KItemViews -isystem /opt/homebrew/include/KF5/KXmlGui -isystem /opt/homebrew/include/KF5/SonnetCore -isystem /opt/homebrew/include/KF5/Sonnet -isystem /opt/homebrew/include/KF5/SonnetUi -isystem /opt/homebrew/include/KF5/KTextWidgets -isystem /opt/homebrew/opt/qt@5/lib/QtWebEngineWidgets.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtWebEngineCore.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtQuick.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtQmlModels.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtQml.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtWebChannel.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtPositioning.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtPrintSupport.framework/Headers -isystem /opt/homebrew/opt/poppler-qt5/include/poppler/qt5 -isystem /opt/homebrew/opt/poppler-qt5/include/poppler -isystem /opt/homebrew/include/KF5/KFileMetaData -isystem /opt/homebrew/include/KF5/KCrash -isystem /opt/homebrew/opt/qt@5/lib/QtCharts.framework/Headers -isystem /opt/homebrew/include/KF5/KNewStuff3 -isystem /opt/homebrew/include/KF5/KMoreTools -isystem /opt/homebrew/include/KF5/Attica -fno-operator-names -fno-exceptions -Wno-gnu-zero-variadic-macro-arguments -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Wvla -Wdate-time -fdiagnostics-color=always -pedantic -Wzero-as-null-pointer-constant -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -fvisibility=hidden -fvisibility-inlines-hidden   -I/opt/homebrew/Cellar/taglib/1.13/include -I/opt/homebrew/Cellar/taglib/1.13/include/taglib -fPIC -std=c++11 -MD -MT src/CMakeFiles/tellico.dir/tellico_autogen/mocs_compilation.cpp.o -MF src/CMakeFiles/tellico.dir/tellico_autogen/mocs_compilation.cpp.o.d -o src/CMakeFiles/tellico.dir/tellico_autogen/mocs_compilation.cpp.o -c /tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/tellico_autogen/mocs_compilation.cpp
FAILED: src/CMakeFiles/tellico.dir/tellico_autogen/mocs_compilation.cpp.o 
/opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x060000 -DKGUIADDONS_LIB -DQT_CHARTS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_GUI_LIB -DQT_MAC_USE_COCOA -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_STL -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WEBCHANNEL_LIB -DQT_WEBENGINECORE_LIB -DQT_WEBENGINEWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -D_DARWIN_C_SOURCE -D_LARGEFILE64_SOURCE -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/tellico_autogen/include -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/config -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/3rdparty -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/core -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/core -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/utils -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/utils -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/cite -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/cite -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/config -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/fetch -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/fetch -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/newstuff -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/newstuff -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/3rdparty/btparse -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/3rdparty/btparse -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/collections -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/collections -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/images -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/images -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/translators -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/translators -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/models -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/models -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/gui -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/gui -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/3rdparty/libcsv -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/3rdparty/libcsv -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/3rdparty/rtf2html -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/3rdparty/rtf2html -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/commands -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/commands -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/charts -I/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/src/charts -I/opt/homebrew/Cellar/taglib/1.13/include -I/opt/homebrew/Cellar/taglib/1.13/include/taglib -I/opt/homebrew/include/exempi-2.0 -I/opt/homebrew/Cellar/libcdio/2.1.0/include -I/opt/homebrew/opt/libxml2/include/libxml2 -iframework /opt/homebrew/opt/qt@5/lib -isystem /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers -isystem /opt/homebrew/opt/qt@5/./mkspecs/macx-clang -isystem /opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtGui.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtXml.framework/Headers -isystem /opt/homebrew/include/KF5/KCoreAddons -isystem /opt/homebrew/include/KF5 -isystem /opt/homebrew/include/KF5/KWallet -isystem /opt/homebrew/include/KF5/KI18n -isystem /opt/homebrew/include/KF5/KWidgetsAddons -isystem /opt/homebrew/include/KF5/KCodecs -isystem /opt/homebrew/include/KF5/KIOCore -isystem /opt/homebrew/include/KF5/KIO -isystem /opt/homebrew/include/KF5/KService -isystem /opt/homebrew/include/KF5/KConfig -isystem /opt/homebrew/include/KF5/KConfigCore -isystem /opt/homebrew/opt/qt@5/lib/QtNetwork.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtDBus.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtConcurrent.framework/Headers -isystem /opt/homebrew/include/KF5/KJobWidgets -isystem /opt/homebrew/include/KF5/KIOWidgets -isystem /opt/homebrew/include/KF5/KIOGui -isystem /opt/homebrew/include/KF5/KWindowSystem -isystem /opt/homebrew/include/KF5/Solid -isystem /opt/homebrew/include/KF5/KCompletion -isystem /opt/homebrew/include/KF5/KConfigGui -isystem /opt/homebrew/include/KF5/KConfigWidgets -isystem /opt/homebrew/include/KF5/KAuthWidgets -isystem /opt/homebrew/include/KF5/KAuthCore -isystem /opt/homebrew/include/KF5/KAuth -isystem /opt/homebrew/include/KF5/KArchive -isystem /opt/homebrew/include/KF5/KIconThemes -isystem /opt/homebrew/include/KF5/KGuiAddons -isystem /opt/homebrew/include/KF5/KItemModels -isystem /opt/homebrew/include/KF5/KIOFileWidgets -isystem /opt/homebrew/include/KF5/KBookmarks -isystem /opt/homebrew/include/KF5/KItemViews -isystem /opt/homebrew/include/KF5/KXmlGui -isystem /opt/homebrew/include/KF5/SonnetCore -isystem /opt/homebrew/include/KF5/Sonnet -isystem /opt/homebrew/include/KF5/SonnetUi -isystem /opt/homebrew/include/KF5/KTextWidgets -isystem /opt/homebrew/opt/qt@5/lib/QtWebEngineWidgets.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtWebEngineCore.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtQuick.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtQmlModels.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtQml.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtWebChannel.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtPositioning.framework/Headers -isystem /opt/homebrew/opt/qt@5/lib/QtPrintSupport.framework/Headers -isystem /opt/homebrew/opt/poppler-qt5/include/poppler/qt5 -isystem /opt/homebrew/opt/poppler-qt5/include/poppler -isystem /opt/homebrew/include/KF5/KFileMetaData -isystem /opt/homebrew/include/KF5/KCrash -isystem /opt/homebrew/opt/qt@5/lib/QtCharts.framework/Headers -isystem /opt/homebrew/include/KF5/KNewStuff3 -isystem /opt/homebrew/include/KF5/KMoreTools -isystem /opt/homebrew/include/KF5/Attica -fno-operator-names -fno-exceptions -Wno-gnu-zero-variadic-macro-arguments -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Wvla -Wdate-time -fdiagnostics-color=always -pedantic -Wzero-as-null-pointer-constant -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -fvisibility=hidden -fvisibility-inlines-hidden   -I/opt/homebrew/Cellar/taglib/1.13/include -I/opt/homebrew/Cellar/taglib/1.13/include/taglib -fPIC -std=c++11 -MD -MT src/CMakeFiles/tellico.dir/tellico_autogen/mocs_compilation.cpp.o -MF src/CMakeFiles/tellico.dir/tellico_autogen/mocs_compilation.cpp.o.d -o src/CMakeFiles/tellico.dir/tellico_autogen/mocs_compilation.cpp.o -c /tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/tellico_autogen/mocs_compilation.cpp
In file included from /tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/tellico_autogen/mocs_compilation.cpp:2:
In file included from /tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/tellico_autogen/EWIEGA46WW/moc_bibtexkeydialog.cpp:10:
In file included from /tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/tellico_autogen/EWIEGA46WW/../../../../src/bibtexkeydialog.h:28:
In file included from /opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/QDialog:1:
In file included from /opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/qdialog.h:44:
In file included from /opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/qwidget.h:45:
In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qobject.h:54:
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qmetatype.h:1528:27: error: invalid application of 'sizeof' to an incomplete type 'QAction'
        Q_STATIC_ASSERT_X(sizeof(T), "Type argument of Q_DECLARE_METATYPE(T*) must be fully defined");
                          ^~~~~~~~~
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:121:68: note: expanded from macro 'Q_STATIC_ASSERT_X'
#  define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
                                                                   ^~~~~~~~~
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qmetatype.h:1756:16: note: in instantiation of template class 'QtPrivate::IsPointerToTypeDerivedFromQObject<QAction *>' requested here
    QtPrivate::IsPointerToTypeDerivedFromQObject<T>::Value ? QMetaType::PointerToQObject :
               ^
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qmetatype.h:1768:29: note: in instantiation of default argument for 'QMetaTypeIdQObject<QAction *>' required here
struct QMetaTypeId : public QMetaTypeIdQObject<T>
                            ^~~~~~~~~~~~~~~~~~~~~
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qmetatype.h:1775:22: note: in instantiation of template class 'QMetaTypeId<QAction *>' requested here
    enum { Defined = QMetaTypeId<T>::Defined, IsBuiltIn=false };
                     ^
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qmetatype.h:1916:23: note: in instantiation of template class 'QMetaTypeId2<QAction *>' requested here
    Q_STATIC_ASSERT_X(QMetaTypeId2<T>::Defined, "Type is not registered, please use the Q_DECLARE_METATYPE macro to make it known to Qt's meta-object system");
                      ^
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qmetatype.h:1923:12: note: in instantiation of function template specialization 'qMetaTypeId<QAction *>' requested here
    return qMetaTypeId<T>();
           ^
/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/tellico_autogen/EWIEGA46WW/moc_detailedlistview.cpp:139:50: note: in instantiation of function template specialization 'qRegisterMetaType<QAction *>' requested here
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
                                                 ^
/opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/qwidget.h:68:7: note: forward declaration of 'QAction'
class QAction;
      ^
In file included from /tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/tellico_autogen/mocs_compilation.cpp:2:
In file included from /tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/tellico_autogen/EWIEGA46WW/moc_bibtexkeydialog.cpp:10:
In file included from /tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/tellico_autogen/EWIEGA46WW/../../../../src/bibtexkeydialog.h:28:
In file included from /opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/QDialog:1:
In file included from /opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/qdialog.h:44:
In file included from /opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/qwidget.h:45:
In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qobject.h:54:
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qmetatype.h:1916:5: error: static_assert failed due to requirement 'bool(QMetaTypeId2<QAction *>::Defined)' "Type is not registered, please use the Q_DECLARE_METATYPE macro to make it known to Qt's meta-object system"
    Q_STATIC_ASSERT_X(QMetaTypeId2<T>::Defined, "Type is not registered, please use the Q_DECLARE_METATYPE macro to make it known to Qt's meta-object system");
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qglobal.h:121:49: note: expanded from macro 'Q_STATIC_ASSERT_X'
#  define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
                                                ^             ~~~~~~~~~~~~~~~
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qmetatype.h:1923:12: note: in instantiation of function template specialization 'qMetaTypeId<QAction *>' requested here
    return qMetaTypeId<T>();
           ^
/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/tellico_autogen/EWIEGA46WW/moc_detailedlistview.cpp:139:50: note: in instantiation of function template specialization 'qRegisterMetaType<QAction *>' requested here
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
                                                 ^
In file included from /tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/tellico_autogen/mocs_compilation.cpp:2:
In file included from /tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/tellico_autogen/EWIEGA46WW/moc_bibtexkeydialog.cpp:10:
In file included from /tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/tellico_autogen/EWIEGA46WW/../../../../src/bibtexkeydialog.h:28:
In file included from /opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/QDialog:1:
In file included from /opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/qdialog.h:44:
In file included from /opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/qwidget.h:45:
In file included from /opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qobject.h:54:
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qmetatype.h:1776:82: error: no member named 'qt_metatype_id' in 'QMetaTypeId<QAction *>'
    static inline Q_DECL_CONSTEXPR int qt_metatype_id() { return QMetaTypeId<T>::qt_metatype_id(); }
                                                                 ~~~~~~~~~~~~~~~~^
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qmetatype.h:1917:29: note: in instantiation of member function 'QMetaTypeId2<QAction *>::qt_metatype_id' requested here
    return QMetaTypeId2<T>::qt_metatype_id();
                            ^
/opt/homebrew/opt/qt@5/lib/QtCore.framework/Headers/qmetatype.h:1923:12: note: in instantiation of function template specialization 'qMetaTypeId<QAction *>' requested here
    return qMetaTypeId<T>();
           ^
/tmp/tellico-20230123-51191-1d7uhtr/tellico-3.4.6/build/src/tellico_autogen/EWIEGA46WW/moc_detailedlistview.cpp:139:50: note: in instantiation of function template specialization 'qRegisterMetaType<QAction *>' requested here
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
                                                 ^
3 errors generated.

EXPECTED RESULT
Should build.

SOFTWARE/OS VERSIONS
macOS: 13.2 RC (22D49)
KDE Frameworks Version: 5.102
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Full logs: https://gist.github.com/yurikoles/f4e8e3edef16df35b951126c440c41d1
Comment 1 Robby Stephenson 2023-01-24 01:53:45 UTC
I'm going to be guessing in the dark here, since I don't have MacOS, and there may be many issues like this that are only encountered. one at a time.

In file src/bibtexkeydialog.h, can you add
  #include <QAction>
at line 28 before the include <QDialog> line

and in src/detailedlistvew.h, include the same line
  #include <QAction>
at line 35.

Then try to recompile and let me know if that works. Like I said, I don't know if you'd need to do this to 20 files or just a few, until you try to repeatedly compile.
Comment 2 Yurii Kolesnykov 2023-01-24 10:41:43 UTC
I'm sorry for wasting your time. This is some heisenbug, it happened about a week ago with 3.4.5 and yesterday with 3.4.6, but today it's gone. And nothing from its dependency tree was updated from yesterday. I didn't touch any environment variables either, and brew cleans them out before every build in sandbox anyway.

Anyway, here is brew gist-log for the successful build, if you're interested https://gist.github.com/yurikoles/162885de480b584a13c008d1a04767b5