Bug 1754157 - nm-tray: FTBFS in Fedora rawhide
Summary: nm-tray: FTBFS in Fedora rawhide
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: nm-tray
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL: http://apps.fedoraproject.org/koschei...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-21 09:37 UTC by Raphael Groner
Modified: 2019-12-28 12:29 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-12-28 12:29:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
build.log (43.21 KB, text/plain)
2019-09-21 09:37 UTC, Raphael Groner
no flags Details

Description Raphael Groner 2019-09-21 09:37:06 UTC
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

Comment 1 Raphael Groner 2019-09-21 09:38:26 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:       |       ^~~~~~~~~

Comment 2 Kevin Kofler 2019-09-21 20:10:20 UTC
It loks like the package depends on something implicitly including <QMetaEnum>, which no longer happens. So add an explicit:
#include <QMetaEnum>
to nmmodel.cpp.

Comment 3 Raphael Groner 2019-10-20 09:13:59 UTC
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.

Comment 4 Raphael Groner 2019-11-15 22:09:49 UTC
Orphaned.

Comment 5 Miro Hrončok 2019-12-28 12:29:17 UTC
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


Note You need to log in before you can comment on or make changes to this bug.