>>> pango 1.48.7 Extracting xzcat /tmp/instance-1/dl/pango/pango-1.48.7.tar.xz | tar --strip-components=1 -C /tmp/instance-1/output-1/build/pango-1.48.7 -xf - >>> pango 1.48.7 Patching >>> pango 1.48.7 Configuring rm -rf /tmp/instance-1/output-1/build/pango-1.48.7//build mkdir -p /tmp/instance-1/output-1/build/pango-1.48.7//build sed -e 's%@TARGET_CROSS@%/tmp/instance-1/output-1/host/bin/riscv32-linux-%g' -e 's%@TARGET_ARCH@%riscv64%g' -e 's%@TARGET_CPU@%%g' -e 's%@TARGET_ENDIAN@%little%g' -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=2'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=2'%g" -e 's%@HOST_DIR@%/tmp/instance-1/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot%g' -e 's%@STATIC@%false%g' -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" package/meson/cross-compilation.conf.in > /tmp/instance-1/output-1/build/pango-1.48.7//build/cross-compilation.conf PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /tmp/instance-1/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=debug --cross-file=/tmp/instance-1/output-1/build/pango-1.48.7//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/tmp/instance-1/output-1/host/lib/pkgconfig -Duse_fontconfig=true -Dintrospection=enabled /tmp/instance-1/output-1/build/pango-1.48.7/ /tmp/instance-1/output-1/build/pango-1.48.7//build The Meson build system Version: 0.58.2 Source dir: /tmp/instance-1/output-1/build/pango-1.48.7 Build dir: /tmp/instance-1/output-1/build/pango-1.48.7/build Build type: cross build WARNING: Unknown options: "use_fontconfig" The value of new options can be set with: meson setup --reconfigure -Dnew_option=new_value ... Project name: pango Project version: 1.48.7 C compiler for the host machine: /tmp/instance-1/output-1/host/bin/riscv32-linux-gcc (gcc 10.2.0 "riscv32-linux-gcc.br_real (Buildroot 2020.08-14-ge5a2a90) 10.2.0") C linker for the host machine: /tmp/instance-1/output-1/host/bin/riscv32-linux-gcc ld.bfd 2.34 C++ compiler for the host machine: /tmp/instance-1/output-1/host/bin/riscv32-linux-g++ (gcc 10.2.0 "riscv32-linux-g++.br_real (Buildroot 2020.08-14-ge5a2a90) 10.2.0") C++ linker for the host machine: /tmp/instance-1/output-1/host/bin/riscv32-linux-g++ ld.bfd 2.34 C compiler for the build machine: /usr/bin/gcc (gcc 9.3.0 "gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0") C linker for the build machine: /usr/bin/gcc ld.bfd 2.34 C++ compiler for the build machine: /usr/bin/g++ (gcc 9.3.0 "g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0") C++ linker for the build machine: /usr/bin/g++ ld.bfd 2.34 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: riscv64 Host machine cpu: Target machine cpu family: riscv64 Target machine cpu: Compiler for C supports arguments -Wimplicit-function-declaration: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wno-int-conversion: YES Compiler for C supports arguments -Wno-discarded-qualifiers: YES Compiler for C supports arguments -Werror=implicit: YES Compiler for C supports arguments -Werror=pointer-to-int-cast: YES Compiler for C supports arguments -fno-strict-aliasing: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wformat=2: YES Compiler for C supports arguments -Wformat-nonliteral: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Wunused: YES Compiler for C supports arguments -Wcast-align: YES Compiler for C supports arguments -Wmissing-noreturn: YES Compiler for C supports arguments -Wmissing-format-attribute: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Wlogical-op: YES Compiler for C supports arguments -Wno-uninitialized: YES Compiler for C supports arguments -Wno-shadow: YES Compiler for C supports arguments -Werror=implicit-fallthrough: YES Compiler for C supports arguments -Werror=nonnull: YES Compiler for C supports arguments -Werror=init-self: YES Compiler for C supports arguments -Werror=main: YES Compiler for C supports arguments -Werror=missing-braces: YES Compiler for C supports arguments -Werror=sequence-point: YES Compiler for C supports arguments -Werror=return-type: YES Compiler for C supports arguments -Werror=trigraphs: YES Compiler for C supports arguments -Werror=array-bounds: YES Compiler for C supports arguments -Werror=write-strings: YES Compiler for C supports arguments -Werror=address: YES Compiler for C supports arguments -Werror=int-to-pointer-cast: YES Compiler for C supports arguments -Werror=empty-body: YES Compiler for C supports arguments -Werror=write-strings: YES (cached) Compiler for C supports arguments -Werror=unused-but-set-variable: YES Compiler for C supports arguments -Wundef: YES Compiler for C supports arguments -Werror=redundant-decls: YES Compiler for C supports arguments -fvisibility=hidden: YES Compiler for C supports link arguments -Wl,-Bsymbolic: YES Compiler for C supports link arguments -Wl,-z,relro: YES Compiler for C supports link arguments -Wl,-z,now: YES Checking for function "sysconf" : YES Checking for function "getpagesize" : YES Checking for function "flockfile" : YES Checking for function "strtok_r" : YES Has header "unistd.h" : YES Has header "sys/mman.h" : YES Has header "dirent.h" : YES Message: Enabling various debug infrastructure Library m found: YES Found pkg-config: /tmp/instance-1/output-1/host/bin/pkgconf (1.6.3) Run-time dependency glib-2.0 found: YES 2.68.2 Run-time dependency gobject-2.0 found: YES 2.68.2 Run-time dependency gio-2.0 found: YES 2.68.2 Run-time dependency fribidi found: YES 1.0.10 Found CMake: NO Run-time dependency libthai found: NO (tried pkgconfig and cmake) Run-time dependency harfbuzz found: YES 2.8.2 Run-time dependency fontconfig found: YES 2.13.1 Message: fontconfig has FcWeightFromOpenTypeDouble: YES Run-time dependency freetype2 found: YES 23.4.17 Run-time dependency xft found: NO (tried pkgconfig and cmake) Run-time dependency cairo found: YES 1.16.0 Run-time dependency cairo-ft found: YES 1.16.0 Run-time dependency cairo-win32 found: NO (tried pkgconfig and cmake) Run-time dependency cairo-quartz found: NO (tried pkgconfig and cmake) Run-time dependency cairo-png found: YES 1.16.0 Run-time dependency cairo-ps found: YES 1.16.0 Run-time dependency cairo-pdf found: YES 1.16.0 Run-time dependency cairo-xlib found: NO (tried pkgconfig and cmake) Dependency sysprof-capture-4 skipped: feature sysprof disabled Run-time dependency gi-docgen found: NO (tried pkgconfig and cmake) Looking for a fallback subproject for the dependency gi-docgen Executing subproject gi-docgen gi-docgen| WARNING: In subproject gi-docgen: Unknown options: "use_fontconfig" gi-docgen| The value of new options can be set with: gi-docgen| meson setup --reconfigure -Dnew_option=new_value ... gi-docgen| Project name: gi-docgen gi-docgen| Project version: 2021.7 gi-docgen| Program python3 (jinja2, markdown, markupsafe, pygments, toml, typogrify) found: NO gi-docgen| ../output-1/build/pango-1.48.7/subprojects/gi-docgen/meson.build:10:0: Exception: python3 is missing modules: jinja2, markdown, markupsafe, pygments, toml, typogrify Subproject subprojects/gi-docgen is buildable: NO (disabling) Dependency gi-docgen from subproject subprojects/gi-docgen found: NO (subproject failed to configure) Configuring config.h using configuration Configuring pango-features.h using configuration Program glib-mkenums found: YES (/tmp/instance-1/output-1/host/bin/glib-mkenums) Program g-ir-scanner found: YES Run-time dependency harfbuzz-gobject found: YES 2.8.2 Found pkg-config: /tmp/instance-1/output-1/host/bin/pkg-config (1.6.3) Build-time dependency gobject-introspection-1.0 found: YES 1.68.0 Program help2man found: NO Program build-aux/meson/dist-docs.py found: YES (/tmp/instance-1/output-1/build/pango-1.48.7/build-aux/meson/dist-docs.py) Build targets in project: 69 pango 1.48.7 Subprojects gi-docgen: NO python3 is missing modules: jinja2, markdown, markupsafe, pygments, toml, typogrify Option buildtype is: debug [default: debugoptimized] Found ninja-1.10.2 at /tmp/instance-1/output-1/host/bin/ninja >>> pango 1.48.7 Building PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PYTHONNOUSERSITE=y /tmp/instance-1/output-1/host/bin/ninja -j96 -C /tmp/instance-1/output-1/build/pango-1.48.7//build ninja: Entering directory `/tmp/instance-1/output-1/build/pango-1.48.7//build' [1/135] Generating pango-enum-types.h with a custom command (wrapped by meson to capture output) [2/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pango-coverage.c.o [3/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/ellipsize.c.o [4/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/glyphstring.c.o [5/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/modules.c.o [6/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pango-bidi-type.c.o [7/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pango-color.c.o [8/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pango-emoji.c.o [9/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pango-engine.c.o [10/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pango-fontmap.c.o [11/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pango-fontset.c.o [12/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pango-glyph-item.c.o [13/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pango-gravity.c.o [14/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pango-item.c.o [15/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pango-matrix.c.o [16/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pango-renderer.c.o [17/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pango-script.c.o [18/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pango-tabs.c.o [19/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/reorder-items.c.o [20/135] Compiling C object pango/libpangoft2-1.0.so.0.4800.7.p/pangofc-decoder.c.o [21/135] Compiling C object pango/libpangoft2-1.0.so.0.4800.7.p/pango-trace.c.o [22/135] Compiling C object pango/libpangoft2-1.0.so.0.4800.7.p/pango-ot-buffer.c.o [23/135] Compiling C object pango/libpangoft2-1.0.so.0.4800.7.p/pango-ot-ruleset.c.o [24/135] Compiling C object pango/libpangoft2-1.0.so.0.4800.7.p/pango-ot-tag.c.o [25/135] Compiling C object pango/libpangocairo-1.0.so.0.4800.7.p/pangocairo-fontmap.c.o [26/135] Compiling C object utils/pango-view.p/pango-view.c.o [27/135] Compiling C object utils/pango-view.p/viewer-main.c.o [28/135] Compiling C object utils/pango-view.p/viewer-cairo.c.o [29/135] Compiling C object tests/test-coverage.p/test-coverage.c.o [30/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pango-language.c.o ../pango/pango-language.c: In function 'pango_language_from_string': ../pango/pango-language.c:353:10: warning: cast increases required alignment of target type [-Wcast-align] 353 | priv = (PangoLanguagePrivate *) result; | ^ ../pango/pango-language.c: In function 'parse_default_languages': ../pango/pango-language.c:788:10: warning: cast increases required alignment of target type [-Wcast-align] 788 | return (PangoLanguage **) g_array_free (langs, FALSE); | ^ [31/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/shape.c.o ../pango/shape.c: In function 'pango_shape_with_flags': ../pango/shape.c:325:34: warning: cast increases required alignment of target type [-Wcast-align] 325 | PangoFcFont *fc_font = (PangoFcFont *)analysis->font; | ^ [32/135] Compiling C object pango/libpangocairo-1.0.so.0.4800.7.p/pangocairo-fcfont.c.o ../pango/pangocairo-fcfont.c: In function 'pango_cairo_fc_font_finalize': ../pango/pangocairo-fcfont.c:97:30: warning: cast increases required alignment of target type [-Wcast-align] 97 | PangoCairoFcFont *cffont = (PangoCairoFcFont *) object; | ^ ../pango/pangocairo-fcfont.c: In function 'pango_cairo_fc_font_get_glyph_extents': ../pango/pangocairo-fcfont.c:113:30: warning: cast increases required alignment of target type [-Wcast-align] 113 | PangoCairoFcFont *cffont = (PangoCairoFcFont *) (font); | ^ [33/135] Compiling C object pango/libpangocairo-1.0.so.0.4800.7.p/pangocairo-fcfontmap.c.o ../pango/pangocairo-fcfontmap.c: In function 'pango_cairo_fc_font_map_get_serial': ../pango/pangocairo-fcfontmap.c:44:36: warning: cast increases required alignment of target type [-Wcast-align] 44 | PangoCairoFcFontMap *cffontmap = (PangoCairoFcFontMap *) (fontmap); | ^ ../pango/pangocairo-fcfontmap.c: In function 'pango_cairo_fc_font_map_changed': ../pango/pangocairo-fcfontmap.c:52:36: warning: cast increases required alignment of target type [-Wcast-align] 52 | PangoCairoFcFontMap *cffontmap = (PangoCairoFcFontMap *) (fontmap); | ^ ../pango/pangocairo-fcfontmap.c: In function 'pango_cairo_fc_font_map_get_resolution_fc': ../pango/pangocairo-fcfontmap.c:121:36: warning: cast increases required alignment of target type [-Wcast-align] 121 | PangoCairoFcFontMap *cffontmap = (PangoCairoFcFontMap *) (fcfontmap); | ^ ../pango/pangocairo-fcfontmap.c: In function 'pango_cairo_fc_font_map_create_font': ../pango/pangocairo-fcfontmap.c:178:36: warning: cast increases required alignment of target type [-Wcast-align] 178 | return _pango_cairo_fc_font_new ((PangoCairoFcFontMap *) (fcfontmap), | ^ [34/135] Compiling C object examples/cairoshape.p/cairoshape.c.o [35/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pango-context.c.o [36/135] Compiling C object pango/libpangoft2-1.0.so.0.4800.7.p/pangoft2-fontmap.c.o In file included from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gobject.h:24, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gbinding.h:29, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib-object.h:22, from ../pango/pango-impl-utils.h:27, from ../pango/pangoft2-fontmap.c:33: ../pango/pangoft2-fontmap.c: In function 'pango_ft2_font_map_finalize': /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangoft2.h:57:47: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 57 | #define PANGO_FT2_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FT2_FONT_MAP, PangoFT2FontMap)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangoft2-fontmap.c:108:33: note: in expansion of macro 'PANGO_FT2_FONT_MAP' 108 | PangoFT2FontMap *ft2fontmap = PANGO_FT2_FONT_MAP (object); | ^~~~~~~~~~~~~~~~~~ ../pango/pangoft2-fontmap.c: In function 'pango_ft2_font_map_get_serial': /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangoft2.h:57:47: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 57 | #define PANGO_FT2_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FT2_FONT_MAP, PangoFT2FontMap)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangoft2-fontmap.c:142:33: note: in expansion of macro 'PANGO_FT2_FONT_MAP' 142 | PangoFT2FontMap *ft2fontmap = PANGO_FT2_FONT_MAP (fontmap); | ^~~~~~~~~~~~~~~~~~ ../pango/pangoft2-fontmap.c: In function 'pango_ft2_font_map_changed': /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangoft2.h:57:47: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 57 | #define PANGO_FT2_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FT2_FONT_MAP, PangoFT2FontMap)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangoft2-fontmap.c:150:33: note: in expansion of macro 'PANGO_FT2_FONT_MAP' 150 | PangoFT2FontMap *ft2fontmap = PANGO_FT2_FONT_MAP (fontmap); | ^~~~~~~~~~~~~~~~~~ ../pango/pangoft2-fontmap.c: In function 'pango_ft2_get_context': /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangoft2.h:57:47: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 57 | #define PANGO_FT2_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FT2_FONT_MAP, PangoFT2FontMap)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangoft2-fontmap.c:273:38: note: in expansion of macro 'PANGO_FT2_FONT_MAP' 273 | pango_ft2_font_map_set_resolution (PANGO_FT2_FONT_MAP (fontmap), dpi_x, dpi_y); | ^~~~~~~~~~~~~~~~~~ In file included from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib/gasyncqueue.h:32, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib.h:32, from ../pango/pangoft2-fontmap.c:25: ../pango/pangoft2-fontmap.c: In function 'pango_ft2_font_map_for_display': /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib/gthread.h:266:32: note: in definition of macro 'g_once_init_leave' 266 | 0 ? (void) (*(location) = (result)) : (void) 0; \ | ^~~~~~ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangoft2.h:57:47: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 57 | #define PANGO_FT2_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FT2_FONT_MAP, PangoFT2FontMap)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangoft2-fontmap.c:296:51: note: in expansion of macro 'PANGO_FT2_FONT_MAP' 296 | g_once_init_leave (&pango_ft2_global_fontmap, PANGO_FT2_FONT_MAP (pango_ft2_font_map_new ())); | ^~~~~~~~~~~~~~~~~~ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib/gthread.h:267:45: note: in definition of macro 'g_once_init_leave' 267 | g_once_init_leave ((location), (gsize) (result)); \ | ^~~~~~ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangoft2.h:57:47: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 57 | #define PANGO_FT2_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FT2_FONT_MAP, PangoFT2FontMap)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangoft2-fontmap.c:296:51: note: in expansion of macro 'PANGO_FT2_FONT_MAP' 296 | g_once_init_leave (&pango_ft2_global_fontmap, PANGO_FT2_FONT_MAP (pango_ft2_font_map_new ())); | ^~~~~~~~~~~~~~~~~~ ../pango/pangoft2-fontmap.c: In function '_pango_ft2_font_map_get_library': ../pango/pangoft2-fontmap.c:323:33: warning: cast increases required alignment of target type [-Wcast-align] 323 | PangoFT2FontMap *ft2fontmap = (PangoFT2FontMap *)fontmap; | ^ In file included from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gobject.h:24, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gbinding.h:29, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib-object.h:22, from ../pango/pango-impl-utils.h:27, from ../pango/pangoft2-fontmap.c:33: ../pango/pangoft2-fontmap.c: In function '_pango_ft2_font_map_default_substitute': /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangoft2.h:57:47: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 57 | #define PANGO_FT2_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FT2_FONT_MAP, PangoFT2FontMap)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangoft2-fontmap.c:350:33: note: in expansion of macro 'PANGO_FT2_FONT_MAP' 350 | PangoFT2FontMap *ft2fontmap = PANGO_FT2_FONT_MAP (fcfontmap); | ^~~~~~~~~~~~~~~~~~ ../pango/pangoft2-fontmap.c: In function 'pango_ft2_font_map_get_resolution': ../pango/pangoft2-fontmap.c:367:11: warning: cast increases required alignment of target type [-Wcast-align] 367 | return ((PangoFT2FontMap *)fcfontmap)->dpi_y; | ^ In file included from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gobject.h:24, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gbinding.h:29, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib-object.h:22, from ../pango/pango-impl-utils.h:27, from ../pango/pangoft2-fontmap.c:33: ../pango/pangoft2-fontmap.c: In function 'pango_ft2_font_map_new_font': /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangoft2.h:57:47: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 57 | #define PANGO_FT2_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FT2_FONT_MAP, PangoFT2FontMap)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangoft2-fontmap.c:374:46: note: in expansion of macro 'PANGO_FT2_FONT_MAP' 374 | return (PangoFcFont *)_pango_ft2_font_new (PANGO_FT2_FONT_MAP (fcfontmap), pattern); | ^~~~~~~~~~~~~~~~~~ [37/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pangofc-shape.c.o [38/135] Compiling C object pango/libpangoft2-1.0.so.0.4800.7.p/pango-ot-info.c.o [39/135] Compiling C object utils/pango-segmentation.p/pango-segmentation.c.o [40/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pango-attributes.c.o ../pango/pango-attributes.c: In function 'pango_attr_float_copy': ../pango/pango-attributes.c:455:38: warning: cast increases required alignment of target type [-Wcast-align] 455 | const PangoAttrFloat *float_attr = (PangoAttrFloat *)attr; | ^ ../pango/pango-attributes.c: In function 'pango_attr_float_destroy': ../pango/pango-attributes.c:463:27: warning: cast increases required alignment of target type [-Wcast-align] 463 | PangoAttrFloat *fattr = (PangoAttrFloat *)attr; | ^ ../pango/pango-attributes.c: In function 'pango_attr_float_equal': ../pango/pango-attributes.c:472:39: warning: cast increases required alignment of target type [-Wcast-align] 472 | const PangoAttrFloat *float_attr1 = (const PangoAttrFloat *)attr1; | ^ ../pango/pango-attributes.c:473:39: warning: cast increases required alignment of target type [-Wcast-align] 473 | const PangoAttrFloat *float_attr2 = (const PangoAttrFloat *)attr2; | ^ ../pango/pango-attributes.c: In function 'pango_attr_iterator_get_font': ../pango/pango-attributes.c:2343:24: warning: cast increases required alignment of target type [-Wcast-align] 2343 | scale = ((PangoAttrFloat *)attr)->value; | ^ [41/135] Compiling C object utils/pango-view.p/viewer-pangoft2.c.o [42/135] Compiling C object tests/testboundaries_ucd.p/testboundaries_ucd.c.o [43/135] Compiling C object examples/cairosimple.p/cairosimple.c.o [44/135] Compiling C object tests/testboundaries.p/testboundaries.c.o [45/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pango-utils.c.o [46/135] Compiling C object tests/testscript.p/testscript.c.o [47/135] Compiling C object pango/libpangocairo-1.0.so.0.4800.7.p/pangocairo-context.c.o [48/135] Compiling C object tests/testtabs.p/testtabs.c.o [49/135] Compiling C object tests/test-ellipsize.p/test-ellipsize.c.o [50/135] Compiling C object utils/pango-list.p/pango-list.c.o [51/135] Compiling C object tests/markup-parse.p/markup-parse.c.o [52/135] Compiling C object tests/testlanguage.p/testlanguage.c.o [53/135] Compiling C object pango/libpangocairo-1.0.so.0.4800.7.p/pangocairo-font.c.o [54/135] Compiling C object pango/libpangoft2-1.0.so.0.4800.7.p/pangoft2-render.c.o ../pango/pangoft2-render.c: In function 'pango_ft2_font_render_glyph': ../pango/pangoft2-render.c:220:31: warning: cast increases required alignment of target type [-Wcast-align] 220 | PangoFT2Font *ft2font = (PangoFT2Font *) font; | ^ In file included from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gobject.h:24, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gbinding.h:29, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib-object.h:22, from ../pango/pango-coverage.h:25, from ../pango/pango-font.h:25, from ../pango/pango-font-private.h:25, from ../pango/pangoft2-render.c:26: ../pango/pangoft2-render.c: In function 'pango_ft2_render_transformed': /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangofc-font.h:51:42: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 51 | #define PANGO_FC_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FC_FONT, PangoFcFont)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangoft2-render.c:731:13: note: in expansion of macro 'PANGO_FC_FONT' 731 | fontmap = PANGO_FC_FONT (font)->fontmap; | ^~~~~~~~~~~~~ [55/135] Compiling C object pango/libpangoft2-1.0.so.0.4800.7.p/pangoft2.c.o In file included from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gobject.h:24, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gbinding.h:29, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib-object.h:22, from ../pango/pango-coverage.h:25, from ../pango/pango-font.h:25, from ../pango/pango-attributes.h:25, from ../pango/pango.h:25, from ../pango/pangofc-fontmap.h:25, from ../pango/pangoft2.h:31, from ../pango/pangoft2.c:31: ../pango/pangoft2.c: In function 'load_fallback_face': /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangofc-font.h:51:42: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 51 | #define PANGO_FC_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FC_FONT, PangoFcFont)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangoft2.c:89:25: note: in expansion of macro 'PANGO_FC_FONT' 89 | PangoFcFont *fcfont = PANGO_FC_FONT (ft2font); | ^~~~~~~~~~~~~ ../pango/pangoft2.c: In function 'pango_ft2_font_get_face': ../pango/pangoft2.c:173:27: warning: cast increases required alignment of target type [-Wcast-align] 173 | PangoFT2Font *ft2font = (PangoFT2Font *)font; | ^ ../pango/pangoft2.c:174:25: warning: cast increases required alignment of target type [-Wcast-align] 174 | PangoFcFont *fcfont = (PangoFcFont *)font; | ^ ../pango/pangoft2.c: In function 'pango_ft2_font_get_glyph_info': ../pango/pangoft2.c:296:27: warning: cast increases required alignment of target type [-Wcast-align] 296 | PangoFT2Font *ft2font = (PangoFT2Font *)font; | ^ ../pango/pangoft2.c:297:25: warning: cast increases required alignment of target type [-Wcast-align] 297 | PangoFcFont *fcfont = (PangoFcFont *)font; | ^ ../pango/pangoft2.c: In function 'pango_ft2_font_get_glyph_extents': ../pango/pangoft2.c:328:40: warning: cast increases required alignment of target type [-Wcast-align] 328 | glyph = pango_fc_font_get_glyph ((PangoFcFont *) font, ' '); | ^ In file included from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gobject.h:24, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gbinding.h:29, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib-object.h:22, from ../pango/pango-coverage.h:25, from ../pango/pango-font.h:25, from ../pango/pango-attributes.h:25, from ../pango/pango.h:25, from ../pango/pangofc-fontmap.h:25, from ../pango/pangoft2.h:31, from ../pango/pangoft2.c:31: ../pango/pangoft2.c: In function 'pango_ft2_font_get_kerning': /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangofc-font.h:51:42: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 51 | #define PANGO_FC_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FC_FONT, PangoFcFont)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangoft2.c:400:26: note: in expansion of macro 'PANGO_FC_FONT' 400 | PangoFcFont *fc_font = PANGO_FC_FONT (font); | ^~~~~~~~~~~~~ ../pango/pangoft2.c: In function 'pango_ft2_free_glyph_info_callback': /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangoft2-private.h:77:43: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 77 | #define PANGO_FT2_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FT2_FONT, PangoFT2Font)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangoft2.c:443:24: note: in expansion of macro 'PANGO_FT2_FONT' 443 | PangoFT2Font *font = PANGO_FT2_FONT (data); | ^~~~~~~~~~~~~~ ../pango/pangoft2.c: In function 'pango_ft2_font_finalize': ../pango/pangoft2.c:456:27: warning: cast increases required alignment of target type [-Wcast-align] 456 | PangoFT2Font *ft2font = (PangoFT2Font *)object; | ^ In file included from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gobject.h:24, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gbinding.h:29, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib-object.h:22, from ../pango/pango-coverage.h:25, from ../pango/pango-font.h:25, from ../pango/pango-attributes.h:25, from ../pango/pango.h:25, from ../pango/pangofc-fontmap.h:25, from ../pango/pangoft2.h:31, from ../pango/pangoft2.c:31: ../pango/pangoft2.c: In function '_pango_ft2_font_set_glyph_cache_destroy': /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangoft2-private.h:77:43: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 77 | #define PANGO_FT2_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FT2_FONT, PangoFT2Font)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangoft2.c:557:3: note: in expansion of macro 'PANGO_FT2_FONT' 557 | PANGO_FT2_FONT (font)->glyph_cache_destroy = destroy_notify; | ^~~~~~~~~~~~~~ [56/135] Compiling C object tests/testmatrix.p/testmatrix.c.o [57/135] Compiling C object tests/test-ot-tags.p/test-ot-tags.c.o [58/135] Compiling C object pango/libpangoft2-1.0.so.0.4800.7.p/pangofc-font.c.o In file included from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gobject.h:24, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gbinding.h:29, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib-object.h:22, from ../pango/pango-types.h:26, from ../pango/pango-glyph.h:25, from ../pango/pangofc-font.h:25, from ../pango/pangofc-font-private.h:25, from ../pango/pangofc-font.c:24: ../pango/pangofc-font.c: In function 'pango_fc_font_finalize': /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangofc-font.h:51:42: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 51 | #define PANGO_FC_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FC_FONT, PangoFcFont)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangofc-font.c:143:25: note: in expansion of macro 'PANGO_FC_FONT' 143 | PangoFcFont *fcfont = PANGO_FC_FONT (object); | ^~~~~~~~~~~~~ ../pango/pangofc-font.c: In function 'pango_fc_font_set_property': /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangofc-font.h:51:42: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 51 | #define PANGO_FC_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FC_FONT, PangoFcFont)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangofc-font.c:199:25: note: in expansion of macro 'PANGO_FC_FONT' 199 | PangoFcFont *fcfont = PANGO_FC_FONT (object); | ^~~~~~~~~~~~~ ../pango/pangofc-font.c: In function 'pango_fc_font_get_property': /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangofc-font.h:51:42: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 51 | #define PANGO_FC_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FC_FONT, PangoFcFont)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangofc-font.c:250:24: note: in expansion of macro 'PANGO_FC_FONT' 250 | PangoFcFont *fcfont = PANGO_FC_FONT (object); | ^~~~~~~~~~~~~ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangofc-font.h:51:42: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 51 | #define PANGO_FC_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FC_FONT, PangoFcFont)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangofc-font.c:256:24: note: in expansion of macro 'PANGO_FC_FONT' 256 | PangoFcFont *fcfont = PANGO_FC_FONT (object); | ^~~~~~~~~~~~~ ../pango/pangofc-font.c: In function 'pango_fc_font_describe': ../pango/pangofc-font.c:270:25: warning: cast increases required alignment of target type [-Wcast-align] 270 | PangoFcFont *fcfont = (PangoFcFont *)font; | ^ ../pango/pangofc-font.c: In function 'pango_fc_font_describe_absolute': ../pango/pangofc-font.c:278:25: warning: cast increases required alignment of target type [-Wcast-align] 278 | PangoFcFont *fcfont = (PangoFcFont *)font; | ^ ../pango/pangofc-font.c: In function 'pango_fc_font_get_coverage': ../pango/pangofc-font.c:292:25: warning: cast increases required alignment of target type [-Wcast-align] 292 | PangoFcFont *fcfont = (PangoFcFont *)font; | ^ In file included from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gobject.h:24, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gbinding.h:29, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib-object.h:22, from ../pango/pango-types.h:26, from ../pango/pango-glyph.h:25, from ../pango/pangofc-font.h:25, from ../pango/pangofc-font-private.h:25, from ../pango/pangofc-font.c:24: ../pango/pangofc-font.c: In function 'pango_fc_font_get_metrics': /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangofc-font.h:51:42: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 51 | #define PANGO_FC_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FC_FONT, PangoFcFont)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangofc-font.c:415:25: note: in expansion of macro 'PANGO_FC_FONT' 415 | PangoFcFont *fcfont = PANGO_FC_FONT (font); | ^~~~~~~~~~~~~ ../pango/pangofc-font.c: In function 'pango_fc_font_get_font_map': /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangofc-font.h:51:42: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 51 | #define PANGO_FC_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FC_FONT, PangoFcFont)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangofc-font.c:497:25: note: in expansion of macro 'PANGO_FC_FONT' 497 | PangoFcFont *fcfont = PANGO_FC_FONT (font); | ^~~~~~~~~~~~~ ../pango/pangofc-font.c: In function 'pango_fc_font_get_features': /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangofc-font.h:51:42: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 51 | #define PANGO_FC_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FC_FONT, PangoFcFont)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangofc-font.c:835:26: note: in expansion of macro 'PANGO_FC_FONT' 835 | PangoFcFont *fc_font = PANGO_FC_FONT (font); | ^~~~~~~~~~~~~ ../pango/pangofc-font.c: In function 'pango_fc_font_create_hb_font': /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangofc-font.h:51:42: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 51 | #define PANGO_FC_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FC_FONT, PangoFcFont)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangofc-font.c:932:26: note: in expansion of macro 'PANGO_FC_FONT' 932 | PangoFcFont *fc_font = PANGO_FC_FONT (font); | ^~~~~~~~~~~~~ [59/135] Compiling C object tests/testcolor.p/testcolor.c.o [60/135] Compiling C object tools/gen-script-for-lang.p/gen-script-for-lang.c.o [61/135] Compiling C object tests/testcontext.p/testcontext.c.o [62/135] Compiling C object tests/test-layout.p/test-layout.c.o [63/135] Compiling C object utils/pango-view.p/viewer-pangocairo.c.o [64/135] Compiling C object examples/cairotwisted.p/cairotwisted.c.o [65/135] Compiling C object tests/test-pangocairo-threads.p/test-pangocairo-threads.c.o [66/135] Compiling C object tests/test-layout.p/test-common.c.o ../tests/test-common.c: In function 'print_attribute': ../tests/test-common.c:171:42: warning: cast increases required alignment of target type [-Wcast-align] 171 | g_ascii_formatd (val, 20, "%f", ((PangoAttrFloat *)attr)->value); | ^ [67/135] Compiling C object tests/test-shape.p/test-shape.c.o [68/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pango-markup.c.o [69/135] Compiling C object tests/testiter.p/testiter.c.o [70/135] Compiling C object utils/pango-view.p/viewer-render.c.o [71/135] Compiling C object tests/test-harfbuzz.p/test-harfbuzz.c.o [72/135] Compiling C object tests/test-itemize.p/test-itemize.c.o [73/135] Compiling C object tests/markup-parse.p/test-common.c.o ../tests/test-common.c: In function 'print_attribute': ../tests/test-common.c:171:42: warning: cast increases required alignment of target type [-Wcast-align] 171 | g_ascii_formatd (val, 20, "%f", ((PangoAttrFloat *)attr)->value); | ^ [74/135] Compiling C object tests/test-itemize.p/test-common.c.o ../tests/test-common.c: In function 'print_attribute': ../tests/test-common.c:171:42: warning: cast increases required alignment of target type [-Wcast-align] 171 | g_ascii_formatd (val, 20, "%f", ((PangoAttrFloat *)attr)->value); | ^ [75/135] Compiling C object tests/test-shape.p/test-common.c.o ../tests/test-common.c: In function 'print_attribute': ../tests/test-common.c:171:42: warning: cast increases required alignment of target type [-Wcast-align] 171 | g_ascii_formatd (val, 20, "%f", ((PangoAttrFloat *)attr)->value); | ^ [76/135] Generating pango-enum-types.c with a custom command (wrapped by meson to capture output) [77/135] Compiling C object tests/test-break.p/test-break.c.o [78/135] Compiling C++ object tests/cxx-test.p/cxx-test.cpp.o [79/135] Compiling C object pango/libpangoft2-1.0.so.0.4800.7.p/pangofc-fontmap.c.o In file included from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gobject.h:24, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gbinding.h:29, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib-object.h:22, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gio/gioenums.h:28, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gio/giotypes.h:28, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gio/gio.h:26, from ../pango/pangofc-fontmap.c:38: ../pango/pangofc-fontmap.c: In function 'pango_fc_font_map_get_face': /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:2300:6: warning: cast increases required alignment of target type [-Wcast-align] 2300 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ^ /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gtype.h:484:66: note: in expansion of macro '_G_TYPE_CIC' 484 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ ../pango/pangofc-font.h:51:42: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 51 | #define PANGO_FC_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FC_FONT, PangoFcFont)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../pango/pangofc-fontmap.c:2003:25: note: in expansion of macro 'PANGO_FC_FONT' 2003 | PangoFcFont *fcfont = PANGO_FC_FONT (font); | ^~~~~~~~~~~~~ ../pango/pangofc-fontmap.c: In function '_pango_fc_font_map_fc_to_languages': ../pango/pangofc-fontmap.c:2550:10: warning: cast increases required alignment of target type [-Wcast-align] 2550 | return (PangoLanguage **) g_array_free (langs, FALSE); | ^ ../pango/pangofc-fontmap.c: In function 'pango_fc_face_list_sizes': ../pango/pangofc-fontmap.c:2953:17: warning: cast increases required alignment of target type [-Wcast-align] 2953 | *sizes = (int *) size_array->data; | ^ [80/135] Compiling C object tests/test-break.p/test-common.c.o ../tests/test-common.c: In function 'print_attribute': ../tests/test-common.c:171:42: warning: cast increases required alignment of target type [-Wcast-align] 171 | g_ascii_formatd (val, 20, "%f", ((PangoAttrFloat *)attr)->value); | ^ [81/135] Compiling C object tests/testattributes.p/testattributes.c.o ../tests/testattributes.c: In function 'print_tags_for_attributes': ../tests/testattributes.c:934:30: warning: cast increases required alignment of target type [-Wcast-align] 934 | ((PangoAttrFloat*)attr)->value); | ^ [82/135] Compiling C object tests/testattributes.p/test-common.c.o ../tests/test-common.c: In function 'print_attribute': ../tests/test-common.c:171:42: warning: cast increases required alignment of target type [-Wcast-align] 171 | g_ascii_formatd (val, 20, "%f", ((PangoAttrFloat *)attr)->value); | ^ [83/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/fonts.c.o [84/135] Compiling C object tests/testmisc.p/testmisc.c.o [85/135] Compiling C object pango/libpangocairo-1.0.so.0.4800.7.p/pangocairo-render.c.o ../pango/pangocairo-render.c: In function 'pango_cairo_renderer_show_text_glyphs': ../pango/pangocairo-render.c:416:35: warning: cast increases required alignment of target type [-Wcast-align] 416 | PangoCairoRenderer *crenderer = (PangoCairoRenderer *) (renderer); | ^ ../pango/pangocairo-render.c: In function 'pango_cairo_renderer_draw_glyph_item': ../pango/pangocairo-render.c:527:35: warning: cast increases required alignment of target type [-Wcast-align] 527 | PangoCairoRenderer *crenderer = (PangoCairoRenderer *) (renderer); | ^ ../pango/pangocairo-render.c: In function 'pango_cairo_renderer_draw_rectangle': ../pango/pangocairo-render.c:607:35: warning: cast increases required alignment of target type [-Wcast-align] 607 | PangoCairoRenderer *crenderer = (PangoCairoRenderer *) (renderer); | ^ ../pango/pangocairo-render.c: In function 'pango_cairo_renderer_draw_trapezoid': ../pango/pangocairo-render.c:639:35: warning: cast increases required alignment of target type [-Wcast-align] 639 | PangoCairoRenderer *crenderer = (PangoCairoRenderer *) (renderer); | ^ ../pango/pangocairo-render.c: In function 'pango_cairo_renderer_draw_error_underline': ../pango/pangocairo-render.c:748:35: warning: cast increases required alignment of target type [-Wcast-align] 748 | PangoCairoRenderer *crenderer = (PangoCairoRenderer *) (renderer); | ^ ../pango/pangocairo-render.c: In function 'pango_cairo_renderer_draw_shape': ../pango/pangocairo-render.c:779:35: warning: cast increases required alignment of target type [-Wcast-align] 779 | PangoCairoRenderer *crenderer = (PangoCairoRenderer *) (renderer); | ^ [86/135] Compiling C object tests/test-font.p/test-font.c.o [87/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/meson-generated_.._pango-enum-types.c.o [88/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/break.c.o [89/135] Compiling C object pango/libpango-1.0.so.0.4800.7.p/pango-layout.c.o [90/135] Linking target pango/libpango-1.0.so.0.4800.7 [91/135] Generating symbol file pango/libpango-1.0.so.0.4800.7.p/libpango-1.0.so.0.4800.7.symbols [92/135] Linking target tests/testboundaries [93/135] Linking target tests/test-coverage [94/135] Linking target pango/libpangoft2-1.0.so.0.4800.7 [95/135] Linking target tests/testscript [96/135] Linking target tests/testcolor [97/135] Linking target tests/testmatrix [98/135] Linking target tests/testboundaries_ucd [99/135] Linking target tests/testlanguage [100/135] Linking target tests/testtabs [101/135] Linking target tools/gen-script-for-lang [102/135] Generating symbol file pango/libpangoft2-1.0.so.0.4800.7.p/libpangoft2-1.0.so.0.4800.7.symbols [103/135] Linking target pango/libpangocairo-1.0.so.0.4800.7 [104/135] Linking target tests/test-ot-tags [105/135] Generating symbol file pango/libpangocairo-1.0.so.0.4800.7.p/libpangocairo-1.0.so.0.4800.7.symbols [106/135] Linking target tests/testmisc [107/135] Linking target utils/pango-view [108/135] Linking target utils/pango-list [109/135] Linking target examples/cairosimple [110/135] Linking target tests/testcontext [111/135] Linking target tests/test-ellipsize [112/135] Linking target tests/markup-parse [113/135] Linking target utils/pango-segmentation [114/135] Linking target examples/cairoshape [115/135] Linking target tests/testiter [116/135] Linking target tests/test-itemize [117/135] Linking target tests/test-font [118/135] Linking target examples/cairotwisted [119/135] Linking target tests/test-shape [120/135] Linking target tests/testattributes [121/135] Linking target tests/cxx-test [122/135] Linking target tests/test-harfbuzz [123/135] Linking target tests/test-layout [124/135] Linking target tests/test-pangocairo-threads [125/135] Linking target tests/test-break [126/135] Generating Pango-1.0.gir with a custom command In file included from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/bits/libc-header-start.h:33, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/limits.h:26, from /tmp/instance-1/output-1/host/opt/ext-toolchain/lib/gcc/riscv32-buildroot-linux-gnu/10.2.0/include-fixed/limits.h:195, from /tmp/instance-1/output-1/host/opt/ext-toolchain/lib/gcc/riscv32-buildroot-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /tmp/instance-1/output-1/host/opt/ext-toolchain/lib/gcc/riscv32-buildroot-linux-gnu/10.2.0/include-fixed/limits.h:34, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/glib-2.0/include/glibconfig.h:11, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib/gtypes.h:32, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib/galloca.h:32, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib.h:30, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gobject/gbinding.h:28, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib-object.h:22, from /tmp/instance-1/output-1/build/pango-1.48.7/pango/pango-coverage.h:25, from /tmp/instance-1/output-1/build/pango-1.48.7/pango/pango-font.h:25, from /tmp/instance-1/output-1/build/pango-1.48.7/pango/pango-attributes.h:25, from /tmp/instance-1/output-1/build/pango-1.48.7/pango/pango.h:25, from /tmp/instance-1/output-1/build/pango-1.48.7/build/g-ir-cpp-e1_ilm57.c:4: /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ [127/135] Generating Pango-1.0.typelib with a custom command FAILED: pango/Pango-1.0.typelib /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/bin/g-ir-compiler pango/Pango-1.0.gir --output pango/Pango-1.0.typelib --includedir=/tmp/instance-1/output-1/host/share/gir-1.0 Could not find GIR file 'HarfBuzz-0.0.gir'; check XDG_DATA_DIRS or use --includedir error parsing file pango/Pango-1.0.gir: Failed to parse included gir HarfBuzz-0.0 If the above error message is about missing .so libraries, then setting up GIR_EXTRA_LIBS_PATH in the .mk file should help. Typically like this: PKG_MAKE_ENV += GIR_EXTRA_LIBS_PATH="$(@D)/.libs" [128/135] Generating PangoFc-1.0.gir with a custom command In file included from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/bits/libc-header-start.h:33, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/limits.h:26, from /tmp/instance-1/output-1/host/opt/ext-toolchain/lib/gcc/riscv32-buildroot-linux-gnu/10.2.0/include-fixed/limits.h:195, from /tmp/instance-1/output-1/host/opt/ext-toolchain/lib/gcc/riscv32-buildroot-linux-gnu/10.2.0/include-fixed/syslimits.h:7, from /tmp/instance-1/output-1/host/opt/ext-toolchain/lib/gcc/riscv32-buildroot-linux-gnu/10.2.0/include-fixed/limits.h:34, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/lib/glib-2.0/include/glibconfig.h:11, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib/gtypes.h:32, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib/galloca.h:32, from /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/glib.h:30, from /tmp/instance-1/output-1/build/pango-1.48.7/pango/pango-types.h:25, from /tmp/instance-1/output-1/build/pango-1.48.7/pango/pango-glyph.h:25, from /tmp/instance-1/output-1/build/pango-1.48.7/pango/pangofc-font.h:25, from /tmp/instance-1/output-1/build/pango-1.48.7/build/g-ir-cpp-19viaf2c.c:4: /tmp/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:270: /tmp/instance-1/output-1/build/pango-1.48.7/.stamp_built] Error 1 make: Leaving directory '/tmp/instance-1/buildroot'