3.37.3: build fails by missing build dependencies
Looks like it is freetype missing dependency.
[tkloczko@barrel x86_64-redhat-linux-gnu]$ ninja
[21/1510] Generating meta-marshal_c with a custom command
INFO: Reading ../src/meta-marshal.list...
[31/1510] Generating meta-marshal_h with a custom command
INFO: Reading ../src/meta-marshal.list...
[69/1510] Compiling C object 'cogl/cogl-pango/d3f2898@@mutter-cogl-pango-7@sha/cogl-pango-render.c.o'
FAILED: cogl/cogl-pango/d3f2898@@mutter-cogl-pango-7@sha/cogl-pango-render.c.o
gcc -Icogl/cogl-pango/d3f2898@@mutter-cogl-pango-7@sha -Icogl/cogl-pango -I../cogl/cogl-pango -Icogl -I../cogl -Icogl/cogl -I../cogl/cogl -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gio-unix-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/gdk-pixbuf-2.0 -fvisibility=hidden -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -O2 -g -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pthread -mfpmath=sse -msse -msse2 '-DCOGL_LOCALEDIR="/usr/share/locale"' -DCOGL_COMPILATION '-DCOGL_GL_LIBNAME="libGL.so.1"' '-DCOGL_GLES2_LIBNAME="libGLESv2.so.2"' -MD -MQ 'cogl/cogl-pango/d3f2898@@mutter-cogl-pango-7@sha/cogl-pango-render.c.o' -MF 'cogl/cogl-pango/d3f2898@@mutter-cogl-pango-7@sha/cogl-pango-render.c.o.d' -o 'cogl/cogl-pango/d3f2898@@mutter-cogl-pango-7@sha/cogl-pango-render.c.o' -c ../cogl/cogl-pango/cogl-pango-render.c
In file included from ../cogl/cogl-pango/cogl-pango-render.c:53:
/usr/include/cairo/cairo-ft.h:46:10: fatal error: ft2build.h: No such file or directory
46 | #include <ft2build.h>
| ^~~~~~~~~~~~
compilation terminated.
[118/1510] Compiling C object 'src/tests/a4ccf2d@@mutter-test-client@exe/test-client.c.o'
ninja: build stopped: subcommand failed.
Edited by Tomasz Kłoczko