Running into the same issues.
> compiled harfbuzz from source
> set /etc/ld.conf.so.d/* files accordingly, followed by a ldconfig
> then (from the skia dir):
./bin/gn gen 'out/linux/arm64' --args='is_official_build=true skia_enable_tool=false target_os="linux" \
target_cpu="arm64" skia_use_icu=true skia_use_system_icu=true \
skia_use_harfbuzz=true skia_use_system_harfbuzz=true \
skia_pdf_subset_harfbuzz=true skia_use_sfntly=false \
skia_use_piex=true skia_use_system_expat=false \
skia_use_system_freetype2=true skia_use_system_libjpeg_turbo=true \
skia_use_system_libpng=true skia_use_system_libwebp=true \
skia_use_system_zlib=true skia_enable_gpu=true \
extra_cflags=[ "-DSKIA_C_DLL", "-DHAVE_PTHREAD", "-DHB_EXTERN=extern", "-I/usr/local/lib/aarch64-linux-gnu/harfbuzz/include/" ] \
--cflags='[ "-DSKIA_C_DLL", "-DHAVE_PTHREAD", "-DHB_EXTERN=extern", "-I/usr/local/lib/aarch64-linux-gnu/harfbuzz/include/"]'
> finally:
ninja 'SkiaSharp' -C 'out/linux/arm64'
The issues occur when skia_pdf_subset_harfbuzz is set and have to do with functions that don't exist in harfbuzz (anymore? yet?).
The harfbuzz I built was pulled from github about a week ago and I didn't use any special options during compilation, just ran 'meson build' basically.
Hope this helps!