SUMMARY The kwin plugin qpa don't build OBSERVED RESULT [ 86%] Building CXX object plugins/qpa/CMakeFiles/KWinQpaPlugin.dir/KWinQpaPlugin_autogen/mocs_compilation.cpp.o In file included from /usr/include/c++/8.3.0/bits/stl_algo.h:59, from /usr/include/c++/8.3.0/algorithm:62, from /usr/include/qt5/QtCore/qglobal.h:142, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/include/KF5/KWindowSystem/fixx11h.h:28, from /tmp/kde_build/plasma/kwin-5.15.4/build/plugins/qpa/KWinQpaPlugin_autogen/EWIEGA46WW/../../../../../plugins/qpa/integration.h:26, from /tmp/kde_build/plasma/kwin-5.15.4/build/plugins/qpa/KWinQpaPlugin_autogen/EWIEGA46WW/moc_integration.cpp:9, from /tmp/kde_build/plasma/kwin-5.15.4/build/plugins/qpa/KWinQpaPlugin_autogen/mocs_compilation.cpp:2: /usr/include/c++/8.3.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory #include_next <stdlib.h> ^~~~~~~~~~ compilation terminated. make[2]: *** [plugins/qpa/CMakeFiles/KWinQpaPlugin.dir/build.make:63: plugins/qpa/CMakeFiles/KWinQpaPlugin.dir/KWinQpaPlugin_autogen/mocs_compilation.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:7925: plugins/qpa/CMakeFiles/KWinQpaPlugin.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 plasma:kwin failed to build. EXPECTED RESULT The plugin be built SOFTWARE/OS VERSIONS Linux/KDE Plasma: Slackware Current 5.15.4 (available in About System) KDE Plasma Version: 5.15.4 KDE Frameworks Version: 5.57 Qt Version: 5.12.3 ADDITIONAL INFORMATION I tried apply the patch https://cgit.kde.org/kwin.git/commit/?id=6e1655e3cce082b2e7d0daf21dc58bbe3d4524f2 to check if it would make through, but nothing changed. I am using multilib package but I tried remove it and install only pure gcc, but again nothing changed.
It currently builds on our CI and my system. It's in your /usr/include/c++/8.3.0/cstdlib when it fails, which means we're getting to the right path from kwin. I don't see anything that kwin is doing wrong. I'm afraid you're going to have investigate this. If you find anything, please open a followup. We can probably remove the fixx11 includes, it seems a bit pointless to include them from a wayland only QPA.
Appears other person has a similar error but in Arch distro. Bug 406596.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
*** This bug has been marked as a duplicate of bug 406596 ***