SUMMARY The package fails to build because it can't find a file it needs, which I have confirmed the private directory doesn't exist the following is taken from the build log file: - 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 STEPS TO REPRODUCE 1. kdesrc-build kwayland OBSERVED RESULT Building kwayland from frameworks (3/3) Fetching remote changes to kwayland Merging kwayland changes from branch master Source update complete for kwayland: no files affected Rebuilding because the last configure failed Preparing build system for kwayland. Removing files in build directory for kwayland Old build system cleaned, starting new build system. Running cmake targeting Unix Makefiles... Compiling... failed (after 3 minutes, and 4 seconds) Note: --- 16 --- compile warnings kwayland didn't build, stopping here. <<< PACKAGES FAILED TO BUILD >>> kwayland - file:///home/clive/kde/src/log/2022-10-07-11/kwayland/build.log Important notification for kwayland: kwayland has failed to build 5 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-10-07-11 EXPECTED RESULT Fetching remote changes to kwayland-protocols Merging kwayland changes from branch master No changes to kwayland source, proceeding to build. Compiling... succeeded (after 0 seconds) Installing.. succeeded (after 0 seconds) SOFTWARE/OS VERSIONS Qt Version: 5.15 & 6 ADDITIONAL INFORMATION
You need to install qtwayland5-private-dev
Hi Martin Thanks for the reply :-) apt the package manager reports: - Reading package lists... Done Building dependency tree... Done Reading state information... Done qtwayland5-private-dev is already the newest version (5.15.2-3). When i try and build the package $ kdesrc-build kwayland The following happens 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-10-08-05/kwayland/build.log Important notification for kwayland: kwayland has failed to build 11 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-10-08-05 The build log shows the following # kdesrc-build running: 'gmake' '-j' '1' # from directory: /home/clive/kde/build/kwayland [ 0%] Automatic MOC for target KF5WaylandClient [ 0%] Built target KF5WaylandClient_autogen [ 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 I did a search for the qwaylandwindow_p.h file from the root directory with these results $ sudo find -name qwaylandwindow_p.h ./home/clive/Downloads/qt6/qtwayland/src/client/qwaylandwindow_p.h ./home/clive/Downloads/qt6/qt6-build/qtbase/include/QtWaylandClient/6.5.0/QtWaylandClient/private/qwaylandwindow_p.h ./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 It has the Distribution version from QT 5.15.2 and a private built latest version QT 6.5.0 Is there a predefined path in a make file that is not one of the above? Thanks for your support, and I look forward to your reply Regards Clive
Apogees for getting your name wrong. Clive