Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953443 - kde-misc/kdeconnect-24.12.3: build fails with qt-6.9.0
Summary: kde-misc/kdeconnect-24.12.3: build fails with qt-6.9.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL: https://invent.kde.org/network/kdecon...
Whiteboard:
Keywords: PATCH, UPSTREAM
Depends on:
Blocks:
 
Reported: 2025-04-08 18:20 UTC by Paul Zander
Modified: 2025-04-08 20:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch (kdeconnect-24.12.3-qt-6.9.0-include-QHash.patch,584 bytes, patch)
2025-04-08 18:20 UTC, Paul Zander
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Zander 2025-04-08 18:20:02 UTC
Purely to document.

In file included from /var/tmp/paludis/kde-misc-kdeconnect-24.12.3/work/kdeconnect-kde-24.12.3/core/backends/lan/mdnsdiscovery.h:14,
                 from /var/tmp/paludis/kde-misc-kdeconnect-24.12.3/work/kdeconnect-kde-24.12.3/core/backends/lan/mdnsdiscovery.cpp:7:
/var/tmp/paludis/kde-misc-kdeconnect-24.12.3/work/kdeconnect-kde-24.12.3/core/backends/lan/mdns_wrapper.h:64:39: error: field ‘txtRecords’ has incomplete type ‘QHash<QByteArray, QByteArray>’
   64 |         QHash<QByteArray, QByteArray> txtRecords;
      |                                       ^~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qtypeinfo.h:9,
                 from /usr/include/qt6/QtCore/qglobal.h:45,
                 from /usr/include/qt6/QtCore/qnamespace.h:12,
                 from /usr/include/qt6/QtCore/qobjectdefs.h:12,
                 from /usr/include/qt6/QtCore/qobject.h:10,
                 from /usr/include/qt6/QtCore/QObject:1,
                 from /var/tmp/paludis/kde-misc-kdeconnect-24.12.3/work/kdeconnect-kde-24.12.3/core/backends/lan/mdnsdiscovery.h:10:
/usr/include/qt6/QtCore/qcontainerfwd.h:22:43: note: declaration of ‘class QHash<QByteArray, QByteArray>’
   22 | template <typename Key, typename T> class QHash;
      |                                           ^~~~~
Comment 1 Paul Zander 2025-04-08 18:20:20 UTC
Created attachment 924140 [details, diff]
patch
Comment 2 Larry the Git Cow gentoo-dev 2025-04-08 20:57:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9440d7ea93aeed76fdbcaee80bf9cff0049a8c6

commit b9440d7ea93aeed76fdbcaee80bf9cff0049a8c6
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-04-08 18:24:10 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-04-08 20:57:28 +0000

    kde-misc/kdeconnect: Add missing header
    
    Closes: https://bugs.gentoo.org/953443
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/kdeconnect-24.12.3-missing-header.patch  | 24 ++++++++++++++++++++++
 kde-misc/kdeconnect/kdeconnect-24.12.3.ebuild      |  2 ++
 2 files changed, 26 insertions(+)