Bug 461305 - Build failure of kwayland on Debian 10.3 (Buster)
Summary: Build failure of kwayland on Debian 10.3 (Buster)
Status: RESOLVED NOT A BUG
Alias: None
Product: kwayland
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Martin Flöser
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-02 03:34 UTC by Clive
Modified: 2022-11-02 18:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Clive 2022-11-02 03:34:37 UTC
I am building KDE, and have most of the frame works built, all but kwayland and the packages that depend on it.



STEPS TO REPRODUCE
1. kdesrc-build kwayland

OBSERVED RESULT
clive@debian:~$ kdesrc-build kwayland
The signatures feature is experimental at /home/clive/kde/src/kdesrc-build/modules/ksb/Util/LoggedSubprocess.pm line 139.
The signatures feature is experimental at /home/clive/kde/src/kdesrc-build/modules/ksb/Util/LoggedSubprocess.pm line 165.
The signatures feature is experimental at /home/clive/kde/src/kdesrc-build/modules/ksb/Util/LoggedSubprocess.pm line 189.
The signatures feature is experimental at /home/clive/kde/src/kdesrc-build/modules/ksb/Util/LoggedSubprocess.pm line 200.
The signatures feature is experimental at /home/clive/kde/src/kdesrc-build/modules/ksb/Util/LoggedSubprocess.pm line 217.
Fetching remote changes to sysadmin-repo-metadata
Merging sysadmin-repo-metadata changes from branch master

Building extra-cmake-modules from frameworks (1/3)
        Fetching remote changes to extra-cmake-modules
        Merging extra-cmake-modules changes from branch master
        No changes to extra-cmake-modules source, proceeding to build.
        Compiling... succeeded (after 0 seconds)
        Installing.. succeeded (after 0 seconds)

Building plasma-wayland-protocols from kdesupport (2/3)
        Fetching remote changes to plasma-wayland-protocols
        Merging plasma-wayland-protocols changes from branch master
        No changes to plasma-wayland-protocols source, proceeding to build.
        Compiling... succeeded (after 0 seconds)
        Installing.. succeeded (after 1 second)

Building kwayland from frameworks (3/3)
        Fetching remote changes to kwayland
        Merging kwayland changes from branch master
        No changes to kwayland source, proceeding to build.
        Compiling... failed (after 1 second)

<<<  PACKAGES SUCCESSFULLY BUILT  >>>
extra-cmake-modules
plasma-wayland-protocols

<<<  PACKAGES FAILED TO BUILD  >>>
kwayland - file:///home/clive/kde/src/log/2022-11-02-05/kwayland/build.log

Important notification for kwayland:
    kwayland has failed to build 30 times.
    You can check https://build.kde.org/search/?q=kwayland to see if this is expected.

:-(
Your logs are saved in file:///home/clive/kde/src/log/2022-11-02-05


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version:  5.15.2 and 6.5.0

ADDITIONAL INFORMATION
# kdesrc-build running: 'gmake' '-j' '1'
# from directory: /home/clive/kde/build/kwayland
[  0%] Automatic MOC for target KF5WaylandClient
[  0%] Built target KF5WaylandClient_autogen
Consolidate compiler generated dependencies of target KF5WaylandClient
[  1%] Building CXX object src/client/CMakeFiles/KF5WaylandClient.dir/surface_p.cpp.o
/home/clive/kde/src/kwayland/src/client/surface_p.cpp:11:10: fatal error: private/qwaylandwindow_p.h: No such file or directory
   11 | #include <private/qwaylandwindow_p.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [src/client/CMakeFiles/KF5WaylandClient.dir/build.make:1555: src/client/CMakeFiles/KF5WaylandClient.dir/surface_p.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:494: src/client/CMakeFiles/KF5WaylandClient.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

files are found in
./home/clive/qt6/include/QtWaylandClient/6.5.0/QtWaylandClient/private/qwaylandwindow_p.h
./usr/include/x86_64-linux-gnu/qt5/QtWaylandClient/5.15.2/QtWaylandClient/private/qwaylandwindow_p.h

Any suggestions on how to fix this problem?

Clive
Comment 1 Nate Graham 2022-11-02 18:31:17 UTC
> fatal error: private/qwaylandwindow_p.h: No such file or directory
You're missing some Qt private headers.

The bug tracker isn't for dev help; see https://community.kde.org/Get_Involved/Issue_Reporting#Step_1:_Make_sure_it.27s_a_valid_bug_or_feature_request. In the future, you can ask the kde-devel@kde.org mailing list, or the #kde-devel:kde.org Matrix room.