Created attachment 1617394 [details] build.log Description of problem: Package nm-tray fails to build from source in Fedora rawhide. Version-Release number of selected component (if applicable): 0.4.3-1.fc32 Steps to Reproduce: koji build --scratch f32 nm-tray-0.4.3-1.fc32.src.rpm Additional info: This package is tracked by Koschei. See: http://apps.fedoraproject.org/koschei/package/nm-tray
Maybe due to a missing inclusion of header. Relevant snippet from build.log: BUILDSTDERR: /builddir/build/BUILD/nm-tray-0.4.3/src/nmmodel.cpp: In member function 'QVariant NmModel::dataRole(const QModelIndex&) const [with int role = 265]': BUILDSTDERR: /builddir/build/BUILD/nm-tray-0.4.3/src/nmmodel.cpp:1041:141: error: invalid use of incomplete type 'class QMetaEnum' BUILDSTDERR: 1041 | auto m_enum = NetworkManager::Device::staticMetaObject.enumerator(NetworkManager::Device::staticMetaObject.indexOfEnumerator("Type")); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/qt5/QtCore/qmetatype.h:50, BUILDSTDERR: from /usr/include/qt5/QtCore/qvariant.h:46, BUILDSTDERR: from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, BUILDSTDERR: from /usr/include/qt5/QtCore/QAbstractItemModel:1, BUILDSTDERR: from /builddir/build/BUILD/nm-tray-0.4.3/src/nmmodel.h:26, BUILDSTDERR: from /builddir/build/BUILD/nm-tray-0.4.3/src/nmmodel.cpp:23: BUILDSTDERR: /usr/include/qt5/QtCore/qobjectdefs.h:284:7: note: forward declaration of 'class QMetaEnum' BUILDSTDERR: 284 | class QMetaEnum; BUILDSTDERR: | ^~~~~~~~~
It loks like the package depends on something implicitly including <QMetaEnum>, which no longer happens. So add an explicit: #include <QMetaEnum> to nmmodel.cpp.
Hi Kevin, thanks for the hint of the missing header. Are you interested to (co-)maintain the package of nm-tray? Honestly, I'm not really using it [any more] and tend to orphan.
Orphaned.
Automation has figured out the package is retired in rawhide. If you like it to be unretired, please open a ticket at https://pagure.io/releng/new_issue?template=package_unretirement