Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833535 - kde-misc/kdeconnect-21.08.3: Could NOT find WaylandScanner (missing: WaylandScanner_EXECUTABLE)
Summary: kde-misc/kdeconnect-21.08.3: Could NOT find WaylandScanner (missing: WaylandS...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-17 16:54 UTC by Ben Kohler
Modified: 2022-03-16 14:30 UTC (History)
0 users

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


Attachments
build.log (build.log,9.51 KB, text/x-log)
2022-02-17 16:54 UTC, Ben Kohler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Kohler gentoo-dev 2022-02-17 16:54:23 UTC
Created attachment 765311 [details]
build.log

Seems that something in kdeconnect's dep tree should require dev-util/wayland-scanner in RDEPEND, kdeconnect is failing to configure.

Here's an IRC log as reminder of some details of the case:

07:10 <+iamben> somewhere seems to be missing a dep on wayland-scanner but im not sure it's 
                kdeconnect itself, any idea how i landed here? https://dpaste.com/HM97RT5SH.txt
07:14 <@asturm> looks like qtwaylandscanner ECM module depends on wayland-scanner...
07:18 <+iamben> fwiw this is a big catalyst livedvd build, previous runs went fine but i added 
                USE=pulseaudio and of course it invalidated some binpkgs
07:19 <+iamben> but, binpkgs are in heavy use
07:21 <+iamben> so either one of kdeconnect's deps needs an RDEPEND on wayland-scanner, or 
                kdeconnect needs a direct DEPEND, right?
07:27 <@asturm> yes, by the looks of it, it would be extra-cmake-modules
07:27 <@asturm> otoh, we can't make that depend on qtwayland either.
07:28 <@asturm> maybe we should split out qtwaylandscanner which would then provide wayland-scanner 
                as RDEPEND
07:28 <@asturm> on which kdeconnect is able to depend
07:28 <@asturm> (Bdepend)
07:29 <+iamben> i kinda figured it was going to be more complicated than "wayland-scanner should be 
                in DEPEND", you dont't tend to miss that kind of dep =)
07:30 <@asturm> could you file a bug please? no idea what machine I'm at next time I get some time 
                for Gentoo
07:31 <+iamben> yep
07:32 <+iamben> and in the meantime i'll just delete my qtwayland binpkgs and that should get the 
                missing w-s installed for next run
07:39 <@asturm> yup, ecm_add_qtwayland_client_protocol macro has find_package(WaylandScanner 
                REQUIRED QUIET)...
Comment 1 Andreas Sturmlechner gentoo-dev 2022-02-17 18:18:43 UTC
We'll need to scan all use of 

- ecm_add_wayland_client_protocol
- ecm_add_qtwayland_server_protocol

in KDE packages, using lxr.kde.org.
Comment 2 jospezial 2022-03-14 17:15:05 UTC
some packages in kde-overlay now fail configure because of missing QtWaylandScanner:
kde-frameworks/kguiaddons-9999
kde-frameworks/kwayland-9999
kde-plasma/kwayland-server-9999
kde-plasma/libkscreen-9999

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find QtWaylandScanner (missing: QtWaylandScanner_EXECUTABLE)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindQtWaylandScanner.cmake:77 (find_package_handle_standard_args)
  CMakeLists.txt:32 (find_package)



kde-plasma/layer-shell-qt-9999
FAILED: src/qwayland-xdg-shell.h /var/tmp/portage/kde-plasma/layer-shell-qt-9999/work/layer-shell-qt-9999_build/src/qwayland-xdg-shell.h 
cd /var/tmp/portage/kde-plasma/layer-shell-qt-9999/work/layer-shell-qt-9999_build/src && QtWaylandScanner_EXECUTABLE-NOTFOUND client-header //usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml "" > /var/tmp/portage/kde-plasma/layer-shell-qt-9999/work/layer-shell-qt-9999_build/src/qwayland-xdg-shell.h
/bin/sh: line 1: QtWaylandScanner_EXECUTABLE-NOTFOUND: command not found
[7/26] cd /var/tmp/portage/kde-plasma/layer-shell-qt-9999/work/layer-shell-qt-9999_build/src && QtWaylandScanner_EXECUTABLE-NOTFOUND client-header /var/tmp/portage/kde-plasma/layer-shell-qt-9999/work/layer-shell-qt-9999/src/wlr-layer-shell-unstable-v1.xml "" > /var/tmp/portage/kde-plasma/layer-shell-qt-9999/work/layer-shell-qt-9999_build/src/qwayland-wlr-layer-shell-unstable-v1.h
FAILED: src/qwayland-wlr-layer-shell-unstable-v1.h /var/tmp/portage/kde-plasma/layer-shell-qt-9999/work/layer-shell-qt-9999_build/src/qwayland-wlr-layer-shell-unstable-v1.h 
cd /var/tmp/portage/kde-plasma/layer-shell-qt-9999/work/layer-shell-qt-9999_build/src && QtWaylandScanner_EXECUTABLE-NOTFOUND client-header /var/tmp/portage/kde-plasma/layer-shell-qt-9999/work/layer-shell-qt-9999/src/wlr-layer-shell-unstable-v1.xml "" > /var/tmp/portage/kde-plasma/layer-shell-qt-9999/work/layer-shell-qt-9999_build/src/qwayland-wlr-layer-shell-unstable-v1.h
/bin/sh: line 1: QtWaylandScanner_EXECUTABLE-NOTFOUND: command not found
ninja: build stopped: subcommand failed.
 * ERROR: kde-plasma/layer-shell-qt-9999::kde failed (compile phase)

equery b /usr/share/ECM/find-modules/FindQtWaylandScanner.cmake
 * Searching for /usr/share/ECM/find-modules/FindQtWaylandScanner.cmake ... 
kde-frameworks/extra-cmake-modules-9999 (/usr/share/ECM/find-modules/FindQtWaylandScanner.cmake)
Comment 3 Andreas Sturmlechner gentoo-dev 2022-03-14 17:18:23 UTC
Please don't spam this bug.
Comment 4 Larry the Git Cow gentoo-dev 2022-03-16 14:25:34 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=26254ddc66453da4719a4d025ea287e509070426

commit 26254ddc66453da4719a4d025ea287e509070426
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-03-16 14:19:51 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-03-16 14:20:15 +0000

    kde-misc/kdeconnect: Add IUSE=wayland, update DEPENDs
    
    Upstream commits:
    cf8ada2b5d38664231c7602a210c07a803eac70c
    5d970ddd48d81a77a6769f21db9f65984650cb1b
    
    Bug: https://bugs.gentoo.org/833535
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-misc/kdeconnect/kdeconnect-9999.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2022-03-16 14:30:04 UTC
The bug has been closed via the following commit(s):

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

commit 47baa41a8733d1715be0c1e8cae1851086bc3ef3
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-03-16 14:24:21 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-03-16 14:29:24 +0000

    kde-misc/kdeconnect: Add missing BDEPEND
    
    Dependencies are obsolete in >=22.04 again.
    
    Closes: https://bugs.gentoo.org/833535
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-misc/kdeconnect/kdeconnect-21.08.3.ebuild | 9 ++++++++-
 kde-misc/kdeconnect/kdeconnect-21.12.3.ebuild | 7 +++++++
 2 files changed, 15 insertions(+), 1 deletion(-)