Bug#1029098: qt6-wayland: Component WaylandClient requires private Qt6WaylandGlobalPrivate
Source: qt6-wayland
Version: 6.4.2~rc1-2
Severity: normal
X-Debbugs-Cc: dobey.pwns@gmail.com, lisandro@debian.org
With a CMakeLists.txt having:
find_package(Qt6 REQUIRED COMPONENTS WaylandClient)
Runnning CMake issues:
```
-- Could NOT find Qt6WaylandGlobalPrivate (missing: Qt6WaylandGlobalPrivate_DIR)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:167 (find_package):
Found package configuration file:
/usr/lib/x86_64-linux-gnu/cmake/Qt6WaylandClient/Qt6WaylandClientConfig.cmake
but it set Qt6WaylandClient_FOUND to FALSE so package "Qt6WaylandClient" is
considered to be NOT FOUND. Reason given by package:
Qt6WaylandClient could not be found because dependency
Qt6WaylandGlobalPrivate could not be found.
Configuring with --debug-find-pkg=Qt6WaylandGlobalPrivate might reveal
details why the package was not found.
Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
of the path variables that find_package uses to try and find the package.
Call Stack (most recent call first):
CMakeLists.txt:16 (find_package)
```
A public module should not require a private one, so either
WaylandClient has a CMake error or it is not really public.
-- System Information:
Debian Release: bookworm/sid
APT prefers buildd-unstable
APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64
Kernel: Linux 6.0.0-6-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Reply to: