Re: Compile error with latest master
Martin Flöser <[email protected]> Tue, 26 Apr 2022 21:04:56 +0200
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <2500554.nQsigClRzN@martin-yoga> |
Am Dienstag, 26. April 2022, 13:35:29 CEST schrieb Vlad Zahorodnii: > On 4/26/22 14:30, Vlad Zahorodnii wrote: > > On 4/25/22 10:24, Martin Fl=F6ser wrote: > >> Hi all, > >>=20 > >> I tried to compile latest KWin master yesterday, but I'm hitting a > >> compile > >> error I do not understand. CMake does not complain about anything > >> missing. > >>=20 > >> [714/2304] Building CXX object src/wayland/CMakeFiles/ > >> WaylandProtocols_xml.dir/qwayland-server-wayland.cpp.o > >> FAILED: src/wayland/CMakeFiles/WaylandProtocols_xml.dir/qwayland-serve= r- > >> wayland.cpp.o <snip> > >> In file included from > >> /home/martin/build/kwin/src/wayland/qwayland-server- > >> wayland.cpp:4: > >> /home/martin/build/kwin/src/wayland/qwayland-server-wayland.h:8:10: fa= tal > >> error: wayland-wayland-server-protocol.h: No such file or directory > >> 8 | #include "wayland-wayland-server-protocol.h" > >> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >> compilation terminated. > >>=20 > >> I get several of those includes not found. > >>=20 > >> Any hints on what is missing? > >=20 > > It looks like extra-cmake-modules is out date. Make sure you have > > https://invent.kde.org/frameworks/extra-cmake-modules/-/commit/e4dbfb21= 9c0 > > dbb6d3d6b888a8a0d964da50595e8 > We should bump KF MIN VERSION to 5.94 however it won't help if you > rebuilt extra-cmake-modules a week or two ago. +1, not only because of ecm, but also due to commits=20 3324400672948d9d375ebbb25bbfbc133e159764 and=20 719e97194d4864345439b53ce95e2bfd47f10e6f which also make KWin fail to build= =20 with older libraries. As a nowadays rather spare time developer I must say that it is really diff= icult=20 to try to build KWin master. Literally every time I update, it doesn't comp= ile=20 because it depends on too new stuff not yet packaged in Neon. I actually on= ly=20 use Neon to have all the latest dependencies. The merge request I created w= as=20 not based on the latest master due to latest master not building at that ti= me=20 for me. Basically with limited time most of the time I have for hacking goes on try= ing=20 to get the thing build. If I would try to track everything using kdesrc-bui= ld=20 I would even have less time for hacking. It's not really motivating me to h= ack=20 on KWin if I have two hours of time and think I'll probably spend 1.5 h to = get=20 the thing building again and the next time slot will be one week later and = the=20 thing repeats. It's just some feedback I want to give to think about whether the developme= nt=20 process currently makes it difficult to contribute. I'm seeing this now fro= m a=20 quite different perspective as when I had more time for KWin. Cheers Martin