Bug 1754157
| Summary: | nm-tray: FTBFS in Fedora rawhide | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Raphael Groner <projects.rg> | ||||
| Component: | nm-tray | Assignee: | Orphan Owner <extras-orphan> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | lxqt-sig, projects.rg | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| URL: | http://apps.fedoraproject.org/koschei/package/nm-tray | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2019-12-28 12:29:17 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Raphael Groner
2019-09-21 09:37:06 UTC
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 |