>>> harfbuzz 4.4.1 Extracting xzcat /home/buildroot/autobuild/run/instance-3/dl/harfbuzz/harfbuzz-4.4.1.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-3/output-1/build/harfbuzz-4.4.1 -xf - >>> harfbuzz 4.4.1 Patching Applying 0001-meson.build-check-for-pthread.h.patch using patch: patching file meson.build Applying 0002-cplusplus-Fix-build-on-GCC-7.patch using patch: patching file src/hb-cplusplus.hh Applying 0003-GSUB-Fix-build-on-GCC-7.patch using patch: patching file src/OT/Layout/GSUB/GSUB.hh Hunk #1 succeeded at 6 with fuzz 2 (offset 1 line). patching file src/hb-ot-layout-gsub-table.hh >>> harfbuzz 4.4.1 Configuring rm -rf /home/buildroot/autobuild/run/instance-3/output-1/build/harfbuzz-4.4.1//build mkdir -p /home/buildroot/autobuild/run/instance-3/output-1/build/harfbuzz-4.4.1//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/buildroot/autobuild/run/instance-3/output-1/host/bin/mips-linux-gnu-gcc%g" -e "s%@TARGET_CXX@%/home/buildroot/autobuild/run/instance-3/output-1/host/bin/mips-linux-gnu-g++%g" -e "s%@TARGET_AR@%/home/buildroot/autobuild/run/instance-3/output-1/host/bin/mips-linux-gnu-gcc-ar%g" -e "s%@TARGET_STRIP@%/home/buildroot/autobuild/run/instance-3/output-1/host/bin/mips-linux-gnu-strip%g" -e "s%@TARGET_ARCH@%mips%g" -e "s%@TARGET_CPU@%%g" -e "s%@TARGET_ENDIAN@%big%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'%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=1'%g" -e "s%@BR2_CMAKE@%/home/buildroot/autobuild/run/instance-3/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/autobuild/run/instance-3/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/buildroot/autobuild/run/instance-3/output-1/host%g" -e "s%@STAGING_DIR@%/home/buildroot/autobuild/run/instance-3/output-1/host/mips-buildroot-linux-gnu/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/autobuild/run/instance-3/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/autobuild/run/instance-3/output-1/build/harfbuzz-4.4.1//build/cross-compilation.conf PATH="/home/buildroot/autobuild/run/instance-3/output-1/host/bin:/home/buildroot/autobuild/run/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /home/buildroot/autobuild/run/instance-3/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/autobuild/run/instance-3/output-1/build/harfbuzz-4.4.1//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/home/buildroot/autobuild/run/instance-3/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/buildroot/autobuild/run/instance-3/output-1/host/lib/cmake -Dgdi=disabled -Ddirectwrite=disabled -Dcoretext=disabled -Dtests=disabled -Ddocs=disabled -Dbenchmark=disabled -Dicu_builtin=false -Dexperimental_api=false -Dfuzzer_ldflags="" -Dcairo=enabled -Dfreetype=enabled -Dgobject=disabled -Dintrospection=disabled -Dgraphite=enabled -Dglib=enabled -Dicu=enabled /home/buildroot/autobuild/run/instance-3/output-1/build/harfbuzz-4.4.1/ /home/buildroot/autobuild/run/instance-3/output-1/build/harfbuzz-4.4.1//build The Meson build system Version: 0.63.0 Source dir: /home/buildroot/autobuild/run/instance-3/output-1/build/harfbuzz-4.4.1 Build dir: /home/buildroot/autobuild/run/instance-3/output-1/build/harfbuzz-4.4.1/build Build type: cross build Project name: harfbuzz Project version: 4.4.1 C compiler for the host machine: /home/buildroot/autobuild/run/instance-3/output-1/host/bin/mips-linux-gnu-gcc (gcc 5.3.0 "mips-linux-gnu-gcc (Sourcery CodeBench Lite 2016.05-8) 5.3.0") C linker for the host machine: /home/buildroot/autobuild/run/instance-3/output-1/host/bin/mips-linux-gnu-gcc ld.bfd 2.25.51 C++ compiler for the host machine: /home/buildroot/autobuild/run/instance-3/output-1/host/bin/mips-linux-gnu-g++ (gcc 5.3.0 "mips-linux-gnu-g++ (Sourcery CodeBench Lite 2016.05-8) 5.3.0") C++ linker for the host machine: /home/buildroot/autobuild/run/instance-3/output-1/host/bin/mips-linux-gnu-g++ ld.bfd 2.25.51 C compiler for the build machine: /usr/bin/gcc (gcc 7.5.0 "gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0") C linker for the build machine: /usr/bin/gcc ld.bfd 2.30 C++ compiler for the build machine: /usr/bin/g++ (gcc 7.5.0 "g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0") C++ linker for the build machine: /usr/bin/g++ ld.bfd 2.30 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: mips Host machine cpu: Target machine cpu family: mips Target machine cpu: Compiler for C++ supports link arguments -Bsymbolic-functions: YES Compiler for C++ supports arguments -fno-exceptions: YES Compiler for C++ supports arguments -fno-rtti: YES Compiler for C++ supports arguments -fno-threadsafe-statics: YES Compiler for C++ supports arguments -fvisibility-inlines-hidden: YES Library m found: YES Found pkg-config: /home/buildroot/autobuild/run/instance-3/output-1/host/bin/pkgconf (1.6.3) Run-time dependency freetype2 found: YES 24.3.18 Run-time dependency glib-2.0 found: YES 2.72.3 Dependency gobject-2.0 skipped: feature gobject disabled Dependency graphite2 skipped: feature graphite2 disabled Run-time dependency graphite2 found: YES 3.0.1 Run-time dependency icu-uc found: YES 70.1 Run-time dependency cairo found: YES 1.16.0 Run-time dependency cairo-ft found: YES 1.16.0 Found CMake: /home/buildroot/autobuild/run/instance-3/output-1/host/bin/cmake (3.22.3) Run-time dependency chafa found: NO (tried pkgconfig and cmake) Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES Has header "pthread.h" : YES Run-time dependency threads found: YES Has header "unistd.h" : YES Has header "sys/mman.h" : YES Has header "stdbool.h" : YES Has header "xlocale.h" : YES Checking for function "atexit" : YES Checking for function "mprotect" : YES Checking for function "sysconf" : YES Checking for function "getpagesize" : YES Checking for function "mmap" : YES Checking for function "isatty" : YES Checking for function "uselocale" : YES Checking for function "newlocale" : YES Checking for function "cairo_user_font_face_set_render_color_glyph_func" with dependency cairo: NO Checking for function "FT_Get_Var_Blend_Coordinates" with dependency freetype2: YES Checking for function "FT_Set_Var_Blend_Coordinates" with dependency freetype2: YES Checking for function "FT_Done_MM_Var" with dependency freetype2: YES Program gen-hb-version.py found: YES (/home/buildroot/autobuild/run/instance-3/output-1/build/harfbuzz-4.4.1/src/gen-hb-version.py) Configuring hb-version.h with command Program ragel found: NO ../output-1/build/harfbuzz-4.4.1/src/meson.build:366: WARNING: You have to install ragel if you are going to develop HarfBuzz itself Program gen-harfbuzzcc.py found: YES (/home/buildroot/autobuild/run/instance-3/output-1/build/harfbuzz-4.4.1/src/gen-harfbuzzcc.py) Program gen-def.py found: YES (/home/buildroot/autobuild/run/instance-3/output-1/build/harfbuzz-4.4.1/src/gen-def.py) Configuring harfbuzz-config.cmake using configuration Configuring config.h using configuration Build targets in project: 11 harfbuzz 4.4.1 Directories prefix : /usr bindir : bin libdir : lib includedir : include datadir : share Unicode callbacks (you want at least one) Builtin : YES Glib : YES ICU : YES Font callbacks (the more the merrier) FreeType : YES Dependencies used for command-line utilities Cairo : YES Chafa : NO Additional shapers Graphite2 : YES Platform shapers (not normally needed) CoreText : NO DirectWrite : NO GDI/Uniscribe : NO Other features Documentation : NO GObject bindings : NO Introspection : NO Experimental APIs : NO Testing Tests : NO Benchmark : NO User defined options Cross files : /home/buildroot/autobuild/run/instance-3/output-1/build/harfbuzz-4.4.1//build/cross-compilation.conf build.cmake_prefix_path: /home/buildroot/autobuild/run/instance-3/output-1/host/lib/cmake build.pkg_config_path : /home/buildroot/autobuild/run/instance-3/output-1/host/lib/pkgconfig buildtype : release default_library : shared libdir : lib prefix : /usr strip : false b_pie : false benchmark : disabled cairo : enabled coretext : disabled directwrite : disabled docs : disabled experimental_api : false freetype : enabled fuzzer_ldflags : gdi : disabled glib : enabled gobject : disabled graphite : enabled icu : enabled icu_builtin : false introspection : disabled tests : disabled Found ninja-1.10.2.git.kitware.jobserver-1 at /home/buildroot/autobuild/run/instance-3/output-1/host/bin/ninja >>> harfbuzz 4.4.1 Building PATH="/home/buildroot/autobuild/run/instance-3/output-1/host/bin:/home/buildroot/autobuild/run/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PYTHONNOUSERSITE=y /home/buildroot/autobuild/run/instance-3/output-1/host/bin/ninja -C /home/buildroot/autobuild/run/instance-3/output-1/build/harfbuzz-4.4.1//build ninja: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/harfbuzz-4.4.1//build' [1/78] Generating src/harfbuzz.cc with a custom command [2/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-blob.cc.o [3/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-buffer-verify.cc.o [4/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-draw.cc.o [5/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-aat-map.cc.o [6/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-common.cc.o [7/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-buffer-serialize.cc.o [8/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-buffer.cc.o [9/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-fallback-shape.cc.o [10/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-map.cc.o [11/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-number.cc.o [12/78] Compiling C++ object src/libharfbuzz-subset.so.0.40401.0.p/hb-static.cc.o [13/78] Compiling C++ object src/libharfbuzz-subset.so.0.40401.0.p/hb-ot-cff2-table.cc.o [14/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-face.cc.o [15/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-font.cc.o [16/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-ot-cff1-table.cc.o [17/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-aat-layout.cc.o FAILED: src/libharfbuzz.so.0.40401.0.p/hb-aat-layout.cc.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/mips-linux-gnu-g++ -Isrc/libharfbuzz.so.0.40401.0.p -Isrc -I../src -I. -I.. -I/home/buildroot/autobuild/run/instance-3/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include/freetype2 -I/home/buildroot/autobuild/run/instance-3/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -I/home/buildroot/autobuild/run/instance-3/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include/libpng16 -I/home/buildroot/autobuild/run/instance-3/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include/glib-2.0 -I/home/buildroot/autobuild/run/instance-3/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/lib/glib-2.0/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -fno-rtti -O3 -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -Wno-non-virtual-dtor -MD -MQ src/libharfbuzz.so.0.40401.0.p/hb-aat-layout.cc.o -MF src/libharfbuzz.so.0.40401.0.p/hb-aat-layout.cc.o.d -o src/libharfbuzz.so.0.40401.0.p/hb-aat-layout.cc.o -c ../src/hb-aat-layout.cc In file included from ../src/hb-kern.hh:32:0, from ../src/hb-aat-layout-kerx-table.hh:31, from ../src/hb-aat-layout.cc:35: ../src/hb-ot-layout-gpos-table.hh:50:117: error: specialization of 'template static typename context_t::return_t OT::Layout::GPOS_impl::PosLookup::dispatch_recurse_func(context_t*, unsigned int)' in different namespace [-fpermissive] PosLookup::dispatch_recurse_func (hb_closure_lookups_context_t *c, unsigned this_index) ^ In file included from ../src/OT/Layout/GPOS.hh:7:0, from ../src/hb-ot-layout-gpos-table.hh:32, from ../src/hb-kern.hh:32, from ../src/hb-aat-layout-kerx-table.hh:31, from ../src/hb-aat-layout.cc:35: ../src/OT/Layout/GPOS/PosLookup.hh:62:39: error: from definition of 'template static typename context_t::return_t OT::Layout::GPOS_impl::PosLookup::dispatch_recurse_func(context_t*, unsigned int)' [-fpermissive] static typename context_t::return_t dispatch_recurse_func (context_t *c, unsigned int lookup_index); ^ In file included from ../src/hb-kern.hh:32:0, from ../src/hb-aat-layout-kerx-table.hh:31, from ../src/hb-aat-layout.cc:35: ../src/hb-ot-layout-gpos-table.hh:57:121: error: specialization of 'template static typename context_t::return_t OT::Layout::GPOS_impl::PosLookup::dispatch_recurse_func(context_t*, unsigned int)' in different namespace [-fpermissive] inline bool PosLookup::dispatch_recurse_func (hb_ot_apply_context_t *c, unsigned int lookup_index) ^ In file included from ../src/OT/Layout/GPOS.hh:7:0, from ../src/hb-ot-layout-gpos-table.hh:32, from ../src/hb-kern.hh:32, from ../src/hb-aat-layout-kerx-table.hh:31, from ../src/hb-aat-layout.cc:35: ../src/OT/Layout/GPOS/PosLookup.hh:62:39: error: from definition of 'template static typename context_t::return_t OT::Layout::GPOS_impl::PosLookup::dispatch_recurse_func(context_t*, unsigned int)' [-fpermissive] static typename context_t::return_t dispatch_recurse_func (context_t *c, unsigned int lookup_index); ^ [18/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-ot-cff2-table.cc.o [19/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-ot-map.cc.o [20/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-ot-meta.cc.o [21/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-ot-math.cc.o [22/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-ot-color.cc.o [23/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-ot-metrics.cc.o [24/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-ot-layout.cc.o FAILED: src/libharfbuzz.so.0.40401.0.p/hb-ot-layout.cc.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/mips-linux-gnu-g++ -Isrc/libharfbuzz.so.0.40401.0.p -Isrc -I../src -I. -I.. -I/home/buildroot/autobuild/run/instance-3/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include/freetype2 -I/home/buildroot/autobuild/run/instance-3/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -I/home/buildroot/autobuild/run/instance-3/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include/libpng16 -I/home/buildroot/autobuild/run/instance-3/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include/glib-2.0 -I/home/buildroot/autobuild/run/instance-3/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/lib/glib-2.0/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -fno-rtti -O3 -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -Wno-non-virtual-dtor -MD -MQ src/libharfbuzz.so.0.40401.0.p/hb-ot-layout.cc.o -MF src/libharfbuzz.so.0.40401.0.p/hb-ot-layout.cc.o.d -o src/libharfbuzz.so.0.40401.0.p/hb-ot-layout.cc.o -c ../src/hb-ot-layout.cc In file included from ../src/hb-kern.hh:32:0, from ../src/hb-aat-layout-kerx-table.hh:31, from ../src/hb-ot-kern-table.hh:30, from ../src/hb-ot-layout.cc:45: ../src/hb-ot-layout-gpos-table.hh:50:117: error: specialization of 'template static typename context_t::return_t OT::Layout::GPOS_impl::PosLookup::dispatch_recurse_func(context_t*, unsigned int)' in different namespace [-fpermissive] PosLookup::dispatch_recurse_func (hb_closure_lookups_context_t *c, unsigned this_index) ^ In file included from ../src/OT/Layout/GPOS.hh:7:0, from ../src/hb-ot-layout-gpos-table.hh:32, from ../src/hb-kern.hh:32, from ../src/hb-aat-layout-kerx-table.hh:31, from ../src/hb-ot-kern-table.hh:30, from ../src/hb-ot-layout.cc:45: ../src/OT/Layout/GPOS/PosLookup.hh:62:39: error: from definition of 'template static typename context_t::return_t OT::Layout::GPOS_impl::PosLookup::dispatch_recurse_func(context_t*, unsigned int)' [-fpermissive] static typename context_t::return_t dispatch_recurse_func (context_t *c, unsigned int lookup_index); ^ In file included from ../src/hb-kern.hh:32:0, from ../src/hb-aat-layout-kerx-table.hh:31, from ../src/hb-ot-kern-table.hh:30, from ../src/hb-ot-layout.cc:45: ../src/hb-ot-layout-gpos-table.hh:57:121: error: specialization of 'template static typename context_t::return_t OT::Layout::GPOS_impl::PosLookup::dispatch_recurse_func(context_t*, unsigned int)' in different namespace [-fpermissive] inline bool PosLookup::dispatch_recurse_func (hb_ot_apply_context_t *c, unsigned int lookup_index) ^ In file included from ../src/OT/Layout/GPOS.hh:7:0, from ../src/hb-ot-layout-gpos-table.hh:32, from ../src/hb-kern.hh:32, from ../src/hb-aat-layout-kerx-table.hh:31, from ../src/hb-ot-kern-table.hh:30, from ../src/hb-ot-layout.cc:45: ../src/OT/Layout/GPOS/PosLookup.hh:62:39: error: from definition of 'template static typename context_t::return_t OT::Layout::GPOS_impl::PosLookup::dispatch_recurse_func(context_t*, unsigned int)' [-fpermissive] static typename context_t::return_t dispatch_recurse_func (context_t *c, unsigned int lookup_index); ^ [25/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-ot-font.cc.o [26/78] Compiling C++ object src/libharfbuzz.so.0.40401.0.p/hb-ot-face.cc.o FAILED: src/libharfbuzz.so.0.40401.0.p/hb-ot-face.cc.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/mips-linux-gnu-g++ -Isrc/libharfbuzz.so.0.40401.0.p -Isrc -I../src -I. -I.. -I/home/buildroot/autobuild/run/instance-3/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include/freetype2 -I/home/buildroot/autobuild/run/instance-3/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -I/home/buildroot/autobuild/run/instance-3/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include/libpng16 -I/home/buildroot/autobuild/run/instance-3/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include/glib-2.0 -I/home/buildroot/autobuild/run/instance-3/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/lib/glib-2.0/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -fno-rtti -O3 -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -pthread -Wno-non-virtual-dtor -MD -MQ src/libharfbuzz.so.0.40401.0.p/hb-ot-face.cc.o -MF src/libharfbuzz.so.0.40401.0.p/hb-ot-face.cc.o.d -o src/libharfbuzz.so.0.40401.0.p/hb-ot-face.cc.o -c ../src/hb-ot-face.cc In file included from ../src/hb-kern.hh:32:0, from ../src/hb-aat-layout-kerx-table.hh:31, from ../src/hb-ot-kern-table.hh:30, from ../src/hb-ot-face.cc:34: ../src/hb-ot-layout-gpos-table.hh:50:117: error: specialization of 'template static typename context_t::return_t OT::Layout::GPOS_impl::PosLookup::dispatch_recurse_func(context_t*, unsigned int)' in different namespace [-fpermissive] PosLookup::dispatch_recurse_func (hb_closure_lookups_context_t *c, unsigned this_index) ^ In file included from ../src/OT/Layout/GPOS.hh:7:0, from ../src/hb-ot-layout-gpos-table.hh:32, from ../src/hb-kern.hh:32, from ../src/hb-aat-layout-kerx-table.hh:31, from ../src/hb-ot-kern-table.hh:30, from ../src/hb-ot-face.cc:34: ../src/OT/Layout/GPOS/PosLookup.hh:62:39: error: from definition of 'template static typename context_t::return_t OT::Layout::GPOS_impl::PosLookup::dispatch_recurse_func(context_t*, unsigned int)' [-fpermissive] static typename context_t::return_t dispatch_recurse_func (context_t *c, unsigned int lookup_index); ^ In file included from ../src/hb-kern.hh:32:0, from ../src/hb-aat-layout-kerx-table.hh:31, from ../src/hb-ot-kern-table.hh:30, from ../src/hb-ot-face.cc:34: ../src/hb-ot-layout-gpos-table.hh:57:121: error: specialization of 'template static typename context_t::return_t OT::Layout::GPOS_impl::PosLookup::dispatch_recurse_func(context_t*, unsigned int)' in different namespace [-fpermissive] inline bool PosLookup::dispatch_recurse_func (hb_ot_apply_context_t *c, unsigned int lookup_index) ^ In file included from ../src/OT/Layout/GPOS.hh:7:0, from ../src/hb-ot-layout-gpos-table.hh:32, from ../src/hb-kern.hh:32, from ../src/hb-aat-layout-kerx-table.hh:31, from ../src/hb-ot-kern-table.hh:30, from ../src/hb-ot-face.cc:34: ../src/OT/Layout/GPOS/PosLookup.hh:62:39: error: from definition of 'template static typename context_t::return_t OT::Layout::GPOS_impl::PosLookup::dispatch_recurse_func(context_t*, unsigned int)' [-fpermissive] static typename context_t::return_t dispatch_recurse_func (context_t *c, unsigned int lookup_index); ^ ninja: build stopped: subcommand failed. package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/run/instance-3/output-1/build/harfbuzz-4.4.1/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-3/output-1/build/harfbuzz-4.4.1/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/autobuild/run/instance-3/buildroot'