meson: recursive include of subprojects when using --wrap-mode=forcefallback
Describe your issue
When the build is configured with --wrap-mode=forcefallback
, it fails on
subprojects/harfbuzz/meson.build:78:2: ERROR: Recursive include of subprojects: gst-plugins-base => libdrm => cairo => fontconfig => freetype2 => harfbuzz => freetype2.
Expected Behavior
To finish the configure properly with --wrap-mode=forcefallback
Observed Behavior
Setup
- Operating System: Linux
- Device: Computer
- GStreamer Version: 1.21
-
Command line:
meson builddir-fallback -Dintrospection=disabled --wrap-mode=forcefallback
Steps to reproduce the bug
- open terminal
- type
command
How reproducible is the bug?
Always
Screenshots if relevant
Solutions you have tried
Added -Dharfbuzz:freetype=disabled
but the build was still failing for cairo complaining about a recursive dependency with harfbuzz. subprojects/harfbuzz/meson.build:127:2: ERROR: Recursive include of subprojects: gst-plugins-base => libdrm => cairo => fontconfig => freetype2 => harfbuzz => cairo
Added -Dharfbuzz:cairo=disabled
and it failed on link stage with subprojects/cairo/test/svg2png
.
Added -Dcairo:tests=disabled
and it failed now with .../builddir/../subprojects/pango/pango/pango-ot-info.c:95: undefined reference to
hb_ft_face_create'`. So I guess now that pango needs harfbuzz to have some freetype enabling.