Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934414 - [guru] net-im/nheko-0.12.0 fails to compile: main.cpp:254:65: error: QWaylandApplication is not a member of QNativeInterface
Summary: [guru] net-im/nheko-0.12.0 fails to compile: main.cpp:254:65: error: QWayland...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: tea
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-16 12:29 UTC by Agostino Sarubbo
Modified: 2024-07-08 16:36 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,28.48 KB, application/x-xz)
2024-06-16 12:29 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-06-16 12:29:37 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-im/nheko-0.12.0 fails to compile.
Discovered on: amd64 (internal ref: guru_ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-06-16 12:29:38 UTC
Created attachment 895909 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-06-16 12:29:39 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: CMakeFiles/nheko.dir/src/main.cpp.o 
fatal: not a git repository (or any parent up to mount point /var/tmp)
/var/tmp/portage/net-im/nheko-0.12.0/work/nheko-v0.12.0/src/main.cpp:254:65: error: ‘QWaylandApplication’ is not a member of ‘QNativeInterface’; did you mean ‘QX11Application’?
Comment 3 tea 2024-06-16 14:05:58 UTC
the problem is a missing dep on dev-qt/qtbase:6[wayland]
Comment 4 Larry the Git Cow gentoo-dev 2024-06-17 21:40:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f22c622c10cae6e2874347d542f6a127ff42340f

commit f22c622c10cae6e2874347d542f6a127ff42340f
Author:     tea <gentoo@tastytea.de>
AuthorDate: 2024-06-16 14:05:38 +0000
Commit:     tea <gentoo@tastytea.de>
CommitDate: 2024-06-16 14:55:12 +0000

    net-im/nheko: add mising dependency on dev-qt/qtbase:6[wayland]
    
    Closes: https://bugs.gentoo.org/934414
    Signed-off-by: tea <gentoo@tastytea.de>

 net-im/nheko/nheko-0.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 5 Larry the Git Cow gentoo-dev 2024-07-08 16:36:30 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=429788ad79e7ed72ba7703f4dd738641d74324c5

commit 429788ad79e7ed72ba7703f4dd738641d74324c5
Author:     tea <gentoo@tastytea.de>
AuthorDate: 2024-07-05 16:54:20 +0000
Commit:     tea <gentoo@tastytea.de>
CommitDate: 2024-07-05 16:59:25 +0000

    net-im/nheko: remove forced wayland dependency
    
    backported the fix from upstream
    
    Bug: https://bugs.gentoo.org/934414
    Signed-off-by: tea <gentoo@tastytea.de>

 .../nheko-0.12.0-remove-wayland-dep-on-x11.patch   | 39 ++++++++++++++++++++++
 net-im/nheko/nheko-0.12.0.ebuild                   |  4 ++-
 2 files changed, 42 insertions(+), 1 deletion(-)